Skip to content

Commit 9605e41

Browse files
sdsShane da Silva
authored and
Shane da Silva
committed
Use REPO_URL constant for gemspec homepage
This reduces code duplication. Change-Id: Id32cbee7b265939ff3477c07d65192fc860aa0f3 Reviewed-on: http://gerrit.causes.com/35622 Reviewed-by: Shane da Silva <shane@causes.com> Tested-by: Shane da Silva <shane@causes.com>
1 parent 5929a5b commit 9605e41

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

overcommit.gemspec

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
$LOAD_PATH << File.expand_path('../lib', __FILE__)
2+
require 'overcommit/constants'
23
require 'overcommit/version'
34

45
Gem::Specification.new do |s|
@@ -9,7 +10,7 @@ Gem::Specification.new do |s|
910
s.description = 'Utility to install, configure, and extend Git hooks'
1011
s.authors = ['Causes Engineering', 'Shane da Silva']
1112
s.email = ['eng@causes.com', 'shane@causes.com']
12-
s.homepage = 'http://github.com/causes/overcommit'
13+
s.homepage = Overcommit::REPO_URL
1314
s.post_install_message =
1415
'Install hooks by running `overcommit --install` in your Git repository'
1516

0 commit comments

Comments
 (0)