log_tribe.gemspec in log_tribe-0.2.8 vs log_tribe.gemspec in log_tribe-0.2.9
- old
+ new
@@ -14,14 +14,11 @@
spec.homepage = 'https://github.com/fenicks/log_tribe'
spec.license = 'MIT'
# Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
# delete this section to allow pushing this gem to any host.
- if spec.respond_to?(:metadata)
- spec.metadata['allowed_push_host'] = 'https://rubygems.org'
- else
- fail 'RubyGems 2.0 or newer is required to protect against public gem pushes.'
- end
+ fail 'RubyGems 2.0 or newer is required to protect against public gem pushes.' unless spec.respond_to?(:metadata)
+ spec.metadata['allowed_push_host'] = 'https://rubygems.org'
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
spec.bindir = 'bin'
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.require_paths = ['lib']