Skip to content

Commit 194a77f

Browse files
committed
gemspec URL fixes
1 parent 7d8ffc5 commit 194a77f

File tree

2 files changed

+10
-13
lines changed

2 files changed

+10
-13
lines changed

bin/console

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env ruby
22

33
require "bundler/setup"
4-
require "protobuf/nested/struct"
4+
require "protobuf_nested_struct"
55

66
# You can add fixtures and/or initialization code here to make experimenting
77
# with your gem easier. You can also use a different console, if you like.

protobuf_nested_struct.gemspec

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,15 @@ Gem::Specification.new do |spec|
99
spec.authors = ["Robert Pankowecki", "Arkency"]
1010
spec.email = ["[email protected]"]
1111

12-
spec.summary = %q{Serialize deep structures to protobuf}
13-
spec.description = %q{Serialize deep structures to protobuf}
14-
spec.homepage = ""
15-
16-
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
17-
# to allow pushing to a single host or delete this section to allow pushing to any host.
18-
if spec.respond_to?(:metadata)
19-
spec.metadata["allowed_push_host"] = "TODO: Set to 'http://mygemserver.com'"
20-
else
21-
raise "RubyGems 2.0 or newer is required to protect against " \
22-
"public gem pushes."
23-
end
12+
spec.summary = %q{Serialize primitives and deep structures (array, hash) to protobuf}
13+
spec.description = %q{Serialize primitives and deep structures (array, hash) to protobuf}
14+
spec.homepage = "https://github.com/arkency/protobuf-nested-struct"
15+
spec.metadata = {
16+
"homepage_uri" => "https://github.com/arkency/protobuf-nested-struct",
17+
"changelog_uri" => "https://github.com/arkency/protobuf-nested-struct/releases",
18+
"source_code_uri" => "https://github.com/arkency/protobuf-nested-struct",
19+
"bug_tracker_uri" => "https://github.com/arkency/protobuf-nested-struct/issues",
20+
}
2421

2522
spec.files = `git ls-files -z`.split("\x0").reject do |f|
2623
f.match(%r{^(test|spec|features)/})

0 commit comments

Comments
 (0)