Skip to content

Commit

Permalink
Update gemspec metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
presidentbeef committed Nov 25, 2019
1 parent 221bb9e commit 0d9d3d0
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 6 deletions.
13 changes: 10 additions & 3 deletions brakeman-lib.gemspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
require './lib/brakeman/version'
require './gem_common'
gem_priv_key = File.expand_path("~/.ssh/gem-private_key.pem")

Gem::Specification.new do |s|
s.name = %q{brakeman-lib}
Expand All @@ -13,8 +12,16 @@ Gem::Specification.new do |s|
s.files = ["bin/brakeman", "CHANGES.md", "FEATURES", "README.md"] + Dir["lib/**/*"]
s.executables = ["brakeman"]
s.license = "Brakeman Public Use License"
s.cert_chain = ['brakeman-public_cert.pem']
s.signing_key = gem_priv_key if File.exist? gem_priv_key and $0 =~ /gem\z/

s.metadata = {
"bug_tracker_uri" => "https://github.com/presidentbeef/brakeman/issues",
"changelog_uri" => "https://github.com/presidentbeef/brakeman/releases",
"documentation_uri" => "https://brakemanscanner.org/docs/",
"homepage_uri" => "https://brakemanscanner.org/",
"mailing_list_uri" => "https://gitter.im/presidentbeef/brakeman",
"source_code_uri" => "https://github.com/presidentbeef/brakeman",
"wiki_uri" => "https://github.com/presidentbeef/brakeman/wiki"
}

Brakeman::GemDependencies.dev_dependencies(s)
Brakeman::GemDependencies.base_dependencies(s)
Expand Down
13 changes: 10 additions & 3 deletions brakeman-min.gemspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
require './lib/brakeman/version'
require './gem_common'
gem_priv_key = File.expand_path("~/.ssh/gem-private_key.pem")

Gem::Specification.new do |s|
s.name = %q{brakeman-min}
Expand All @@ -13,8 +12,16 @@ Gem::Specification.new do |s|
s.files = ["bin/brakeman", "CHANGES.md", "FEATURES", "README.md"] + Dir["lib/**/*"]
s.executables = ["brakeman"]
s.license = "Brakeman Public Use License"
s.cert_chain = ['brakeman-public_cert.pem']
s.signing_key = gem_priv_key if File.exist? gem_priv_key and $0 =~ /gem\z/

s.metadata = {
"bug_tracker_uri" => "https://github.com/presidentbeef/brakeman/issues",
"changelog_uri" => "https://github.com/presidentbeef/brakeman/releases",
"documentation_uri" => "https://brakemanscanner.org/docs/",
"homepage_uri" => "https://brakemanscanner.org/",
"mailing_list_uri" => "https://gitter.im/presidentbeef/brakeman",
"source_code_uri" => "https://github.com/presidentbeef/brakeman",
"wiki_uri" => "https://github.com/presidentbeef/brakeman/wiki"
}

Brakeman::GemDependencies.dev_dependencies(s)
Brakeman::GemDependencies.base_dependencies(s)
Expand Down
10 changes: 10 additions & 0 deletions brakeman.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,16 @@ Gem::Specification.new do |s|
s.license = "Brakeman Public Use License"
s.required_ruby_version = '>= 2.3.0'

s.metadata = {
"bug_tracker_uri" => "https://github.com/presidentbeef/brakeman/issues",
"changelog_uri" => "https://github.com/presidentbeef/brakeman/releases",
"documentation_uri" => "https://brakemanscanner.org/docs/",
"homepage_uri" => "https://brakemanscanner.org/",
"mailing_list_uri" => "https://gitter.im/presidentbeef/brakeman",
"source_code_uri" => "https://github.com/presidentbeef/brakeman",
"wiki_uri" => "https://github.com/presidentbeef/brakeman/wiki"
}

if File.exist? 'bundle/load.rb'
# Pull in vendored dependencies
s.files << 'bundle/load.rb'
Expand Down

0 comments on commit 0d9d3d0

Please sign in to comment.