diff --git a/ext/psych/lib/psych/versions.rb b/ext/psych/lib/psych/versions.rb index 22b909430c..1042a86d46 100644 --- a/ext/psych/lib/psych/versions.rb +++ b/ext/psych/lib/psych/versions.rb @@ -5,6 +5,6 @@ module Psych VERSION = '5.0.2' if RUBY_ENGINE == 'jruby' - DEFAULT_SNAKEYAML_VERSION = '1.33'.freeze + DEFAULT_SNAKEYAML_VERSION = '2.6'.freeze end end diff --git a/ext/psych/psych.gemspec b/ext/psych/psych.gemspec index f826af0f0e..a8ee5da028 100644 --- a/ext/psych/psych.gemspec +++ b/ext/psych/psych.gemspec @@ -55,7 +55,7 @@ DESCRIPTION "lib/psych_jars.rb", "lib/psych.jar" ] - s.requirements = "jar org.yaml:snakeyaml, #{version_module::Psych::DEFAULT_SNAKEYAML_VERSION}" + s.requirements = "jar org.snakeyaml:snakeyaml-engine, #{version_module::Psych::DEFAULT_SNAKEYAML_VERSION}" s.add_dependency 'jar-dependencies', '>= 0.1.7' else s.extensions = ["ext/psych/extconf.rb"]