Skip to content

Commit

Permalink
Merge branch 'master' of github.com:metaskills/grouped_scope
Browse files Browse the repository at this point in the history
  • Loading branch information
metaskills committed Dec 7, 2011
2 parents 99e890f + acb736d commit b3ee327
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ debug.log
autotest
.rbenv-version
Gemfile.lock
debug.log
debug.log
*.gem
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
4 changes: 2 additions & 2 deletions grouped_scope.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ Gem::Specification.new do |s|
s.email = ['[email protected]']
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

2 changes: 1 addition & 1 deletion lib/grouped_scope/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module GroupedScope
VERSION = '3.1.0'
VERSION = '3.1.1'
end
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit b3ee327

Please sign in to comment.