Browse files

New version for leaner AR version

  • Loading branch information...
1 parent 88cd1c7 commit ac4090bf269e0717870b73f26d99602a7813cedc @metaskills committed Dec 7, 2011
Showing with 4 additions and 3 deletions.
  1. +1 −0 Gemfile
  2. +2 −2 grouped_scope.gemspec
  3. +1 −1 lib/grouped_scope/version.rb
View
1 Gemfile
@@ -4,6 +4,7 @@ source 'http://gems.github.com/'
spec = eval(File.read('grouped_scope.gemspec'))
ar_version = spec.dependencies.detect{ |d|d.name == 'activerecord' }.requirement.to_s
+ar_version = ENV['RAILS_VERSION'] || ar_version
gem 'sqlite3', '1.3.4'
gem 'activerecord', ar_version, :require => 'active_record'
View
4 grouped_scope.gemspec
@@ -9,12 +9,12 @@ Gem::Specification.new do |s|
s.email = ['ken@metaskills.net']
s.homepage = 'http://github.com/metaskills/grouped_scope/'
s.summary = 'Extends has_many associations to group scope.'
- s.description = 'Extends has_many associations to group scope. For ActiveRecord 2.3.x!'
+ s.description = 'Extends has_many associations to group scope. For ActiveRecord 3.1!'
s.files = `git ls-files`.split("\n") - ["grouped_scope.gemspec"]
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ['lib']
s.rdoc_options = ['--charset=UTF-8']
- s.add_dependency 'activerecord', '~> 3.1.3'
+ s.add_dependency 'activerecord', '~> 3.1.0'
end
View
2 lib/grouped_scope/version.rb
@@ -1,3 +1,3 @@
module GroupedScope
- VERSION = '3.1.0'
+ VERSION = '3.1.1'
end

0 comments on commit ac4090b

Please sign in to comment.