summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSHIBATA Hiroshi <hsbt@ruby-lang.org>2018-10-13 09:13:20 +0900
committerGitHub <noreply@github.com>2018-10-13 09:13:20 +0900
commit28389f26ddb91adffc851675a179c22f4987eca6 (patch)
tree2db3a52ab9d909788df18c2ecb642311b9cc51fd
parent2261525efa9e32ea2556ad3bc34ead71cada5315 (diff)
parentc5121a2b2fe142f2a9d9a58e911329321c38c6d5 (diff)
downloadpsych-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.rb2
-rw-r--r--psych.gemspec1
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