Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 74 lines (65 sloc) 1.704 kb
f13e069 @mcmire Add missing test dependences to Appraisals
mcmire authored
1 ruby_version = Gem::Version.new(RUBY_VERSION + '')
2
093268e @mcmire Clean up Gemfile
mcmire authored
3 shared_dependencies = proc do
56ded05 @mcmire Add support for Ruby 2.2
mcmire authored
4 gem 'rspec-rails', '>= 3.2.0', '< 4'
093268e @mcmire Clean up Gemfile
mcmire authored
5 gem 'shoulda-context', '~> 1.2.0'
6 gem 'sqlite3', platform: :ruby
72f60fa @mcmire Add support for Postgres
mcmire authored
7 gem 'pg', platform: :ruby
093268e @mcmire Clean up Gemfile
mcmire authored
8 gem 'activerecord-jdbc-adapter', platform: :jruby
9 gem 'activerecord-jdbcsqlite3-adapter', platform: :jruby
10 gem 'jdbc-sqlite3', platform: :jruby
11 gem 'jruby-openssl', platform: :jruby
12 gem 'therubyrhino', platform: :jruby
13 end
14
12543ed @mcmire Use same assertion class as Rails, if loaded
mcmire authored
15 spring = proc do
16 gem 'spring'
17 gem 'spring-commands-rspec'
18 end
19
f13e069 @mcmire Add missing test dependences to Appraisals
mcmire authored
20 rails_4 = proc do
093268e @mcmire Clean up Gemfile
mcmire authored
21 instance_eval(&shared_dependencies)
12543ed @mcmire Use same assertion class as Rails, if loaded
mcmire authored
22 instance_eval(&spring)
f13e069 @mcmire Add missing test dependences to Appraisals
mcmire authored
23 gem 'uglifier', '>= 1.3.0'
24 gem 'coffee-rails', '~> 4.0.0'
25 gem 'jquery-rails'
26 gem 'turbolinks'
27 gem 'sdoc'
e3c6477 @mcmire Add Appraisal for Rails 4.0.1
mcmire authored
28 gem 'activeresource', '4.0.0'
29 # Test suite makes heavy use of attr_accessible
30 gem 'protected_attributes'
de7e550 @mcmire Add Cucumber setup for testing standalone Ruby applications
mcmire authored
31 gem 'minitest-reporters'
e3c6477 @mcmire Add Appraisal for Rails 4.0.1
mcmire authored
32 end
33
34 #---
35
a4045a1 @mcmire Remove Rails 3.x, Ruby 1.9.2, Ruby 1.9.3
mcmire authored
36 appraise '4.0.0' do
37 instance_eval(&rails_4)
38 gem 'rails', '4.0.0'
39 gem 'jbuilder', '~> 1.2'
40 gem 'sass-rails', '~> 4.0.0'
41 gem 'bcrypt-ruby', '~> 3.0.0'
44847c6 @sikachu Add Appraisals to the project to handle testing against multiple Rail…
sikachu authored
42 end
aff2824 @gabebw Test against Rails 3.2.
gabebw authored
43
a4045a1 @mcmire Remove Rails 3.x, Ruby 1.9.2, Ruby 1.9.3
mcmire authored
44 appraise '4.0.1' do
45 instance_eval(&rails_4)
46 gem 'rails', '4.0.1'
47 gem 'jbuilder', '~> 1.2'
48 gem 'sass-rails', '~> 4.0.0'
49 gem 'bcrypt-ruby', '~> 3.1.2'
2e4e76c @derekprior Add Rails 4 Appraisal
derekprior authored
50 end
51
a4045a1 @mcmire Remove Rails 3.x, Ruby 1.9.2, Ruby 1.9.3
mcmire authored
52 appraise '4.1' do
53 instance_eval(&rails_4)
54 gem 'rails', '~> 4.1.0'
55 gem 'jbuilder', '~> 2.0'
56 gem 'sass-rails', '~> 4.0.3'
57 gem 'sdoc', '~> 0.4.0'
58 gem 'bcrypt', '~> 3.1.7'
59 gem 'protected_attributes', "~> 1.0.6"
60 gem 'spring'
61 end
5aed533 @mcmire Add Appraisal for Rails 4.2
mcmire authored
62
a4045a1 @mcmire Remove Rails 3.x, Ruby 1.9.2, Ruby 1.9.3
mcmire authored
63 appraise '4.2' do
64 instance_eval(&rails_4)
65 gem 'rails', '~> 4.2.0'
66 gem 'sass-rails', '~> 5.0'
67 gem 'coffee-rails', '~> 4.1.0'
68 gem 'jbuilder', '~> 2.0'
69 gem 'sdoc', '~> 0.4.0'
70 gem 'bcrypt', '~> 3.1.7'
71 gem 'spring'
72 gem 'protected_attributes', "~> 1.0.6"
714cf87 @maurogeorge Add support to rails 4.1.0
maurogeorge authored
73 end
Something went wrong with that request. Please try again.