aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/actionview.gemspec
diff options
context:
space:
mode:
Diffstat (limited to 'actionview/actionview.gemspec')
-rw-r--r--actionview/actionview.gemspec7
1 files changed, 6 insertions, 1 deletions
diff --git a/actionview/actionview.gemspec b/actionview/actionview.gemspec
index cfaa5007a1..48e79c53ca 100644
--- a/actionview/actionview.gemspec
+++ b/actionview/actionview.gemspec
@@ -1,4 +1,4 @@
-version = File.read(File.expand_path("../../RAILS_VERSION", __FILE__)).strip
+version = File.read(File.expand_path("../RAILS_VERSION", __dir__)).strip
Gem::Specification.new do |s|
s.platform = Gem::Platform::RUBY
@@ -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"