bake-changes 0.1.0 → 0.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
- checksums.yaml.gz.sig +3 -2
- data/bake/changes.rb +3 -5
- data/lib/bake/changes/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1bb5f4eebc1ab57625af1d691295b86f4dcda1984ba954de3f7182c5384bdc4f
|
|
4
|
+
data.tar.gz: 7667e5bfbefa1112188afa7cf75129dbef45e29407d305cb3654ffed5f0fe262
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2a9797a6e73beb2e992e8c04d0c77cb36ddd07c925e78eecdd064b247bd51aa907485e3c94b168a8ec897a4833ae80cd27894849d0ddf63034931808b4e8ea6c
|
|
7
|
+
data.tar.gz: afc89c5e83f716f0ddf8846522fd033b7445211271025dec60bb04c7eb17df354ac3ce22021ef35e86805cef147961a7bee1eb4c9c821165782578609f8758ea
|
checksums.yaml.gz.sig
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
]~SV������g]ru־.~������P��ׁ(����Y�|S���p6��k�PR�/�'�p�����[r@Lޭ���6N/�Qg_���6� �յ�`Շ��ٌB�(N�~�ԌԴ�E��^������)�#�hw `�{/#�����#*J4���de˖s(��閑Ѽ�gh�9r��g����jB@
|
|
2
|
+
�)���$�?m��.�oð�mu��|d�g<��U E�Ou�k��9�
|
|
3
|
+
����a6�n_��&w,mM�1�
|
data/bake/changes.rb
CHANGED
|
@@ -5,17 +5,15 @@
|
|
|
5
5
|
|
|
6
6
|
# Update the 'Unreleased' section of the changes document with the given version number, if it exists.
|
|
7
7
|
#
|
|
8
|
+
# The version number can be any string, but ideally follows the semantic versioning scheme with a "v" prefix.
|
|
9
|
+
#
|
|
8
10
|
# @parameter version [String] The version number to release.
|
|
9
11
|
def release(version)
|
|
10
12
|
self.update_document do |document|
|
|
11
|
-
unless version.start_with?('v')
|
|
12
|
-
version = "v#{version}"
|
|
13
|
-
end
|
|
14
|
-
|
|
15
13
|
if node = document.find_header('Unreleased')
|
|
16
14
|
# Create a new text node with the version number:
|
|
17
15
|
child = Markly::Node.new(:text)
|
|
18
|
-
child.string_content = version
|
|
16
|
+
child.string_content = version.to_s
|
|
19
17
|
|
|
20
18
|
# Delete all current children, and replace it with the version number:
|
|
21
19
|
node.extract_children
|
data/lib/bake/changes/version.rb
CHANGED
data.tar.gz.sig
CHANGED
|
Binary file
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: bake-changes
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Samuel Williams
|
|
@@ -37,7 +37,7 @@ cert_chain:
|
|
|
37
37
|
Q2K9NVun/S785AP05vKkXZEFYxqG6EW012U4oLcFl5MySFajYXRYbuUpH6AY+HP8
|
|
38
38
|
voD0MPg1DssDLKwXyt1eKD/+Fq0bFWhwVM/1XiAXL7lyYUyOq24KHgQ2Csg=
|
|
39
39
|
-----END CERTIFICATE-----
|
|
40
|
-
date: 2024-08-
|
|
40
|
+
date: 2024-08-23 00:00:00.000000000 Z
|
|
41
41
|
dependencies:
|
|
42
42
|
- !ruby/object:Gem::Dependency
|
|
43
43
|
name: bake
|
metadata.gz.sig
CHANGED
|
Binary file
|