mutils.gemspec in mutils-0.2.25 vs mutils.gemspec in mutils-0.2.27
- old
+ new
@@ -1,6 +1,8 @@
-lib = File.expand_path('../lib', __FILE__)
+# frozen_string_literal: true
+
+lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'mutils/version'
Gem::Specification.new do |spec|
spec.name = 'mutils'
@@ -10,23 +12,26 @@
spec.summary = 'mutils Utilities for rails app'
spec.description = 'mutils Utilities for rails app'
spec.homepage = 'https://github.com/niteshpurohit/mutils'
spec.license = 'MIT'
- 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']
spec.required_ruby_version = '>= 2.5.0'
spec.required_rubygems_version = '>= 1.8.11'
+ spec.add_runtime_dependency('activesupport', ['>= 4.2'])
spec.add_development_dependency 'bundler', '~> 2.0'
+ spec.add_development_dependency 'coveralls'
spec.add_development_dependency 'rake', '~> 10.0'
- spec.add_runtime_dependency('activesupport', ['>= 4.2'])
+ spec.add_development_dependency 'rspec-json_expectations'
spec.add_development_dependency 'rspec-rails'
+ spec.add_development_dependency 'rspec-xml_helpers'
spec.metadata = {
- "bug_tracker_uri" => "https://github.com/niteshpurohit/mutils/issues",
- "source_code_uri" => "https://github.com/niteshpurohit/mutils/tree/v#{Mutils::VERSION}"
+ 'bug_tracker_uri' => 'https://github.com/niteshpurohit/mutils/issues',
+ 'source_code_uri' => "https://github.com/niteshpurohit/mutils/tree/v#{Mutils::VERSION}"
}
end