Skip to content

Commit a269a52

Browse files
authored
updated to ruby version (#341)
1 parent 9b77a5b commit a269a52

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

.github/workflows/ruby.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
runs-on: ubuntu-latest
2626
strategy:
2727
matrix:
28-
ruby: [ '2.7.0', '3.0.0', '3.1.0' ]
28+
ruby: [ '3.0.0', '3.1.0', '3.2.0' ]
2929
steps:
3030
- uses: actions/checkout@v3
3131
- name: Set up Ruby ${{ matrix.ruby }}

.rubocop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
inherit_from: .rubocop_todo.yml
22

33
AllCops:
4-
TargetRubyVersion: 2.7
4+
TargetRubyVersion: 3.0
55

66
Layout/SpaceInsideHashLiteralBraces:
77
EnforcedStyle: no_space

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Refer to the [Ruby SDK's developer documentation](https://docs.developers.optimi
1717

1818
### Requirements
1919

20-
* Ruby 2.7+
20+
* Ruby 3.0+
2121

2222
### Install the SDK
2323

optimizely-sdk.gemspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Gem::Specification.new do |spec|
77
spec.version = Optimizely::VERSION
88
spec.authors = ['Optimizely']
99
spec.email = ['developers@optimizely.com']
10-
spec.required_ruby_version = '>= 2.7'
10+
spec.required_ruby_version = '>= 3.0'
1111

1212
spec.summary = "Ruby SDK for Optimizely's testing framework"
1313
spec.description = 'A Ruby SDK for use with Optimizely Feature Experimentation, Optimizely Full Stack (legacy), and Optimizely Rollouts'
@@ -24,6 +24,6 @@ Gem::Specification.new do |spec|
2424
spec.add_development_dependency 'rubocop'
2525
spec.add_development_dependency 'webmock'
2626

27-
spec.add_runtime_dependency 'json-schema', '~> 2.6'
27+
spec.add_runtime_dependency 'json-schema', '>= 2.6'
2828
spec.add_runtime_dependency 'murmurhash3', '~> 0.1'
2929
end

0 commit comments

Comments
 (0)