Skip to content

Commit

Permalink
specify nkf for Ruby >= 3.4
Browse files Browse the repository at this point in the history
Ruby 3.4 no longer comes with nkf gem bundled, so specify it in gemspec.
Fixes #66
  • Loading branch information
Christian Kruse committed Feb 15, 2024
1 parent 26aa6bd commit 4c68eaf
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cfpropertylist.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ Gem::Specification.new do |s|
if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new('3.0.0')
s.add_runtime_dependency("rexml") # no longer bundled with Ruby 3
end

if Gem::Version::new(RUBY_VERSION) >= Gem::Version::new('3.4.0')
s.add_runtime_dependency("nkf") # will no longer bundled with Ruby >= 3.4
end

s.add_development_dependency("libxml-ruby")
s.add_development_dependency("minitest")
s.add_development_dependency("nokogiri")
Expand Down

0 comments on commit 4c68eaf

Please sign in to comment.