aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel
diff options
context:
space:
mode:
authorRafael França <rafaelmfranca@gmail.com>2017-06-28 11:24:02 -0400
committerGitHub <noreply@github.com>2017-06-28 11:24:02 -0400
commitcf8c46938b84f01fc014fa35021da610daf71ab2 (patch)
tree7d0e6467b6a3aeb90b3fe98d48fa305941554643 /activemodel
parentb64a66a1fee2dd37913cb3a449e453403eb91a79 (diff)
parent3e6ce1cd698878d3324a5eda32bd600bfcb909f8 (diff)
downloadrails-cf8c46938b84f01fc014fa35021da610daf71ab2.tar.gz
rails-cf8c46938b84f01fc014fa35021da610daf71ab2.tar.bz2
rails-cf8c46938b84f01fc014fa35021da610daf71ab2.zip
Merge pull request #29588 from greysteil/add-gemspec-links
Add source code and changelog links to gemspecs
Diffstat (limited to 'activemodel')
-rw-r--r--activemodel/activemodel.gemspec5
1 files changed, 5 insertions, 0 deletions
diff --git a/activemodel/activemodel.gemspec b/activemodel/activemodel.gemspec
index 43f1e09c77..18a35678f1 100644
--- a/activemodel/activemodel.gemspec
+++ b/activemodel/activemodel.gemspec
@@ -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