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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 179a706a6991b40dbbb489fdb38fb955505f0ee1c93f866a703e711a6979f8c6
4
- data.tar.gz: 5233c41ef4e4862ed4baaa7ceb354deb8e7dbe69efb90720c888ae92628cc7b1
3
+ metadata.gz: 2738d9812647c24090cf0465db57379709af0fd64c9c8aa474f7d68c2f7896f5
4
+ data.tar.gz: f258c1a530ce3faf4f115feb2a108d021f09959eda092be58d92b75b8b5862d6
5
5
  SHA512:
6
- metadata.gz: 6e0d44179f5b348ab65ecf01a5b252726940b3e1eda0a5659d63d9a15755e6ea6f3e940d6d3445339b4a0d1541f89ba279789ecfa127770d5f02927c2533b6eb
7
- data.tar.gz: eb86f245720675fff023b44b90e634d91337a53f15af18cacf4f458825c48a57501f054260e2fc4bb75c208e7579ecdb79f81f89008830f02fa16e9059f7ddaa
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
- F���ㅺ��_J���YO�TN�0U
2
- ���V���s�� 4������8c���Z��&�Ĝx����7|��s������x��cqP7ǯ��b[X�>�HT�,�`��#!9�j~R�*UNݯ�RYwBE��%_7��_=q
1
+ _f�
2
+ s:��v:��~���.�3if�J��^Al�N8�M0��4�QdE����D�$����;"��tzt��ǃ�$�ݒS���~fƮvV���$!V�������.n�L�f�?
3
+ "f~l����v��:���s!��a��b��y�h̜�H�1��� �d  e�]�g�#�N�M8#�/���VP:KD!SJE��܏��͓�n2 0�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 the commit subject uses consistent prefixes that explain _what_ is being committed. The
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 or file change.
739
- The important point is the change is applied to existing code which corrects behavior that wasn't
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, using a prefix other than what has been detailed above to explain _what_ is being
758
- committed is never needed. These prefixes are not only short and easy to remember but also have the
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, link:https://www.alchemists.io/projects/milestoner[Milestoner],
761
- for producing consistent project milestones and Git tag histories.
762
-
763
- 💡 Automatically ignores _amend!_, _fixup!_, or _squash!_ commit prefixes when used as a Git Hook in
764
- order to not disturb interactive rebase workflows.
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
@@ -78,7 +78,7 @@ module Git
78
78
  else
79
79
  help "--hook"
80
80
  end
81
- rescue Errors::Base, GitPlus::Errors::Base => error
81
+ rescue Errors::Base, GitPlus::Error => error
82
82
  abort colorizer.red("#{Identity::LABEL}: #{error.message}")
83
83
  end
84
84
 
@@ -6,7 +6,7 @@ module Git
6
6
  module Identity
7
7
  NAME = "git-lint"
8
8
  LABEL = "Git Lint"
9
- VERSION = "2.3.1"
9
+ VERSION = "2.3.2"
10
10
  VERSION_LABEL = "#{LABEL} #{VERSION}"
11
11
  end
12
12
  end
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.1
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-07-11 00:00:00.000000000 Z
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.5'
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.5'
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.23
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