Browse files

Support Gemspec groups, briefly.

  • Loading branch information...
1 parent 4ffe06f commit 1df64a1268a928580ac400019593eaad6a3e2d1f @mike-burns mike-burns committed Sep 7, 2011
Showing with 8 additions and 1 deletion.
  1. +1 −1 Gemfile.lock
  2. +3 −0 features/appraisals.feature
  3. +4 −0 lib/appraisal/gemfile.rb
View
2 Gemfile.lock
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
- appraisal (0.3.7)
+ appraisal (0.3.8)
bundler
rake
View
3 features/appraisals.feature
@@ -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:
View
4 lib/appraisal/gemfile.rb
@@ -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

0 comments on commit 1df64a1

Please sign in to comment.