triviacrack.gemspec in triviacrack-0.6.0 vs triviacrack.gemspec in triviacrack-0.7.0

- old
+ new

@@ -1,32 +1,33 @@ -# coding: utf-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 'triviacrack/version' Gem::Specification.new do |spec| - spec.name = "triviacrack" + spec.name = 'triviacrack' spec.version = TriviaCrack::VERSION - spec.authors = ["David Kus"] - spec.email = ["david@kus.dk"] - spec.summary = %q{A Ruby interface to the Trivia Crack API.} - spec.description = %q{A Ruby interface to the Trivia Crack API.} - spec.homepage = "https://github.com/davidkus/triviacrack" - spec.license = "MIT" + spec.authors = ['David Kus'] + spec.email = ['david@kus.dk'] + spec.summary = 'A Ruby interface to the Trivia Crack API.' + spec.description = 'A Ruby interface to the Trivia Crack API.' + spec.homepage = 'https://github.com/davidkus/triviacrack' + spec.license = 'MIT' spec.files = `git ls-files -z`.split("\x0") spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) } - spec.test_files = spec.files.grep(%r{^(test|spec|features)/}) - spec.require_paths = ["lib"] + spec.require_paths = ['lib'] - spec.required_ruby_version = ">= 2.0" + spec.required_ruby_version = '>= 2.5' - spec.add_development_dependency "bundler", "~> 2.2.27" - spec.add_development_dependency "simplecov", "~> 0.21.2" - spec.add_development_dependency "rake", "~> 13.0.6" - spec.add_development_dependency "rspec", "~> 3.10.0" - spec.add_development_dependency "rspec-its", "~> 1.3.0" - spec.add_development_dependency "fuubar", "~> 2.5.1" + spec.add_development_dependency 'bundler', '~> 2.3.18' + spec.add_development_dependency 'fuubar', '~> 2.5.1' + spec.add_development_dependency 'rake', '~> 13.0.6' + spec.add_development_dependency 'rspec', '~> 3.10.0' + spec.add_development_dependency 'rspec-its', '~> 1.3.0' + spec.add_development_dependency 'rubocop', '~> 1.31.2' + spec.add_development_dependency 'simplecov', '~> 0.21.2' - spec.add_dependency "json", "~> 2.5.1" - spec.add_dependency "faraday", "~> 1.7.2" + spec.add_dependency 'faraday', '~> 1.7.2' + spec.add_dependency 'json', '~> 2.5.1' end