Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Support Gemspec groups, briefly.

  • Loading branch information...
commit 1df64a1268a928580ac400019593eaad6a3e2d1f 1 parent 4ffe06f
Mike Burns authored September 07, 2011
2  Gemfile.lock
... ...
@@ -1,7 +1,7 @@
1 1
 PATH
2 2
   remote: .
3 3
   specs:
4  
-    appraisal (0.3.7)
  4
+    appraisal (0.3.8)
5 5
       bundler
6 6
       rake
7 7
 
3  features/appraisals.feature
@@ -8,6 +8,9 @@ Feature: run a rake task through several appraisals
8 8
     source "http://rubygems.org"
9 9
     gem "rake", "0.8.7"
10 10
     gem "factory_girl"
  11
+    group :assets do
  12
+      gem 'sass-rails', "  ~> 3.1.0"
  13
+    end
11 14
     """
12 15
     When I add "appraisal" from this project as a dependency
13 16
     And I write to "Appraisals" with:
4  lib/appraisal/gemfile.rb
@@ -22,6 +22,10 @@ def gem(name, *requirements)
22 22
       @dependencies[name] = Dependency.new(name, requirements)
23 23
     end
24 24
 
  25
+    def group(name)
  26
+      # ignore the group
  27
+    end
  28
+
25 29
     def source(source)
26 30
       @source = source
27 31
     end

0 notes on commit 1df64a1

Please sign in to comment.
Something went wrong with that request. Please try again.