Skip to content

Commit e65dfd2

Browse files
committed
Setting metadata
1 parent b6c2fa0 commit e65dfd2

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

is_array.gemspec

+3-11
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,11 @@ Gem::Specification.new do |spec|
99
spec.authors = ["Dan Garland"]
1010
spec.email = ["[email protected]"]
1111

12-
spec.summary = %q{TODO: Write a short summary, because Rubygems requires one.}
13-
spec.description = %q{TODO: Write a longer description or delete this line.}
14-
spec.homepage = "TODO: Put your gem's website or public repo URL here."
12+
spec.summary = %q{Determines whether the arguemnet is an Array object}
13+
spec.description = %q{Not sure whether an object is a array? Look no further...}
14+
spec.homepage = "https://github.com/dmgarland/is_array"
1515
spec.license = "MIT"
1616

17-
# Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
18-
# delete this section to allow pushing this gem to any host.
19-
if spec.respond_to?(:metadata)
20-
spec.metadata['allowed_push_host'] = "TODO: Set to 'http://mygemserver.com'"
21-
else
22-
raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
23-
end
24-
2517
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
2618
spec.bindir = "exe"
2719
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }

0 commit comments

Comments
 (0)