From 4f572b4e977d6dc8d2a3b7eae2133d4f85b5a536 Mon Sep 17 00:00:00 2001 From: Andrew Bromwich Date: Tue, 14 Jan 2025 00:44:14 +1000 Subject: [PATCH 1/3] Add support for ruby 3.4 --- .github/workflows/test.yml | 2 +- fountain.gemspec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d7d4bea..5c41ad1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - ruby-version: ['3.0', '3.1', '3.2', '3.3'] + ruby-version: ['3.0', '3.1', '3.2', '3.3', '3.4'] steps: - uses: actions/checkout@v2 diff --git a/fountain.gemspec b/fountain.gemspec index 32a553c..a7d1034 100644 --- a/fountain.gemspec +++ b/fountain.gemspec @@ -15,7 +15,7 @@ Gem::Specification.new do |spec| spec.description = 'Fountain REST API v2 wrapper for Ruby' spec.homepage = 'https://github.com/Studiosity/fountain-ruby' spec.license = 'MIT' - spec.required_ruby_version = ['>= 3.0.0', '< 3.4.0'] + spec.required_ruby_version = ['>= 3.0.0', '< 3.5.0'] spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(spec|docs)/}) } spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) } From 74aa6f3b1a3a900bb7c62b9afffe3b380dc95bd1 Mon Sep 17 00:00:00 2001 From: Andrew Bromwich Date: Tue, 14 Jan 2025 01:07:19 +1000 Subject: [PATCH 2/3] Update rubocop dependency and action new lints --- Gemfile | 4 ++-- spec/fountain/configuration_spec.rb | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Gemfile b/Gemfile index e6a9138..17e1cad 100644 --- a/Gemfile +++ b/Gemfile @@ -7,8 +7,8 @@ gemspec gem 'rake', '~> 12.3', '>= 12.3.3' gem 'rspec', '~> 3.0' -gem 'rubocop', '~> 1.21' +gem 'rubocop', '~> 1.70' gem 'rubocop-rake', '~> 0.6' -gem 'rubocop-rspec', '~> 2.5' +gem 'rubocop-rspec', '~> 3.3' gem 'simplecov', '~> 0.16', '< 0.18' gem 'webmock', '~> 2.3' diff --git a/spec/fountain/configuration_spec.rb b/spec/fountain/configuration_spec.rb index ccc9120..389ed89 100644 --- a/spec/fountain/configuration_spec.rb +++ b/spec/fountain/configuration_spec.rb @@ -2,7 +2,7 @@ require 'spec_helper' -describe Fountain do # rubocop:disable RSpec/FilePath, RSpec/SpecFilePathFormat +describe Fountain do # rubocop:disable RSpec/SpecFilePathFormat it 'sets default value for host_path option' do expect(described_class.host_path).to eq 'https://api.fountain.com' end From 61776f895ca4f8c8ded2b16440e9e85b73bdd5cf Mon Sep 17 00:00:00 2001 From: Andrew Bromwich Date: Tue, 14 Jan 2025 01:19:42 +1000 Subject: [PATCH 3/3] Update webmock dependency --- Gemfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index 17e1cad..97da447 100644 --- a/Gemfile +++ b/Gemfile @@ -11,4 +11,4 @@ gem 'rubocop', '~> 1.70' gem 'rubocop-rake', '~> 0.6' gem 'rubocop-rspec', '~> 3.3' gem 'simplecov', '~> 0.16', '< 0.18' -gem 'webmock', '~> 2.3' +gem 'webmock', '~> 3.24'