From c64743dc3e30ce0342fc589ad079a79608b913ed Mon Sep 17 00:00:00 2001 From: Alex Tan Date: Mon, 13 Mar 2023 17:25:53 -0600 Subject: [PATCH 1/2] Support Ruby 3.2 --- .github/workflows/ruby.yml | 2 +- flatware-cucumber.gemspec | 2 +- flatware-rspec.gemspec | 2 +- flatware.gemspec | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index 7d93732..afd6f2d 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -19,7 +19,7 @@ jobs: strategy: matrix: gemfile: [6,7,8,9,10] - ruby-version: ['2.6', '2.7', '3.0'] + ruby-version: ['2.6', '2.7', '3.0', '3.1', '3.2'] steps: - uses: actions/checkout@v2 diff --git a/flatware-cucumber.gemspec b/flatware-cucumber.gemspec index bdd76c1..75424e2 100644 --- a/flatware-cucumber.gemspec +++ b/flatware-cucumber.gemspec @@ -20,7 +20,7 @@ Gem::Specification.new do |s| ) s.homepage = 'http://github.com/briandunn/flatware' s.licenses = ['MIT'] - s.required_ruby_version = ['>= 2.6', '< 3.2'] + s.required_ruby_version = ['>= 2.6', '< 3.3'] s.require_paths = ['lib'] s.add_dependency %(cucumber), '~> 3.0' s.add_dependency %(flatware), Flatware::VERSION diff --git a/flatware-rspec.gemspec b/flatware-rspec.gemspec index f74c938..17c3a8f 100644 --- a/flatware-rspec.gemspec +++ b/flatware-rspec.gemspec @@ -21,7 +21,7 @@ Gem::Specification.new do |s| ) s.homepage = 'http://github.com/briandunn/flatware' s.licenses = ['MIT'] - s.required_ruby_version = ['>= 2.6', '< 3.2'] + s.required_ruby_version = ['>= 2.6', '< 3.3'] s.require_paths = ['lib'] s.add_dependency %(flatware), Flatware::VERSION s.add_dependency %(rspec), '>= 3.6' diff --git a/flatware.gemspec b/flatware.gemspec index ac9ae78..c84b2a7 100644 --- a/flatware.gemspec +++ b/flatware.gemspec @@ -26,7 +26,7 @@ Gem::Specification.new do |s| s.homepage = 'http://github.com/briandunn/flatware' s.licenses = ['MIT'] - s.required_ruby_version = ['>= 2.6', '< 3.2'] + s.required_ruby_version = ['>= 2.6', '< 3.3'] s.require_paths = ['lib'] s.executables = ['flatware'] s.add_dependency %(thor), '< 2.0' From dcb951d9167a1b47f98d5853a542caf582a9bf4a Mon Sep 17 00:00:00 2001 From: Alex Tan Date: Tue, 14 Mar 2023 10:10:52 -0600 Subject: [PATCH 2/2] Use setup-ruby v1 --- .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 afd6f2d..d8e9038 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -27,7 +27,7 @@ jobs: # To automatically get bug fixes and new Ruby versions for ruby/setup-ruby, # change this to (see https://github.com/ruby/setup-ruby#versioning): # uses: ruby/setup-ruby@v1 - uses: ruby/setup-ruby@473e4d8fe5dd94ee328fdfca9f8c9c7afc9dae5e + uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby-version }} - name: install bundle