ykxutils.gemspec in ykxutils-0.1.7 vs ykxutils.gemspec in ykxutils-0.1.8
- old
+ new
@@ -1,47 +1,54 @@
# frozen_string_literal: true
-require_relative "lib/ykxutils/version"
+require_relative 'lib/ykxutils/version'
Gem::Specification.new do |spec|
- spec.name = "ykxutils"
- spec.version = Ykxutils::VERSION
- spec.authors = ["ykominami"]
- spec.email = ["ykominami@gmail.com"]
+ spec.name = 'ykxutils'
+ spec.version = Ykxutils::VERSION
+ spec.authors = ['ykominami']
+ spec.email = ['ykominami@gmail.com']
- spec.summary = "New version of utilty function created by yk."
- spec.description = "New version of utilty function created by yk."
- spec.homepage = "https://ykominami.github.io/ykxutils"
- spec.license = "MIT"
- spec.required_ruby_version = Gem::Requirement.new(">= 2.6")
+ spec.summary = 'New version of utilty function created by yk.'
+ spec.description = 'New version of utilty function created by yk.'
+ spec.homepage = 'https://ykominami.github.io/ykxutils'
+ spec.license = 'MIT'
+ spec.required_ruby_version = '>= 2.7'
- # spec.metadata["allowed_push_host"] = "TODO: Set to 'http://mygemserver.com'"
+ # spec.metadata["allowed_push_host"] = "TODO: Set to your gem server 'https://example.com'"
- spec.metadata["homepage_uri"] = spec.homepage
- spec.metadata["source_code_uri"] = "https://github.com/ykominami/ykxutils"
+ spec.metadata['homepage_uri'] = spec.homepage
+ spec.metadata['source_code_uri'] = 'https://github.com/ykominami/ykxutils'
# spec.metadata["changelog_uri"] = "TODO: Put your gem's CHANGELOG.md URL here."
# 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(__dir__)) do
- `git ls-files -z`.split("\x0").reject { |f| f.match(%r{\A(?:test|spec|features)/}) }
+ `git ls-files -z`.split("\x0").reject do |f|
+ (f == __FILE__) || f.match(%r{\A(?:(?:bin|test|spec|features)/|\.(?:git|travis|circleci)|appveyor)})
+ end
end
- spec.bindir = "exe"
- spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
- spec.require_paths = ["lib"]
+ spec.bindir = 'exe'
+ spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
+ spec.require_paths = ['lib']
- spec.add_development_dependency "bundler"
- spec.add_development_dependency "rake", "~> 13.0"
- spec.add_development_dependency "rspec", "~> 3.0"
+ spec.add_runtime_dependency 'bundler'
+ # spec.add_runtime_dependency 'debug'
+ spec.add_runtime_dependency 'erubi'
+ spec.add_runtime_dependency 'rake', '~> 13.0'
+ spec.add_runtime_dependency 'tilt'
- spec.add_development_dependency "rubocop", "~> 1.7"
- spec.add_development_dependency "rubocop-rake"
- spec.add_development_dependency "rubocop-rspec"
+ spec.add_development_dependency 'rspec', '~> 3.0'
+ spec.add_development_dependency 'rubocop'
+ spec.add_development_dependency 'rubocop-performance'
+ spec.add_development_dependency 'rubocop-rake'
+ spec.add_development_dependency 'rubocop-rspec'
- spec.add_development_dependency "yard"
+ spec.add_development_dependency 'yard'
+
# Uncomment to register a new dependency of your gem
# spec.add_dependency "example-gem", "~> 1.0"
- # For more information and examples about making a new gem, checkout our
+ # For more information and examples about making a new gem, check out our
# guide at: https://bundler.io/guides/creating_gem.html
- spec.metadata["rubygems_mfa_required"] = "true"
+ spec.metadata['rubygems_mfa_required'] = 'true'
end