Skip to content

Commit 4c68eaf

Browse files
author
Christian Kruse
committed
specify nkf for Ruby >= 3.4
Ruby 3.4 no longer comes with nkf gem bundled, so specify it in gemspec. Fixes #66
1 parent 26aa6bd commit 4c68eaf

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

cfpropertylist.gemspec

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ Gem::Specification.new do |s|
1616
if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new('3.0.0')
1717
s.add_runtime_dependency("rexml") # no longer bundled with Ruby 3
1818
end
19+
20+
if Gem::Version::new(RUBY_VERSION) >= Gem::Version::new('3.4.0')
21+
s.add_runtime_dependency("nkf") # will no longer bundled with Ruby >= 3.4
22+
end
23+
1924
s.add_development_dependency("libxml-ruby")
2025
s.add_development_dependency("minitest")
2126
s.add_development_dependency("nokogiri")

0 commit comments

Comments
 (0)