Skip to content

Commit c3eba6b

Browse files
committed
Test against multiple versions of rails
Managed using the Appraisal gem Testing rails 3.0.20, 3.1.12, 3.2.13 and 4.0.rc1
1 parent 092bf72 commit c3eba6b

File tree

12 files changed

+540
-1
lines changed

12 files changed

+540
-1
lines changed

.travis.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,9 @@ rvm:
1212
- rbx-19mode
1313
matrix:
1414
allow_failures:
15-
- rvm: ruby-head
15+
- rvm: ruby-head
16+
gemfile:
17+
- gemfiles/3.0.gemfile
18+
- gemfiles/3.1.gemfile
19+
- gemfiles/3.2.gemfile
20+
- gemfiles/4.0.gemfile

Appraisals

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
appraise "3.0" do
2+
gem "rails", "~> 3.0.20"
3+
gem "split", :path => "../"
4+
end
5+
6+
appraise "3.1" do
7+
gem "rails", "~> 3.1.12"
8+
gem "split", :path => "../"
9+
end
10+
11+
appraise "3.2" do
12+
gem "rails", "~> 3.2.13"
13+
gem "split", :path => "../"
14+
end
15+
16+
appraise "4.0" do
17+
gem "rails", "4.0.0.rc1"
18+
gem "split", :path => "../"
19+
end

Gemfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
source "https://rubygems.org"
22

33
gemspec
4+
5+
gem "appraisal"

Rakefile

100644100755
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#!/usr/bin/env rake
22
require 'bundler/gem_tasks'
33
require 'rspec/core/rake_task'
4+
require 'appraisal'
45

56
RSpec::Core::RakeTask.new('spec')
67

gemfiles/3.0.gemfile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# This file was generated by Appraisal
2+
3+
source "https://rubygems.org"
4+
5+
gem "appraisal"
6+
gem "rails", "~> 3.0.20"
7+
gem "split", :path=>"../"
8+
9+
gemspec :path=>"../"

gemfiles/3.0.gemfile.lock

Lines changed: 111 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,111 @@
1+
PATH
2+
remote: /Users/andrew/code/split
3+
specs:
4+
split (0.6.1)
5+
redis (>= 2.1)
6+
redis-namespace (>= 1.1.0)
7+
simple-random
8+
sinatra (>= 1.2.6)
9+
10+
GEM
11+
remote: https://rubygems.org/
12+
specs:
13+
abstract (1.0.0)
14+
actionmailer (3.0.20)
15+
actionpack (= 3.0.20)
16+
mail (~> 2.2.19)
17+
actionpack (3.0.20)
18+
activemodel (= 3.0.20)
19+
activesupport (= 3.0.20)
20+
builder (~> 2.1.2)
21+
erubis (~> 2.6.6)
22+
i18n (~> 0.5.0)
23+
rack (~> 1.2.5)
24+
rack-mount (~> 0.6.14)
25+
rack-test (~> 0.5.7)
26+
tzinfo (~> 0.3.23)
27+
activemodel (3.0.20)
28+
activesupport (= 3.0.20)
29+
builder (~> 2.1.2)
30+
i18n (~> 0.5.0)
31+
activerecord (3.0.20)
32+
activemodel (= 3.0.20)
33+
activesupport (= 3.0.20)
34+
arel (~> 2.0.10)
35+
tzinfo (~> 0.3.23)
36+
activeresource (3.0.20)
37+
activemodel (= 3.0.20)
38+
activesupport (= 3.0.20)
39+
activesupport (3.0.20)
40+
appraisal (0.5.1)
41+
bundler
42+
rake
43+
arel (2.0.10)
44+
builder (2.1.2)
45+
diff-lcs (1.2.2)
46+
erubis (2.6.6)
47+
abstract (>= 1.0.0)
48+
i18n (0.5.0)
49+
json (1.7.7)
50+
mail (2.2.19)
51+
activesupport (>= 2.3.6)
52+
i18n (>= 0.4.0)
53+
mime-types (~> 1.16)
54+
treetop (~> 1.4.8)
55+
mime-types (1.23)
56+
polyglot (0.3.3)
57+
rack (1.2.7)
58+
rack-mount (0.6.14)
59+
rack (>= 1.0.0)
60+
rack-test (0.5.7)
61+
rack (>= 1.0)
62+
rails (3.0.20)
63+
actionmailer (= 3.0.20)
64+
actionpack (= 3.0.20)
65+
activerecord (= 3.0.20)
66+
activeresource (= 3.0.20)
67+
activesupport (= 3.0.20)
68+
bundler (~> 1.0)
69+
railties (= 3.0.20)
70+
railties (3.0.20)
71+
actionpack (= 3.0.20)
72+
activesupport (= 3.0.20)
73+
rake (>= 0.8.7)
74+
rdoc (~> 3.4)
75+
thor (~> 0.14.4)
76+
rake (10.0.4)
77+
rdoc (3.12.2)
78+
json (~> 1.4)
79+
redis (3.0.3)
80+
redis-namespace (1.2.1)
81+
redis (~> 3.0.0)
82+
rspec (2.13.0)
83+
rspec-core (~> 2.13.0)
84+
rspec-expectations (~> 2.13.0)
85+
rspec-mocks (~> 2.13.0)
86+
rspec-core (2.13.1)
87+
rspec-expectations (2.13.0)
88+
diff-lcs (>= 1.1.3, < 2.0)
89+
rspec-mocks (2.13.0)
90+
simple-random (0.9.3)
91+
sinatra (1.2.8)
92+
rack (~> 1.1)
93+
tilt (>= 1.2.2, < 2.0)
94+
thor (0.14.6)
95+
tilt (1.3.7)
96+
treetop (1.4.12)
97+
polyglot
98+
polyglot (>= 0.3.1)
99+
tzinfo (0.3.37)
100+
101+
PLATFORMS
102+
ruby
103+
104+
DEPENDENCIES
105+
appraisal
106+
bundler (~> 1.0)
107+
rack-test (>= 0.5.7)
108+
rails (~> 3.0.20)
109+
rake
110+
rspec (~> 2.12)
111+
split!

gemfiles/3.1.gemfile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# This file was generated by Appraisal
2+
3+
source "https://rubygems.org"
4+
5+
gem "appraisal"
6+
gem "rails", "~> 3.1.12"
7+
gem "split", :path=>"../"
8+
9+
gemspec :path=>"../"

gemfiles/3.1.gemfile.lock

Lines changed: 124 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,124 @@
1+
PATH
2+
remote: /Users/andrew/code/split
3+
specs:
4+
split (0.6.1)
5+
redis (>= 2.1)
6+
redis-namespace (>= 1.1.0)
7+
simple-random
8+
sinatra (>= 1.2.6)
9+
10+
GEM
11+
remote: https://rubygems.org/
12+
specs:
13+
actionmailer (3.1.12)
14+
actionpack (= 3.1.12)
15+
mail (~> 2.4.4)
16+
actionpack (3.1.12)
17+
activemodel (= 3.1.12)
18+
activesupport (= 3.1.12)
19+
builder (~> 3.0.0)
20+
erubis (~> 2.7.0)
21+
i18n (~> 0.6)
22+
rack (~> 1.3.6)
23+
rack-cache (~> 1.2)
24+
rack-mount (~> 0.8.2)
25+
rack-test (~> 0.6.1)
26+
sprockets (~> 2.0.4)
27+
activemodel (3.1.12)
28+
activesupport (= 3.1.12)
29+
builder (~> 3.0.0)
30+
i18n (~> 0.6)
31+
activerecord (3.1.12)
32+
activemodel (= 3.1.12)
33+
activesupport (= 3.1.12)
34+
arel (~> 2.2.3)
35+
tzinfo (~> 0.3.29)
36+
activeresource (3.1.12)
37+
activemodel (= 3.1.12)
38+
activesupport (= 3.1.12)
39+
activesupport (3.1.12)
40+
multi_json (~> 1.0)
41+
appraisal (0.5.2)
42+
bundler
43+
rake
44+
arel (2.2.3)
45+
builder (3.0.4)
46+
diff-lcs (1.2.4)
47+
erubis (2.7.0)
48+
hike (1.2.2)
49+
i18n (0.6.4)
50+
json (1.7.7)
51+
mail (2.4.4)
52+
i18n (>= 0.4.0)
53+
mime-types (~> 1.16)
54+
treetop (~> 1.4.8)
55+
mime-types (1.23)
56+
multi_json (1.7.2)
57+
polyglot (0.3.3)
58+
rack (1.3.10)
59+
rack-cache (1.2)
60+
rack (>= 0.4)
61+
rack-mount (0.8.3)
62+
rack (>= 1.0.0)
63+
rack-protection (1.5.0)
64+
rack
65+
rack-ssl (1.3.3)
66+
rack
67+
rack-test (0.6.2)
68+
rack (>= 1.0)
69+
rails (3.1.12)
70+
actionmailer (= 3.1.12)
71+
actionpack (= 3.1.12)
72+
activerecord (= 3.1.12)
73+
activeresource (= 3.1.12)
74+
activesupport (= 3.1.12)
75+
bundler (~> 1.0)
76+
railties (= 3.1.12)
77+
railties (3.1.12)
78+
actionpack (= 3.1.12)
79+
activesupport (= 3.1.12)
80+
rack-ssl (~> 1.3.2)
81+
rake (>= 0.8.7)
82+
rdoc (~> 3.4)
83+
thor (~> 0.14.6)
84+
rake (10.0.4)
85+
rdoc (3.12.2)
86+
json (~> 1.4)
87+
redis (3.0.4)
88+
redis-namespace (1.3.0)
89+
redis (~> 3.0.0)
90+
rspec (2.13.0)
91+
rspec-core (~> 2.13.0)
92+
rspec-expectations (~> 2.13.0)
93+
rspec-mocks (~> 2.13.0)
94+
rspec-core (2.13.1)
95+
rspec-expectations (2.13.0)
96+
diff-lcs (>= 1.1.3, < 2.0)
97+
rspec-mocks (2.13.1)
98+
simple-random (0.9.3)
99+
sinatra (1.3.3)
100+
rack (~> 1.3, >= 1.3.6)
101+
rack-protection (~> 1.2)
102+
tilt (~> 1.3, >= 1.3.3)
103+
sprockets (2.0.4)
104+
hike (~> 1.2)
105+
rack (~> 1.0)
106+
tilt (~> 1.1, != 1.3.0)
107+
thor (0.14.6)
108+
tilt (1.4.0)
109+
treetop (1.4.12)
110+
polyglot
111+
polyglot (>= 0.3.1)
112+
tzinfo (0.3.37)
113+
114+
PLATFORMS
115+
ruby
116+
117+
DEPENDENCIES
118+
appraisal
119+
bundler (~> 1.0)
120+
rack-test (>= 0.5.7)
121+
rails (~> 3.1.12)
122+
rake
123+
rspec (~> 2.12)
124+
split!

gemfiles/3.2.gemfile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# This file was generated by Appraisal
2+
3+
source "https://rubygems.org"
4+
5+
gem "appraisal"
6+
gem "rails", "~> 3.2.13"
7+
gem "split", :path=>"../"
8+
9+
gemspec :path=>"../"

0 commit comments

Comments
 (0)