Gemfile in nested_set-1.6.8 vs Gemfile in nested_set-1.7.0
- old
+ new
@@ -1,11 +1,20 @@
source :rubygems
-gem "railties", ">= 3.0.0"
-gem "activerecord", ">= 3.0.0"
+gemspec
-group :development, :test do
- gem "sqlite3"
- gem "actionpack", ">= 3.0.0"
- gem "bench_press", ">= 0.3.1"
- gem "jeweler"
+case version = ENV['RAILS_VERSION'] || ">= 3.0.0"
+when /3-0-stable/
+ gem "rails", :git => "git://github.com/rails/rails.git", :branch => "3-0-stable"
+ gem "arel", :git => "git://github.com/rails/arel.git", :branch => "2-0-stable"
+when /3-1-stable/
+ gem "rails", :git => "git://github.com/rails/rails.git", :branch => "3-1-stable"
+when /3-2-stable/
+ gem "rails", :git => "git://github.com/rails/rails.git", :branch => "3-2-stable"
+ gem "journey", :git => "git://github.com/rails/journey.git"
+when /master/
+ gem "rails", :git => "git://github.com/rails/rails.git"
+ gem "arel", :git => "git://github.com/rails/arel.git"
+ gem "journey", :git => "git://github.com/rails/journey.git"
+else
+ gem "rails", version
end