git-lint 2.3.1 → 2.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +3 -2
- data/README.adoc +13 -10
- data/lib/git/lint/cli.rb +1 -1
- data/lib/git/lint/identity.rb +1 -1
- metadata +5 -5
- 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: 2738d9812647c24090cf0465db57379709af0fd64c9c8aa474f7d68c2f7896f5
|
4
|
+
data.tar.gz: f258c1a530ce3faf4f115feb2a108d021f09959eda092be58d92b75b8b5862d6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 44551a125b11785cdadbb3d65e63c049e2a513704ebef7f21419c95b21c396ac8f2193bd7f2bf35d4f30469789236b793a3cd1f2a3554efc715b0ebcaa4621e4
|
7
|
+
data.tar.gz: d6f8299c1c864fe7cfde0a692119b3bab8f1450ce89df534b76ac3c84d31cb54576cc2a45f300fdb8afd3cdfbd539f029aab88967e0bc7184ec9a4a0c8a01396
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
@@ -1,2 +1,3 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
_f�
|
2
|
+
s:��v:��~���.�3if�J��^Al�N8�M0��4�QdE����D�$����;"��tzt��ǃ�$�ݒS���~fƮv�V���$!V�������.n�L�f�?
|
3
|
+
"f~l����v��:���s!��a��b��y�h̜�H�1����d e�]�g�#�N�M8#�/���VP:KD!SJE����͓�n20�5i�HU;�F���H[ȑ���� ��]�V�d?!Kj�
|
data/README.adoc
CHANGED
@@ -731,12 +731,12 @@ Automatically ignores _fixup!_ or _squash!_ commit prefixes when calculating sub
|
|
731
731
|
| true | error | includes: (see below)
|
732
732
|
|===
|
733
733
|
|
734
|
-
Ensures
|
734
|
+
Ensures each commit subject uses consistent prefixes that explain _what_ is being committed. The
|
735
735
|
`includes` are _case sensitive_ and default to the following prefixes:
|
736
736
|
|
737
737
|
* *Fixed* - Identifies what was fixed. The commit should be as small as possible and consist of
|
738
|
-
changes to implementation and spec only. In some cases this might be a single line
|
739
|
-
|
738
|
+
changes to implementation and spec only. In some cases this might be a single line change. The
|
739
|
+
important point is the change is applied to existing code which corrects behavior that wasn't
|
740
740
|
properly implemented earlier.
|
741
741
|
* *Removed* - Identifies what was removed. The commit should be as small as possible and consist
|
742
742
|
only of removed lines/files from the existing implementation. This might also mean breaking
|
@@ -754,14 +754,17 @@ Ensures the commit subject uses consistent prefixes that explain _what_ is being
|
|
754
754
|
implementation behavior or corresponding specs because, if that happens, then one of the other
|
755
755
|
four prefixes is what you want to use instead.
|
756
756
|
|
757
|
-
In practice,
|
758
|
-
|
757
|
+
In practice, it is quite rare to need a prefix other than what has been detailed above to explain
|
758
|
+
_what_ is being committed. These prefixes are not only short and easy to remember but also have the
|
759
759
|
added benefit of categorizing the commits for building release notes, change logs, etc. This becomes
|
760
|
-
handy when coupled with another tool,
|
761
|
-
for producing consistent project
|
762
|
-
|
763
|
-
|
764
|
-
|
760
|
+
handy when coupled with another tool,
|
761
|
+
link:https://www.alchemists.io/projects/milestoner[Milestoner], for producing consistent project
|
762
|
+
milestones and Git tag histories. For a deeper dive on subject prefixes and good commit messages in
|
763
|
+
general, please read about link:https://www.alchemists.io/articles/git_commit_anatomy[commit anatomy
|
764
|
+
] to learn more. 🎉
|
765
|
+
|
766
|
+
💡 This analyzer automatically ignores _amend!_, _fixup!_, or _squash!_ commit prefixes when used as
|
767
|
+
a Git Hook in order to not disturb interactive rebase workflows.
|
765
768
|
|
766
769
|
=== Commit Subject Suffix
|
767
770
|
|
data/lib/git/lint/cli.rb
CHANGED
data/lib/git/lint/identity.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: git-lint
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.3.
|
4
|
+
version: 2.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brooke Kuhlmann
|
@@ -28,7 +28,7 @@ cert_chain:
|
|
28
28
|
lkHilIrX69jq8wMPpBhlaw2mRmeSL50Wv5u6xVBvOHhXFSP1crXM95vfLhLyRYod
|
29
29
|
W2A=
|
30
30
|
-----END CERTIFICATE-----
|
31
|
-
date: 2021-
|
31
|
+
date: 2021-08-09 00:00:00.000000000 Z
|
32
32
|
dependencies:
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: git_plus
|
@@ -36,14 +36,14 @@ dependencies:
|
|
36
36
|
requirements:
|
37
37
|
- - "~>"
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version: '0.
|
39
|
+
version: '0.6'
|
40
40
|
type: :runtime
|
41
41
|
prerelease: false
|
42
42
|
version_requirements: !ruby/object:Gem::Requirement
|
43
43
|
requirements:
|
44
44
|
- - "~>"
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: '0.
|
46
|
+
version: '0.6'
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: pastel
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|
@@ -186,7 +186,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
186
186
|
- !ruby/object:Gem::Version
|
187
187
|
version: '0'
|
188
188
|
requirements: []
|
189
|
-
rubygems_version: 3.2.
|
189
|
+
rubygems_version: 3.2.25
|
190
190
|
signing_key:
|
191
191
|
specification_version: 4
|
192
192
|
summary: A command line interface for linting Git commits.
|
metadata.gz.sig
CHANGED
Binary file
|