Skip to content

Commit fca0f07

Browse files
eileencodespixeltrix
authored andcommitted
Set Ruby version to 2.2.2
Rack and Rails require Ruby 2.2.2 so we need to upgrade travis to use only Ruby 2.2.2 and set the minimum version in the gemspec. This means we'll have to split this peripheral gem into 2 releases. One for the 4 apps and one for the 5 apps because the changes required by Rails 5 won't work on older version.
1 parent e26b768 commit fca0f07

File tree

3 files changed

+2
-8
lines changed

3 files changed

+2
-8
lines changed

.travis.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,10 @@ language: ruby
22
before_install:
33
- gem install bundler
44
rvm:
5-
- 1.9.3
6-
- 2.0.0
5+
- 2.2.2
76
gemfile:
87
- Gemfile
98
- gemfiles/Gemfile-edge
10-
- gemfiles/Gemfile-4-0-stable
119
matrix:
1210
allow_failures:
1311
- gemfile: gemfiles/Gemfile-edge

actionpack-action_caching.gemspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Gem::Specification.new do |gem|
99
gem.summary = 'Action caching for Action Pack (removed from core in Rails 4.0)'
1010
gem.homepage = 'https://github.com/rails/actionpack-action_caching'
1111

12+
gem.required_ruby_version = '>= 2.2.2'
1213
gem.files = `git ls-files`.split($/)
1314
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
1415
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})

gemfiles/Gemfile-4-0-stable

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)