Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,9 @@ jobs:
strategy:
matrix:
ruby-version:
- '3.4'
- '3.3'
- '3.2'
- '3.1'
- '3.0'

steps:
- uses: actions/checkout@v4
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
52 changes: 28 additions & 24 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion grac.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion lib/grac/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Grac
VERSION = "4.3.0"
VERSION = "4.3.1"
end
10 changes: 5 additions & 5 deletions spec/lib/grac/client_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down