minicrest 1.0.0 → 1.0.12

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: 1d6d89688494f77e7c98f3065452724caadb09c39f330567471ce7f29835a8cd
4
+ data.tar.gz: 7af262a4dcee60e6f1b91f048bc3237bb80ddee7c27ec66d1b293f0e0e482344
5
5
  SHA512:
6
- metadata.gz: cacd32523d4bfef151600ee954e2838ddb6aa9c216c931e0e74cc907518e25b0b60e723f1526f4ef2b2465d0323aa68ef281f8bfe6253639056426207cc0b5e3
7
- data.tar.gz: b8e7cf8b54371bc3965da8140bbae934897c0182d914c4294c1153a5e0cb15527f8754328f0224d6c76d7a9aa4b15b5f14caf4c6e02c8709a8453bbe5b089728
6
+ metadata.gz: 17dce713b2d7a10b92a401a9e7ba114ad4abf05d0124056c07d053c2b48be7a0ed1a8331d58cad99e3e825bf9441ee9f5a69d1f74f908abeb0b5d463dcdc10c2
7
+ data.tar.gz: fd2a329762257fca6854344165d620b5d00288a57865b5d5c524d85fcf36cfc62856dacc137019af6473cf2367808786974cb9ebe6b73654a9b6205a89ad8173
data/CHANGELOG.md CHANGED
@@ -5,6 +5,55 @@ 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.12] - 2026-01-18
11
+
12
+ - Change release and documentation workflow triggers to run directly on tag push instead of waiting for CI completion
13
+
14
+ ## [1.0.11] - 2026-01-18
15
+
16
+ - Fix release workflow trigger and gating logic
17
+
18
+ ## [1.0.10] - 2026-01-18
19
+
20
+ - Dummy release to verify the automated publishing workflow
21
+
22
+ ## [1.0.7] - 2026-01-17
23
+
24
+ - Housekeeping: restrict automated publishing to only run when CI succeeds for a version tag
25
+
26
+ ## [1.0.6] - 2026-01-17
27
+
28
+ - Housekeeping: switch to Trusted Publishing (OIDC) for RubyGems
29
+ - Housekeeping: fix documentation link duplication when hosted at a subpath
30
+ - Housekeeping: migrate documentation post-processing to a Rake task
31
+ - Housekeeping: configure publish workflow to allow manual tagging
32
+
33
+ ## [1.0.5] - 2026-01-17
34
+
35
+ - Housekeeping: switch to Trusted Publishing (OIDC) for RubyGems
36
+ - Housekeeping: fix documentation link duplication when hosted at a subpath
37
+ - Housekeeping: migrate documentation post-processing to a Rake task
38
+ - Housekeeping: configure publish workflow to allow manual tagging
39
+
40
+ ## [1.0.4] - 2026-01-17
41
+
42
+ - Housekeeping: tuning the publish GH workflow for automated releases to Rubygems
43
+ - Housekeeping: add bundler gem tasks to Rakefile for automated releases
44
+
45
+ ## [1.0.3] - 2026-01-17
46
+
47
+ - Housekeeping: tuning the publish GH workflow for automated releases to Rubygems
48
+
49
+ ## [1.0.2] - 2026-01-17
50
+
51
+ - Housekeeping: add version to published yard docs
52
+
53
+ ## [1.0.1] - 2026-01-17
54
+
55
+ - Housekeeping: tuning the publish GH workflow for automated releases to Rubygems
56
+
8
57
  ## [1.0.0] - 2026-01-17
9
58
 
10
59
  ### 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.12'
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.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Guillermo Gutierrez Almazor