Skip to content

Commit 6ae36ce

Browse files
eileencodespixeltrix
authored andcommitted
Upgrade gem to Rails 5
This sets the dependency to allow Rails 5. In upgrading to Rails 5 we require Ruby 2 and changes that are made here will not work on older versions of Rails. Because of that I'm bumping the version to 2.0.0.
1 parent e571c6a commit 6ae36ce

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ source 'https://rubygems.org'
22

33
gemspec
44

5-
gem 'rails'
5+
gem 'rails', github: 'rails/rails'

actionpack-action_caching.gemspec

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Gem::Specification.new do |gem|
44
gem.name = 'actionpack-action_caching'
5-
gem.version = '1.1.0'
5+
gem.version = '2.0.0'
66
gem.author = 'David Heinemeier Hansson'
77
gem.email = '[email protected]'
88
gem.description = 'Action caching for Action Pack (removed from core in Rails 4.0)'
@@ -15,8 +15,8 @@ Gem::Specification.new do |gem|
1515
gem.require_paths = ['lib']
1616
gem.license = 'MIT'
1717

18-
gem.add_dependency 'actionpack', '>= 4.0.0', '< 5.0'
18+
gem.add_dependency 'actionpack', '~> 5.x'
1919

2020
gem.add_development_dependency 'mocha'
21-
gem.add_development_dependency 'activerecord', '>= 4.0.0.beta', '< 5'
21+
gem.add_development_dependency 'activerecord', '~> 5.x'
2222
end

0 commit comments

Comments
 (0)