trav3.gemspec in trav3-0.2.0 vs trav3.gemspec in trav3-0.2.1

- old
+ new

@@ -1,31 +1,30 @@ - -lib = File.expand_path("../lib", __FILE__) +lib = File.expand_path('lib', __dir__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) -require "trav3/version" +require 'trav3/version' Gem::Specification.new do |spec| - spec.name = "trav3" + spec.name = 'trav3' spec.version = Trav3::VERSION - spec.authors = ["Daniel P. Clark"] - spec.email = ["6ftdan@gmail.com"] + spec.authors = ['Daniel P. Clark'] + spec.email = ['6ftdan@gmail.com'] - spec.summary = %q{Simple Travis V3 API Client} - spec.description = %q{A Simple client abstraction for the Travis V3 API} - spec.homepage = "https://github.com/danielpclark/trav3" - spec.license = "MIT" + spec.summary = 'Simple Travis V3 API Client' + spec.description = 'A Simple client abstraction for the Travis V3 API' + spec.homepage = 'https://github.com/danielpclark/trav3' + spec.license = 'MIT' spec.files = `git ls-files -z`.split("\x0").reject do |f| - f.match(%r{^(test|spec|features)/}) + f.match(/^(test|spec|features)\//) end - spec.bindir = "exe" - spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } - spec.require_paths = ["lib"] + spec.bindir = 'exe' + spec.executables = spec.files.grep(/^exe\//) { |f| File.basename(f) } + spec.require_paths = ['lib'] # Generate YARD DOC on install - spec.metadata["yard.run"] = "yri" + spec.metadata['yard.run'] = 'yri' - spec.add_development_dependency "bundler", "~> 1.16" - spec.add_development_dependency "rake", "~> 10.0" - spec.add_development_dependency "rspec", "~> 3.8" - spec.add_development_dependency "factory_bot", "~> 4.11" + spec.add_development_dependency 'bundler', '~> 1.16' + spec.add_development_dependency 'factory_bot', '~> 4.11' + spec.add_development_dependency 'rake', '~> 10.0' + spec.add_development_dependency 'rspec', '~> 3.8' end