servicenow.gemspec in servicenow-1.1.2 vs servicenow.gemspec in servicenow-1.1.3
- old
+ new
@@ -1,7 +1,6 @@
-# coding: utf-8
-lib = File.expand_path('../lib', __FILE__)
+lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'base64'
require 'servicenow/version'
@@ -9,12 +8,12 @@
spec.name = 'servicenow'
spec.version = Servicenow::VERSION
spec.authors = ['rubyisbeautiful']
spec.email = ['YmNwdGF5bG9yQGdtYWlsLmNvbQ==\n'].collect{ |foo| Base64.decode64(foo) }
- spec.summary = %q{Simple WIP REST API client for ServiceNow}
- spec.description = %q{This REST API client for ServiceNow is a work in progress}
+ spec.summary = 'Simple WIP REST API client for ServiceNow'
+ spec.description = 'This REST API client for ServiceNow is a work in progress'
spec.homepage = 'https://github.com/rubyisbeautiful/servicenow'
spec.license = 'MIT'
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
# to allow pushing to a single host or delete this section to allow pushing to any host.
@@ -23,10 +22,10 @@
else
raise 'RubyGems 2.0 or newer is required to protect against ' \
'public gem pushes.'
end
- spec.files = `git ls-files -z`.split("\x0").reject do |f|
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
f.match(%r{^(test|spec|features)/})
end
spec.bindir = 'exe'
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ['lib']