summaryrefslogtreecommitdiff
path: root/ext/psych/lib/psych/versions.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/psych/lib/psych/versions.rb')
-rw-r--r--ext/psych/lib/psych/versions.rb7
1 files changed, 6 insertions, 1 deletions
diff --git a/ext/psych/lib/psych/versions.rb b/ext/psych/lib/psych/versions.rb
index 5f7652b097..b01fa7df1b 100644
--- a/ext/psych/lib/psych/versions.rb
+++ b/ext/psych/lib/psych/versions.rb
@@ -1,4 +1,9 @@
# frozen_string_literal: false
module Psych
- DEFAULT_SNAKEYAML_VERSION = '1.14'.freeze
+ # The version is Psych you're using
+ VERSION = '2.2.1'
+
+ if RUBY_ENGINE == 'jruby'
+ DEFAULT_SNAKEYAML_VERSION = '1.17'.freeze
+ end
end