logging_library.gemspec in logging_library-1.3.0 vs logging_library.gemspec in logging_library-2.0.0

- old
+ new

@@ -1,8 +1,9 @@ # coding: utf-8 +# 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 'logging_library/version' Gem::Specification.new do |spec| spec.name = 'logging_library' @@ -19,15 +20,16 @@ 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.3.0' spec.add_runtime_dependency 'mixlib-log', '~> 1.7' spec.add_runtime_dependency 'rainbow', '>= 2.2' spec.add_development_dependency 'bundler', '~> 1.13' spec.add_development_dependency 'rake', '~> 12.3' spec.add_development_dependency 'rspec', '~> 3.5' - spec.add_development_dependency 'rubocop', '~> 0.50', '< 0.51' + spec.add_development_dependency 'rubocop', '~> 0.54' spec.add_development_dependency 'yard', '~> 0.9' end