dry-inflector.gemspec in dry-inflector-0.2.0 vs dry-inflector.gemspec in dry-inflector-0.2.1
- old
+ new
@@ -1,36 +1,36 @@
-
# frozen_string_literal: true
-lib = File.expand_path("../lib", __FILE__)
+# this file is synced from dry-rb/template-gem project
+
+lib = File.expand_path("lib", __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "dry/inflector/version"
Gem::Specification.new do |spec|
spec.name = "dry-inflector"
- spec.version = Dry::Inflector::VERSION
spec.authors = ["Luca Guidi", "Andrii Savchenko", "Abinoam P. Marques Jr."]
spec.email = ["me@lucaguidi.com", "andrey@aejis.eu", "abinoam@gmail.com"]
-
- spec.summary = "DRY Inflector"
- spec.description = "String inflections for dry-rb"
- spec.homepage = "https://dry-rb.org"
spec.license = "MIT"
+ spec.version = Dry::Inflector::VERSION.dup
+ spec.summary = "String inflections for dry-rb"
+ spec.description = spec.summary
+ spec.homepage = "https://dry-rb.org/gems/dry-inflector"
+ spec.files = Dir["CHANGELOG.md", "LICENSE", "README.md", "dry-inflector.gemspec", "lib/**/*"]
+ spec.bindir = "bin"
+ spec.executables = []
+ spec.require_paths = ["lib"]
+
spec.metadata["allowed_push_host"] = "https://rubygems.org"
- spec.metadata["changelog_uri"] = "https://github.com/dry-rb/dry-inflector/blob/master/CHANGELOG.md"
- spec.metadata["source_code_uri"] = "https://github.com/dry-rb/dry-inflector"
- spec.metadata["bug_tracker_uri"] = "https://github.com/dry-rb/dry-inflector/issues"
+ spec.metadata["changelog_uri"] = "https://github.com/dry-rb/dry-inflector/blob/master/CHANGELOG.md"
+ spec.metadata["source_code_uri"] = "https://github.com/dry-rb/dry-inflector"
+ spec.metadata["bug_tracker_uri"] = "https://github.com/dry-rb/dry-inflector/issues"
- spec.bindir = "exe"
- spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
- spec.require_paths = ["lib"]
+ spec.required_ruby_version = ">= 2.6.0"
- spec.files = `git ls-files -- lib/* CHANGELOG.md LICENSE.md README.md dry-inflector.gemspec`.split($INPUT_RECORD_SEPARATOR)
- spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
- spec.required_ruby_version = '>= 2.4'
+ # to update dependencies edit project.yml
spec.add_development_dependency "bundler"
- spec.add_development_dependency "rake", "~> 12.0"
- spec.add_development_dependency "rspec", "~> 3.7"
- spec.add_development_dependency "rubocop", "~> 0.50.0"
+ spec.add_development_dependency "rake"
+ spec.add_development_dependency "rspec"
end