treasure-data / td

CUI Interface
https://toolbelt.treasuredata.com
49 stars 26 forks source link

Replace obsolete File.exists? with File.exist? #259

Closed ashie closed 1 year ago

ashie commented 1 year ago

File.exists? has been removed as of Ruby 3.2: https://www.ruby-lang.org/en/news/2022/12/25/ruby-3-2-0-released/

tung-vu-td commented 1 year ago

Thank you very much @ashie for this PR 🙇 . I included the changed in https://github.com/treasure-data/td/pull/260 in order to add test for ruby 3.2. So I will close this PR.

ashie commented 1 year ago

@tung-vu-td

BTW do you have any plan to release new td gem which support Ruby 3.2? We are developing the next version of td-agent (the name will be changed to fluentd-package or something) which will bundle Ruby 3.2.

https://github.com/fluent/fluent-package-builder/issues/429

We need to decide how should we treat gems that doesn't support Ruby 3.2.