ruby_px.gemspec in ruby_px-0.5.0 vs ruby_px.gemspec in ruby_px-0.6.0
- old
+ new
@@ -1,34 +1,35 @@
-# coding: utf-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)
Gem::Specification.new do |spec|
- spec.name = "ruby_px"
- spec.version = '0.5.0'
- spec.authors = ["Fernando Blat"]
- spec.email = ["ferblape@gmail.com"]
+ spec.name = 'ruby_px'
+ spec.version = '0.6.0'
+ spec.authors = ['Fernando Blat']
+ spec.email = ['fernando@blat.es']
- spec.summary = %q{Read PC-Axis files using Ruby}
- spec.description = %q{Read PC-Axis files using Ruby}
- spec.homepage = "https://github.com/PopulateTools/ruby_px"
- spec.license = "MIT"
+ spec.summary = 'Read PC-Axis files using Ruby'
+ spec.description = 'Read PC-Axis files using Ruby'
+ spec.homepage = 'https://github.com/PopulateTools/ruby_px'
+ spec.license = 'MIT'
# Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
# delete this section to allow pushing this gem to any host.
if spec.respond_to?(:metadata)
- spec.metadata['allowed_push_host'] = "https://rubygems.org"
+ spec.metadata['allowed_push_host'] = 'https://rubygems.org'
else
- raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
+ raise 'RubyGems 2.0 or newer is required to protect against public gem pushes.'
end
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
- spec.bindir = "exe"
+ spec.bindir = 'exe'
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
- spec.require_paths = ["lib"]
+ spec.require_paths = ['lib']
- spec.add_runtime_dependency "activesupport", ">= 4.2.5"
+ spec.add_runtime_dependency 'activesupport', '>= 6.0'
- spec.add_development_dependency "bundler", "~> 2.0.1"
- spec.add_development_dependency "rake", "~> 12.3"
- spec.add_development_dependency "rspec", "~> 3.8"
+ spec.add_development_dependency 'bundler'
+ spec.add_development_dependency 'rake', '~> 13.0'
+ spec.add_development_dependency 'rspec', '~> 3.9'
end