Add source code and changelog links to gemspecs

This commit is contained in:
Grey Baker 2017-06-27 11:06:28 +01:00
parent 61cc630ac7
commit 3e6ce1cd69
8 changed files with 40 additions and 0 deletions

View File

@ -18,6 +18,11 @@ Gem::Specification.new do |s|
s.files = Dir["CHANGELOG.md", "MIT-LICENSE", "README.md", "lib/**/*"]
s.require_path = "lib"
s.metadata = {
"source_code_uri" => "https://github.com/rails/rails/tree/v#{version}/actioncable",
"changelog_uri" => "https://github.com/rails/rails/blob/v#{version}/actioncable/CHANGELOG.md"
}
s.add_dependency "actionpack", version
s.add_dependency "nio4r", "~> 2.0"

View File

@ -19,6 +19,11 @@ Gem::Specification.new do |s|
s.require_path = "lib"
s.requirements << "none"
s.metadata = {
"source_code_uri" => "https://github.com/rails/rails/tree/v#{version}/actionmailer",
"changelog_uri" => "https://github.com/rails/rails/blob/v#{version}/actionmailer/CHANGELOG.md"
}
s.add_dependency "actionpack", version
s.add_dependency "actionview", version
s.add_dependency "activejob", version

View File

@ -19,6 +19,11 @@ Gem::Specification.new do |s|
s.require_path = "lib"
s.requirements << "none"
s.metadata = {
"source_code_uri" => "https://github.com/rails/rails/tree/v#{version}/actionpack",
"changelog_uri" => "https://github.com/rails/rails/blob/v#{version}/actionpack/CHANGELOG.md"
}
s.add_dependency "activesupport", version
s.add_dependency "rack", "~> 2.0"

View File

@ -19,6 +19,11 @@ Gem::Specification.new do |s|
s.require_path = "lib"
s.requirements << "none"
s.metadata = {
"source_code_uri" => "https://github.com/rails/rails/tree/v#{version}/actionview",
"changelog_uri" => "https://github.com/rails/rails/blob/v#{version}/actionview/CHANGELOG.md"
}
s.add_dependency "activesupport", version
s.add_dependency "builder", "~> 3.1"

View File

@ -18,6 +18,11 @@ Gem::Specification.new do |s|
s.files = Dir["CHANGELOG.md", "MIT-LICENSE", "README.md", "lib/**/*"]
s.require_path = "lib"
s.metadata = {
"source_code_uri" => "https://github.com/rails/rails/tree/v#{version}/activejob",
"changelog_uri" => "https://github.com/rails/rails/blob/v#{version}/activejob/CHANGELOG.md"
}
s.add_dependency "activesupport", version
s.add_dependency "globalid", ">= 0.3.6"
end

View File

@ -18,5 +18,10 @@ Gem::Specification.new do |s|
s.files = Dir["CHANGELOG.md", "MIT-LICENSE", "README.rdoc", "lib/**/*"]
s.require_path = "lib"
s.metadata = {
"source_code_uri" => "https://github.com/rails/rails/tree/v#{version}/activemodel",
"changelog_uri" => "https://github.com/rails/rails/blob/v#{version}/activemodel/CHANGELOG.md"
}
s.add_dependency "activesupport", version
end

View File

@ -21,6 +21,11 @@ Gem::Specification.new do |s|
s.extra_rdoc_files = %w(README.rdoc)
s.rdoc_options.concat ["--main", "README.rdoc"]
s.metadata = {
"source_code_uri" => "https://github.com/rails/rails/tree/v#{version}/activerecord",
"changelog_uri" => "https://github.com/rails/rails/blob/v#{version}/activerecord/CHANGELOG.md"
}
s.add_dependency "activesupport", version
s.add_dependency "activemodel", version

View File

@ -20,6 +20,11 @@ Gem::Specification.new do |s|
s.rdoc_options.concat ["--encoding", "UTF-8"]
s.metadata = {
"source_code_uri" => "https://github.com/rails/rails/tree/v#{version}/activesupport",
"changelog_uri" => "https://github.com/rails/rails/blob/v#{version}/activesupport/CHANGELOG.md"
}
s.add_dependency "i18n", "~> 0.7"
s.add_dependency "tzinfo", "~> 1.1"
s.add_dependency "minitest", "~> 5.1"