ns.gemspec in ns-yapi-0.5.0 vs ns.gemspec in ns-yapi-0.6.0

- old
+ new

@@ -1,23 +1,25 @@ -# -*- encoding: 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) Gem::Specification.new do |gem| - gem.name = "ns-yapi" - gem.version = '0.5.0' - gem.authors = ["Stefan Hendriks", "Derek Kraan", "Bob Forma"] - gem.email = ["stefanhen83@gmail.com"] - gem.description = %q{Yet Another (Ruby) NS API client} - gem.summary = %q{A Ruby client for the NS (Dutch Railways) API} - gem.homepage = "https://github.com/zilverline/ns-api" + gem.name = 'ns-yapi' + gem.license = 'MIT' + gem.version = '0.6.0' + gem.authors = ['Stefan Hendriks', 'Derek Kraan', 'Bob Forma'] + gem.email = ['info@zilverline.com'] + gem.description = 'Yet Another (Ruby) NS API client' + gem.summary = 'A Ruby client for the NS (Dutch Railways) API' + gem.homepage = 'https://github.com/zilverline/ns-api' - gem.files = `git ls-files`.split($/) - gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) } + gem.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR) + gem.executables = gem.files.grep(%r{^bin/}).map { |f| File.basename(f) } gem.test_files = gem.files.grep(%r{^(test|spec|features)/}) - gem.require_paths = ["lib"] + gem.require_paths = ['lib'] gem.add_dependency 'addressable' - gem.add_dependency 'httpclient' - gem.add_dependency 'nori' gem.add_dependency 'nokogiri' + gem.add_dependency 'nori' + gem.add_dependency 'rest-client' end