ruby-changes:56551
From: Hiroshi <ko1@a...>
Date: Mon, 15 Jul 2019 14:51:05 +0900 (JST)
Subject: [ruby-changes:56551] Hiroshi SHIBATA: 0eafa1dce8 (master): Fixed inconsitency locations of default gems.
https://git.ruby-lang.org/ruby.git/commit/?id=0eafa1dce8 From 0eafa1dce86be0e2f86a029271ec24cf6b577fad Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA <hsbt@r...> Date: Mon, 15 Jul 2019 14:41:22 +0900 Subject: Fixed inconsitency locations of default gems. diff --git a/lib/e2mmap.gemspec b/lib/e2mmap.gemspec deleted file mode 100644 index b9808d8..0000000 --- a/lib/e2mmap.gemspec +++ /dev/null @@ -1,26 +0,0 @@ https://github.com/ruby/ruby/blob/trunk/#L0 -begin - require_relative "lib/e2mmap/version" -rescue LoadError - # for Ruby core repository - require_relative "e2mmap/version" -end - -Gem::Specification.new do |spec| - spec.name = "e2mmap" - spec.version = Exception2MessageMapper::VERSION - spec.authors = ["Keiju ISHITSUKA"] - spec.email = ["keiju@r..."] - - spec.summary = %q{Module for defining custom exceptions with specific messages.} - spec.description = %q{Module for defining custom exceptions with specific messages.} - spec.homepage = "https://github.com/ruby/e2mmap" - spec.license = "BSD-2-Clause" - - spec.files = [".gitignore", "Gemfile", "LICENSE.txt", "README.md", "Rakefile", "bin/console", "bin/setup", "e2mmap.gemspec", "lib/e2mmap.rb", "lib/e2mmap/version.rb"] - spec.bindir = "exe" - spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } - spec.require_paths = ["lib"] - - spec.add_development_dependency "bundler", "~> 1.16" - spec.add_development_dependency "rake", "~> 10.0" -end diff --git a/lib/e2mmap/e2mmap.gemspec b/lib/e2mmap/e2mmap.gemspec new file mode 100644 index 0000000..b9808d8 --- /dev/null +++ b/lib/e2mmap/e2mmap.gemspec @@ -0,0 +1,26 @@ https://github.com/ruby/ruby/blob/trunk/lib/e2mmap/e2mmap.gemspec#L1 +begin + require_relative "lib/e2mmap/version" +rescue LoadError + # for Ruby core repository + require_relative "e2mmap/version" +end + +Gem::Specification.new do |spec| + spec.name = "e2mmap" + spec.version = Exception2MessageMapper::VERSION + spec.authors = ["Keiju ISHITSUKA"] + spec.email = ["keiju@r..."] + + spec.summary = %q{Module for defining custom exceptions with specific messages.} + spec.description = %q{Module for defining custom exceptions with specific messages.} + spec.homepage = "https://github.com/ruby/e2mmap" + spec.license = "BSD-2-Clause" + + spec.files = [".gitignore", "Gemfile", "LICENSE.txt", "README.md", "Rakefile", "bin/console", "bin/setup", "e2mmap.gemspec", "lib/e2mmap.rb", "lib/e2mmap/version.rb"] + spec.bindir = "exe" + spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } + spec.require_paths = ["lib"] + + spec.add_development_dependency "bundler", "~> 1.16" + spec.add_development_dependency "rake", "~> 10.0" +end diff --git a/lib/logger.gemspec b/lib/logger.gemspec deleted file mode 100644 index 53ed1e2..0000000 --- a/lib/logger.gemspec +++ /dev/null @@ -1,28 +0,0 @@ https://github.com/ruby/ruby/blob/trunk/lib/e2mmap/e2mmap.gemspec#L0 -begin - require_relative "lib/logger/version" -rescue LoadError # Fallback to load version file in ruby core repository - require_relative "logger/version" -end - -Gem::Specification.new do |spec| - spec.name = "logger" - spec.version = Logger::VERSION - spec.authors = ["SHIBATA Hiroshi"] - spec.email = ["hsbt@r..."] - - spec.summary = %q{Provides a simple logging utility for outputting messages.} - spec.description = %q{Provides a simple logging utility for outputting messages.} - spec.homepage = "https://github.com/ruby/logger" - spec.license = "BSD-2-Clause" - - spec.files = ["Gemfile", "LICENSE.txt", "README.md", "Rakefile", "lib/logger.rb", "logger.gemspec"] - spec.bindir = "exe" - spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } - spec.require_paths = ["lib"] - - spec.required_ruby_version = ">= 2.3.0" - - spec.add_development_dependency "bundler", ">= 0" - spec.add_development_dependency "rake", "~> 10.0" - spec.add_development_dependency "minitest", "~> 5.0" -end diff --git a/lib/logger/logger.gemspec b/lib/logger/logger.gemspec new file mode 100644 index 0000000..53ed1e2 --- /dev/null +++ b/lib/logger/logger.gemspec @@ -0,0 +1,28 @@ https://github.com/ruby/ruby/blob/trunk/lib/logger/logger.gemspec#L1 +begin + require_relative "lib/logger/version" +rescue LoadError # Fallback to load version file in ruby core repository + require_relative "logger/version" +end + +Gem::Specification.new do |spec| + spec.name = "logger" + spec.version = Logger::VERSION + spec.authors = ["SHIBATA Hiroshi"] + spec.email = ["hsbt@r..."] + + spec.summary = %q{Provides a simple logging utility for outputting messages.} + spec.description = %q{Provides a simple logging utility for outputting messages.} + spec.homepage = "https://github.com/ruby/logger" + spec.license = "BSD-2-Clause" + + spec.files = ["Gemfile", "LICENSE.txt", "README.md", "Rakefile", "lib/logger.rb", "logger.gemspec"] + spec.bindir = "exe" + spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } + spec.require_paths = ["lib"] + + spec.required_ruby_version = ">= 2.3.0" + + spec.add_development_dependency "bundler", ">= 0" + spec.add_development_dependency "rake", "~> 10.0" + spec.add_development_dependency "minitest", "~> 5.0" +end -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/