Skip to content

Commit 8a02f91

Browse files
committed
Refresh gemspec
Just cleanup, no breaking changes like an explicit license or required Ruby version.
1 parent f093db6 commit 8a02f91

File tree

1 file changed

+12
-13
lines changed

1 file changed

+12
-13
lines changed

protobuf_nested_struct.gemspec

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,31 @@
1-
lib = File.expand_path("../lib", __FILE__)
2-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3-
require "protobuf_nested_struct/version"
1+
# frozen_string_literal: true
2+
3+
require_relative "lib/protobuf_nested_struct/version"
44

55
Gem::Specification.new do |spec|
66
spec.name = "protobuf_nested_struct"
77
spec.version = ProtobufNestedStruct::VERSION
88
spec.authors = ["Robert Pankowecki", "Arkency"]
99
spec.email = ["[email protected]"]
10-
1110
spec.summary =
1211
"Serialize primitives and deep structures (array, hash) to protobuf"
13-
spec.description =
14-
"Serialize primitives and deep structures (array, hash) to protobuf"
12+
spec.description = <<~EOD
13+
Serialize primitives and deep structures (array, hash) to protobuf
14+
EOD
1515
spec.homepage = "https://github.com/arkency/protobuf-nested-struct"
16+
spec.files = Dir["lib/**/*"]
17+
spec.require_paths = %w[lib]
18+
spec.extra_rdoc_files = %w[README.md]
19+
1620
spec.metadata = {
1721
"homepage_uri" => "https://github.com/arkency/protobuf-nested-struct",
1822
"changelog_uri" =>
1923
"https://github.com/arkency/protobuf-nested-struct/releases",
2024
"source_code_uri" => "https://github.com/arkency/protobuf-nested-struct",
2125
"bug_tracker_uri" =>
22-
"https://github.com/arkency/protobuf-nested-struct/issues"
26+
"https://github.com/arkency/protobuf-nested-struct/issues",
27+
"rubygems_mfa_required" => "true"
2328
}
2429

25-
spec.files =
26-
`git ls-files -z`.split("\x0")
27-
.reject { |f| f.match(%r{^(test|spec|features)/}) }
28-
spec.bindir = "exe"
29-
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
30-
spec.require_paths = ["lib"]
3130
spec.add_dependency "google-protobuf", "< 4"
3231
end

0 commit comments

Comments
 (0)