From efa19f9f5a0155d0b3b26e67875d15c965f2e8bf Mon Sep 17 00:00:00 2001 From: kazu Date: Fri, 31 Aug 2018 15:25:52 +0000 Subject: [PATCH] Try to add workaround for warnings ``` .../ext/psych/lib/psych/versions.rb:4: warning: already initialized constant Psych::VERSION .../.ext/common/psych/versions.rb:4: warning: previous definition of VERSION was here ``` git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/psych/lib/psych/versions.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/psych/lib/psych/versions.rb b/ext/psych/lib/psych/versions.rb index b7e55d360d..e1cc3e4dcc 100644 --- a/ext/psych/lib/psych/versions.rb +++ b/ext/psych/lib/psych/versions.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true module Psych # The version is Psych you're using - VERSION = '3.1.0.pre1' + VERSION ||= '3.1.0.pre1' if RUBY_ENGINE == 'jruby' DEFAULT_SNAKEYAML_VERSION = '1.21'.freeze