sevenwire-rubocop.gemspec in sevenwire-rubocop-1.0.3 vs sevenwire-rubocop.gemspec in sevenwire-rubocop-1.0.4
- old
+ new
@@ -1,26 +1,24 @@
-# 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 "sevenwire/rubocop/version"
Gem::Specification.new do |spec|
spec.name = "sevenwire-rubocop"
spec.version = Sevenwire::Rubocop::VERSION
spec.authors = ["Brandon Arbini", "Nick Delja"]
spec.email = ["b@sevenwire.com", "nick@sevenwire.com"]
- spec.summary = 'Shared Rubocop config.'
- spec.homepage = 'https://github.com/sevenwire/sevenwire-rubocop'
+ spec.summary = "Shared Rubocop config."
+ spec.homepage = "https://github.com/sevenwire/sevenwire-rubocop"
if spec.respond_to?(:metadata)
- spec.metadata['allowed_push_host'] = 'https://rubygems.org'
+ spec.metadata["allowed_push_host"] = "https://rubygems.org"
else
- raise "RubyGems 2.0 or newer is required to protect against " \
- "public gem pushes."
+ 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"]