Skip to content

Commit f42df13

Browse files
committed
add Apprailsas and travis.yml
1 parent 575477c commit f42df13

12 files changed

+620
-8
lines changed

.travis.yml

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
language: ruby
2+
rvm:
3+
- 1.9.3
4+
- 2.0.0
5+
- 2.1.2

Appraisals

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
appraise "rails-3" do
2+
gem "rails", "3.2.14"
3+
end
4+
5+
appraise "rails-4" do
6+
gem "rails", "4.0.0"
7+
end
8+
9+
appraise "rails-4.1" do
10+
gem "rails", "4.1.0"
11+
end

Gemfile

+1
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,5 @@ end
3535

3636
group :development, :test do
3737
gem 'sqlite3'
38+
gem "appraisal"
3839
end

Gemfile.lock

+6-7
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ PATH
44
lit (0.2.3)
55
jquery-rails
66
rails (> 3.1.0)
7-
sass-rails (> 3.1)
87

98
GEM
109
remote: http://rubygems.org/
@@ -37,6 +36,10 @@ GEM
3736
i18n (~> 0.6)
3837
multi_json (~> 1.0)
3938
addressable (2.3.2)
39+
appraisal (1.0.0)
40+
bundler
41+
rake
42+
thor (>= 0.14.0)
4043
arel (3.0.2)
4144
bcrypt-ruby (3.0.1)
4245
builder (3.0.4)
@@ -95,7 +98,7 @@ GEM
9598
pg (0.14.0)
9699
polyamorous (0.5.0)
97100
activerecord (~> 3.0)
98-
polyglot (0.3.4)
101+
polyglot (0.3.5)
99102
rack (1.4.1)
100103
rack-cache (1.2)
101104
rack (>= 0.4)
@@ -127,11 +130,6 @@ GEM
127130
json (~> 1.4)
128131
redis (3.0.2)
129132
rubyzip (0.9.9)
130-
sass (3.3.4)
131-
sass-rails (3.2.6)
132-
railties (~> 3.2.0)
133-
sass (>= 3.1.10)
134-
tilt (~> 1.3)
135133
selenium-webdriver (2.25.0)
136134
childprocess (>= 0.2.5)
137135
libwebsocket (~> 0.1.3)
@@ -161,6 +159,7 @@ PLATFORMS
161159
ruby
162160

163161
DEPENDENCIES
162+
appraisal
164163
capybara
165164
coffee-rails (>= 3.0.0)
166165
database_cleaner

Rakefile

+1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ Bundler::GemHelper.install_tasks
3030
require 'rake/testtask'
3131

3232
Rake::TestTask.new(:test) do |t|
33+
puts "Storage: #{ENV['LIT_STORAGE'] || 'redis'}"
3334
t.libs << 'lib'
3435
t.libs << 'test'
3536
t.pattern = 'test/**/*_test.rb'

gemfiles/rails_3.gemfile

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# This file was generated by Appraisal
2+
3+
source "http://rubygems.org"
4+
5+
gem "jquery-rails"
6+
gem "rails", "3.2.14"
7+
8+
group :assets do
9+
gem "coffee-rails", ">= 3.0.0"
10+
end
11+
12+
group :test do
13+
gem "capybara"
14+
gem "database_cleaner"
15+
gem "launchy"
16+
gem "redis"
17+
gem "simple_form"
18+
gem "ransack"
19+
gem "kaminari"
20+
gem "fakeweb", "~> 1.3", :require => false
21+
gem "test_declarative", :require => false
22+
gem "mocha", :require => false
23+
end
24+
25+
group :development, :test do
26+
gem "sqlite3"
27+
gem "appraisal"
28+
end
29+
30+
gemspec :path => "../"

gemfiles/rails_3.gemfile.lock

+172
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,172 @@
1+
PATH
2+
remote: ../
3+
specs:
4+
lit (0.2.3)
5+
jquery-rails
6+
rails (> 3.1.0)
7+
8+
GEM
9+
remote: http://rubygems.org/
10+
specs:
11+
actionmailer (3.2.14)
12+
actionpack (= 3.2.14)
13+
mail (~> 2.5.4)
14+
actionpack (3.2.14)
15+
activemodel (= 3.2.14)
16+
activesupport (= 3.2.14)
17+
builder (~> 3.0.0)
18+
erubis (~> 2.7.0)
19+
journey (~> 1.0.4)
20+
rack (~> 1.4.5)
21+
rack-cache (~> 1.2)
22+
rack-test (~> 0.6.1)
23+
sprockets (~> 2.2.1)
24+
activemodel (3.2.14)
25+
activesupport (= 3.2.14)
26+
builder (~> 3.0.0)
27+
activerecord (3.2.14)
28+
activemodel (= 3.2.14)
29+
activesupport (= 3.2.14)
30+
arel (~> 3.0.2)
31+
tzinfo (~> 0.3.29)
32+
activeresource (3.2.14)
33+
activemodel (= 3.2.14)
34+
activesupport (= 3.2.14)
35+
activesupport (3.2.14)
36+
i18n (~> 0.6, >= 0.6.4)
37+
multi_json (~> 1.0)
38+
addressable (2.3.6)
39+
appraisal (1.0.0)
40+
bundler
41+
rake
42+
thor (>= 0.14.0)
43+
arel (3.0.3)
44+
bcrypt (3.1.7)
45+
builder (3.0.4)
46+
capybara (2.4.1)
47+
mime-types (>= 1.16)
48+
nokogiri (>= 1.3.3)
49+
rack (>= 1.0.0)
50+
rack-test (>= 0.5.4)
51+
xpath (~> 2.0)
52+
coffee-rails (3.2.2)
53+
coffee-script (>= 2.2.0)
54+
railties (~> 3.2.0)
55+
coffee-script (2.3.0)
56+
coffee-script-source
57+
execjs
58+
coffee-script-source (1.7.1)
59+
database_cleaner (1.3.0)
60+
devise (3.3.0)
61+
bcrypt (~> 3.0)
62+
orm_adapter (~> 0.1)
63+
railties (>= 3.2.6, < 5)
64+
thread_safe (~> 0.1)
65+
warden (~> 1.2.3)
66+
erubis (2.7.0)
67+
execjs (2.2.1)
68+
fakeweb (1.3.0)
69+
hike (1.2.3)
70+
i18n (0.6.11)
71+
journey (1.0.4)
72+
jquery-rails (3.1.1)
73+
railties (>= 3.0, < 5.0)
74+
thor (>= 0.14, < 2.0)
75+
json (1.8.1)
76+
kaminari (0.16.1)
77+
actionpack (>= 3.0.0)
78+
activesupport (>= 3.0.0)
79+
launchy (2.4.2)
80+
addressable (~> 2.3)
81+
mail (2.5.4)
82+
mime-types (~> 1.16)
83+
treetop (~> 1.4.8)
84+
metaclass (0.0.4)
85+
mime-types (1.25.1)
86+
mini_portile (0.6.0)
87+
mocha (1.1.0)
88+
metaclass (~> 0.0.1)
89+
multi_json (1.10.1)
90+
nokogiri (1.6.3.1)
91+
mini_portile (= 0.6.0)
92+
orm_adapter (0.5.0)
93+
pg (0.17.1)
94+
polyamorous (1.0.0)
95+
activerecord (>= 3.0)
96+
polyglot (0.3.5)
97+
rack (1.4.5)
98+
rack-cache (1.2)
99+
rack (>= 0.4)
100+
rack-ssl (1.3.4)
101+
rack
102+
rack-test (0.6.2)
103+
rack (>= 1.0)
104+
rails (3.2.14)
105+
actionmailer (= 3.2.14)
106+
actionpack (= 3.2.14)
107+
activerecord (= 3.2.14)
108+
activeresource (= 3.2.14)
109+
activesupport (= 3.2.14)
110+
bundler (~> 1.0)
111+
railties (= 3.2.14)
112+
railties (3.2.14)
113+
actionpack (= 3.2.14)
114+
activesupport (= 3.2.14)
115+
rack-ssl (~> 1.3.2)
116+
rake (>= 0.8.7)
117+
rdoc (~> 3.4)
118+
thor (>= 0.14.6, < 2.0)
119+
rake (10.3.2)
120+
ransack (1.2.3)
121+
actionpack (>= 3.0)
122+
activerecord (>= 3.0)
123+
activesupport (>= 3.0)
124+
i18n
125+
polyamorous (~> 1.0.0)
126+
rdoc (3.12.2)
127+
json (~> 1.4)
128+
redis (3.1.0)
129+
simple_form (2.1.1)
130+
actionpack (~> 3.0)
131+
activemodel (~> 3.0)
132+
sprockets (2.2.2)
133+
hike (~> 1.2)
134+
multi_json (~> 1.0)
135+
rack (~> 1.0)
136+
tilt (~> 1.1, != 1.3.0)
137+
sqlite3 (1.3.9)
138+
test_declarative (0.0.5)
139+
thor (0.19.1)
140+
thread_safe (0.3.4)
141+
tilt (1.4.1)
142+
treetop (1.4.15)
143+
polyglot
144+
polyglot (>= 0.3.1)
145+
tzinfo (0.3.41)
146+
warden (1.2.3)
147+
rack (>= 1.0)
148+
xpath (2.0.0)
149+
nokogiri (~> 1.3)
150+
151+
PLATFORMS
152+
ruby
153+
154+
DEPENDENCIES
155+
appraisal
156+
capybara
157+
coffee-rails (>= 3.0.0)
158+
database_cleaner
159+
devise
160+
fakeweb (~> 1.3)
161+
jquery-rails
162+
kaminari
163+
launchy
164+
lit!
165+
mocha
166+
pg
167+
rails (= 3.2.14)
168+
ransack
169+
redis
170+
simple_form
171+
sqlite3
172+
test_declarative

gemfiles/rails_4.1.gemfile

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# This file was generated by Appraisal
2+
3+
source "http://rubygems.org"
4+
5+
gem "jquery-rails"
6+
gem "rails", "4.1.0"
7+
8+
group :assets do
9+
gem "coffee-rails", ">= 3.0.0"
10+
end
11+
12+
group :test do
13+
gem "capybara"
14+
gem "database_cleaner"
15+
gem "launchy"
16+
gem "redis"
17+
gem "simple_form"
18+
gem "ransack"
19+
gem "kaminari"
20+
gem "fakeweb", "~> 1.3", :require => false
21+
gem "test_declarative", :require => false
22+
gem "mocha", :require => false
23+
end
24+
25+
group :development, :test do
26+
gem "sqlite3"
27+
gem "appraisal"
28+
end
29+
30+
gemspec :path => "../"

0 commit comments

Comments
 (0)