Skip to content

Commit ea9a723

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

10 files changed

+550
-6
lines changed

.travis.yml

+14-4
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,31 @@
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
18+
- 2.3.1
19+
- 2.2.5
1320
- 2.1
14-
- 2.2
15-
- 2.3.0
21+
- 2.0
1622
- ruby-head
1723

1824
matrix:
1925
fast_finish: true
2026
allow_failures:
27+
- gemfile: gemfiles/rails_5.gemfile
28+
rvm: 2.1
29+
- gemfile: gemfiles/rails_5.gemfile
30+
rvm: 2.0
2131
- rvm: ruby-head

Appraisals

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

Gemfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,11 @@ gemspec
66
group :development do
77
gem "bundler"
88
gem "rake"
9+
gem "appraisal"
910
end
1011

1112
group :test do
12-
gem "minitest", "~> 5.3"
13+
gem "minitest"
1314
gem "rinku", "~> 1.7", :require => false
1415
gem "gemoji", "~> 2.0", :require => false
1516
gem "RedCloth", "~> 4.2.9", :require => false

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 "rack", "< 2"
6+
gem "rails", "3.2.22.2"
7+
8+
group :development do
9+
gem "bundler"
10+
gem "rake"
11+
gem "appraisal"
12+
end
13+
14+
group :test do
15+
gem "minitest"
16+
gem "rinku", "~> 1.7", :require => false
17+
gem "gemoji", "~> 2.0", :require => false
18+
gem "RedCloth", "~> 4.2.9", :require => false
19+
gem "github-markdown", "~> 0.5", :require => false
20+
gem "email_reply_parser", "~> 0.5", :require => false
21+
gem "sanitize", "~> 2.0", :require => false
22+
gem "escape_utils", "~> 1.0", :require => false
23+
gem "github-linguist", "~> 2.10", :require => false
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 "rack", "< 2"
6+
gem "rails", "~> 4.2.6"
7+
8+
group :development do
9+
gem "bundler"
10+
gem "rake"
11+
gem "appraisal"
12+
end
13+
14+
group :test do
15+
gem "minitest"
16+
gem "rinku", "~> 1.7", :require => false
17+
gem "gemoji", "~> 2.0", :require => false
18+
gem "RedCloth", "~> 4.2.9", :require => false
19+
gem "github-markdown", "~> 0.5", :require => false
20+
gem "email_reply_parser", "~> 0.5", :require => false
21+
gem "sanitize", "~> 2.0", :require => false
22+
gem "escape_utils", "~> 1.0", :require => false
23+
gem "github-linguist", "~> 2.10", :require => false
24+
end
25+
26+
gemspec :path => "../"

0 commit comments

Comments
 (0)