openvox-strings 7.1.0 → 7.2.0

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: 31e36d66d56322f02d3cb23fdadfda1f3cd043389826a729cdf72dd3ed9562f3
4
- data.tar.gz: 0ea3ec7c5ece31ce4b4e2588e8598578aef8621dd6ad353d5a8eab563b9333d0
3
+ metadata.gz: cd00ff65abb30c23caa1303263cf13c68c1283e02586449389417f683b04918e
4
+ data.tar.gz: 2689b84224aec1d4f78745b6d7775fa0d350444093606985260d2b7f0320d6d8
5
5
  SHA512:
6
- metadata.gz: ebf9c6eb518b54317ba4b2774e8372ca5baec66fde406b4a50900d8110510997801d3bd70197c2dc80fc4c2a8c6c21b21a7b25977bf2ae1aa23f29f10c1acf65
7
- data.tar.gz: 4499fc2e99fd8cfe8cbcb3ee466e828f4507302a9ffb4e3ac9963c7935a9d693a6e5e12a2060daf374e8e8c8c2aac160ca76d938791dd8f8ef29b91a56ed0519
6
+ metadata.gz: f75a90b0711f29e87483adfa32d3a428398cd0800b2d8b8c91231707572bb4faec080575f936797fbd06f9f9451af89ab398433ba39d8cc9f02ce03b8b17db15
7
+ data.tar.gz: 145f07ea888f25aec9922e3a89fd1f87b5a2152c7c5b5b864be34cc92c891c620c5768724604a38a69d658a2dbbbdbc49de18082d282e2da42f6f695eca14c2b
data/CHANGELOG.md CHANGED
@@ -2,6 +2,18 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
+ ## [v7.2.0](https://github.com/voxpupuli/openvox-strings/tree/v7.2.0) (2026-10-06)
6
+
7
+ [Full Changelog](https://github.com/voxpupuli/openvox-strings/compare/v7.1.0...v7.2.0)
8
+
9
+ **Implemented enhancements:**
10
+
11
+ - openvox: Allow 9.x [\#54](https://github.com/voxpupuli/openvox-strings/pull/54) ([dependabot[bot]](https://github.com/apps/dependabot))
12
+
13
+ **Fixed bugs:**
14
+
15
+ - \(bug\) Normalize markdown output whitespace and trailing newline [\#49](https://github.com/voxpupuli/openvox-strings/pull/49) ([vchepkov](https://github.com/vchepkov))
16
+
5
17
  ## [v7.1.0](https://github.com/voxpupuli/openvox-strings/tree/v7.1.0) (2026-03-12)
6
18
 
7
19
  [Full Changelog](https://github.com/voxpupuli/openvox-strings/compare/v7.0.0...v7.1.0)
@@ -56,7 +56,15 @@ module OpenvoxStrings::Markdown
56
56
  end
57
57
  end
58
58
 
59
- output.join
59
+ normalize(output.join)
60
+ end
61
+
62
+ # Cleans up the assembled markdown so it ends with a single newline and has
63
+ # no lines with trailing whitespace.
64
+ # @param [String] markdown the rendered document
65
+ # @return [String] the normalized document
66
+ def self.normalize(markdown)
67
+ "#{markdown.gsub(/[ \t]+$/, '').rstrip}\n"
60
68
  end
61
69
 
62
70
  # mimicks the behavior of the json render, although path will never be nil
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module OpenvoxStrings
4
- VERSION = '7.1.0'
4
+ VERSION = '7.2.0'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openvox-strings
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.1.0
4
+ version: 7.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Puppet Inc.
@@ -67,7 +67,7 @@ dependencies:
67
67
  version: '8.24'
68
68
  - - "<"
69
69
  - !ruby/object:Gem::Version
70
- version: '9'
70
+ version: '10'
71
71
  type: :development
72
72
  prerelease: false
73
73
  version_requirements: !ruby/object:Gem::Requirement
@@ -77,21 +77,21 @@ dependencies:
77
77
  version: '8.24'
78
78
  - - "<"
79
79
  - !ruby/object:Gem::Version
80
- version: '9'
80
+ version: '10'
81
81
  - !ruby/object:Gem::Dependency
82
82
  name: voxpupuli-rubocop
83
83
  requirement: !ruby/object:Gem::Requirement
84
84
  requirements:
85
85
  - - "~>"
86
86
  - !ruby/object:Gem::Version
87
- version: 5.1.0
87
+ version: 5.3.0
88
88
  type: :development
89
89
  prerelease: false
90
90
  version_requirements: !ruby/object:Gem::Requirement
91
91
  requirements:
92
92
  - - "~>"
93
93
  - !ruby/object:Gem::Version
94
- version: 5.1.0
94
+ version: 5.3.0
95
95
  email: voxpupuli@groups.io
96
96
  executables: []
97
97
  extensions: []
@@ -292,7 +292,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
292
292
  - !ruby/object:Gem::Version
293
293
  version: '0'
294
294
  requirements: []
295
- rubygems_version: 4.0.3
295
+ rubygems_version: 4.0.20
296
296
  specification_version: 4
297
297
  summary: Puppet documentation via YARD
298
298
  test_files: []