-
Notifications
You must be signed in to change notification settings - Fork 28
feat: update ruby version #305
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…aleap/update_ruby_version
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks Great! Added a few minor comments. Please also.
- Update the copyright header in the files that were changed.
- Add a changelog entry.
- Update github actions references to master before merging.
@@ -34,7 +34,8 @@ class SimpleLogger < BaseLogger | |||
# Simple wrapper around Logger. | |||
|
|||
def initialize(min_level = Logger::INFO) | |||
@logger = Logger.new(STDOUT) | |||
super() | |||
@logger = Logger.new($stdout) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is $stdout supposed to be defined somewhere above?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was one of the automated fixes generated by rubocop. Looks like both STDOUT
and $stdout
have global scope, but $stdout
is preferred because STDOUT
is a constant.
lib/optimizely/version.rb
Outdated
@@ -17,5 +17,5 @@ | |||
# | |||
module Optimizely | |||
CLIENT_ENGINE = 'ruby-sdk' | |||
VERSION = '3.10.1' | |||
VERSION = '4.0.0' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We only update version when we are making a PR for release prep. you should leave the SDK version as is for this PR
CHANGELOG.md
Outdated
@@ -1,7 +1,7 @@ | |||
# Optimizely Ruby SDK Changelog | |||
|
|||
## 4.0.0 | |||
August 1st, 2022 | |||
August 3st, 2022 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need to add a date and version here. Version and date will be added once we are ready to release. This should go in unreleased. It should be
Unreleased
Changes
- Breaking change: Changed official supported versions of Ruby to 2.7, 3.0 and 3.1
lib/optimizely/optimizely_config.rb
Outdated
@@ -1,6 +1,6 @@ | |||
# frozen_string_literal: true | |||
|
|||
# Copyright 2019-2021, Optimizely and contributors | |||
# Copyright 2019-2021, 2022, Optimizely and contributors |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this should be 2019-2022
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😲
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work!
Summary
Current supported versions have reached EOL.
Test plan
Ticket