Skip to content

Commit 3dea5e9

Browse files
Boilerplate, fixes (#7)
* chore(gemspec): wire gemspec URLs through PROJECT_URL * TODO.md * TODO.md
1 parent c1eb419 commit 3dea5e9

2 files changed

Lines changed: 11 additions & 13 deletions

File tree

‎TODO.md‎

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
# libpath.Ruby - TODO <!-- omit in toc -->
22

33

4-
## Functional improvements
5-
6-
* [ ] quiet Ruby 3.4+ `literal string will be frozen in the future` warnings from `gsub!` in **lib/libpath/internal_/windows/form.rb** (tests already pass under `-W`);
7-
8-
94
## Performance improvements
105

116
* \<none>
@@ -19,8 +14,8 @@
1914
* [x] ~~~gemspec polish: README tagline as `spec.summary`, package docs, exclude **Gemfile.lock** / **.ruby-version**~~~;
2015
* [x] ~~~README canonical structure (tagline before badges; **Dependencies**; CI badge → **ruby.yml**)~~~;
2116
* [x] ~~~after the packaging/boilerplate/CI baseline: bump **VERSION** and align **CHANGES**/**NEWS**~~~;
22-
* [ ] **git rm** **Gemfile.lock** when committing this lift (deleted in the work tree and gitignored; still in HEAD);
23-
* [ ] this lift is on **bp-2**, which is not in CI `on.push.branches` (gold seven-name set); use a PR (unfiltered `pull_request:`) or merge to a listed branch to run push CI;
17+
* [x] ~~~confirm **Gemfile.lock** is neither tracked nor packaged~~~ - ✅;
18+
* [x] ~~~confirm the lift is on a CI push branch (`boilerplate`)~~~ - ✅;
2419
2520
2621
<!-- ########################### end of file ########################### -->

‎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)