-
Notifications
You must be signed in to change notification settings - Fork 22
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
Add support Ruby 3.3.0+ #53
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
require 'spec_helper' | ||
require "rack/mock" | ||
require 'rack/builder' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Added this line because my local test failed due to uninitialized constant.
|
||
require 'td/logger/agent/rack' | ||
|
||
describe TreasureData::Logger::Agent::Rack::Hook do | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
|
||
require 'spec_helper' | ||
|
||
describe TreasureData::Logger::Event do | ||
|
Original file line number | Diff line number | Diff line change | ||
---|---|---|---|---|
|
@@ -32,8 +32,9 @@ EOF | |||
gem.require_paths = ['lib'] | ||||
|
||||
gem.add_dependency "msgpack", ">= 0.5.6", "< 2.0" | ||||
gem.add_dependency "td-client", ">= 0.8.66", "< 2.0" | ||||
gem.add_dependency "td-client", ">= 1.0.8", "< 3.0" | ||||
gem.add_dependency "fluent-logger", ">= 0.5.0", "< 2.0" | ||||
gem.add_dependency "mutex_m", ">= 0.2.0", "< 1.0" | ||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
If users have used this gem with Ruby 2.4 or lower, they failed td-logger process because this gem supports Ruby 2.5+. But I believe this is no problem since Ruby 2.6 or lower reached EOL. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm sorry, but I don't understand why this added line is needed? If we're targeting ruby 2.7..5 and up here, IIUC, user should be able to use their own mutex_m without issue, no? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @tung-vu-td Sorry for my late response. mutex_m will be apart from Ruby as a standard library. Since this library uses td-logger-ruby/lib/td/logger/td_logger.rb Line 164 in d90b9d1
|
||||
gem.add_development_dependency 'rake', '>= 0.9.2' | ||||
gem.add_development_dependency 'rspec', '~> 3.0' | ||||
gem.add_development_dependency 'coveralls' | ||||
|
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.
Follow up warnings,