caretaker 0.8.2 → 0.8.3
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/.rubocop.yml +17 -1
- data/CHANGELOG.md +35 -33
- data/lib/caretaker.rb +4 -5
- data/lib/caretaker/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8ad6f74d0166f6534328d47176b89c5afeba79a4feecf0bab2aaa50fff490f52
|
|
4
|
+
data.tar.gz: 561ef67d8e680e2eb283216c952292d3e474438169d1292d8afeeee4dea0e899
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 28e68c65f8d35d69533b68d91a07eda4f3c3e79c95a34f3879cdcf6ca2f241244b42a95b10fce00894d4944f005dc8044937d3906e2b96b4700364b8d6fd166f
|
|
7
|
+
data.tar.gz: 3a296dc744be1805fa219bbc0841443d2ffaad73953c8ba94054f01000dcdc155d5e39bf728a08475cb48efdb2150b53743213dd839c9c6ea1041f35d7c26a67
|
data/.rubocop.yml
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
AllCops:
|
|
2
|
-
|
|
2
|
+
TargetRubyVersion: 2.5
|
|
3
|
+
NewCops: enable
|
|
3
4
|
|
|
4
5
|
Layout/CaseIndentation:
|
|
5
6
|
Enabled: false
|
|
@@ -55,12 +56,21 @@ Style/FrozenStringLiteralComment:
|
|
|
55
56
|
Style/HashSyntax:
|
|
56
57
|
Enabled: false
|
|
57
58
|
|
|
59
|
+
Style/NegatedIfElseCondition:
|
|
60
|
+
Enabled: false
|
|
61
|
+
|
|
62
|
+
Style/OptionalBooleanParameter:
|
|
63
|
+
Enabled: false
|
|
64
|
+
|
|
58
65
|
Style/PercentLiteralDelimiters:
|
|
59
66
|
Enabled: false
|
|
60
67
|
|
|
61
68
|
Style/RaiseArgs:
|
|
62
69
|
EnforcedStyle: compact
|
|
63
70
|
|
|
71
|
+
Style/RedundantArgument:
|
|
72
|
+
Enabled: false
|
|
73
|
+
|
|
64
74
|
Style/RedundantBegin:
|
|
65
75
|
Enabled: false
|
|
66
76
|
|
|
@@ -70,9 +80,15 @@ Style/RedundantConditional:
|
|
|
70
80
|
Style/RedundantReturn:
|
|
71
81
|
Enabled: false
|
|
72
82
|
|
|
83
|
+
Style/SoleNestedConditional:
|
|
84
|
+
Enabled: false
|
|
85
|
+
|
|
73
86
|
Style/SpecialGlobalVars:
|
|
74
87
|
Enabled: false
|
|
75
88
|
|
|
89
|
+
Style/StringConcatenation:
|
|
90
|
+
Enabled: false
|
|
91
|
+
|
|
76
92
|
Style/WordArray:
|
|
77
93
|
EnforcedStyle: brackets
|
|
78
94
|
|
data/CHANGELOG.md
CHANGED
|
@@ -3,77 +3,79 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
This changelog was automatically generated using [Caretaker](https://github.com/
|
|
6
|
+
This changelog was automatically generated using [Caretaker](https://github.com/DevelopersToolbox/caretaker) by [Wolf Software](https://github.com/WolfSoftware)
|
|
7
7
|
|
|
8
|
-
### [
|
|
8
|
+
### [Unreleased](https://github.com/DevelopersToolbox/caretaker/compare/v0.8.2...HEAD)
|
|
9
|
+
|
|
10
|
+
- Fix rubocop errors from upgrade [`[head]`](https://github.com/DevelopersToolbox/caretaker/commit/) [`[TGWolf]`](https://github.com/TGWolf)
|
|
11
|
+
|
|
12
|
+
- Add --no-verify to the post-commit hook so it doesn't trigger pre-commit hooks [`[d4a437e]`](https://github.com/DevelopersToolbox/caretaker/commit/d4a437eef9478f06094b40ff7fb99f70c7b41eaf) [`[TGWolf]`](https://github.com/TGWolf)
|
|
13
|
+
|
|
14
|
+
### [v0.8.0](https://github.com/DevelopersToolbox/caretaker/compare/v0.7.0...v0.8.0)
|
|
9
15
|
|
|
10
16
|
> Released on August, 3rd 2020
|
|
11
17
|
|
|
12
|
-
- Pre-release push / test [`[
|
|
18
|
+
- Pre-release push / test [`[1917508]`](https://github.com/DevelopersToolbox/caretaker/commit/1917508d03e413bafa577e4d108f749f9ab4cb6c) [`[TGWolf]`](https://github.com/TGWolf)
|
|
13
19
|
|
|
14
|
-
- More rubocop fixes and remove temp debug option [`[5673215]`](https://github.com/
|
|
20
|
+
- More rubocop fixes and remove temp debug option [`[5673215]`](https://github.com/DevelopersToolbox/caretaker/commit/5673215783fd848934192ec685f64231c04cf2f6) [`[TGWolf]`](https://github.com/TGWolf)
|
|
15
21
|
|
|
16
|
-
- Fiox rubocop issues [`[b87b53f]`](https://github.com/
|
|
22
|
+
- Fiox rubocop issues [`[b87b53f]`](https://github.com/DevelopersToolbox/caretaker/commit/b87b53fb10a8740c495097e25578721d5f9821b4) [`[TGWolf]`](https://github.com/TGWolf)
|
|
17
23
|
|
|
18
|
-
- Fixed issue with commit hash for most recent commit [`[c1b73e8]`](https://github.com/
|
|
24
|
+
- Fixed issue with commit hash for most recent commit [`[c1b73e8]`](https://github.com/DevelopersToolbox/caretaker/commit/c1b73e8866cbc755f0fced1112a0567938836e48) [`[TGWolf]`](https://github.com/TGWolf)
|
|
19
25
|
|
|
20
|
-
- Change the post-commit script to be more intelligent about the repo location [`[9c432e7]`](https://github.com/
|
|
26
|
+
- Change the post-commit script to be more intelligent about the repo location [`[9c432e7]`](https://github.com/DevelopersToolbox/caretaker/commit/9c432e79446785b8da2734a9fa4fc8cbab43d5c2) [`[TGWolf]`](https://github.com/TGWolf)
|
|
21
27
|
|
|
22
|
-
### [v0.
|
|
28
|
+
### [v0.7.0](https://github.com/DevelopersToolbox/caretaker/compare/v0.5.0...v0.7.0)
|
|
23
29
|
|
|
24
30
|
> Released on March, 9th 2020
|
|
25
31
|
|
|
26
|
-
- Fix link checking whitelist [`[d6ea6d4]`](https://github.com/
|
|
32
|
+
- Fix link checking whitelist [`[d6ea6d4]`](https://github.com/DevelopersToolbox/caretaker/commit/d6ea6d45714b833d1b5397c40e2fe9292b8fefe8) [`[TGWolf]`](https://github.com/TGWolf)
|
|
27
33
|
|
|
28
|
-
- Remove ruby 2.4 support and add 2.7 [`[6bd8c16]`](https://github.com/
|
|
34
|
+
- Remove ruby 2.4 support and add 2.7 [`[6bd8c16]`](https://github.com/DevelopersToolbox/caretaker/commit/6bd8c1635d4953ed2ac472e8fc9ba6efcdd90f9f) [`[TGWolf]`](https://github.com/TGWolf)
|
|
29
35
|
|
|
30
|
-
- Fix rubocop issues around pinned ruby version [`[43e3155]`](https://github.com/
|
|
36
|
+
- Fix rubocop issues around pinned ruby version [`[43e3155]`](https://github.com/DevelopersToolbox/caretaker/commit/43e3155c16d4db4a20803f449153bf726b911baa) [`[TGWolf]`](https://github.com/TGWolf)
|
|
31
37
|
|
|
32
|
-
### [v0.
|
|
38
|
+
### [v0.5.0](https://github.com/DevelopersToolbox/caretaker/compare/v0.4.0...v0.5.0)
|
|
33
39
|
|
|
34
40
|
> Released on March, 9th 2020
|
|
35
41
|
|
|
36
|
-
- Fix a security issue with the new git@ code - yanked insecure version [`[48cc7b3]`](https://github.com/
|
|
42
|
+
- Fix a security issue with the new git@ code - yanked insecure version [`[48cc7b3]`](https://github.com/DevelopersToolbox/caretaker/commit/48cc7b3423a67c449074f7413fbbca18ccf1ccae) [`[TGWolf]`](https://github.com/TGWolf)
|
|
37
43
|
|
|
38
|
-
- Fixed a security warning in rake version and make caretaker work with git@ urls as well as https [`[48e7584]`](https://github.com/
|
|
44
|
+
- Fixed a security warning in rake version and make caretaker work with git@ urls as well as https [`[48e7584]`](https://github.com/DevelopersToolbox/caretaker/commit/48e7584cb9e4f33922a278fb0d688202a5f08f35) [`[TGWolf]`](https://github.com/TGWolf)
|
|
39
45
|
|
|
40
|
-
- Update README with relation to pushing the tag to the remote [`[203f1e3]`](https://github.com/
|
|
46
|
+
- Update README with relation to pushing the tag to the remote [`[203f1e3]`](https://github.com/DevelopersToolbox/caretaker/commit/203f1e351d8c4e361687360b8305017688e73736) [`[TGWolf]`](https://github.com/TGWolf)
|
|
41
47
|
|
|
42
|
-
### [v0.
|
|
48
|
+
### [v0.4.0](https://github.com/DevelopersToolbox/caretaker/compare/v0.3.0...v0.4.0)
|
|
43
49
|
|
|
44
50
|
> Released on February, 24th 2020
|
|
45
51
|
|
|
46
|
-
- Fix an error in the post-commit script where the wrong variable name was being used [`[c478e37]`](https://github.com/
|
|
52
|
+
- Fix an error in the post-commit script where the wrong variable name was being used [`[c478e37]`](https://github.com/DevelopersToolbox/caretaker/commit/c478e376120aa0eb22b890b949218fb48df44b20) [`[TGWolf]`](https://github.com/TGWolf)
|
|
47
53
|
|
|
48
|
-
### [v0.
|
|
54
|
+
### [v0.3.0](https://github.com/DevelopersToolbox/caretaker/compare/v0.2.0...v0.3.0)
|
|
49
55
|
|
|
50
56
|
> Released on February, 24th 2020
|
|
51
57
|
|
|
52
|
-
- Updated version file for push of gem [`[8dfae21]`](https://github.com/
|
|
58
|
+
- Updated version file for push of gem [`[8dfae21]`](https://github.com/DevelopersToolbox/caretaker/commit/8dfae211ec5ab70477d3d6587d84cc043a790d64) [`[TGWolf]`](https://github.com/TGWolf)
|
|
53
59
|
|
|
54
|
-
- Fix errors from travis + rubocop [`[5e69549]`](https://github.com/
|
|
60
|
+
- Fix errors from travis + rubocop [`[5e69549]`](https://github.com/DevelopersToolbox/caretaker/commit/5e69549506726a8782899d004b64b56ba6fe4729) [`[TGWolf]`](https://github.com/TGWolf)
|
|
55
61
|
|
|
56
|
-
- Fix some issues raised by shellcheck in the post-commit hook [`[caa33d2]`](https://github.com/
|
|
62
|
+
- Fix some issues raised by shellcheck in the post-commit hook [`[caa33d2]`](https://github.com/DevelopersToolbox/caretaker/commit/caa33d239b00cbea48f9123177a126cade113fac) [`[TGWolf]`](https://github.com/TGWolf)
|
|
57
63
|
|
|
58
|
-
- Add new release tagging and version bumping [`[786ed88]`](https://github.com/
|
|
64
|
+
- Add new release tagging and version bumping [`[786ed88]`](https://github.com/DevelopersToolbox/caretaker/commit/786ed88d1bf3486b03fbc2ee755d4ae4c763ab96) [`[TGWolf]`](https://github.com/TGWolf)
|
|
59
65
|
|
|
60
|
-
- Updated changelog to reflect current version [`[007fa21]`](https://github.com/
|
|
66
|
+
- Updated changelog to reflect current version [`[007fa21]`](https://github.com/DevelopersToolbox/caretaker/commit/007fa219d4845f1910cd625a325574f80909153a) [`[TGWolf]`](https://github.com/TGWolf)
|
|
61
67
|
|
|
62
|
-
### [v0.
|
|
68
|
+
### [v0.2.0](https://github.com/DevelopersToolbox/caretaker/releases/v0.2.0)
|
|
63
69
|
|
|
64
70
|
> Released on February, 10th 2020
|
|
65
71
|
|
|
66
|
-
- Missed the name of the cli options for min-words from -m to -w [`[2b8e0cf]`](https://github.com/
|
|
72
|
+
- Missed the name of the cli options for min-words from -m to -w [`[2b8e0cf]`](https://github.com/DevelopersToolbox/caretaker/commit/2b8e0cf79dd8e957aa688b395ab37f165322bd1e) [`[TGWolf]`](https://github.com/TGWolf)
|
|
67
73
|
|
|
68
|
-
- Type in the post-commit hook - doesnt stop it working but causes error output [`[9da99cc]`](https://github.com/
|
|
69
|
-
|
|
70
|
-
### [v0.2.0](https://github.com/WolfSoftware/caretaker.git/releases/v0.2.0)
|
|
71
|
-
|
|
72
|
-
> Released on February, 10th 2020
|
|
74
|
+
- Type in the post-commit hook - doesnt stop it working but causes error output [`[9da99cc]`](https://github.com/DevelopersToolbox/caretaker/commit/9da99cc6b5bc131d491df8019b3acb5dcf62fa6f) [`[TGWolf]`](https://github.com/TGWolf)
|
|
73
75
|
|
|
74
|
-
- Had to bump to version 0.2.0 due to a broken push of 0.1.0 [`[c101fb8]`](https://github.com/
|
|
76
|
+
- Had to bump to version 0.2.0 due to a broken push of 0.1.0 [`[c101fb8]`](https://github.com/DevelopersToolbox/caretaker/commit/c101fb85fa1831b8758bb27944a1693253b1b74f) [`[TGWolf]`](https://github.com/TGWolf)
|
|
75
77
|
|
|
76
|
-
- Fix an issue with incorrect spinners in the generate config and repo init functions [`[a15b75b]`](https://github.com/
|
|
78
|
+
- Fix an issue with incorrect spinners in the generate config and repo init functions [`[a15b75b]`](https://github.com/DevelopersToolbox/caretaker/commit/a15b75bae917276c83536b1e7e385c1dfb55f55c) [`[TGWolf]`](https://github.com/TGWolf)
|
|
77
79
|
|
|
78
|
-
- Initial push [`[f74a2c4]`](https://github.com/
|
|
80
|
+
- Initial push [`[f74a2c4]`](https://github.com/DevelopersToolbox/caretaker/commit/f74a2c411bf3339410d6a0f59a981abf6286107e) [`[TGWolf]`](https://github.com/TGWolf)
|
|
79
81
|
|
data/lib/caretaker.rb
CHANGED
|
@@ -22,6 +22,7 @@ class Caretaker
|
|
|
22
22
|
# Global variables
|
|
23
23
|
#
|
|
24
24
|
@name = 'Caretaker'
|
|
25
|
+
@url = 'https://github.com/DevelopersToolbox/caretaker'
|
|
25
26
|
@executable = 'caretaker'
|
|
26
27
|
@config_file = '.caretaker.yml'
|
|
27
28
|
@default_category = 'Uncategorised:'
|
|
@@ -361,9 +362,7 @@ class Caretaker
|
|
|
361
362
|
|
|
362
363
|
next if category == 'Skip:'
|
|
363
364
|
|
|
364
|
-
if @enable_categories || @remove_categories
|
|
365
|
-
a[:subject] = a[:subject].sub(/.*?:/, '').strip if category != @default_category
|
|
366
|
-
end
|
|
365
|
+
a[:subject] = a[:subject].sub(/.*?:/, '').strip if (@enable_categories || @remove_categories) && (category != @default_category)
|
|
367
366
|
|
|
368
367
|
next if count_words(a[:subject]) < @min_words
|
|
369
368
|
|
|
@@ -429,7 +428,7 @@ class Caretaker
|
|
|
429
428
|
@changelog += contents
|
|
430
429
|
end
|
|
431
430
|
|
|
432
|
-
@changelog += "\nThis changelog was automatically generated using [#{@name}](#{@
|
|
431
|
+
@changelog += "\nThis changelog was automatically generated using [#{@name}](#{@url}) by [Wolf Software](https://github.com/WolfSoftware)\n\n"
|
|
433
432
|
end
|
|
434
433
|
|
|
435
434
|
#
|
|
@@ -647,7 +646,7 @@ res=$(git status --porcelain | grep -c "${OUTPUT_FILE}")
|
|
|
647
646
|
if [[ "${res}" -gt 0 ]]; then
|
|
648
647
|
|
|
649
648
|
git add "${OUTPUT_FILE}" >> /dev/null 2>&1
|
|
650
|
-
git commit --amend --no-edit >> /dev/null 2>&1
|
|
649
|
+
git commit --amend --no-edit --no-verify >> /dev/null 2>&1
|
|
651
650
|
|
|
652
651
|
if [[ -n "${RELEASE_VERSION}" ]]; then
|
|
653
652
|
git tag -f "${TAG_NAME}"
|
data/lib/caretaker/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: caretaker
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.8.
|
|
4
|
+
version: 0.8.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tim Gurney aka Wolf
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-08
|
|
11
|
+
date: 2020-12-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|