diff options
author | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-08-31 15:25:52 +0000 |
---|---|---|
committer | SHIBATA Hiroshi <hsbt@ruby-lang.org> | 2018-09-28 10:16:22 +0900 |
commit | 1abfc6666c30f063f1ecfe1a852b66a9dc2d4bdd (patch) | |
tree | 6f213a35a344f4cf0967ae6a3b0f52a0b7b6af23 /lib | |
parent | 52b6548e9cb6ee463a5e25f2db54aae5a0662a81 (diff) | |
download | psych-1abfc6666c30f063f1ecfe1a852b66a9dc2d4bdd.tar.gz |
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
Diffstat (limited to 'lib')
-rw-r--r-- | lib/psych/versions.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/psych/versions.rb b/lib/psych/versions.rb index ed93609..2b9ec0c 100644 --- a/lib/psych/versions.rb +++ b/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.23'.freeze |