Skip to content

Commit

Permalink
Add ability to test master branch to detect regression
Browse files Browse the repository at this point in the history
  • Loading branch information
LTe committed Apr 18, 2020
1 parent 6199562 commit 0ae0ac8
Show file tree
Hide file tree
Showing 12 changed files with 288 additions and 257 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
matrix:
allow_failures:
- rvm: ruby-head
- rvm: ruby-head
gemfile: gemfiles/rails_master.gemfile
include:
- rvm: 2.3.8
gemfile: gemfiles/rails_3.2.gemfile
Expand Down
18 changes: 15 additions & 3 deletions Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,23 @@ appraise 'rails-5.2' do
end

appraise 'rails-6.0' do
gem 'activerecord', '~> 6.0.0.rc1'
gem 'activesupport', '~> 6.0.0.rc1'
gem 'railties', '~> 6.0.0.rc1'
gem 'activerecord', '~> 6'
gem 'activesupport', '~> 6'
gem 'railties', '~> 6'

group :development do
gem 'sqlite3', '~> 1.4.0'
end
end

appraise 'rails-master' do
git 'https://github.com/rails/rails.git', branch: :master do
gem 'activerecord'
gem 'activesupport'
gem 'railties'
end

group :development do
gem 'sqlite3'
end
end
5 changes: 1 addition & 4 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
source 'http://rubygems.org'

gem 'activerecord', '>= 3.0.0'
gem 'activesupport', '>= 3.0.0'
gem 'ancestry', '>= 1.3.0'
gem 'railties', '>= 3.0.0'
gem 'ancestry'

group :development do
gem 'appraisal'
Expand Down
128 changes: 66 additions & 62 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,65 +1,65 @@
GEM
remote: http://rubygems.org/
specs:
actionpack (5.2.3)
actionview (= 5.2.3)
activesupport (= 5.2.3)
rack (~> 2.0)
actionpack (6.0.2.2)
actionview (= 6.0.2.2)
activesupport (= 6.0.2.2)
rack (~> 2.0, >= 2.0.8)
rack-test (>= 0.6.3)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.0.2)
actionview (5.2.3)
activesupport (= 5.2.3)
rails-html-sanitizer (~> 1.0, >= 1.2.0)
actionview (6.0.2.2)
activesupport (= 6.0.2.2)
builder (~> 3.1)
erubi (~> 1.4)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.0.3)
activemodel (5.2.3)
activesupport (= 5.2.3)
activerecord (5.2.3)
activemodel (= 5.2.3)
activesupport (= 5.2.3)
arel (>= 9.0)
activesupport (5.2.3)
rails-html-sanitizer (~> 1.1, >= 1.2.0)
activemodel (6.0.2.2)
activesupport (= 6.0.2.2)
activerecord (6.0.2.2)
activemodel (= 6.0.2.2)
activesupport (= 6.0.2.2)
activesupport (6.0.2.2)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 0.7, < 2)
minitest (~> 5.1)
tzinfo (~> 1.1)
zeitwerk (~> 2.2)
addressable (2.4.0)
ancestry (3.0.7)
activerecord (>= 3.2.0)
appraisal (2.2.0)
bundler
rake
thor (>= 0.14.0)
arel (9.0.0)
builder (3.2.3)
concurrent-ruby (1.1.5)
builder (3.2.4)
concurrent-ruby (1.1.6)
coveralls (0.8.23)
json (>= 1.8, < 3)
simplecov (~> 0.16.1)
term-ansicolor (~> 1.3)
thor (>= 0.19.4, < 2.0)
tins (~> 1.6)
crass (1.0.4)
crass (1.0.6)
descendants_tracker (0.0.4)
thread_safe (~> 0.3, >= 0.3.1)
diff-lcs (1.3)
docile (1.3.1)
erubi (1.8.0)
docile (1.3.2)
erubi (1.9.0)
faraday (0.9.2)
multipart-post (>= 1.2, < 3)
git (1.5.0)
git (1.6.0)
rchardet (~> 1.8)
github_api (0.16.0)
addressable (~> 2.4.0)
descendants_tracker (~> 0.0.4)
faraday (~> 0.8, < 0.10)
hashie (>= 3.4)
mime-types (>= 1.16, < 3.0)
oauth2 (~> 1.0)
hashie (3.6.0)
highline (2.0.2)
i18n (1.6.0)
hashie (4.1.0)
highline (2.0.3)
i18n (1.8.2)
concurrent-ruby (~> 1.0)
jeweler (2.3.9)
builder
Expand All @@ -72,84 +72,88 @@ GEM
rake
rdoc
semver2
json (2.2.0)
json (2.3.0)
jwt (2.2.1)
loofah (2.2.3)
loofah (2.5.0)
crass (~> 1.0.2)
nokogiri (>= 1.5.9)
method_source (0.9.2)
method_source (1.0.0)
mime-types (2.99.3)
mini_portile2 (2.4.0)
minitest (5.11.3)
multi_json (1.13.1)
minitest (5.14.0)
multi_json (1.14.1)
multi_xml (0.6.0)
multipart-post (2.1.1)
nokogiri (1.10.4)
nokogiri (1.10.9)
mini_portile2 (~> 2.4.0)
oauth2 (1.4.1)
faraday (>= 0.8, < 0.16.0)
oauth2 (1.4.4)
faraday (>= 0.8, < 2.0)
jwt (>= 1.0, < 3.0)
multi_json (~> 1.3)
multi_xml (~> 0.5)
rack (>= 1.2, < 3)
psych (3.1.0)
rack (2.0.7)
rack (2.2.2)
rack-test (1.1.0)
rack (>= 1.0, < 3)
rails-dom-testing (2.0.3)
activesupport (>= 4.2.0)
nokogiri (>= 1.6)
rails-html-sanitizer (1.0.4)
loofah (~> 2.2, >= 2.2.2)
railties (5.2.3)
actionpack (= 5.2.3)
activesupport (= 5.2.3)
rails-html-sanitizer (1.3.0)
loofah (~> 2.3)
railties (6.0.2.2)
actionpack (= 6.0.2.2)
activesupport (= 6.0.2.2)
method_source
rake (>= 0.8.7)
thor (>= 0.19.0, < 2.0)
rake (12.3.2)
rdoc (6.1.1)
rspec (3.8.0)
rspec-core (~> 3.8.0)
rspec-expectations (~> 3.8.0)
rspec-mocks (~> 3.8.0)
rspec-core (3.8.0)
rspec-support (~> 3.8.0)
rspec-expectations (3.8.3)
thor (>= 0.20.3, < 2.0)
rake (13.0.1)
rchardet (1.8.0)
rdoc (6.2.1)
rspec (3.9.0)
rspec-core (~> 3.9.0)
rspec-expectations (~> 3.9.0)
rspec-mocks (~> 3.9.0)
rspec-core (3.9.1)
rspec-support (~> 3.9.1)
rspec-expectations (3.9.1)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.8.0)
rspec-mocks (3.8.0)
rspec-support (~> 3.9.0)
rspec-mocks (3.9.1)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.8.0)
rspec-support (3.8.0)
rspec-support (~> 3.9.0)
rspec-support (3.9.2)
semver2 (3.4.2)
simplecov (0.16.1)
docile (~> 1.1)
json (>= 1.8, < 3)
simplecov-html (~> 0.10.0)
simplecov-html (0.10.2)
sqlite3 (1.4.1)
sqlite3 (1.4.2)
sync (0.5.0)
term-ansicolor (1.7.1)
tins (~> 1.0)
thor (0.20.3)
thor (1.0.1)
thread_safe (0.3.6)
tins (1.20.3)
tzinfo (1.2.5)
tins (1.24.1)
sync
tzinfo (1.2.7)
thread_safe (~> 0.1)
zeitwerk (2.3.0)

PLATFORMS
ruby

DEPENDENCIES
activerecord (>= 3.0.0)
activesupport (>= 3.0.0)
ancestry (>= 1.3.0)
activerecord
activesupport
ancestry
appraisal
coveralls
jeweler
railties (>= 3.0.0)
railties
rspec
sqlite3

BUNDLED WITH
2.0.1
2.0.2
2 changes: 1 addition & 1 deletion gemfiles/rails_3.2.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

source "http://rubygems.org"

gem "ancestry"
gem "activerecord", "~> 3.2.22"
gem "activesupport", "~> 3.2.22"
gem "ancestry", ">= 1.3.0"
gem "railties", "~> 3.2.22"

group :development do
Expand Down

0 comments on commit 0ae0ac8

Please sign in to comment.