kpm.gemspec in kpm-0.7.2 vs kpm.gemspec in kpm-0.8.0

- old
+ new

@@ -1,5 +1,7 @@ +# frozen_string_literal: true + # # Copyright 2014 The Billing Project, LLC # # The Billing Project licenses this file to you under the Apache License, version 2.0 # (the "License"); you may not use this file except in compliance with the @@ -12,11 +14,11 @@ # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # License for the specific language governing permissions and limitations # under the License. # -$LOAD_PATH.unshift File.expand_path('../lib', __FILE__) +$LOAD_PATH.unshift File.expand_path('lib', __dir__) require 'kpm/version' Gem::Specification.new do |s| s.name = 'kpm' s.version = KPM::VERSION @@ -32,19 +34,19 @@ s.homepage = 'http://kill-bill.org' s.files = `git ls-files`.split("\n") s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n") s.bindir = 'bin' - s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) } - s.require_paths = ["lib"] + s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) } + s.require_paths = ['lib'] s.rdoc_options << '--exclude' << '.' s.add_dependency 'highline', '~> 1.6.21' - s.add_dependency 'thor', '~> 0.19.1' + s.add_dependency 'killbill-client', '~> 3.2' s.add_dependency 'rubyzip', '~>1.2.0' - s.add_dependency 'killbill-client', '~> 2.5.0' + s.add_dependency 'thor', '~> 0.19.1' s.add_development_dependency 'rake', '>= 10.0.0', '< 11.0.0' s.add_development_dependency 'rspec', '~> 2.12.0' + s.add_development_dependency 'rubocop', '~> 0.74.0' if RUBY_VERSION >= '2.3' end -