Skip to content

Commit 69b541e

Browse files
committed
Setup Appraisals and update .travis.yml
1 parent f29b467 commit 69b541e

10 files changed

+556
-6
lines changed

.travis.yml

+17-4
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,34 @@
11
language: ruby
22
sudo: false
3+
cache: bundler
34

45
addons:
56
apt:
67
sources:
78
- libicu-dev
89

9-
script: "bundle exec rake"
10+
script: bundle exec rake
11+
12+
gemfile:
13+
- gemfiles/rails_5.gemfile
14+
- gemfiles/rails_4.gemfile
15+
- gemfiles/rails_3.gemfile
1016

1117
rvm:
12-
- 2.0
13-
- 2.1
18+
- 2.3.1
19+
- 2.2.5
1420
- 2.2
15-
- 2.3.0
21+
- 2.1
22+
- 2.0
1623
- ruby-head
1724

1825
matrix:
1926
fast_finish: true
2027
allow_failures:
28+
- gemfile: gemfiles/rails_5.gemfile
29+
rvm: 2.2
30+
- gemfile: gemfiles/rails_5.gemfile
31+
rvm: 2.1
32+
- gemfile: gemfiles/rails_5.gemfile
33+
rvm: 2.0
2134
- rvm: ruby-head

Appraisals

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
appraise "rails-3" do
2+
gem "minitest"
3+
gem "rack", "< 2"
4+
gem "rails", "3.2.22.2"
5+
end
6+
7+
appraise "rails-4" do
8+
gem "minitest"
9+
gem "rack", "< 2"
10+
gem "rails", "~> 4.2.6"
11+
end
12+
13+
appraise "rails-5" do
14+
gem "minitest"
15+
gem "rails", "~> 5.0.0"
16+
end

Gemfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ group :development do
99
end
1010

1111
group :test do
12-
gem "minitest", "~> 5.3"
1312
gem "rinku", "~> 1.7", :require => false
1413
gem "gemoji", "~> 2.0", :require => false
1514
gem "RedCloth", "~> 4.2.9", :require => false
@@ -28,4 +27,6 @@ group :test do
2827
if RUBY_VERSION < "1.9.3"
2928
gem "activesupport", ">= 2", "< 4"
3029
end
30+
31+
gem "appraisal"
3132
end

Rakefile

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
#!/usr/bin/env rake
2+
require "rubygems"
3+
require "bundler/setup"
4+
25
require "bundler/gem_tasks"
36
require 'rake/testtask'
47

@@ -8,4 +11,4 @@ Rake::TestTask.new do |t|
811
t.verbose = true
912
end
1013

11-
task :default => :test
14+
task :default => :test

gemfiles/rails_3.gemfile

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# This file was generated by Appraisal
2+
3+
source "https://rubygems.org"
4+
5+
gem "minitest"
6+
gem "rack", "< 2"
7+
gem "rails", "3.2.22.2"
8+
9+
group :development do
10+
gem "bundler"
11+
gem "rake"
12+
end
13+
14+
group :test do
15+
gem "rinku", "~> 1.7", :require => false
16+
gem "gemoji", "~> 2.0", :require => false
17+
gem "RedCloth", "~> 4.2.9", :require => false
18+
gem "github-markdown", "~> 0.5", :require => false
19+
gem "email_reply_parser", "~> 0.5", :require => false
20+
gem "sanitize", "~> 2.0", :require => false
21+
gem "escape_utils", "~> 1.0", :require => false
22+
gem "github-linguist", "~> 2.10", :require => false
23+
gem "appraisal"
24+
end
25+
26+
gemspec :path => "../"

gemfiles/rails_3.gemfile.lock

+138
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,138 @@
1+
PATH
2+
remote: ../
3+
specs:
4+
html-pipeline (2.4.1)
5+
activesupport (>= 2)
6+
nokogiri (>= 1.4)
7+
8+
GEM
9+
remote: https://rubygems.org/
10+
specs:
11+
RedCloth (4.2.9)
12+
actionmailer (3.2.22.2)
13+
actionpack (= 3.2.22.2)
14+
mail (~> 2.5.4)
15+
actionpack (3.2.22.2)
16+
activemodel (= 3.2.22.2)
17+
activesupport (= 3.2.22.2)
18+
builder (~> 3.0.0)
19+
erubis (~> 2.7.0)
20+
journey (~> 1.0.4)
21+
rack (~> 1.4.5)
22+
rack-cache (~> 1.2)
23+
rack-test (~> 0.6.1)
24+
sprockets (~> 2.2.1)
25+
activemodel (3.2.22.2)
26+
activesupport (= 3.2.22.2)
27+
builder (~> 3.0.0)
28+
activerecord (3.2.22.2)
29+
activemodel (= 3.2.22.2)
30+
activesupport (= 3.2.22.2)
31+
arel (~> 3.0.2)
32+
tzinfo (~> 0.3.29)
33+
activeresource (3.2.22.2)
34+
activemodel (= 3.2.22.2)
35+
activesupport (= 3.2.22.2)
36+
activesupport (3.2.22.2)
37+
i18n (~> 0.6, >= 0.6.4)
38+
multi_json (~> 1.0)
39+
appraisal (2.1.0)
40+
bundler
41+
rake
42+
thor (>= 0.14.0)
43+
arel (3.0.3)
44+
builder (3.0.4)
45+
charlock_holmes (0.7.3)
46+
email_reply_parser (0.5.8)
47+
erubis (2.7.0)
48+
escape_utils (1.0.1)
49+
gemoji (2.1.0)
50+
github-linguist (2.12.0)
51+
charlock_holmes (~> 0.7.3)
52+
escape_utils (~> 1.0.1)
53+
mime-types (~> 1.19)
54+
pygments.rb (~> 0.6.0)
55+
github-markdown (0.6.9)
56+
hike (1.2.3)
57+
i18n (0.7.0)
58+
journey (1.0.4)
59+
json (1.8.3)
60+
mail (2.5.4)
61+
mime-types (~> 1.16)
62+
treetop (~> 1.4.8)
63+
mime-types (1.25.1)
64+
mini_portile2 (2.1.0)
65+
minitest (5.9.0)
66+
multi_json (1.12.1)
67+
nokogiri (1.6.8)
68+
mini_portile2 (~> 2.1.0)
69+
pkg-config (~> 1.1.7)
70+
pkg-config (1.1.7)
71+
polyglot (0.3.5)
72+
posix-spawn (0.3.11)
73+
pygments.rb (0.6.3)
74+
posix-spawn (~> 0.3.6)
75+
yajl-ruby (~> 1.2.0)
76+
rack (1.4.7)
77+
rack-cache (1.6.1)
78+
rack (>= 0.4)
79+
rack-ssl (1.3.4)
80+
rack
81+
rack-test (0.6.3)
82+
rack (>= 1.0)
83+
rails (3.2.22.2)
84+
actionmailer (= 3.2.22.2)
85+
actionpack (= 3.2.22.2)
86+
activerecord (= 3.2.22.2)
87+
activeresource (= 3.2.22.2)
88+
activesupport (= 3.2.22.2)
89+
bundler (~> 1.0)
90+
railties (= 3.2.22.2)
91+
railties (3.2.22.2)
92+
actionpack (= 3.2.22.2)
93+
activesupport (= 3.2.22.2)
94+
rack-ssl (~> 1.3.2)
95+
rake (>= 0.8.7)
96+
rdoc (~> 3.4)
97+
thor (>= 0.14.6, < 2.0)
98+
rake (11.2.2)
99+
rdoc (3.12.2)
100+
json (~> 1.4)
101+
rinku (1.7.3)
102+
sanitize (2.1.0)
103+
nokogiri (>= 1.4.4)
104+
sprockets (2.2.3)
105+
hike (~> 1.2)
106+
multi_json (~> 1.0)
107+
rack (~> 1.0)
108+
tilt (~> 1.1, != 1.3.0)
109+
thor (0.19.1)
110+
tilt (1.4.1)
111+
treetop (1.4.15)
112+
polyglot
113+
polyglot (>= 0.3.1)
114+
tzinfo (0.3.50)
115+
yajl-ruby (1.2.1)
116+
117+
PLATFORMS
118+
ruby
119+
120+
DEPENDENCIES
121+
RedCloth (~> 4.2.9)
122+
appraisal
123+
bundler
124+
email_reply_parser (~> 0.5)
125+
escape_utils (~> 1.0)
126+
gemoji (~> 2.0)
127+
github-linguist (~> 2.10)
128+
github-markdown (~> 0.5)
129+
html-pipeline!
130+
minitest
131+
rack (< 2)
132+
rails (= 3.2.22.2)
133+
rake
134+
rinku (~> 1.7)
135+
sanitize (~> 2.0)
136+
137+
BUNDLED WITH
138+
1.12.5

gemfiles/rails_4.gemfile

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# This file was generated by Appraisal
2+
3+
source "https://rubygems.org"
4+
5+
gem "minitest"
6+
gem "rack", "< 2"
7+
gem "rails", "~> 4.2.6"
8+
9+
group :development do
10+
gem "bundler"
11+
gem "rake"
12+
end
13+
14+
group :test do
15+
gem "rinku", "~> 1.7", :require => false
16+
gem "gemoji", "~> 2.0", :require => false
17+
gem "RedCloth", "~> 4.2.9", :require => false
18+
gem "github-markdown", "~> 0.5", :require => false
19+
gem "email_reply_parser", "~> 0.5", :require => false
20+
gem "sanitize", "~> 2.0", :require => false
21+
gem "escape_utils", "~> 1.0", :require => false
22+
gem "github-linguist", "~> 2.10", :require => false
23+
gem "appraisal"
24+
end
25+
26+
gemspec :path => "../"

0 commit comments

Comments
 (0)