diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c4eaa6a..15e2e78 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -35,6 +35,8 @@ jobs: run: bundle exec rake spec - name: Minitest tests run: bundle exec rake test + - name: Cucumber tests + run: bundle exec rake cucumber standard: name: Run standard diff --git a/.tool-versions b/.tool-versions new file mode 100644 index 0000000..041df9a --- /dev/null +++ b/.tool-versions @@ -0,0 +1 @@ +ruby 3.4.1 diff --git a/Appraisals b/Appraisals index eef44fa..7d204cc 100644 --- a/Appraisals +++ b/Appraisals @@ -1,4 +1,5 @@ appraise "rails6.1" do + gem "bigdecimal" gem "byebug" gem "concurrent-ruby", "< 1.3.5" gem "drb" @@ -11,6 +12,7 @@ appraise "rails6.1" do end appraise "rails7.0" do + gem "bigdecimal" gem "byebug" gem "concurrent-ruby", "< 1.3.5" gem "drb" diff --git a/features/support/rails_template b/features/support/rails_template index c22cc94..215a007 100644 --- a/features/support/rails_template +++ b/features/support/rails_template @@ -1,5 +1,9 @@ -if Rails.gem_version < Gem::Version.new('6') - gsub_file "Gemfile", /^gem 'sqlite3'$/, 'gem "sqlite3", "~> 1.3.6"' +if Rails.gem_version < Gem::Version.new('7.1') + append_to_file("Gemfile", %(gem "bigdecimal"\n)) + append_to_file("Gemfile", %(gem "logger"\n)) + append_to_file("Gemfile", %(gem "mutex_m"\n)) + append_to_file("Gemfile", %(gem "drb"\n)) + append_to_file("Gemfile", %(gem "concurrent-ruby", "< 1.3.5"\n)) end gsub_file "Gemfile", /^ gem 'spring'$/, ' gem "spring", "!= 2.1.1"' diff --git a/gemfiles/rails6.1.gemfile b/gemfiles/rails6.1.gemfile index fa3a335..eefdbf4 100644 --- a/gemfiles/rails6.1.gemfile +++ b/gemfiles/rails6.1.gemfile @@ -8,6 +8,7 @@ gem "cucumber" gem "rake" gem "rspec-rails" gem "standard" +gem "bigdecimal" gem "byebug" gem "concurrent-ruby", "< 1.3.5" gem "drb" diff --git a/gemfiles/rails7.0.gemfile b/gemfiles/rails7.0.gemfile index 08039b5..18827b1 100644 --- a/gemfiles/rails7.0.gemfile +++ b/gemfiles/rails7.0.gemfile @@ -8,6 +8,7 @@ gem "cucumber" gem "rake" gem "rspec-rails" gem "standard" +gem "bigdecimal" gem "byebug" gem "concurrent-ruby", "< 1.3.5" gem "drb" diff --git a/gemfiles/rails7.1.gemfile b/gemfiles/rails7.1.gemfile index b79350f..d2ca2a1 100644 --- a/gemfiles/rails7.1.gemfile +++ b/gemfiles/rails7.1.gemfile @@ -4,16 +4,17 @@ source "https://rubygems.org" gem "appraisal" gem "aruba" -gem "cucumber" -gem "rake" -gem "rspec-rails" -gem "standard" gem "byebug" +gem "cucumber" +gem "error_highlight" gem "listen", "~> 3.2" gem "puma", "~> 6.0" gem "rails", "~> 7.1.0" +gem "rake" +gem "rspec-rails" gem "spring", "!= 2.1.1" gem "spring-watcher-listen", "~> 2.0.0" gem "sqlite3", "~> 1.4" +gem "standard" gemspec name: "factory_bot_rails", path: "../" diff --git a/gemfiles/rails7.2.gemfile b/gemfiles/rails7.2.gemfile index 14c409f..22814cb 100644 --- a/gemfiles/rails7.2.gemfile +++ b/gemfiles/rails7.2.gemfile @@ -4,16 +4,18 @@ source "https://rubygems.org" gem "appraisal" gem "aruba" -gem "cucumber" -gem "rake" -gem "rspec-rails" -gem "standard" +gem "brakeman" gem "byebug" +gem "cucumber" gem "listen", "~> 3.2" gem "puma", "~> 6.0" gem "rails", "~> 7.2.0" +gem "rake" +gem "rspec-rails" +gem "rubocop-rails-omakase" gem "spring", "!= 2.1.1" gem "spring-watcher-listen", "~> 2.0.0" gem "sqlite3", "~> 1.4" +gem "standard" gemspec name: "factory_bot_rails", path: "../" diff --git a/gemfiles/rails8.0.gemfile b/gemfiles/rails8.0.gemfile index 9610cfc..c09e83e 100644 --- a/gemfiles/rails8.0.gemfile +++ b/gemfiles/rails8.0.gemfile @@ -4,21 +4,22 @@ source "https://rubygems.org" gem "appraisal" gem "aruba" -gem "cucumber" -gem "rake" -gem "rspec-rails" -gem "standard" gem "brakeman" gem "byebug" +gem "cucumber" gem "kamal" gem "listen", "~> 3.2" gem "puma", "~> 6.0" gem "rails", "~> 8.0.0" +gem "rake" +gem "rspec-rails" gem "rubocop-rails-omakase" +gem "solid_cache" gem "solid_queue" gem "spring", "!= 2.1.1" gem "spring-watcher-listen", "~> 2.0.0" gem "sqlite3", ">= 2.1" +gem "standard" gem "thruster" gemspec name: "factory_bot_rails", path: "../"