fit-commit 3.5.0 → 3.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +6 -4
- data/lib/fit_commit/version.rb +1 -1
- data/templates/config/fit_commit.default.yml +2 -4
- metadata +2 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4e1a1edf188e51f1a7a23442f5c71766d4d5db95
|
4
|
+
data.tar.gz: 5d0296b196712920a785a136578436c1f75c3ecb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e5bd80bb0262db06c49fff2942887dfe0a758f04946a65564a2e80f3b33d2d95b796c3bdb73685a5f1fa49f3e85cdf8a12a4e723d7a08c712dfc494af94f9ad2
|
7
|
+
data.tar.gz: 607cfaf5708bb74c11ebe32d4db494329f14b05748d183336e597ffba9581bfb8d48289748fbe2b2d5b076a0097032194d2427063bdc28b8cb3a074fa5f17e9c
|
data/README.md
CHANGED
@@ -39,8 +39,8 @@ This creates a `.git/hooks/commit-msg` script which will automatically check you
|
|
39
39
|
* **Tense**: Message must use imperative present tense: "Fix bug" and not "Fixed bug" or "Fixes bug."
|
40
40
|
* **Subject Period**: Do not end your subject line with a period.
|
41
41
|
* **Capitalize Subject**: Begin all subject lines with a capital letter.
|
42
|
-
* **WIP**: Do not commit WIPs to shared branches.
|
43
42
|
* **Frat House**: No frat house commit messages in shared branches.
|
43
|
+
* **WIP**: Do not commit WIPs to shared branches (disabled by default)
|
44
44
|
|
45
45
|
## Configuration
|
46
46
|
|
@@ -61,10 +61,10 @@ Validators/SubjectPeriod:
|
|
61
61
|
Enabled: true
|
62
62
|
Validators/CapitalizeSubject:
|
63
63
|
Enabled: true
|
64
|
-
Validators/Wip:
|
65
|
-
Enabled: true
|
66
64
|
Validators/Frathouse:
|
67
65
|
Enabled: true
|
66
|
+
Validators/Wip:
|
67
|
+
Enabled: false
|
68
68
|
```
|
69
69
|
|
70
70
|
The `Enabled` property accepts multiple formats:
|
@@ -174,4 +174,6 @@ Author: [Mike Foley](https://github.com/m1foley)
|
|
174
174
|
|
175
175
|
Inspiration taken from: [Tim Pope](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html), [Jason Fox](https://gist.github.com/jasonrobertfox/8057124), [Addam Hardy](http://addamhardy.com/blog/2013/06/05/good-commit-messages-and-enforcing-them-with-git-hooks/), [pre-commit](https://github.com/jish/pre-commit)
|
176
176
|
|
177
|
-
Similar projects:
|
177
|
+
Similar projects:
|
178
|
+
- [gitlint](https://github.com/jorisroovers/gitlint) (written in Python)
|
179
|
+
- [fit-commit-js](https://www.npmjs.com/package/fit-commit-js) (Node.js package)
|
data/lib/fit_commit/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fit-commit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Foley
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-11-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: swearjar
|
@@ -149,4 +149,3 @@ test_files:
|
|
149
149
|
- test/unit/validators/tense_test.rb
|
150
150
|
- test/unit/validators/validator_helper.rb
|
151
151
|
- test/unit/validators/wip_test.rb
|
152
|
-
has_rdoc:
|