From aa543865b9b178bd30f36fcf71d7690082d8f2f1 Mon Sep 17 00:00:00 2001 From: Yuji Yaginuma Date: Mon, 3 Jun 2024 17:06:58 +0900 Subject: [PATCH] Add `nkf` as a dependency 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 --- gmo.gemspec | 1 + 1 file changed, 1 insertion(+) diff --git a/gmo.gemspec b/gmo.gemspec index fc3a2cd..fb30dc2 100644 --- a/gmo.gemspec +++ b/gmo.gemspec @@ -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"