Skip to content

Commit 7d3bbda

Browse files
committed
chore: add ruby 4.0 support in gh actions
- Add ostruct as explicit dependency as required by ruby >= 4.0
1 parent 67b53a6 commit 7d3bbda

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

.github/workflows/pull_request.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ jobs:
3030
- windows
3131
ruby-version:
3232
- jruby-9.4
33+
- '4.0'
3334
- 3.4
3435
- 3.3
3536
- 3.2

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ You can use this client with [Unleash Enterprise](https://www.getunleash.io/pric
1515

1616
## Supported Ruby interpreters
1717

18+
- MRI 4.0
1819
- MRI 3.4
1920
- MRI 3.3
2021
- MRI 3.2

unleash-client.gemspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ Gem::Specification.new do |spec|
2828

2929
spec.add_dependency "base64", "~> 0.3.0"
3030
spec.add_dependency "logger", "~> 1.6"
31+
spec.add_dependency "ostruct", "~> 0.1"
3132

3233
spec.add_development_dependency "rake", "~> 12.3"
3334
spec.add_development_dependency "rspec", "~> 3.12"

0 commit comments

Comments
 (0)