relaton_iso_bib.gemspec in relaton-iso-bib-0.9.2 vs relaton_iso_bib.gemspec in relaton-iso-bib-1.0.0
- old
+ new
@@ -1,8 +1,8 @@
# frozen_string_literal: true
-lib = File.expand_path("../lib", __FILE__)
+lib = File.expand_path("lib", __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "relaton_iso_bib/version"
Gem::Specification.new do |spec|
spec.name = "relaton-iso-bib"
@@ -15,11 +15,11 @@
spec.homepage = "https://github.com/relaton/relaton-iso-bib"
spec.license = "BSD-2-Clause"
# Specify which files should be added to the gem when it is released.
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
- spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
+ spec.files = Dir.chdir(File.expand_path(__dir__)) do
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
end
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
@@ -33,7 +33,7 @@
spec.add_development_dependency "ruby-debug-ide"
spec.add_development_dependency "ruby-jing"
spec.add_development_dependency "simplecov"
spec.add_dependency "isoics", "~> 0.1.6"
- spec.add_dependency "relaton-bib", "~> 0.9.0"
+ spec.add_dependency "relaton-bib", "~> 1.0.0"
end