diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b35c130..6a68bab 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,10 +13,9 @@ jobs: strategy: matrix: ruby-version: + - '3.4' - '3.3' - '3.2' - - '3.1' - - '3.0' steps: - uses: actions/checkout@v4 diff --git a/CHANGELOG.md b/CHANGELOG.md index 1242fc3..f34c8d5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## 4.3.1 + +* Bump rack dependency +* Bump oj dependency + ## 4.3.0 * Add support for disabling retries on timeout for `GET` and `HEAD` requests diff --git a/Gemfile.lock b/Gemfile.lock index 584aa9b..102b84f 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,39 +1,43 @@ PATH remote: . specs: - grac (4.3.0) - oj (~> 3.13.23) + grac (4.3.1) + oj (~> 3.16) typhoeus (~> 1) GEM remote: https://rubygems.org/ specs: - benchmark-ips (2.10.0) - builder (3.2.3) - diff-lcs (1.5.0) - ethon (0.16.0) + benchmark-ips (2.14.0) + bigdecimal (3.2.3) + builder (3.3.0) + diff-lcs (1.6.2) + ethon (0.15.0) ffi (>= 1.15.0) - ffi (1.15.5) - oj (3.13.23) - rack (3.1.16) - rack-test (2.1.0) + ffi (1.17.2) + oj (3.16.11) + bigdecimal (>= 3.0) + ostruct (>= 0.2) + ostruct (0.6.3) + rack (3.2.1) + rack-test (2.2.0) rack (>= 1.3) - rake (13.0.1) - rspec (3.12.0) - rspec-core (~> 3.12.0) - rspec-expectations (~> 3.12.0) - rspec-mocks (~> 3.12.0) - rspec-core (3.12.0) - rspec-support (~> 3.12.0) - rspec-expectations (3.12.0) + rake (13.3.0) + rspec (3.13.1) + rspec-core (~> 3.13.0) + rspec-expectations (~> 3.13.0) + rspec-mocks (~> 3.13.0) + rspec-core (3.13.5) + rspec-support (~> 3.13.0) + rspec-expectations (3.13.5) diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.12.0) - rspec-mocks (3.12.0) + rspec-support (~> 3.13.0) + rspec-mocks (3.13.5) diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.12.0) - rspec-support (3.12.0) - typhoeus (1.4.0) - ethon (>= 0.9.0) + rspec-support (~> 3.13.0) + rspec-support (3.13.6) + typhoeus (1.5.0) + ethon (>= 0.9.0, < 0.16.0) PLATFORMS ruby diff --git a/grac.gemspec b/grac.gemspec index 09db18d..76e2c46 100644 --- a/grac.gemspec +++ b/grac.gemspec @@ -26,6 +26,6 @@ Gem::Specification.new do |spec| spec.add_development_dependency 'rack', '~> 3.1' spec.add_development_dependency 'rack-test', '~> 2.1' - spec.add_runtime_dependency 'oj', '~> 3.13.23' + spec.add_runtime_dependency 'oj', '~> 3.16' spec.add_runtime_dependency 'typhoeus', '~> 1' end diff --git a/lib/grac/version.rb b/lib/grac/version.rb index 51107a9..b923028 100644 --- a/lib/grac/version.rb +++ b/lib/grac/version.rb @@ -1,3 +1,3 @@ module Grac - VERSION = "4.3.0" + VERSION = "4.3.1" end diff --git a/spec/lib/grac/client_spec.rb b/spec/lib/grac/client_spec.rb index 29c4b9d..eccb08a 100644 --- a/spec/lib/grac/client_spec.rb +++ b/spec/lib/grac/client_spec.rb @@ -538,7 +538,7 @@ def check_options(client, field, value) grac.send(:check_response, method, grac_response) }.to raise_exception( Grac::Exception::BadRequest, - "GET '#{grac.uri}' failed with content: {\"value\"=>\"success\"}" + /GET '#{grac.uri}' failed with content: {"value"\s?\=\>\s?"success"}/ ) end end @@ -566,7 +566,7 @@ def check_options(client, field, value) grac.send(:check_response, method, grac_response) }.to raise_exception( Grac::Exception::Forbidden, - "GET '#{grac.uri}' failed with content: {\"value\"=>\"success\"}" + /GET '#{grac.uri}' failed with content: {"value"\s?\=\>\s?"success"}/ ) end end @@ -579,7 +579,7 @@ def check_options(client, field, value) grac.send(:check_response, method, grac_response) }.to raise_exception( Grac::Exception::NotFound, - "GET '#{grac.uri}' failed with content: {\"value\"=>\"success\"}" + /GET '#{grac.uri}' failed with content: {"value"\s?\=\>\s?"success"}/ ) end end @@ -592,7 +592,7 @@ def check_options(client, field, value) grac.send(:check_response, method, grac_response) }.to raise_exception( Grac::Exception::Conflict, - "GET '#{grac.uri}' failed with content: {\"value\"=>\"success\"}" + /GET '#{grac.uri}' failed with content: {"value"\s?\=\>\s?"success"}/ ) end end @@ -605,7 +605,7 @@ def check_options(client, field, value) grac.send(:check_response, method, grac_response) }.to raise_exception( Grac::Exception::ServiceError, - "GET '#{grac.uri}' failed with content: {\"value\"=>\"success\"}" + /GET '#{grac.uri}' failed with content: {"value"\s?\=\>\s?"success"}/ ) end end