Skip to content

Commit 51cd3a1

Browse files
authored
chore!: Drop Ruby 2.7 and 3.0, add Ruby 3.3 (#91)
Signed-off-by: Max VelDink <[email protected]>
1 parent dc36974 commit 51cd3a1

File tree

7 files changed

+9
-9
lines changed

7 files changed

+9
-9
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,9 @@ jobs:
1717
# - macos-latest
1818
# - windows-latest
1919
ruby:
20+
- "3.3"
2021
- "3.2"
2122
- "3.1"
22-
- "3.0"
23-
- "2.7"
2423
env:
2524
BUNDLE_GEMFILE: Gemfile
2625

.standard.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
parallel: true
22
formatter: progress
3-
ruby_version: 2.7
3+
ruby_version: 3.1
44
plugins:
55
- standard-performance

.tool-versions

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ruby 3.3.0

Gemfile.lock

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ GEM
8181
PLATFORMS
8282
arm64-darwin-21
8383
arm64-darwin-22
84+
arm64-darwin-23
8485
x64-mingw-ucrt
8586
x64-mingw32
8687
x86_64-darwin-19

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,9 @@ We support multiple data types for flags (numbers, strings, booleans, objects) a
1414

1515
| Ruby Version | OS |
1616
| ----------- | ----------- |
17-
| Ruby 2.7.8 | Windows, MacOS, Linux |
18-
| Ruby 3.0.6 | Windows, MacOS, Linux |
1917
| Ruby 3.1.4 | Windows, MacOS, Linux |
20-
| Ruby 3.2.2 | Windows, MacOS, Linux |
18+
| Ruby 3.2.3 | Windows, MacOS, Linux |
19+
| Ruby 3.3.0 | Windows, MacOS, Linux |
2120

2221

2322
## Installation

lib/openfeature/sdk.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ module OpenFeature
88
#
99
module SDK
1010
class << self
11-
def method_missing(method_name, *args, **kwargs, &block)
11+
def method_missing(method_name, ...)
1212
if API.instance.respond_to?(method_name)
13-
API.instance.send(method_name, *args, **kwargs, &block)
13+
API.instance.send(method_name, ...)
1414
else
1515
super
1616
end

openfeature-sdk.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
1212
spec.description = "Ruby SDK for an the specifications for the open standard of feature flag management"
1313
spec.homepage = "https://github.com/open-feature/openfeature-ruby"
1414
spec.license = "Apache-2.0'"
15-
spec.required_ruby_version = ">= 2.7"
15+
spec.required_ruby_version = ">= 3.1"
1616

1717
spec.metadata["homepage_uri"] = spec.homepage
1818
spec.metadata["source_code_uri"] = "https://github.com/open-feature/openfeature-ruby"

0 commit comments

Comments
 (0)