Run tests under Rails 5.1 on Travis
This commit is contained in:
parent
3072847b25
commit
c288843e39
|
@ -15,3 +15,4 @@ rvm:
|
|||
gemfile:
|
||||
- gemfiles/4.2.gemfile
|
||||
- gemfiles/5.0.gemfile
|
||||
- gemfiles/5.1.gemfile
|
||||
|
|
54
Appraisals
54
Appraisals
|
@ -1,8 +1,9 @@
|
|||
shared_dependencies = proc do
|
||||
gem 'rspec-rails', '~> 3.6'
|
||||
gem 'shoulda-context', '~> 1.2.0'
|
||||
gem 'sqlite3', platform: :ruby
|
||||
gem 'pg', platform: :ruby
|
||||
# Note: All of the dependencies here were obtained by running `rails new` with
|
||||
# various versions of Rails and copying lines from the generated Gemfile. It's
|
||||
# best to keep the gems here in the same order as they're listed there so you
|
||||
# can compare them more easily.
|
||||
|
||||
shared_jruby_dependencies = proc do
|
||||
gem 'activerecord-jdbc-adapter', platform: :jruby
|
||||
gem 'activerecord-jdbcsqlite3-adapter', platform: :jruby
|
||||
gem 'jdbc-sqlite3', platform: :jruby
|
||||
|
@ -10,14 +11,33 @@ shared_dependencies = proc do
|
|||
gem 'therubyrhino', platform: :jruby
|
||||
end
|
||||
|
||||
spring = proc do
|
||||
shared_rails_dependencies = proc do
|
||||
gem 'sqlite3', platform: :ruby
|
||||
gem 'pg', platform: :ruby
|
||||
end
|
||||
|
||||
shared_spring_dependencies = proc do
|
||||
gem 'spring'
|
||||
gem 'spring-commands-rspec'
|
||||
end
|
||||
|
||||
shared_test_dependencies = proc do
|
||||
gem 'minitest-reporters'
|
||||
# gem 'nokogiri', '~> 1.8'
|
||||
gem 'rspec-rails', '~> 3.6'
|
||||
gem 'shoulda-context', '~> 1.2.0'
|
||||
end
|
||||
|
||||
shared_dependencies = proc do
|
||||
instance_eval(&shared_jruby_dependencies)
|
||||
instance_eval(&shared_rails_dependencies)
|
||||
instance_eval(&shared_spring_dependencies)
|
||||
instance_eval(&shared_test_dependencies)
|
||||
end
|
||||
|
||||
appraise '4.2' do
|
||||
instance_eval(&shared_dependencies)
|
||||
instance_eval(&spring)
|
||||
|
||||
gem 'uglifier', '>= 1.3.0'
|
||||
gem 'jquery-rails'
|
||||
gem 'turbolinks', '2.5.3'
|
||||
|
@ -32,12 +52,12 @@ appraise '4.2' do
|
|||
gem 'jbuilder', '~> 2.0'
|
||||
gem 'nokogiri', '~> 1.8'
|
||||
gem 'bcrypt', '~> 3.1.7'
|
||||
gem 'protected_attributes', "~> 1.0.6"
|
||||
gem 'protected_attributes', '~> 1.0.6'
|
||||
end
|
||||
|
||||
appraise '5.0' do
|
||||
instance_eval(&shared_dependencies)
|
||||
instance_eval(&spring)
|
||||
|
||||
gem 'rails', '~> 5.0.4'
|
||||
gem 'rails-controller-testing', '>= 1.0.1'
|
||||
gem 'puma', '~> 3.0'
|
||||
|
@ -48,6 +68,18 @@ appraise '5.0' do
|
|||
gem 'bcrypt', '~> 3.1.7'
|
||||
gem 'listen', '~> 3.0.5'
|
||||
gem 'spring-watcher-listen', '~> 2.0.0'
|
||||
gem 'nokogiri', '~> 1.8'
|
||||
gem 'minitest-reporters'
|
||||
end
|
||||
|
||||
appraise '5.1' do
|
||||
instance_eval(&shared_dependencies)
|
||||
|
||||
gem 'rails', '~> 5.1.4'
|
||||
gem 'rails-controller-testing', '>= 1.0.1'
|
||||
gem 'puma', '~> 3.7'
|
||||
gem 'sass-rails', '~> 5.0'
|
||||
gem 'turbolinks', '~> 5'
|
||||
gem 'jbuilder', '~> 2.5'
|
||||
gem 'bcrypt', '~> 3.1.7'
|
||||
gem 'listen', '>= 3.0.5', '< 3.2'
|
||||
gem 'spring-watcher-listen', '~> 2.0.0'
|
||||
end
|
||||
|
|
|
@ -13,17 +13,18 @@ gem "yard"
|
|||
gem "redcarpet"
|
||||
gem "pygments.rb"
|
||||
gem "fssm"
|
||||
gem "rspec-rails", "~> 3.6"
|
||||
gem "shoulda-context", "~> 1.2.0"
|
||||
gem "sqlite3", :platform => :ruby
|
||||
gem "pg", :platform => :ruby
|
||||
gem "activerecord-jdbc-adapter", :platform => :jruby
|
||||
gem "activerecord-jdbcsqlite3-adapter", :platform => :jruby
|
||||
gem "jdbc-sqlite3", :platform => :jruby
|
||||
gem "jruby-openssl", :platform => :jruby
|
||||
gem "therubyrhino", :platform => :jruby
|
||||
gem "sqlite3", :platform => :ruby
|
||||
gem "pg", :platform => :ruby
|
||||
gem "spring"
|
||||
gem "spring-commands-rspec"
|
||||
gem "minitest-reporters"
|
||||
gem "rspec-rails", "~> 3.6"
|
||||
gem "shoulda-context", "~> 1.2.0"
|
||||
gem "uglifier", ">= 1.3.0"
|
||||
gem "jquery-rails"
|
||||
gem "turbolinks", "2.5.3"
|
||||
|
@ -31,7 +32,6 @@ gem "sdoc"
|
|||
gem "json", "~> 1.4"
|
||||
gem "activeresource", "4.0.0"
|
||||
gem "protected_attributes", "~> 1.0.6"
|
||||
gem "minitest-reporters"
|
||||
gem "rails", "~> 4.2.9"
|
||||
gem "sass-rails", "~> 5.0"
|
||||
gem "coffee-rails", "~> 4.1.0"
|
||||
|
|
|
@ -13,17 +13,18 @@ gem "yard"
|
|||
gem "redcarpet"
|
||||
gem "pygments.rb"
|
||||
gem "fssm"
|
||||
gem "rspec-rails", "~> 3.6"
|
||||
gem "shoulda-context", "~> 1.2.0"
|
||||
gem "sqlite3", :platform => :ruby
|
||||
gem "pg", :platform => :ruby
|
||||
gem "activerecord-jdbc-adapter", :platform => :jruby
|
||||
gem "activerecord-jdbcsqlite3-adapter", :platform => :jruby
|
||||
gem "jdbc-sqlite3", :platform => :jruby
|
||||
gem "jruby-openssl", :platform => :jruby
|
||||
gem "therubyrhino", :platform => :jruby
|
||||
gem "sqlite3", :platform => :ruby
|
||||
gem "pg", :platform => :ruby
|
||||
gem "spring"
|
||||
gem "spring-commands-rspec"
|
||||
gem "minitest-reporters"
|
||||
gem "rspec-rails", "~> 3.6"
|
||||
gem "shoulda-context", "~> 1.2.0"
|
||||
gem "rails", "~> 5.0.4"
|
||||
gem "rails-controller-testing", ">= 1.0.1"
|
||||
gem "puma", "~> 3.0"
|
||||
|
@ -34,5 +35,3 @@ gem "jbuilder", "~> 2.5"
|
|||
gem "bcrypt", "~> 3.1.7"
|
||||
gem "listen", "~> 3.0.5"
|
||||
gem "spring-watcher-listen", "~> 2.0.0"
|
||||
gem "nokogiri", "~> 1.8"
|
||||
gem "minitest-reporters"
|
||||
|
|
|
@ -214,7 +214,6 @@ DEPENDENCIES
|
|||
jruby-openssl
|
||||
listen (~> 3.0.5)
|
||||
minitest-reporters
|
||||
nokogiri (~> 1.8)
|
||||
pg
|
||||
pry
|
||||
pry-byebug
|
||||
|
|
|
@ -0,0 +1,36 @@
|
|||
# This file was generated by Appraisal
|
||||
|
||||
source "https://rubygems.org"
|
||||
|
||||
gem "appraisal", "2.1.0"
|
||||
gem "bundler", "~> 1.1"
|
||||
gem "pry"
|
||||
gem "pry-byebug"
|
||||
gem "rake", ">= 10.5.0", "< 11"
|
||||
gem "rspec", "~> 3.6"
|
||||
gem "zeus", :require => false
|
||||
gem "yard"
|
||||
gem "redcarpet"
|
||||
gem "pygments.rb"
|
||||
gem "fssm"
|
||||
gem "activerecord-jdbc-adapter", :platform => :jruby
|
||||
gem "activerecord-jdbcsqlite3-adapter", :platform => :jruby
|
||||
gem "jdbc-sqlite3", :platform => :jruby
|
||||
gem "jruby-openssl", :platform => :jruby
|
||||
gem "therubyrhino", :platform => :jruby
|
||||
gem "sqlite3", :platform => :ruby
|
||||
gem "pg", :platform => :ruby
|
||||
gem "spring"
|
||||
gem "spring-commands-rspec"
|
||||
gem "minitest-reporters"
|
||||
gem "rspec-rails", "~> 3.6"
|
||||
gem "shoulda-context", "~> 1.2.0"
|
||||
gem "rails", "~> 5.1.4"
|
||||
gem "rails-controller-testing", ">= 1.0.1"
|
||||
gem "puma", "~> 3.7"
|
||||
gem "sass-rails", "~> 5.0"
|
||||
gem "turbolinks", "~> 5"
|
||||
gem "jbuilder", "~> 2.5"
|
||||
gem "bcrypt", "~> 3.1.7"
|
||||
gem "listen", ">= 3.0.5", "< 3.2"
|
||||
gem "spring-watcher-listen", "~> 2.0.0"
|
|
@ -0,0 +1,235 @@
|
|||
GEM
|
||||
remote: https://rubygems.org/
|
||||
specs:
|
||||
actioncable (5.1.4)
|
||||
actionpack (= 5.1.4)
|
||||
nio4r (~> 2.0)
|
||||
websocket-driver (~> 0.6.1)
|
||||
actionmailer (5.1.4)
|
||||
actionpack (= 5.1.4)
|
||||
actionview (= 5.1.4)
|
||||
activejob (= 5.1.4)
|
||||
mail (~> 2.5, >= 2.5.4)
|
||||
rails-dom-testing (~> 2.0)
|
||||
actionpack (5.1.4)
|
||||
actionview (= 5.1.4)
|
||||
activesupport (= 5.1.4)
|
||||
rack (~> 2.0)
|
||||
rack-test (>= 0.6.3)
|
||||
rails-dom-testing (~> 2.0)
|
||||
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
||||
actionview (5.1.4)
|
||||
activesupport (= 5.1.4)
|
||||
builder (~> 3.1)
|
||||
erubi (~> 1.4)
|
||||
rails-dom-testing (~> 2.0)
|
||||
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
||||
activejob (5.1.4)
|
||||
activesupport (= 5.1.4)
|
||||
globalid (>= 0.3.6)
|
||||
activemodel (5.1.4)
|
||||
activesupport (= 5.1.4)
|
||||
activerecord (5.1.4)
|
||||
activemodel (= 5.1.4)
|
||||
activesupport (= 5.1.4)
|
||||
arel (~> 8.0)
|
||||
activesupport (5.1.4)
|
||||
concurrent-ruby (~> 1.0, >= 1.0.2)
|
||||
i18n (~> 0.7)
|
||||
minitest (~> 5.1)
|
||||
tzinfo (~> 1.1)
|
||||
ansi (1.5.0)
|
||||
appraisal (2.1.0)
|
||||
bundler
|
||||
rake
|
||||
thor (>= 0.14.0)
|
||||
arel (8.0.0)
|
||||
bcrypt (3.1.11)
|
||||
builder (3.2.3)
|
||||
byebug (9.1.0)
|
||||
coderay (1.1.1)
|
||||
concurrent-ruby (1.0.5)
|
||||
diff-lcs (1.3)
|
||||
erubi (1.6.1)
|
||||
ffi (1.9.18)
|
||||
fssm (0.2.10)
|
||||
globalid (0.4.0)
|
||||
activesupport (>= 4.2.0)
|
||||
i18n (0.8.6)
|
||||
jbuilder (2.7.0)
|
||||
activesupport (>= 4.2.0)
|
||||
multi_json (>= 1.2)
|
||||
listen (3.1.5)
|
||||
rb-fsevent (~> 0.9, >= 0.9.4)
|
||||
rb-inotify (~> 0.9, >= 0.9.7)
|
||||
ruby_dep (~> 1.2)
|
||||
loofah (2.0.3)
|
||||
nokogiri (>= 1.5.9)
|
||||
mail (2.6.6)
|
||||
mime-types (>= 1.16, < 4)
|
||||
method_source (0.8.2)
|
||||
mime-types (3.1)
|
||||
mime-types-data (~> 3.2015)
|
||||
mime-types-data (3.2016.0521)
|
||||
mini_portile2 (2.2.0)
|
||||
minitest (5.10.3)
|
||||
minitest-reporters (1.1.14)
|
||||
ansi
|
||||
builder
|
||||
minitest (>= 5.0)
|
||||
ruby-progressbar
|
||||
multi_json (1.12.2)
|
||||
nio4r (2.1.0)
|
||||
nokogiri (1.8.0)
|
||||
mini_portile2 (~> 2.2.0)
|
||||
pg (0.21.0)
|
||||
pry (0.10.4)
|
||||
coderay (~> 1.1.0)
|
||||
method_source (~> 0.8.1)
|
||||
slop (~> 3.4)
|
||||
pry-byebug (3.4.2)
|
||||
byebug (~> 9.0)
|
||||
pry (~> 0.10)
|
||||
puma (3.10.0)
|
||||
pygments.rb (1.1.2)
|
||||
multi_json (>= 1.0.0)
|
||||
rack (2.0.3)
|
||||
rack-test (0.7.0)
|
||||
rack (>= 1.0, < 3)
|
||||
rails (5.1.4)
|
||||
actioncable (= 5.1.4)
|
||||
actionmailer (= 5.1.4)
|
||||
actionpack (= 5.1.4)
|
||||
actionview (= 5.1.4)
|
||||
activejob (= 5.1.4)
|
||||
activemodel (= 5.1.4)
|
||||
activerecord (= 5.1.4)
|
||||
activesupport (= 5.1.4)
|
||||
bundler (>= 1.3.0)
|
||||
railties (= 5.1.4)
|
||||
sprockets-rails (>= 2.0.0)
|
||||
rails-controller-testing (1.0.1)
|
||||
actionpack (~> 5.x)
|
||||
actionview (~> 5.x)
|
||||
activesupport (~> 5.x)
|
||||
rails-dom-testing (2.0.3)
|
||||
activesupport (>= 4.2.0)
|
||||
nokogiri (>= 1.6)
|
||||
rails-html-sanitizer (1.0.3)
|
||||
loofah (~> 2.0)
|
||||
railties (5.1.4)
|
||||
actionpack (= 5.1.4)
|
||||
activesupport (= 5.1.4)
|
||||
method_source
|
||||
rake (>= 0.8.7)
|
||||
thor (>= 0.18.1, < 2.0)
|
||||
rake (10.5.0)
|
||||
rb-fsevent (0.10.2)
|
||||
rb-inotify (0.9.10)
|
||||
ffi (>= 0.5.0, < 2)
|
||||
redcarpet (3.4.0)
|
||||
rspec (3.6.0)
|
||||
rspec-core (~> 3.6.0)
|
||||
rspec-expectations (~> 3.6.0)
|
||||
rspec-mocks (~> 3.6.0)
|
||||
rspec-core (3.6.0)
|
||||
rspec-support (~> 3.6.0)
|
||||
rspec-expectations (3.6.0)
|
||||
diff-lcs (>= 1.2.0, < 2.0)
|
||||
rspec-support (~> 3.6.0)
|
||||
rspec-mocks (3.6.0)
|
||||
diff-lcs (>= 1.2.0, < 2.0)
|
||||
rspec-support (~> 3.6.0)
|
||||
rspec-rails (3.6.0)
|
||||
actionpack (>= 3.0)
|
||||
activesupport (>= 3.0)
|
||||
railties (>= 3.0)
|
||||
rspec-core (~> 3.6.0)
|
||||
rspec-expectations (~> 3.6.0)
|
||||
rspec-mocks (~> 3.6.0)
|
||||
rspec-support (~> 3.6.0)
|
||||
rspec-support (3.6.0)
|
||||
ruby-progressbar (1.8.1)
|
||||
ruby_dep (1.5.0)
|
||||
sass (3.5.1)
|
||||
sass-listen (~> 4.0.0)
|
||||
sass-listen (4.0.0)
|
||||
rb-fsevent (~> 0.9, >= 0.9.4)
|
||||
rb-inotify (~> 0.9, >= 0.9.7)
|
||||
sass-rails (5.0.6)
|
||||
railties (>= 4.0.0, < 6)
|
||||
sass (~> 3.1)
|
||||
sprockets (>= 2.8, < 4.0)
|
||||
sprockets-rails (>= 2.0, < 4.0)
|
||||
tilt (>= 1.1, < 3)
|
||||
shoulda-context (1.2.2)
|
||||
slop (3.6.0)
|
||||
spring (2.0.2)
|
||||
activesupport (>= 4.2)
|
||||
spring-commands-rspec (1.0.4)
|
||||
spring (>= 0.9.1)
|
||||
spring-watcher-listen (2.0.1)
|
||||
listen (>= 2.7, < 4.0)
|
||||
spring (>= 1.2, < 3.0)
|
||||
sprockets (3.7.1)
|
||||
concurrent-ruby (~> 1.0)
|
||||
rack (> 1, < 3)
|
||||
sprockets-rails (3.2.1)
|
||||
actionpack (>= 4.0)
|
||||
activesupport (>= 4.0)
|
||||
sprockets (>= 3.0.0)
|
||||
sqlite3 (1.3.13)
|
||||
thor (0.20.0)
|
||||
thread_safe (0.3.6)
|
||||
tilt (2.0.8)
|
||||
turbolinks (5.0.1)
|
||||
turbolinks-source (~> 5)
|
||||
turbolinks-source (5.0.3)
|
||||
tzinfo (1.2.3)
|
||||
thread_safe (~> 0.1)
|
||||
websocket-driver (0.6.5)
|
||||
websocket-extensions (>= 0.1.0)
|
||||
websocket-extensions (0.1.2)
|
||||
yard (0.9.9)
|
||||
zeus (0.15.14)
|
||||
method_source (>= 0.6.7)
|
||||
|
||||
PLATFORMS
|
||||
ruby
|
||||
|
||||
DEPENDENCIES
|
||||
activerecord-jdbc-adapter
|
||||
activerecord-jdbcsqlite3-adapter
|
||||
appraisal (= 2.1.0)
|
||||
bcrypt (~> 3.1.7)
|
||||
bundler (~> 1.1)
|
||||
fssm
|
||||
jbuilder (~> 2.5)
|
||||
jdbc-sqlite3
|
||||
jruby-openssl
|
||||
listen (>= 3.0.5, < 3.2)
|
||||
minitest-reporters
|
||||
pg
|
||||
pry
|
||||
pry-byebug
|
||||
puma (~> 3.7)
|
||||
pygments.rb
|
||||
rails (~> 5.1.4)
|
||||
rails-controller-testing (>= 1.0.1)
|
||||
rake (>= 10.5.0, < 11)
|
||||
redcarpet
|
||||
rspec (~> 3.6)
|
||||
rspec-rails (~> 3.6)
|
||||
sass-rails (~> 5.0)
|
||||
shoulda-context (~> 1.2.0)
|
||||
spring
|
||||
spring-commands-rspec
|
||||
spring-watcher-listen (~> 2.0.0)
|
||||
sqlite3
|
||||
therubyrhino
|
||||
turbolinks (~> 5)
|
||||
yard
|
||||
zeus
|
||||
|
||||
BUNDLED WITH
|
||||
1.14.6
|
Loading…
Reference in New Issue