minicrest 1.0.0 → 1.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: efb95b1362535452ba9a0de78966811bde57ae5e89fb8c0e615613c756db1eca
4
- data.tar.gz: 466d9c93d393382fe7d65135bcd38a05eb672c678995fb190b52fb0b452bf89c
3
+ metadata.gz: 8de3b46dd62b1a6467914c0fc4b33155bbcdd96ea9e3112868ae0b675fda303c
4
+ data.tar.gz: 524c5feec59ce0d4615ecb616c470c8ea2c43e8e22177e8effc734002277d5df
5
5
  SHA512:
6
- metadata.gz: cacd32523d4bfef151600ee954e2838ddb6aa9c216c931e0e74cc907518e25b0b60e723f1526f4ef2b2465d0323aa68ef281f8bfe6253639056426207cc0b5e3
7
- data.tar.gz: b8e7cf8b54371bc3965da8140bbae934897c0182d914c4294c1153a5e0cb15527f8754328f0224d6c76d7a9aa4b15b5f14caf4c6e02c8709a8453bbe5b089728
6
+ metadata.gz: 93f1e267de843975afac0a053b80ad9531584d42908e9699ce7e46d769aa2c938359ea374c4d9fbd6e2bd8ddef503ba49aedd1864c10bdf1e33d844ea6bbe580
7
+ data.tar.gz: e52cf2a92d4261c1f581253e5577f73e8819b0008c00c7eabf1b8439d7781685deacf5b16f3a9bf7639ffeb3534bc35aba3054b44f1485b603d123a2997c82a2
data/CHANGELOG.md CHANGED
@@ -5,6 +5,43 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [Unreleased]
9
+
10
+ ## [1.0.7] - 2026-01-17
11
+
12
+ - Housekeeping: restrict automated publishing to only run when CI succeeds for a version tag
13
+
14
+ ## [1.0.6] - 2026-01-17
15
+
16
+ - Housekeeping: switch to Trusted Publishing (OIDC) for RubyGems
17
+ - Housekeeping: fix documentation link duplication when hosted at a subpath
18
+ - Housekeeping: migrate documentation post-processing to a Rake task
19
+ - Housekeeping: configure publish workflow to allow manual tagging
20
+
21
+ ## [1.0.5] - 2026-01-17
22
+
23
+ - Housekeeping: switch to Trusted Publishing (OIDC) for RubyGems
24
+ - Housekeeping: fix documentation link duplication when hosted at a subpath
25
+ - Housekeeping: migrate documentation post-processing to a Rake task
26
+ - Housekeeping: configure publish workflow to allow manual tagging
27
+
28
+ ## [1.0.4] - 2026-01-17
29
+
30
+ - Housekeeping: tuning the publish GH workflow for automated releases to Rubygems
31
+ - Housekeeping: add bundler gem tasks to Rakefile for automated releases
32
+
33
+ ## [1.0.3] - 2026-01-17
34
+
35
+ - Housekeeping: tuning the publish GH workflow for automated releases to Rubygems
36
+
37
+ ## [1.0.2] - 2026-01-17
38
+
39
+ - Housekeeping: add version to published yard docs
40
+
41
+ ## [1.0.1] - 2026-01-17
42
+
43
+ - Housekeeping: tuning the publish GH workflow for automated releases to Rubygems
44
+
8
45
  ## [1.0.0] - 2026-01-17
9
46
 
10
47
  ### Added
data/Rakefile CHANGED
@@ -1,6 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require 'rake/testtask'
4
+ require 'bundler/gem_tasks'
4
5
  require 'fileutils'
5
6
  require 'find'
6
7
 
@@ -13,6 +14,8 @@ end
13
14
  namespace :docs do
14
15
  desc 'Fix YARD documentation for subpath hosting'
15
16
  task :fix do
17
+ require_relative 'lib/minicrest/version'
18
+ version = Minicrest::VERSION
16
19
  base_url = 'https://ggalmazor.com/minicrest/'
17
20
  doc_dir = File.join(__dir__, 'doc')
18
21
 
@@ -57,14 +60,17 @@ namespace :docs do
57
60
  end
58
61
  end
59
62
 
60
- # 2. Convert all relative links to absolute links in HTML files
61
- puts "Converting relative links to absolute in #{doc_dir}..."
63
+ # 2. Convert all relative links to absolute links in HTML files and inject version
64
+ puts "Converting relative links to absolute and injecting version #{version} in #{doc_dir}..."
62
65
 
63
66
  Find.find(doc_dir) do |path|
64
67
  next unless path.end_with?('.html')
65
68
 
66
69
  content = File.read(path)
67
70
 
71
+ # Inject version into title if it's the standard "Minicrest Documentation"
72
+ content.gsub!('Minicrest Documentation', "Minicrest v#{version} Documentation")
73
+
68
74
  # YARD uses relative paths like "", "Minicrest", "Minicrest/SomeSubClass"
69
75
  # We want to find href="../something.html" and replace it with base_url + something.html
70
76
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Minicrest
4
- VERSION = '1.0.0'
4
+ VERSION = '1.0.9'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minicrest
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Guillermo Gutierrez Almazor