diff options
author | SHIBATA Hiroshi <hsbt@ruby-lang.org> | 2018-10-13 09:13:20 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-13 09:13:20 +0900 |
commit | 28389f26ddb91adffc851675a179c22f4987eca6 (patch) | |
tree | 2db3a52ab9d909788df18c2ecb642311b9cc51fd | |
parent | 2261525efa9e32ea2556ad3bc34ead71cada5315 (diff) | |
parent | c5121a2b2fe142f2a9d9a58e911329321c38c6d5 (diff) | |
download | psych-28389f26ddb91adffc851675a179c22f4987eca6.tar.gz |
Merge pull request #376 from stomar/add-comment
Add comment for require fallback in Ruby repository; fix typo
-rw-r--r-- | lib/psych/versions.rb | 2 | ||||
-rw-r--r-- | psych.gemspec | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/lib/psych/versions.rb b/lib/psych/versions.rb index d2d277d..b32ab6c 100644 --- a/lib/psych/versions.rb +++ b/lib/psych/versions.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true module Psych - # The version is Psych you're using + # The version of Psych you are using VERSION = '3.1.0.pre1' unless defined?(::Psych::VERSION) if RUBY_ENGINE == 'jruby' diff --git a/psych.gemspec b/psych.gemspec index d4a3db4..be63c66 100644 --- a/psych.gemspec +++ b/psych.gemspec @@ -4,6 +4,7 @@ begin require_relative 'lib/psych/versions' rescue LoadError + # for Ruby core repository require_relative 'versions' end |