Skip to content

Commit 2f98f72

Browse files
committed
Added a few basic tests along with appraisals for supported rails versions.
1 parent 2867910 commit 2f98f72

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+1330
-2
lines changed

.gitignore

+6-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,6 @@
1-
*.gem
1+
Gemfile.lock
2+
*.gem
3+
spec/dummy/vendor
4+
spec/dummy/log/*.log
5+
spec/dummy/tmp/
6+
gemfiles/*.lock

Appraisals

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
appraise "rails_4.2" do
2+
gem "rails", "4.2.7"
3+
end
4+
5+
appraise "rails_4.1" do
6+
gem "rails", "4.1.16"
7+
end
8+
9+
appraise "rails_4.0" do
10+
gem "rails", "4.0.13"
11+
end
12+
13+
appraise "rails_3.2" do
14+
gem "rails", "3.2.22.4"
15+
end

Gemfile

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
source "https://rubygems.org"
2+
3+
gemspec
4+
5+
gem 'pry'
6+
gem 'appraisal', '2.1.0'

gemfiles/rails_3.2.gemfile

+9
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 "pry"
6+
gem "appraisal", "2.1.0"
7+
gem "rails", "3.2.22.4"
8+
9+
gemspec :path => "../"

gemfiles/rails_3.2.gemfile.lock

+122
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,122 @@
1+
PATH
2+
remote: ../
3+
specs:
4+
mailer_fragment_caching (0.0.4)
5+
rails (>= 3.0.0, < 5.0.0)
6+
7+
GEM
8+
remote: https://rubygems.org/
9+
specs:
10+
actionmailer (3.2.22.4)
11+
actionpack (= 3.2.22.4)
12+
mail (~> 2.5.4)
13+
actionpack (3.2.22.4)
14+
activemodel (= 3.2.22.4)
15+
activesupport (= 3.2.22.4)
16+
builder (~> 3.0.0)
17+
erubis (~> 2.7.0)
18+
journey (~> 1.0.4)
19+
rack (~> 1.4.5)
20+
rack-cache (~> 1.2)
21+
rack-test (~> 0.6.1)
22+
sprockets (~> 2.2.1)
23+
activemodel (3.2.22.4)
24+
activesupport (= 3.2.22.4)
25+
builder (~> 3.0.0)
26+
activerecord (3.2.22.4)
27+
activemodel (= 3.2.22.4)
28+
activesupport (= 3.2.22.4)
29+
arel (~> 3.0.2)
30+
tzinfo (~> 0.3.29)
31+
activeresource (3.2.22.4)
32+
activemodel (= 3.2.22.4)
33+
activesupport (= 3.2.22.4)
34+
activesupport (3.2.22.4)
35+
i18n (~> 0.6, >= 0.6.4)
36+
multi_json (~> 1.0)
37+
appraisal (2.1.0)
38+
bundler
39+
rake
40+
thor (>= 0.14.0)
41+
arel (3.0.3)
42+
builder (3.0.4)
43+
coderay (1.1.0)
44+
diff-lcs (1.2.5)
45+
erubis (2.7.0)
46+
hike (1.2.3)
47+
i18n (0.7.0)
48+
journey (1.0.4)
49+
json (1.8.3)
50+
mail (2.5.4)
51+
mime-types (~> 1.16)
52+
treetop (~> 1.4.8)
53+
method_source (0.8.2)
54+
mime-types (1.25.1)
55+
multi_json (1.12.1)
56+
polyglot (0.3.5)
57+
pry (0.10.1)
58+
coderay (~> 1.1.0)
59+
method_source (~> 0.8.1)
60+
slop (~> 3.4)
61+
rack (1.4.7)
62+
rack-cache (1.6.1)
63+
rack (>= 0.4)
64+
rack-ssl (1.3.4)
65+
rack
66+
rack-test (0.6.3)
67+
rack (>= 1.0)
68+
rails (3.2.22.4)
69+
actionmailer (= 3.2.22.4)
70+
actionpack (= 3.2.22.4)
71+
activerecord (= 3.2.22.4)
72+
activeresource (= 3.2.22.4)
73+
activesupport (= 3.2.22.4)
74+
bundler (~> 1.0)
75+
railties (= 3.2.22.4)
76+
railties (3.2.22.4)
77+
actionpack (= 3.2.22.4)
78+
activesupport (= 3.2.22.4)
79+
rack-ssl (~> 1.3.2)
80+
rake (>= 0.8.7)
81+
rdoc (~> 3.4)
82+
thor (>= 0.14.6, < 2.0)
83+
rake (11.2.2)
84+
rdoc (3.12.2)
85+
json (~> 1.4)
86+
rspec (3.5.0)
87+
rspec-core (~> 3.5.0)
88+
rspec-expectations (~> 3.5.0)
89+
rspec-mocks (~> 3.5.0)
90+
rspec-core (3.5.3)
91+
rspec-support (~> 3.5.0)
92+
rspec-expectations (3.5.0)
93+
diff-lcs (>= 1.2.0, < 2.0)
94+
rspec-support (~> 3.5.0)
95+
rspec-mocks (3.5.0)
96+
diff-lcs (>= 1.2.0, < 2.0)
97+
rspec-support (~> 3.5.0)
98+
rspec-support (3.5.0)
99+
slop (3.6.0)
100+
sprockets (2.2.3)
101+
hike (~> 1.2)
102+
multi_json (~> 1.0)
103+
rack (~> 1.0)
104+
tilt (~> 1.1, != 1.3.0)
105+
sqlite3 (1.3.11)
106+
thor (0.19.1)
107+
tilt (1.4.1)
108+
treetop (1.4.15)
109+
polyglot
110+
polyglot (>= 0.3.1)
111+
tzinfo (0.3.51)
112+
113+
PLATFORMS
114+
ruby
115+
116+
DEPENDENCIES
117+
appraisal (= 2.1.0)
118+
mailer_fragment_caching!
119+
pry
120+
rails (= 3.2.22.4)
121+
rspec
122+
sqlite3

gemfiles/rails_4.0.gemfile

+9
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 "pry"
6+
gem "appraisal", "2.1.0"
7+
gem "rails", "4.0.13"
8+
9+
gemspec :path => "../"

gemfiles/rails_4.0.gemfile.lock

+109
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,109 @@
1+
PATH
2+
remote: ../
3+
specs:
4+
mailer_fragment_caching (0.0.4)
5+
rails (>= 3.0.0, < 5.0.0)
6+
7+
GEM
8+
remote: https://rubygems.org/
9+
specs:
10+
actionmailer (4.0.13)
11+
actionpack (= 4.0.13)
12+
mail (~> 2.5, >= 2.5.4)
13+
actionpack (4.0.13)
14+
activesupport (= 4.0.13)
15+
builder (~> 3.1.0)
16+
erubis (~> 2.7.0)
17+
rack (~> 1.5.2)
18+
rack-test (~> 0.6.2)
19+
activemodel (4.0.13)
20+
activesupport (= 4.0.13)
21+
builder (~> 3.1.0)
22+
activerecord (4.0.13)
23+
activemodel (= 4.0.13)
24+
activerecord-deprecated_finders (~> 1.0.2)
25+
activesupport (= 4.0.13)
26+
arel (~> 4.0.0)
27+
activerecord-deprecated_finders (1.0.4)
28+
activesupport (4.0.13)
29+
i18n (~> 0.6, >= 0.6.9)
30+
minitest (~> 4.2)
31+
multi_json (~> 1.3)
32+
thread_safe (~> 0.1)
33+
tzinfo (~> 0.3.37)
34+
appraisal (2.1.0)
35+
bundler
36+
rake
37+
thor (>= 0.14.0)
38+
arel (4.0.2)
39+
builder (3.1.4)
40+
coderay (1.1.0)
41+
concurrent-ruby (1.0.2)
42+
diff-lcs (1.2.5)
43+
erubis (2.7.0)
44+
i18n (0.7.0)
45+
mail (2.6.4)
46+
mime-types (>= 1.16, < 4)
47+
method_source (0.8.2)
48+
mime-types (3.1)
49+
mime-types-data (~> 3.2015)
50+
mime-types-data (3.2016.0521)
51+
minitest (4.7.5)
52+
multi_json (1.12.1)
53+
pry (0.10.1)
54+
coderay (~> 1.1.0)
55+
method_source (~> 0.8.1)
56+
slop (~> 3.4)
57+
rack (1.5.5)
58+
rack-test (0.6.3)
59+
rack (>= 1.0)
60+
rails (4.0.13)
61+
actionmailer (= 4.0.13)
62+
actionpack (= 4.0.13)
63+
activerecord (= 4.0.13)
64+
activesupport (= 4.0.13)
65+
bundler (>= 1.3.0, < 2.0)
66+
railties (= 4.0.13)
67+
sprockets-rails (~> 2.0)
68+
railties (4.0.13)
69+
actionpack (= 4.0.13)
70+
activesupport (= 4.0.13)
71+
rake (>= 0.8.7)
72+
thor (>= 0.18.1, < 2.0)
73+
rake (11.2.2)
74+
rspec (3.5.0)
75+
rspec-core (~> 3.5.0)
76+
rspec-expectations (~> 3.5.0)
77+
rspec-mocks (~> 3.5.0)
78+
rspec-core (3.5.3)
79+
rspec-support (~> 3.5.0)
80+
rspec-expectations (3.5.0)
81+
diff-lcs (>= 1.2.0, < 2.0)
82+
rspec-support (~> 3.5.0)
83+
rspec-mocks (3.5.0)
84+
diff-lcs (>= 1.2.0, < 2.0)
85+
rspec-support (~> 3.5.0)
86+
rspec-support (3.5.0)
87+
slop (3.6.0)
88+
sprockets (3.7.0)
89+
concurrent-ruby (~> 1.0)
90+
rack (> 1, < 3)
91+
sprockets-rails (2.3.3)
92+
actionpack (>= 3.0)
93+
activesupport (>= 3.0)
94+
sprockets (>= 2.8, < 4.0)
95+
sqlite3 (1.3.11)
96+
thor (0.19.1)
97+
thread_safe (0.3.5)
98+
tzinfo (0.3.51)
99+
100+
PLATFORMS
101+
ruby
102+
103+
DEPENDENCIES
104+
appraisal (= 2.1.0)
105+
mailer_fragment_caching!
106+
pry
107+
rails (= 4.0.13)
108+
rspec
109+
sqlite3

gemfiles/rails_4.1.gemfile

+9
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 "pry"
6+
gem "appraisal", "2.1.0"
7+
gem "rails", "4.1.16"
8+
9+
gemspec :path => "../"

0 commit comments

Comments
 (0)