summaryrefslogtreecommitdiff
path: root/lib/yaml
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2019-11-09 11:08:24 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2019-11-09 11:08:24 +0900
commit352887b731f02c42abf6b905cde1737cc2249290 (patch)
tree16c9473c5e0ea691d8fbcd5eb052c5cb7e3fc2bb /lib/yaml
parent21f7cca2c6394aaaec9189a7cb08a9ad8a2196e3 (diff)
Remove YAML::VERSION because it conflicts with Psych::VERSION
Diffstat (limited to 'lib/yaml')
-rw-r--r--lib/yaml/version.rb3
-rw-r--r--lib/yaml/yaml.gemspec8
2 files changed, 1 insertions, 10 deletions
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"]