Skip to content

Commit

Permalink
Allowing rails to be updated via patch releases.
Browse files Browse the repository at this point in the history
Currently we're hard-coding a dependency on a specific version of
Rails. That prevents us from upgrading Rails at all.

This commit allows us to upgrade the patch level of our Rails gems.
  • Loading branch information
jish committed Aug 16, 2011
1 parent 1b1b7f6 commit 0362f90
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
6 changes: 3 additions & 3 deletions Gemfile
Expand Up @@ -2,9 +2,9 @@ source "http://rubygems.org"
# Add dependencies required to use your gem here.
# Example:

gem "activesupport", "2.3.10"
gem "activerecord", "2.3.10"
gem "actionpack", "2.3.10"
gem "activesupport", "~> 2.3.10"
gem "activerecord", "~> 2.3.10"
gem "actionpack", "~> 2.3.10"

# Add dependencies to develop your gem here.
# Include everything needed to run rake, tests, features, etc.
Expand Down
8 changes: 4 additions & 4 deletions Gemfile.lock
Expand Up @@ -15,7 +15,7 @@ GEM
rake
linecache (0.43)
mocha (0.9.12)
rack (1.1.0)
rack (1.1.2)
rake (0.8.7)
ruby-debug (0.10.4)
columnize (>= 0.1)
Expand All @@ -29,9 +29,9 @@ PLATFORMS
ruby

DEPENDENCIES
actionpack (= 2.3.10)
activerecord (= 2.3.10)
activesupport (= 2.3.10)
actionpack (~> 2.3.10)
activerecord (~> 2.3.10)
activesupport (~> 2.3.10)
bundler (~> 1.0.0)
jeweler (~> 1.5.1)
mocha
Expand Down
18 changes: 9 additions & 9 deletions property_sets.gemspec
Expand Up @@ -48,28 +48,28 @@ Gem::Specification.new do |s|
s.specification_version = 3

if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
s.add_runtime_dependency(%q<activesupport>, ["= 2.3.10"])
s.add_runtime_dependency(%q<activerecord>, ["= 2.3.10"])
s.add_runtime_dependency(%q<actionpack>, ["= 2.3.10"])
s.add_runtime_dependency(%q<activesupport>, ["~> 2.3.10"])
s.add_runtime_dependency(%q<activerecord>, ["~> 2.3.10"])
s.add_runtime_dependency(%q<actionpack>, ["~> 2.3.10"])
s.add_development_dependency(%q<shoulda>, [">= 0"])
s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
s.add_development_dependency(%q<jeweler>, ["~> 1.5.1"])
s.add_development_dependency(%q<ruby-debug>, [">= 0"])
s.add_development_dependency(%q<thoughtbot-shoulda>, [">= 0"])
else
s.add_dependency(%q<activesupport>, ["= 2.3.10"])
s.add_dependency(%q<activerecord>, ["= 2.3.10"])
s.add_dependency(%q<actionpack>, ["= 2.3.10"])
s.add_dependency(%q<activesupport>, ["~> 2.3.10"])
s.add_dependency(%q<activerecord>, ["~> 2.3.10"])
s.add_dependency(%q<actionpack>, ["~> 2.3.10"])
s.add_dependency(%q<shoulda>, [">= 0"])
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
s.add_dependency(%q<jeweler>, ["~> 1.5.1"])
s.add_dependency(%q<ruby-debug>, [">= 0"])
s.add_dependency(%q<thoughtbot-shoulda>, [">= 0"])
end
else
s.add_dependency(%q<activesupport>, ["= 2.3.10"])
s.add_dependency(%q<activerecord>, ["= 2.3.10"])
s.add_dependency(%q<actionpack>, ["= 2.3.10"])
s.add_dependency(%q<activesupport>, ["~> 2.3.10"])
s.add_dependency(%q<activerecord>, ["~> 2.3.10"])
s.add_dependency(%q<actionpack>, ["~> 2.3.10"])
s.add_dependency(%q<shoulda>, [">= 0"])
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
s.add_dependency(%q<jeweler>, ["~> 1.5.1"])
Expand Down

0 comments on commit 0362f90

Please sign in to comment.