revision 1.4.0 → 1.4.1
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/.gitignore +1 -0
- data/lib/revision/info.rb +1 -1
- data/lib/revision/version.rb +34 -31
- data/releasables.yaml +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fdf646b4e8e2eb07bec9aab1ec7663998a5e3d6585f5b5be560d7b76383fa20b
|
|
4
|
+
data.tar.gz: 47492a7855c38a50484e44b04e637258b1529e3fd6a437f3fc13e07c8ba83107
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 950eee331752b94d3f2ef712f8f06883d104145169547314eded26556cd41b798be6af1bfdf9011b961751737175b317e19c729991f28b87ff3ed5f3163b8e45
|
|
7
|
+
data.tar.gz: b25b45f4df9917a0c6064224a0e509ff002249524ce72ad43b5cf81d4d6bdadda07a8cb65e1eda6f075717b81a0b996631ac1ade59c0b031ebdf74c36e73233a
|
data/.gitignore
CHANGED
data/lib/revision/info.rb
CHANGED
|
@@ -121,7 +121,7 @@ class Revision::Info
|
|
|
121
121
|
# Prefixes the entry with an empty line, then prefixes each line with comment chars
|
|
122
122
|
# and converts the line entries to a single string
|
|
123
123
|
def format_changelog_entry(entry_lines)
|
|
124
|
-
entry_lines.unshift('').map { |line| "#{@comment_prefix} #{line}"}.join("\n")
|
|
124
|
+
entry_lines.unshift('').map { |line| "#{@comment_prefix} #{line}".rstrip()}.join("\n")
|
|
125
125
|
end
|
|
126
126
|
|
|
127
127
|
def get_changelog_entry
|
data/lib/revision/version.rb
CHANGED
|
@@ -1,107 +1,110 @@
|
|
|
1
1
|
# Defines the revision ID for the revision gem
|
|
2
2
|
module Revision
|
|
3
|
-
VERSION = "1.4.
|
|
3
|
+
VERSION = "1.4.1".freeze
|
|
4
4
|
end
|
|
5
5
|
|
|
6
6
|
# <BEGIN CHANGELOG>
|
|
7
|
-
#
|
|
7
|
+
#
|
|
8
|
+
# Version 1.4.1 (18 Nov 2019)
|
|
9
|
+
# - Updated to strip trailing whitespace after comment char for empty line
|
|
10
|
+
#
|
|
8
11
|
# Version 1.4.0 (10 Jun 2019)
|
|
9
12
|
# - Now allow the definition of one or more 'secondary_revisions', where a revision ID can be updated with or without an embedded changelog
|
|
10
|
-
#
|
|
13
|
+
#
|
|
11
14
|
# Version 1.3.1 (20 May 2019)
|
|
12
15
|
# - Corrected bug when deploying changelog:w
|
|
13
|
-
#
|
|
16
|
+
#
|
|
14
17
|
# Version 1.3.0 (20 May 2019)
|
|
15
18
|
# - Added :archive: (archive root definition)
|
|
16
19
|
# - Added optional :pre: and :post: steps to :deploy: definition
|
|
17
|
-
#
|
|
20
|
+
#
|
|
18
21
|
# Version 1.2.8 (20 May 2019)
|
|
19
22
|
# - Updated Git tag/commit behaviour -- now commit/tag/push by default
|
|
20
23
|
# - Updated deploy to remove existing targets and copy entire directory trees
|
|
21
|
-
#
|
|
24
|
+
#
|
|
22
25
|
# Version 1.2.7 (17 May 2019)
|
|
23
26
|
# - 'deploy' now expands '~' in paths
|
|
24
|
-
#
|
|
27
|
+
#
|
|
25
28
|
# Version 1.2.6 (17 May 2019)
|
|
26
29
|
# - Updated deploy to use default dest from yaml (if specified)
|
|
27
|
-
#
|
|
30
|
+
#
|
|
28
31
|
# Version 1.2.5 (07 Nov 2018)
|
|
29
32
|
# - Added 'deploy' command
|
|
30
|
-
#
|
|
33
|
+
#
|
|
31
34
|
# Version 1.2.4 (05 Sep 2018)
|
|
32
35
|
# - Added commit message and tag details to `revision info`
|
|
33
36
|
# - Minor refactoring
|
|
34
|
-
#
|
|
37
|
+
#
|
|
35
38
|
# Version 1.2.3 (03 Sep 2018)
|
|
36
39
|
# - Tidied up `revision info` output formatting
|
|
37
|
-
#
|
|
40
|
+
#
|
|
38
41
|
# Version 1.2.2 (03 Sep 2018)
|
|
39
42
|
# - Updated CLI to provide version info
|
|
40
|
-
#
|
|
43
|
+
#
|
|
41
44
|
# Version 1.2.1 (03 Sep 2018)
|
|
42
45
|
# - Update to allow releasable without any artefacts
|
|
43
|
-
#
|
|
46
|
+
#
|
|
44
47
|
# Version 1.2.0 (06 Mar 2018)
|
|
45
48
|
# - Build definition improvements (and new yaml structure)
|
|
46
49
|
# - Added platform-agnostic environment variable definition (handles '~' replacement and :/; path separators)
|
|
47
50
|
# - Added platform-agnostic packaging of binaries (i.e. appending .exe for windows when archiving)
|
|
48
|
-
#
|
|
51
|
+
#
|
|
49
52
|
# Version 1.1.10 (16 Feb 2018)
|
|
50
53
|
# - Modified 'archive' command to just archive existing artefact -- i.e. skip build phase
|
|
51
54
|
# - Added 'package' command that builds AND archives
|
|
52
|
-
#
|
|
55
|
+
#
|
|
53
56
|
# Version 1.1.9 (16 Feb 2018)
|
|
54
57
|
# - Fixed bug when adding first changelog entry to file without existing placeholders
|
|
55
58
|
# - Added standalone build command
|
|
56
|
-
#
|
|
59
|
+
#
|
|
57
60
|
# Version 1.1.8 (15 Dec 2017)
|
|
58
61
|
# - Added .yardopts to build documentation
|
|
59
|
-
#
|
|
62
|
+
#
|
|
60
63
|
# Version 1.1.7 (15 Dec 2017)
|
|
61
64
|
# - Corrected push -- was pushing tags without commit
|
|
62
|
-
#
|
|
65
|
+
#
|
|
63
66
|
# Version 1.1.6 (15 Dec 2017)
|
|
64
67
|
# - Added full changelog entry as tag message
|
|
65
68
|
# - Removed ruby-git dependency from gemspec
|
|
66
|
-
#
|
|
69
|
+
#
|
|
67
70
|
# Version 1.1.5 (15 Dec 2017)
|
|
68
71
|
# - Replaced ruby-git library with shell calls, as wasn't handling submodules correctly
|
|
69
|
-
#
|
|
72
|
+
#
|
|
70
73
|
# Version 1.1.4 (14 Dec 2017)
|
|
71
74
|
# - Minor message body reformatting
|
|
72
|
-
#
|
|
75
|
+
#
|
|
73
76
|
# Version 1.1.3 (14 Dec 2017)
|
|
74
77
|
# - Eliminated duplication of version ID in commit message body
|
|
75
|
-
#
|
|
78
|
+
#
|
|
76
79
|
# Version 1.1.2 (14 Dec 2017)
|
|
77
80
|
# - Removed redundant ':: ' from commit message headline
|
|
78
|
-
#
|
|
81
|
+
#
|
|
79
82
|
# Version 1.1.1 (14 Dec 2017)
|
|
80
83
|
# - Added git connection failure handling
|
|
81
84
|
# - Revision commit message now includes first line of changelog entry
|
|
82
85
|
# - Updated configuration syntax for consistency (:revision: :file: -> :revision: :src:)
|
|
83
|
-
#
|
|
86
|
+
#
|
|
84
87
|
# Version 1.1.0 (13 Dec 2017)
|
|
85
88
|
# - Updated to optionally push tags to the repo
|
|
86
|
-
#
|
|
89
|
+
#
|
|
87
90
|
# Version 1.0.1 (13 Dec 2017)
|
|
88
91
|
# - Corrected revision placeholder handling when archiving build artefacts
|
|
89
92
|
# - Added proper high-level usage documentation
|
|
90
|
-
#
|
|
93
|
+
#
|
|
91
94
|
# Version 1.0.0 (12 Dec 2017)
|
|
92
95
|
# - First fully functional release with new config file
|
|
93
|
-
#
|
|
96
|
+
#
|
|
94
97
|
# Version 0.1.4 (12 Dec 2017)
|
|
95
98
|
# - boo
|
|
96
99
|
# - hoo
|
|
97
100
|
# - hoo
|
|
98
|
-
#
|
|
101
|
+
#
|
|
99
102
|
# Version 0.1.3 (12 Dec 2017)
|
|
100
103
|
# - boo
|
|
101
|
-
#
|
|
104
|
+
#
|
|
102
105
|
# Version 0.1.2 (12 Dec 2017)
|
|
103
106
|
# - wahoo!
|
|
104
|
-
#
|
|
107
|
+
#
|
|
105
108
|
# Version 0.1.1 (12 Dec 2017)
|
|
106
109
|
# - Wahey!
|
|
107
|
-
# <END CHANGELOG>
|
|
110
|
+
# <END CHANGELOG>
|
data/releasables.yaml
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
- :id: revision
|
|
3
3
|
:revision:
|
|
4
4
|
:src: lib/revision/version.rb
|
|
5
|
-
:regex: (?<prefix>VERSION = ")(?<major>\d+)(?<sep1>\.)(?<minor>\d+)(?<sep2>\.)(?<patch>\d+)(?<postfix>")
|
|
5
|
+
:regex: (?<prefix>VERSION = ")(?<major>\d+)(?<sep1>\.)(?<minor>\d+)(?<sep2>\.)(?<patch>\d+)(?<postfix>".freeze)
|
|
6
6
|
:comment_prefix: "#"
|
|
7
7
|
:build_steps:
|
|
8
8
|
- bundle exec rake install
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: revision
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.4.
|
|
4
|
+
version: 1.4.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Cormac Cannon
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-
|
|
11
|
+
date: 2019-11-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: thor
|
|
@@ -141,7 +141,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
141
141
|
- !ruby/object:Gem::Version
|
|
142
142
|
version: '0'
|
|
143
143
|
requirements: []
|
|
144
|
-
rubygems_version: 3.0.
|
|
144
|
+
rubygems_version: 3.0.6
|
|
145
145
|
signing_key:
|
|
146
146
|
specification_version: 4
|
|
147
147
|
summary: Language-agnostic revision management tool
|