From 3a4cddbf7e0fd4d4975344de4adcfb0ee4bcb278 Mon Sep 17 00:00:00 2001 From: SengMing Tan Date: Mon, 12 Aug 2024 13:53:18 -0400 Subject: [PATCH 1/4] adds rails 7 specs --- .github/workflows/ruby.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index c669c63..03fd5e2 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -16,7 +16,7 @@ jobs: strategy: matrix: ruby: [3.0.7, 3.1.6, 3.2.5, 3.3.4] - gemfile: [gemfiles/rails61.gemfile, gemfiles/rails60.gemfile] # default Gemfile, gemfiles/rails70.gemfile excluded until rack fix + gemfile: [Gemfile, gemfiles/rails70.gemfile, gemfiles/rails61.gemfile, gemfiles/rails60.gemfile] steps: - uses: actions/checkout@v4 - name: Set up Ruby From a9186999c88faac09cf77e3b385d665d032ea51e Mon Sep 17 00:00:00 2001 From: SengMing Tan Date: Mon, 12 Aug 2024 13:55:08 -0400 Subject: [PATCH 2/4] adds rails 7 gemfile --- gemfiles/rails70.gemfile | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 gemfiles/rails70.gemfile diff --git a/gemfiles/rails70.gemfile b/gemfiles/rails70.gemfile new file mode 100644 index 0000000..aa488f0 --- /dev/null +++ b/gemfiles/rails70.gemfile @@ -0,0 +1,23 @@ +source :rubygems + +gem 'rails', '~> 7.0.0' + +gem 'rake' +gem 'responders' +gem 'stripe' + +group :development, :test do + gem 'm' +end + +group :test do + gem 'mocha' + gem 'simplecov', require: false + gem 'stripe-ruby-mock' + gem 'webmock' + # Required for system tests + gem 'capybara' + gem 'puma' + gem 'selenium-webdriver' + gem 'webdrivers' +end From 0f3d7d88a92fcc079f4a1ca1a9209976d24440d1 Mon Sep 17 00:00:00 2001 From: SengMing Tan Date: Mon, 12 Aug 2024 13:59:54 -0400 Subject: [PATCH 3/4] removes version lock on puma --- gemfiles/rails60.gemfile | 2 +- gemfiles/rails61.gemfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gemfiles/rails60.gemfile b/gemfiles/rails60.gemfile index 885c681..65b516a 100644 --- a/gemfiles/rails60.gemfile +++ b/gemfiles/rails60.gemfile @@ -17,7 +17,7 @@ group :test do gem 'webmock' # Required for system tests gem 'capybara' - gem 'puma', '< 6' # https://github.com/teamcapybara/capybara/issues/2598 + gem 'puma' gem 'selenium-webdriver' gem 'webdrivers' end diff --git a/gemfiles/rails61.gemfile b/gemfiles/rails61.gemfile index 3feca70..f4779d8 100644 --- a/gemfiles/rails61.gemfile +++ b/gemfiles/rails61.gemfile @@ -17,7 +17,7 @@ group :test do gem 'webmock' # Required for system tests gem 'capybara' - gem 'puma', '< 6' # https://github.com/teamcapybara/capybara/issues/2598 + gem 'puma' gem 'selenium-webdriver' gem 'webdrivers' end From 698f629cfdc3f0432319e550aa045c598afe6a4c Mon Sep 17 00:00:00 2001 From: SengMing Tan Date: Mon, 12 Aug 2024 14:03:20 -0400 Subject: [PATCH 4/4] adds rails 71 specs --- .github/workflows/ruby.yml | 2 +- gemfiles/rails71.gemfile | 23 +++++++++++++++++++++++ 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 gemfiles/rails71.gemfile diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index 03fd5e2..c7f776f 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -16,7 +16,7 @@ jobs: strategy: matrix: ruby: [3.0.7, 3.1.6, 3.2.5, 3.3.4] - gemfile: [Gemfile, gemfiles/rails70.gemfile, gemfiles/rails61.gemfile, gemfiles/rails60.gemfile] + gemfile: [gemfiles/rails71.gemfile, gemfiles/rails70.gemfile, gemfiles/rails61.gemfile, gemfiles/rails60.gemfile] # Gemfile fails on test/callbacks_spec.rb:52 steps: - uses: actions/checkout@v4 - name: Set up Ruby diff --git a/gemfiles/rails71.gemfile b/gemfiles/rails71.gemfile new file mode 100644 index 0000000..0f302a1 --- /dev/null +++ b/gemfiles/rails71.gemfile @@ -0,0 +1,23 @@ +source :rubygems + +gem 'rails', '~> 7.1.0' + +gem 'rake' +gem 'responders' +gem 'stripe' + +group :development, :test do + gem 'm' +end + +group :test do + gem 'mocha' + gem 'simplecov', require: false + gem 'stripe-ruby-mock' + gem 'webmock' + # Required for system tests + gem 'capybara' + gem 'puma' + gem 'selenium-webdriver' + gem 'webdrivers' +end