clean-architecture.gemspec in clean-architecture-5.0.1 vs clean-architecture.gemspec in clean-architecture-5.0.2
- old
+ new
@@ -12,9 +12,16 @@
spec.summary = 'Bellroy Clean Architecture Framework'
spec.description = 'An attempt at building a reusable Clean Architecture framework for Ruby'
spec.homepage = 'https://bellroy.com'
+ if spec.respond_to?(:metadata)
+ spec.metadata['allowed_push_host'] = 'https://rubygems.org'
+ 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|
f.match(%r{^(test|spec|features)/})
end
spec.require_paths = ['lib']