mirror of
https://github.com/thoughtbot/factory_bot_rails.git
synced 2022-11-09 11:49:18 -05:00
Update Appraisals
Get rid of the deprecated appraisal rake tasks in favor of running appraisal directly. To run the whole suite, we can run `bundle exec appraisal rake`. I also went ahead and updated all the gemfiles.
This commit is contained in:
parent
8f3076da4e
commit
ba7f5ef327
6 changed files with 74 additions and 83 deletions
83
Gemfile.lock
83
Gemfile.lock
|
@ -8,31 +8,31 @@ PATH
|
||||||
GEM
|
GEM
|
||||||
remote: https://rubygems.org/
|
remote: https://rubygems.org/
|
||||||
specs:
|
specs:
|
||||||
actionpack (5.1.6)
|
actionpack (5.2.1)
|
||||||
actionview (= 5.1.6)
|
actionview (= 5.2.1)
|
||||||
activesupport (= 5.1.6)
|
activesupport (= 5.2.1)
|
||||||
rack (~> 2.0)
|
rack (~> 2.0)
|
||||||
rack-test (>= 0.6.3)
|
rack-test (>= 0.6.3)
|
||||||
rails-dom-testing (~> 2.0)
|
rails-dom-testing (~> 2.0)
|
||||||
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
||||||
actionview (5.1.6)
|
actionview (5.2.1)
|
||||||
activesupport (= 5.1.6)
|
activesupport (= 5.2.1)
|
||||||
builder (~> 3.1)
|
builder (~> 3.1)
|
||||||
erubi (~> 1.4)
|
erubi (~> 1.4)
|
||||||
rails-dom-testing (~> 2.0)
|
rails-dom-testing (~> 2.0)
|
||||||
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
||||||
activemodel (5.1.6)
|
activemodel (5.2.1)
|
||||||
activesupport (= 5.1.6)
|
activesupport (= 5.2.1)
|
||||||
activerecord (5.1.6)
|
activerecord (5.2.1)
|
||||||
activemodel (= 5.1.6)
|
activemodel (= 5.2.1)
|
||||||
activesupport (= 5.1.6)
|
activesupport (= 5.2.1)
|
||||||
arel (~> 8.0)
|
arel (>= 9.0)
|
||||||
activerecord-jdbc-adapter (51.1-java)
|
activerecord-jdbc-adapter (52.1-java)
|
||||||
activerecord (~> 5.1.0)
|
activerecord (~> 5.2.0)
|
||||||
activerecord-jdbcsqlite3-adapter (51.1-java)
|
activerecord-jdbcsqlite3-adapter (52.1-java)
|
||||||
activerecord-jdbc-adapter (= 51.1)
|
activerecord-jdbc-adapter (= 52.1)
|
||||||
jdbc-sqlite3 (~> 3.8, < 3.30)
|
jdbc-sqlite3 (~> 3.8, < 3.30)
|
||||||
activesupport (5.1.6)
|
activesupport (5.2.1)
|
||||||
concurrent-ruby (~> 1.0, >= 1.0.2)
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
||||||
i18n (>= 0.7, < 2)
|
i18n (>= 0.7, < 2)
|
||||||
minitest (~> 5.1)
|
minitest (~> 5.1)
|
||||||
|
@ -41,7 +41,7 @@ GEM
|
||||||
bundler
|
bundler
|
||||||
rake
|
rake
|
||||||
thor (>= 0.14.0)
|
thor (>= 0.14.0)
|
||||||
arel (8.0.0)
|
arel (9.0.0)
|
||||||
aruba (0.14.6)
|
aruba (0.14.6)
|
||||||
childprocess (>= 0.6.3, < 0.10.0)
|
childprocess (>= 0.6.3, < 0.10.0)
|
||||||
contracts (~> 0.9)
|
contracts (~> 0.9)
|
||||||
|
@ -60,8 +60,7 @@ GEM
|
||||||
coffee-script-source
|
coffee-script-source
|
||||||
execjs
|
execjs
|
||||||
coffee-script-source (1.12.2)
|
coffee-script-source (1.12.2)
|
||||||
concurrent-ruby (1.0.5)
|
concurrent-ruby (1.1.0)
|
||||||
concurrent-ruby (1.0.5-java)
|
|
||||||
contracts (0.16.0)
|
contracts (0.16.0)
|
||||||
crass (1.0.4)
|
crass (1.0.4)
|
||||||
cucumber (1.3.19)
|
cucumber (1.3.19)
|
||||||
|
@ -81,7 +80,7 @@ GEM
|
||||||
multi_json (~> 1.3)
|
multi_json (~> 1.3)
|
||||||
gherkin (2.12.2-java)
|
gherkin (2.12.2-java)
|
||||||
multi_json (~> 1.3)
|
multi_json (~> 1.3)
|
||||||
i18n (1.0.1)
|
i18n (1.1.1)
|
||||||
concurrent-ruby (~> 1.0)
|
concurrent-ruby (~> 1.0)
|
||||||
jdbc-sqlite3 (3.20.1)
|
jdbc-sqlite3 (3.20.1)
|
||||||
jquery-rails (4.3.3)
|
jquery-rails (4.3.3)
|
||||||
|
@ -89,7 +88,7 @@ GEM
|
||||||
railties (>= 4.2.0)
|
railties (>= 4.2.0)
|
||||||
thor (>= 0.14, < 2.0)
|
thor (>= 0.14, < 2.0)
|
||||||
jruby-openssl (0.10.1-java)
|
jruby-openssl (0.10.1-java)
|
||||||
loofah (2.2.2)
|
loofah (2.2.3)
|
||||||
crass (~> 1.0.2)
|
crass (~> 1.0.2)
|
||||||
nokogiri (>= 1.5.9)
|
nokogiri (>= 1.5.9)
|
||||||
method_source (0.9.0)
|
method_source (0.9.0)
|
||||||
|
@ -97,11 +96,11 @@ GEM
|
||||||
minitest (5.11.3)
|
minitest (5.11.3)
|
||||||
multi_json (1.13.1)
|
multi_json (1.13.1)
|
||||||
multi_test (0.1.2)
|
multi_test (0.1.2)
|
||||||
nokogiri (1.8.4)
|
nokogiri (1.8.5)
|
||||||
mini_portile2 (~> 2.3.0)
|
mini_portile2 (~> 2.3.0)
|
||||||
nokogiri (1.8.4-java)
|
nokogiri (1.8.5-java)
|
||||||
parallel (1.12.1)
|
parallel (1.12.1)
|
||||||
parser (2.5.1.2)
|
parser (2.5.3.0)
|
||||||
ast (~> 2.4.0)
|
ast (~> 2.4.0)
|
||||||
power_assert (1.1.3)
|
power_assert (1.1.3)
|
||||||
powerpack (0.1.2)
|
powerpack (0.1.2)
|
||||||
|
@ -113,31 +112,31 @@ GEM
|
||||||
nokogiri (>= 1.6)
|
nokogiri (>= 1.6)
|
||||||
rails-html-sanitizer (1.0.4)
|
rails-html-sanitizer (1.0.4)
|
||||||
loofah (~> 2.2, >= 2.2.2)
|
loofah (~> 2.2, >= 2.2.2)
|
||||||
railties (5.1.6)
|
railties (5.2.1)
|
||||||
actionpack (= 5.1.6)
|
actionpack (= 5.2.1)
|
||||||
activesupport (= 5.1.6)
|
activesupport (= 5.2.1)
|
||||||
method_source
|
method_source
|
||||||
rake (>= 0.8.7)
|
rake (>= 0.8.7)
|
||||||
thor (>= 0.18.1, < 2.0)
|
thor (>= 0.19.0, < 2.0)
|
||||||
rainbow (3.0.0)
|
rainbow (3.0.0)
|
||||||
rake (12.3.1)
|
rake (12.3.1)
|
||||||
rspec-core (3.7.1)
|
rspec-core (3.8.0)
|
||||||
rspec-support (~> 3.7.0)
|
rspec-support (~> 3.8.0)
|
||||||
rspec-expectations (3.7.0)
|
rspec-expectations (3.8.2)
|
||||||
diff-lcs (>= 1.2.0, < 2.0)
|
diff-lcs (>= 1.2.0, < 2.0)
|
||||||
rspec-support (~> 3.7.0)
|
rspec-support (~> 3.8.0)
|
||||||
rspec-mocks (3.7.0)
|
rspec-mocks (3.8.0)
|
||||||
diff-lcs (>= 1.2.0, < 2.0)
|
diff-lcs (>= 1.2.0, < 2.0)
|
||||||
rspec-support (~> 3.7.0)
|
rspec-support (~> 3.8.0)
|
||||||
rspec-rails (3.7.2)
|
rspec-rails (3.8.1)
|
||||||
actionpack (>= 3.0)
|
actionpack (>= 3.0)
|
||||||
activesupport (>= 3.0)
|
activesupport (>= 3.0)
|
||||||
railties (>= 3.0)
|
railties (>= 3.0)
|
||||||
rspec-core (~> 3.7.0)
|
rspec-core (~> 3.8.0)
|
||||||
rspec-expectations (~> 3.7.0)
|
rspec-expectations (~> 3.8.0)
|
||||||
rspec-mocks (~> 3.7.0)
|
rspec-mocks (~> 3.8.0)
|
||||||
rspec-support (~> 3.7.0)
|
rspec-support (~> 3.8.0)
|
||||||
rspec-support (3.7.1)
|
rspec-support (3.8.0)
|
||||||
rubocop (0.54.0)
|
rubocop (0.54.0)
|
||||||
parallel (~> 1.10)
|
parallel (~> 1.10)
|
||||||
parser (>= 2.5)
|
parser (>= 2.5)
|
||||||
|
@ -157,7 +156,7 @@ GEM
|
||||||
thread_safe (0.3.6-java)
|
thread_safe (0.3.6-java)
|
||||||
tzinfo (1.2.5)
|
tzinfo (1.2.5)
|
||||||
thread_safe (~> 0.1)
|
thread_safe (~> 0.1)
|
||||||
uglifier (4.1.16)
|
uglifier (4.1.19)
|
||||||
execjs (>= 0.3.0, < 3)
|
execjs (>= 0.3.0, < 3)
|
||||||
unicode-display_width (1.4.0)
|
unicode-display_width (1.4.0)
|
||||||
|
|
||||||
|
@ -184,4 +183,4 @@ DEPENDENCIES
|
||||||
uglifier
|
uglifier
|
||||||
|
|
||||||
BUNDLED WITH
|
BUNDLED WITH
|
||||||
1.16.3
|
1.16.6
|
||||||
|
|
14
Rakefile
14
Rakefile
|
@ -11,17 +11,5 @@ end
|
||||||
|
|
||||||
RSpec::Core::RakeTask.new(:spec)
|
RSpec::Core::RakeTask.new(:spec)
|
||||||
|
|
||||||
require "appraisal"
|
|
||||||
|
|
||||||
desc "Run the test suite"
|
desc "Run the test suite"
|
||||||
task :default do
|
task default: %w(spec cucumber)
|
||||||
if ENV["BUNDLE_GEMFILE"] =~ /gemfiles/
|
|
||||||
exec "rake spec && rake cucumber"
|
|
||||||
else
|
|
||||||
Rake::Task["appraise"].execute
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
task appraise: ["appraisal:install"] do
|
|
||||||
exec "rake appraisal"
|
|
||||||
end
|
|
||||||
|
|
|
@ -9,13 +9,14 @@ gem "cucumber", "1.3.19"
|
||||||
gem "jquery-rails"
|
gem "jquery-rails"
|
||||||
gem "rake"
|
gem "rake"
|
||||||
gem "rspec-rails"
|
gem "rspec-rails"
|
||||||
gem "uglifier"
|
|
||||||
gem "test-unit"
|
gem "test-unit"
|
||||||
gem "activerecord-jdbcsqlite3-adapter", :platforms => :jruby
|
gem "uglifier"
|
||||||
gem "jdbc-sqlite3", :platforms => :jruby
|
gem "activerecord-jdbcsqlite3-adapter", platforms: :jruby
|
||||||
gem "therubyrhino", :platforms => :jruby
|
gem "jdbc-sqlite3", platforms: :jruby
|
||||||
gem "jruby-openssl", :platforms => :jruby
|
gem "jruby-openssl", platforms: :jruby
|
||||||
gem "sqlite3", :platforms => :ruby
|
gem "therubyrhino", platforms: :jruby
|
||||||
|
gem "sqlite3", platforms: :ruby
|
||||||
|
gem "rubocop", "0.54", require: false
|
||||||
gem "rails", "~> 4.2.0"
|
gem "rails", "~> 4.2.0"
|
||||||
|
|
||||||
gemspec :name => "factory_bot_rails", :path => "../"
|
gemspec name: "factory_bot_rails", path: "../"
|
||||||
|
|
|
@ -9,14 +9,15 @@ gem "cucumber", "1.3.19"
|
||||||
gem "jquery-rails"
|
gem "jquery-rails"
|
||||||
gem "rake"
|
gem "rake"
|
||||||
gem "rspec-rails"
|
gem "rspec-rails"
|
||||||
gem "uglifier"
|
|
||||||
gem "test-unit"
|
gem "test-unit"
|
||||||
gem "activerecord-jdbcsqlite3-adapter", :platforms => :jruby
|
gem "uglifier"
|
||||||
gem "jdbc-sqlite3", :platforms => :jruby
|
gem "activerecord-jdbcsqlite3-adapter", platforms: :jruby
|
||||||
gem "therubyrhino", :platforms => :jruby
|
gem "jdbc-sqlite3", platforms: :jruby
|
||||||
gem "jruby-openssl", :platforms => :jruby
|
gem "jruby-openssl", platforms: :jruby
|
||||||
gem "sqlite3", :platforms => :ruby
|
gem "therubyrhino", platforms: :jruby
|
||||||
|
gem "sqlite3", platforms: :ruby
|
||||||
|
gem "rubocop", "0.54", require: false
|
||||||
gem "activerecord", "~> 5.0.0"
|
gem "activerecord", "~> 5.0.0"
|
||||||
gem "railties", "~> 5.0.0"
|
gem "railties", "~> 5.0.0"
|
||||||
|
|
||||||
gemspec :name => "factory_bot_rails", :path => "../"
|
gemspec name: "factory_bot_rails", path: "../"
|
||||||
|
|
|
@ -9,14 +9,15 @@ gem "cucumber", "1.3.19"
|
||||||
gem "jquery-rails"
|
gem "jquery-rails"
|
||||||
gem "rake"
|
gem "rake"
|
||||||
gem "rspec-rails"
|
gem "rspec-rails"
|
||||||
gem "uglifier"
|
|
||||||
gem "test-unit"
|
gem "test-unit"
|
||||||
gem "activerecord-jdbcsqlite3-adapter", :platforms => :jruby
|
gem "uglifier"
|
||||||
gem "jdbc-sqlite3", :platforms => :jruby
|
gem "activerecord-jdbcsqlite3-adapter", platforms: :jruby
|
||||||
gem "therubyrhino", :platforms => :jruby
|
gem "jdbc-sqlite3", platforms: :jruby
|
||||||
gem "jruby-openssl", :platforms => :jruby
|
gem "jruby-openssl", platforms: :jruby
|
||||||
gem "sqlite3", :platforms => :ruby
|
gem "therubyrhino", platforms: :jruby
|
||||||
|
gem "sqlite3", platforms: :ruby
|
||||||
|
gem "rubocop", "0.54", require: false
|
||||||
gem "activerecord", "~> 5.1.0"
|
gem "activerecord", "~> 5.1.0"
|
||||||
gem "railties", "~> 5.1.0"
|
gem "railties", "~> 5.1.0"
|
||||||
|
|
||||||
gemspec :name => "factory_bot_rails", :path => "../"
|
gemspec name: "factory_bot_rails", path: "../"
|
||||||
|
|
|
@ -9,14 +9,15 @@ gem "cucumber", "1.3.19"
|
||||||
gem "jquery-rails"
|
gem "jquery-rails"
|
||||||
gem "rake"
|
gem "rake"
|
||||||
gem "rspec-rails"
|
gem "rspec-rails"
|
||||||
gem "uglifier"
|
|
||||||
gem "test-unit"
|
gem "test-unit"
|
||||||
gem "activerecord-jdbcsqlite3-adapter", :platforms => :jruby
|
gem "uglifier"
|
||||||
gem "jdbc-sqlite3", :platforms => :jruby
|
gem "activerecord-jdbcsqlite3-adapter", platforms: :jruby
|
||||||
gem "therubyrhino", :platforms => :jruby
|
gem "jdbc-sqlite3", platforms: :jruby
|
||||||
gem "jruby-openssl", :platforms => :jruby
|
gem "jruby-openssl", platforms: :jruby
|
||||||
gem "sqlite3", :platforms => :ruby
|
gem "therubyrhino", platforms: :jruby
|
||||||
|
gem "sqlite3", platforms: :ruby
|
||||||
|
gem "rubocop", "0.54", require: false
|
||||||
gem "activerecord", "~> 5.2.0"
|
gem "activerecord", "~> 5.2.0"
|
||||||
gem "railties", "~> 5.2.0"
|
gem "railties", "~> 5.2.0"
|
||||||
|
|
||||||
gemspec :name => "factory_bot_rails", :path => "../"
|
gemspec name: "factory_bot_rails", path: "../"
|
||||||
|
|
Loading…
Reference in a new issue