Skip to content

Commit f8c9542

Browse files
chore(gemspec): wire gemspec URLs through PROJECT_URL
1 parent c1eb419 commit f8c9542

1 file changed

Lines changed: 9 additions & 6 deletions

File tree

‎libpath-ruby.gemspec‎

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# Purpose: Gemspec for libpath.Ruby library
55
#
66
# Created: 8th January 2019
7-
# Updated: 19th August 2026
7+
# Updated: 28th August 2026
88
#
99
# ######################################################################## #
1010

@@ -14,6 +14,9 @@ $:.unshift File.join(File.dirname(__FILE__), 'lib')
1414
require 'libpath/version'
1515

1616

17+
PROJECT_URL = 'https://github.com/synesissoftware/libpath.Ruby'
18+
19+
1720
Gem::Specification.new do |spec|
1821

1922
spec.name = 'libpath-ruby'
@@ -31,16 +34,16 @@ END_DESC
3134
spec.email = [
3235
'matthew@synesis.com.au',
3336
]
34-
spec.homepage = 'https://github.com/synesissoftware/libpath.Ruby'
37+
spec.homepage = PROJECT_URL
3538
spec.license = 'BSD-3-Clause'
3639

3740
spec.required_ruby_version = [ '>= 2.0' ]
3841

3942
spec.metadata = {
40-
'bug_tracker_uri' => 'https://github.com/synesissoftware/libpath.Ruby/issues',
41-
'changelog_uri' => 'https://github.com/synesissoftware/libpath.Ruby/blob/master/CHANGES.md',
42-
'homepage_uri' => 'https://github.com/synesissoftware/libpath.Ruby',
43-
'source_code_uri' => 'https://github.com/synesissoftware/libpath.Ruby',
43+
'bug_tracker_uri' => "#{PROJECT_URL}/issues",
44+
'changelog_uri' => "#{PROJECT_URL}/blob/master/CHANGES.md",
45+
'homepage_uri' => PROJECT_URL,
46+
'source_code_uri' => PROJECT_URL,
4447
}
4548

4649
spec.files = Dir[

0 commit comments

Comments
 (0)