atol-rb.gemspec in atol-0.7 vs atol-rb.gemspec in atol-0.7.1

- old
+ new

@@ -1,22 +1,23 @@ # 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 'atol/version' Gem::Specification.new do |spec| - spec.name = 'atol' - spec.version = Atol::Version::LIB - spec.authors = ['GeorgeGorbanev'] - spec.email = ['GeorgeGorbanev@gmail.com'] + spec.name = 'atol' + spec.version = Atol::Version::LIB + spec.authors = ['GeorgeGorbanev'] + spec.email = ['GeorgeGorbanev@gmail.com'] - spec.summary = 'ATOL KaaS client for Ruby' - spec.homepage = 'https://github.com/sputnik8/atol-rb' - spec.license = 'MIT' + spec.summary = 'ATOL KaaS client for Ruby' + spec.homepage = 'https://github.com/sputnik8/atol-rb' + spec.license = 'MIT' + spec.required_ruby_version = '>= 2.5.0' - spec.files = `git ls-files -z`.split("\x0").reject do |f| + spec.files = `git ls-files -z`.split("\x0").reject do |f| f.match(%r{^(test|spec|features)/}) end spec.bindir = 'exe' spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } @@ -25,8 +26,8 @@ spec.add_dependency 'anyway_config', '~> 1.0' spec.add_development_dependency 'bundler', '~> 1.15' spec.add_development_dependency 'rake', '~> 13.0' spec.add_development_dependency 'rspec', '~> 3.0' - spec.add_development_dependency 'rubocop', '~> 0.52' + spec.add_development_dependency 'rubocop', '~> 0.90' spec.add_development_dependency 'webmock', '~> 3.0' end