Skip to content

Commit b572b4f

Browse files
committed
Test the gem with 4.0, 4.1, 4.2, 5.0 and master
1 parent 589a67f commit b572b4f

File tree

7 files changed

+65
-9
lines changed

7 files changed

+65
-9
lines changed

.travis.yml

Lines changed: 36 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,50 @@
11
language: ruby
22
sudo: false
3+
4+
cache:
5+
bundler: true
6+
37
before_install:
48
- gem install bundler
9+
510
rvm:
6-
- 2.2.2
11+
- 1.9.3
12+
- 2.0.0
13+
- 2.1.8
14+
- 2.2.5
15+
- 2.3.1
16+
717
gemfile:
818
- Gemfile
19+
- gemfiles/Gemfile-4-0-stable
20+
- gemfiles/Gemfile-4-1-stable
21+
- gemfiles/Gemfile-4-2-stable
22+
- gemfiles/Gemfile-5-0-stable
923
- gemfiles/Gemfile-edge
24+
1025
matrix:
1126
allow_failures:
1227
- gemfile: gemfiles/Gemfile-edge
28+
exclude:
29+
- rvm: 1.9.3
30+
gemfile: Gemfile
31+
- rvm: 2.0.0
32+
gemfile: Gemfile
33+
- rvm: 2.1.8
34+
gemfile: Gemfile
35+
- rvm: 1.9.3
36+
gemfile: gemfiles/Gemfile-5-0-stable
37+
- rvm: 2.0.0
38+
gemfile: gemfiles/Gemfile-5-0-stable
39+
- rvm: 2.1.8
40+
gemfile: gemfiles/Gemfile-5-0-stable
41+
- rvm: 1.9.3
42+
gemfile: gemfiles/Gemfile-edge
43+
- rvm: 2.0.0
44+
gemfile: gemfiles/Gemfile-edge
45+
- rvm: 2.1.8
46+
gemfile: gemfiles/Gemfile-edge
47+
1348
notifications:
1449
email: false
1550
irc:

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', github: 'rails/rails'
5+
gem 'rails'

actionpack-action_caching.gemspec

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,21 @@
1-
# -*- encoding: utf-8 -*-
2-
31
Gem::Specification.new do |gem|
42
gem.name = 'actionpack-action_caching'
5-
gem.version = '2.0.0'
3+
gem.version = '1.1.1'
64
gem.author = 'David Heinemeier Hansson'
75
gem.email = '[email protected]'
86
gem.description = 'Action caching for Action Pack (removed from core in Rails 4.0)'
97
gem.summary = 'Action caching for Action Pack (removed from core in Rails 4.0)'
108
gem.homepage = 'https://github.com/rails/actionpack-action_caching'
119

12-
gem.required_ruby_version = '>= 2.2.2'
10+
gem.required_ruby_version = '>= 1.9.3'
1311
gem.files = `git ls-files`.split($/)
1412
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
1513
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
1614
gem.require_paths = ['lib']
1715
gem.license = 'MIT'
1816

19-
gem.add_dependency 'actionpack', '~> 5.x'
17+
gem.add_dependency "actionpack", ">= 4.0.0", "< 6"
2018

21-
gem.add_development_dependency 'mocha'
22-
gem.add_development_dependency 'activerecord', '~> 5.x'
19+
gem.add_development_dependency "mocha"
20+
gem.add_development_dependency "activerecord", ">= 4.0.0", "< 6"
2321
end

gemfiles/Gemfile-4-0-stable

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
source "https://rubygems.org"
2+
3+
gemspec path: ".."
4+
5+
gem "rails", github: "rails/rails", branch: "4-0-stable"
6+
gem "mime-types", "< 3"

gemfiles/Gemfile-4-1-stable

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
source "https://rubygems.org"
2+
3+
gemspec path: ".."
4+
5+
gem "rails", github: "rails/rails", branch: "4-1-stable"
6+
gem "mime-types", "< 3"

gemfiles/Gemfile-4-2-stable

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
source "https://rubygems.org"
2+
3+
gemspec path: ".."
4+
5+
gem "rails", github: "rails/rails", branch: "4-2-stable"
6+
gem "mime-types", "< 3"

gemfiles/Gemfile-5-0-stable

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
source "https://rubygems.org"
2+
3+
gemspec path: ".."
4+
5+
gem "rails", github: "rails/rails", branch: "5-0-stable"

0 commit comments

Comments
 (0)