Skip to content

Commit

Permalink
Add nkf as a dependency
Browse files Browse the repository at this point in the history
Since Ruby 3.3.0, RubyGems and Bundler warn if users do require the
gems that will become the bundled gems in the future version of Ruby.
Please see the "Standard library updates" section for the details.
https://www.ruby-lang.org/en/news/2023/12/25/ruby-3-3-0-released/

`gmo` uses `nkf`. This fixes the following warning.

```
gmo-payment-ruby/gmo-payment-ruby/lib/gmo.rb:2: warning: nkf was loaded from the standard library, but will no longer be part of the default gems since Ruby 3.4.0. Add nkf to your Gemfile or gemspec.
```

Ref:  https://github.com/t-k/gmo-payment-ruby/actions/runs/9106594362/job/25034049847#step:4:6
  • Loading branch information
y-yagi committed Jun 3, 2024
1 parent 478c4ec commit aa54386
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gmo.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ Gem::Specification.new do |gem|

gem.add_runtime_dependency "rack"
gem.add_runtime_dependency "multi_json"
gem.add_runtime_dependency "nkf"
gem.add_development_dependency "rspec", "~> 3"
gem.add_development_dependency "rake"
gem.add_development_dependency "vcr"
Expand Down

0 comments on commit aa54386

Please sign in to comment.