diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/yaml.rb | 2 | ||||
-rw-r--r-- | lib/yaml/yaml.gemspec | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/yaml.rb b/lib/yaml.rb index cdacfaf69e..3b2a80f1df 100644 --- a/lib/yaml.rb +++ b/lib/yaml.rb @@ -66,5 +66,5 @@ YAML = Psych # :nodoc: # # Syck can also be found on github: https://github.com/ruby/syck module YAML - VERSION = "0.2.1" + LOADER_VERSION = "0.2.1" end diff --git a/lib/yaml/yaml.gemspec b/lib/yaml/yaml.gemspec index afe65a2c64..2e184947e8 100644 --- a/lib/yaml/yaml.gemspec +++ b/lib/yaml/yaml.gemspec @@ -1,7 +1,7 @@ name = File.basename(__FILE__, ".gemspec") version = ["lib", Array.new(name.count("-")+1, "..").join("/")].find do |dir| break File.foreach(File.join(__dir__, dir, "#{name.tr('-', '/')}.rb")) do |line| - /^\s*VERSION\s*=\s*"(.*)"/ =~ line and break $1 + /^\s*LOADER_VERSION\s*=\s*"(.*)"/ =~ line and break $1 end rescue nil end |