From 352887b731f02c42abf6b905cde1737cc2249290 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Sat, 9 Nov 2019 11:08:24 +0900 Subject: [PATCH] Remove YAML::VERSION because it conflicts with Psych::VERSION --- lib/yaml/version.rb | 3 --- lib/yaml/yaml.gemspec | 8 +------- 2 files changed, 1 insertion(+), 10 deletions(-) delete mode 100644 lib/yaml/version.rb diff --git a/lib/yaml/version.rb b/lib/yaml/version.rb deleted file mode 100644 index b8e83d8f0d..0000000000 --- a/lib/yaml/version.rb +++ /dev/null @@ -1,3 +0,0 @@ -module YAML - VERSION = "0.1.0" -end diff --git a/lib/yaml/yaml.gemspec b/lib/yaml/yaml.gemspec index 2272af46d7..d78e8164a4 100644 --- a/lib/yaml/yaml.gemspec +++ b/lib/yaml/yaml.gemspec @@ -1,12 +1,6 @@ -begin - require_relative "lib/yaml/version" -rescue LoadError # Fallback to load version file in ruby core repository - require_relative "version" -end - Gem::Specification.new do |spec| spec.name = "yaml" - spec.version = YAML::VERSION + spec.version = "0.1.0" spec.authors = ["Aaron Patterson", "SHIBATA Hiroshi"] spec.email = ["aaron@tenderlovemaking.com", "hsbt@ruby-lang.org"]