caretaker 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +11 -1
- data/lib/caretaker.rb +2 -2
- data/lib/caretaker/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 010b7b56270fe29a13749c4f728c2d329f65ab36c5aea469643d31207e8d941a
|
4
|
+
data.tar.gz: 76a2747db93641034f431dfc622b0e3b44b6919fcdac13e84d93d2025550d31e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 224af39d14ce49161410604d9068a82ca50d1b96327988d4401c5f306839646733c92d246c582dc92ce80b4c2328f759436b8c6669a84191df1b4669c69e7f37
|
7
|
+
data.tar.gz: '086ea81f8f0f443f72a4ea353f05f6968d99b93659af8146f6a76758e2f82aac88c34817114dce7ee74b0825fc75b38e2185b9c7fd465ac434a53860123f3c44'
|
data/CHANGELOG.md
CHANGED
@@ -5,9 +5,19 @@ All notable changes to this project will be documented in this file.
|
|
5
5
|
|
6
6
|
This changelog was automatically generated using [Caretaker](https://github.com/WolfSoftware/caretaker) by [Wolf Software](https://github.com/WolfSoftware)
|
7
7
|
|
8
|
-
### [
|
8
|
+
### [Unreleased](https://github.com/WolfSoftware/caretaker/compare/v0.2.0...HEAD)
|
9
|
+
|
10
|
+
- Missed the name of the cli options for min-words from -m to -w [`[346ebbc]`](https://github.com/WolfSoftware/caretaker/commit/346ebbc9cb1f08034373b8143436e20cda2d11dd)
|
11
|
+
|
12
|
+
- Type in the post-commit hook - doesnt stop it working but causes error output [`[9da99cc]`](https://github.com/WolfSoftware/caretaker/commit/9da99cc6b5bc131d491df8019b3acb5dcf62fa6f)
|
13
|
+
|
14
|
+
### [v0.2.0](https://github.com/WolfSoftware/caretaker/releases/v0.2.0)
|
9
15
|
|
10
16
|
> Released on February, 10th 2020
|
11
17
|
|
18
|
+
- Had to bump to version 0.2.0 due to a broken push of 0.1.0 [`[c101fb8]`](https://github.com/WolfSoftware/caretaker/commit/c101fb85fa1831b8758bb27944a1693253b1b74f)
|
19
|
+
|
20
|
+
- Fix an issue with incorrect spinners in the generate config and repo init functions [`[a15b75b]`](https://github.com/WolfSoftware/caretaker/commit/a15b75bae917276c83536b1e7e385c1dfb55f55c)
|
21
|
+
|
12
22
|
- Initial push [`[f74a2c4]`](https://github.com/WolfSoftware/caretaker/commit/f74a2c411bf3339410d6a0f59a981abf6286107e)
|
13
23
|
|
data/lib/caretaker.rb
CHANGED
@@ -573,17 +573,17 @@ class Caretaker
|
|
573
573
|
|
574
574
|
cmd += " -a #{@author}" unless @author.nil?
|
575
575
|
cmd += ' -e' if @enable_categories
|
576
|
-
cmd += " -m #{@min_words}" unless @min_words.nil?
|
577
576
|
cmd += ' -r' if @remove_categories
|
578
577
|
cmd += ' -s' if @silent
|
579
578
|
cmd += ' -v' if @verify_urls
|
579
|
+
cmd += " -w #{@min_words}" unless @min_words.nil?
|
580
580
|
|
581
581
|
puts "> #{@name} is creating a custom post-commit hook" unless @silent
|
582
582
|
start_spinner('Generating Hook')
|
583
583
|
contents = <<~END_OF_SCRIPT
|
584
584
|
#!/usr/bin/env bash
|
585
585
|
|
586
|
-
|
586
|
+
LOCKFILE="#{@repo_base_dir}/.lock"
|
587
587
|
|
588
588
|
if [[ -f "${LOCKFILE}" ]]; then
|
589
589
|
exit
|
data/lib/caretaker/version.rb
CHANGED