Skip to content

Commit

Permalink
chore!: Drop Ruby 2.7 and 3.0, add Ruby 3.3 (#91)
Browse files Browse the repository at this point in the history
Signed-off-by: Max VelDink <[email protected]>
  • Loading branch information
maxveldink authored Jan 18, 2024
1 parent dc36974 commit 51cd3a1
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,9 @@ jobs:
# - macos-latest
# - windows-latest
ruby:
- "3.3"
- "3.2"
- "3.1"
- "3.0"
- "2.7"
env:
BUNDLE_GEMFILE: Gemfile

Expand Down
2 changes: 1 addition & 1 deletion .standard.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
parallel: true
formatter: progress
ruby_version: 2.7
ruby_version: 3.1
plugins:
- standard-performance
1 change: 1 addition & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ruby 3.3.0
1 change: 1 addition & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ GEM
PLATFORMS
arm64-darwin-21
arm64-darwin-22
arm64-darwin-23
x64-mingw-ucrt
x64-mingw32
x86_64-darwin-19
Expand Down
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,9 @@ We support multiple data types for flags (numbers, strings, booleans, objects) a

| Ruby Version | OS |
| ----------- | ----------- |
| Ruby 2.7.8 | Windows, MacOS, Linux |
| Ruby 3.0.6 | Windows, MacOS, Linux |
| Ruby 3.1.4 | Windows, MacOS, Linux |
| Ruby 3.2.2 | Windows, MacOS, Linux |
| Ruby 3.2.3 | Windows, MacOS, Linux |
| Ruby 3.3.0 | Windows, MacOS, Linux |


## Installation
Expand Down
4 changes: 2 additions & 2 deletions lib/openfeature/sdk.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ module OpenFeature
#
module SDK
class << self
def method_missing(method_name, *args, **kwargs, &block)
def method_missing(method_name, ...)
if API.instance.respond_to?(method_name)
API.instance.send(method_name, *args, **kwargs, &block)
API.instance.send(method_name, ...)
else
super
end
Expand Down
2 changes: 1 addition & 1 deletion openfeature-sdk.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
spec.description = "Ruby SDK for an the specifications for the open standard of feature flag management"
spec.homepage = "https://github.com/open-feature/openfeature-ruby"
spec.license = "Apache-2.0'"
spec.required_ruby_version = ">= 2.7"
spec.required_ruby_version = ">= 3.1"

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

0 comments on commit 51cd3a1

Please sign in to comment.