Skip to content

Commit

Permalink
Support Gemspec groups, briefly.
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-burns committed Sep 7, 2011
1 parent 4ffe06f commit 1df64a1
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Gemfile.lock
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
appraisal (0.3.7)
appraisal (0.3.8)
bundler
rake

Expand Down
3 changes: 3 additions & 0 deletions features/appraisals.feature
Expand Up @@ -8,6 +8,9 @@ Feature: run a rake task through several appraisals
source "http://rubygems.org"
gem "rake", "0.8.7"
gem "factory_girl"
group :assets do
gem 'sass-rails', " ~> 3.1.0"
end
"""
When I add "appraisal" from this project as a dependency
And I write to "Appraisals" with:
Expand Down
4 changes: 4 additions & 0 deletions lib/appraisal/gemfile.rb
Expand Up @@ -22,6 +22,10 @@ def gem(name, *requirements)
@dependencies[name] = Dependency.new(name, requirements)
end

def group(name)
# ignore the group
end

def source(source)
@source = source
end
Expand Down

0 comments on commit 1df64a1

Please sign in to comment.