openvox-strings 7.0.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 +4 -4
- data/CHANGELOG.md +20 -0
- data/lib/openvox-strings/markdown.rb +9 -1
- data/lib/openvox-strings/version.rb +1 -1
- metadata +24 -24
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cd00ff65abb30c23caa1303263cf13c68c1283e02586449389417f683b04918e
|
|
4
|
+
data.tar.gz: 2689b84224aec1d4f78745b6d7775fa0d350444093606985260d2b7f0320d6d8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f75a90b0711f29e87483adfa32d3a428398cd0800b2d8b8c91231707572bb4faec080575f936797fbd06f9f9451af89ab398433ba39d8cc9f02ce03b8b17db15
|
|
7
|
+
data.tar.gz: 145f07ea888f25aec9922e3a89fd1f87b5a2152c7c5b5b864be34cc92c891c620c5768724604a38a69d658a2dbbbdbc49de18082d282e2da42f6f695eca14c2b
|
data/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,26 @@
|
|
|
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
|
+
|
|
17
|
+
## [v7.1.0](https://github.com/voxpupuli/openvox-strings/tree/v7.1.0) (2026-03-12)
|
|
18
|
+
|
|
19
|
+
[Full Changelog](https://github.com/voxpupuli/openvox-strings/compare/v7.0.0...v7.1.0)
|
|
20
|
+
|
|
21
|
+
**Implemented enhancements:**
|
|
22
|
+
|
|
23
|
+
- Remove openvox dependency version constraint [\#33](https://github.com/voxpupuli/openvox-strings/pull/33) ([genebean](https://github.com/genebean))
|
|
24
|
+
|
|
5
25
|
## [v7.0.0](https://github.com/voxpupuli/openvox-strings/tree/v7.0.0) (2026-02-19)
|
|
6
26
|
|
|
7
27
|
[Full Changelog](https://github.com/voxpupuli/openvox-strings/compare/v6.1.0...v7.0.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
|
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.
|
|
4
|
+
version: 7.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Puppet Inc.
|
|
@@ -24,26 +24,6 @@ dependencies:
|
|
|
24
24
|
- - "<"
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
26
|
version: '2'
|
|
27
|
-
- !ruby/object:Gem::Dependency
|
|
28
|
-
name: openvox
|
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
|
30
|
-
requirements:
|
|
31
|
-
- - ">="
|
|
32
|
-
- !ruby/object:Gem::Version
|
|
33
|
-
version: '8.24'
|
|
34
|
-
- - "<"
|
|
35
|
-
- !ruby/object:Gem::Version
|
|
36
|
-
version: '9'
|
|
37
|
-
type: :runtime
|
|
38
|
-
prerelease: false
|
|
39
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
40
|
-
requirements:
|
|
41
|
-
- - ">="
|
|
42
|
-
- !ruby/object:Gem::Version
|
|
43
|
-
version: '8.24'
|
|
44
|
-
- - "<"
|
|
45
|
-
- !ruby/object:Gem::Version
|
|
46
|
-
version: '9'
|
|
47
27
|
- !ruby/object:Gem::Dependency
|
|
48
28
|
name: rgen
|
|
49
29
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -78,20 +58,40 @@ dependencies:
|
|
|
78
58
|
- - "~>"
|
|
79
59
|
- !ruby/object:Gem::Version
|
|
80
60
|
version: '0.9'
|
|
61
|
+
- !ruby/object:Gem::Dependency
|
|
62
|
+
name: openvox
|
|
63
|
+
requirement: !ruby/object:Gem::Requirement
|
|
64
|
+
requirements:
|
|
65
|
+
- - ">="
|
|
66
|
+
- !ruby/object:Gem::Version
|
|
67
|
+
version: '8.24'
|
|
68
|
+
- - "<"
|
|
69
|
+
- !ruby/object:Gem::Version
|
|
70
|
+
version: '10'
|
|
71
|
+
type: :development
|
|
72
|
+
prerelease: false
|
|
73
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
74
|
+
requirements:
|
|
75
|
+
- - ">="
|
|
76
|
+
- !ruby/object:Gem::Version
|
|
77
|
+
version: '8.24'
|
|
78
|
+
- - "<"
|
|
79
|
+
- !ruby/object:Gem::Version
|
|
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.
|
|
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.
|
|
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.
|
|
295
|
+
rubygems_version: 4.0.20
|
|
296
296
|
specification_version: 4
|
|
297
297
|
summary: Puppet documentation via YARD
|
|
298
298
|
test_files: []
|