diff options
author | Aaron Patterson <tenderlove@ruby-lang.org> | 2023-01-20 09:46:36 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-20 09:46:36 -0800 |
commit | 2d472f5f20b588ed62c1fdea3da627dbd91bd73c (patch) | |
tree | 0c91457f2d527d36a797ac61e80c4e4c56feced1 /lib | |
parent | a170b8eb466f25d16c4ceb1451a75de1d2c8c0cc (diff) | |
parent | 4bf6dac18021e1928984fe1533a88d5a65860405 (diff) | |
download | psych-2d472f5f20b588ed62c1fdea3da627dbd91bd73c.tar.gz |
Merge pull request #612 from headius/snakeyaml_engine
Move JRuby extension to SnakeYAML Engine
Diffstat (limited to 'lib')
-rw-r--r-- | lib/psych/versions.rb | 2 | ||||
-rw-r--r-- | lib/psych_jars.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/psych/versions.rb b/lib/psych/versions.rb index 22b9094..1042a86 100644 --- a/lib/psych/versions.rb +++ b/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/lib/psych_jars.rb b/lib/psych_jars.rb index e91e346..e74c25b 100644 --- a/lib/psych_jars.rb +++ b/lib/psych_jars.rb @@ -2,4 +2,4 @@ require 'psych.jar' require 'jar-dependencies' -require_jar('org.yaml', 'snakeyaml', Psych::DEFAULT_SNAKEYAML_VERSION) +require_jar('org.snakeyaml', 'snakeyaml-engine', Psych::DEFAULT_SNAKEYAML_VERSION) |