telegram-bot-ruby.gemspec in telegram-bot-ruby-0.18.0 vs telegram-bot-ruby.gemspec in telegram-bot-ruby-0.19.0

- 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 'telegram/bot/version' Gem::Specification.new do |spec| @@ -15,15 +17,16 @@ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) } spec.bindir = 'exe' spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } spec.require_paths = ['lib'] + spec.add_dependency 'dry-inflector' spec.add_dependency 'faraday', '~> 1.0' spec.add_dependency 'virtus', '~> 2.0' - spec.add_dependency 'dry-inflector' - spec.add_development_dependency 'rake', '~> 13.0' spec.add_development_dependency 'pry' - spec.add_development_dependency 'rubocop', '~> 0.48.1' + spec.add_development_dependency 'rake', '~> 13.0' spec.add_development_dependency 'rspec', '~> 3.4' - spec.add_development_dependency 'rubocop-rspec', '~> 1.8' + spec.add_development_dependency 'rubocop', '~> 1.27' + spec.add_development_dependency 'rubocop-rake' + spec.add_development_dependency 'rubocop-rspec', '~> 2.10' end