boletosimples.gemspec in boletosimples-0.4.2 vs boletosimples.gemspec in boletosimples-0.5.0

- old
+ new

@@ -11,18 +11,18 @@ gem.email = ['kivanio@gmail.com', 'contato@rafael.adm.br', 'contato@thiagobelem.net'] gem.description = 'Boleto Simples API wrapper.' gem.summary = 'Boleto Simples API wrapper.' gem.homepage = 'https://github.com/BoletoSimples/boletosimples-ruby' - gem.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR) - gem.executables = gem.files.grep(/^bin\//).map { |f| File.basename(f) } - gem.test_files = gem.files.grep(/^(test|spec|features)\//) + gem.files = `git ls-files -z`.split("\x0").reject do |f| + f.match(%r{^(spec|features)/}) + end + + gem.test_files = `git ls-files -- {spec,features}/*`.split("\n") gem.require_paths = ['lib'] - gem.required_ruby_version = '>= 2.0' - # Gems that must be intalled for boletosimples to work - gem.add_dependency 'her', '~> 0.10' + gem.add_dependency 'her', '~> 1.0' gem.add_dependency 'faraday_middleware', '~> 0.12' gem.add_dependency 'faraday-http-cache', '~> 2.0.0' # Gems that must be installed for boletosimples to compile and build gem.add_development_dependency 'pry'