git-lint 5.1.1 → 5.1.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/README.adoc +16 -16
- data/git-lint.gemspec +4 -4
- data/lib/git/lint/analyzer.rb +2 -0
- data.tar.gz.sig +2 -2
- metadata +30 -23
- 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: 979c80bd2907a9a0a5b3035e82c861dacacae1fc8282f37679357bc79f6ac5a0
|
4
|
+
data.tar.gz: 6175e280b6b538a262c2f3cbf6d566ffde5d7e91feb81abd50e0fcf4f0994ccf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 577c1ba631c684d659de0bf543cba7b8ef56dc5fec373fcd013969884d3d582db012cf53c5397bd4a7d3218d6f77580366b11cd66a9276ebe027e17193b2a625
|
7
|
+
data.tar.gz: 7c0ed96012c7ee151b5faba3d554075e3d07d8336772897a1ff229ad4a4a01859277600968b69a9ce07c529223717284261f2e782f4605c9058b087d4019fbc8
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/README.adoc
CHANGED
@@ -2,14 +2,14 @@
|
|
2
2
|
:toclevels: 5
|
3
3
|
:figure-caption!:
|
4
4
|
|
5
|
-
:git_rebase_workflow_link: link:https://
|
5
|
+
:git_rebase_workflow_link: link:https://alchemists.io/articles/git_rebase[Git Rebase Workflow]
|
6
6
|
|
7
7
|
= Git Lint
|
8
8
|
|
9
9
|
Git Lint is a command line interface for linting Git commits by ensuring you maintain a clean, easy
|
10
10
|
to read, debuggable, and maintainable project history. Having a consistent commit history leads to
|
11
11
|
improved code reviews and is a perfect companion to tools like
|
12
|
-
link:https://
|
12
|
+
link:https://alchemists.io/projects/milestoner[Milestoner] for versioning and producing
|
13
13
|
automated release notes of your deploys.
|
14
14
|
|
15
15
|
toc::[]
|
@@ -96,7 +96,7 @@ This gem can be configured via a global configuration:
|
|
96
96
|
$HOME/.config/git-lint/configuration.yml
|
97
97
|
....
|
98
98
|
|
99
|
-
It can also be configured via link:https://
|
99
|
+
It can also be configured via link:https://alchemists.io/projects/xdg[XDG] environment
|
100
100
|
variables. The default configuration is:
|
101
101
|
|
102
102
|
[source,yaml]
|
@@ -587,9 +587,9 @@ In practice, it is quite rare to need a prefix other than what has been detailed
|
|
587
587
|
_what_ is being committed. These prefixes are not only short and easy to remember but also have the
|
588
588
|
added benefit of categorizing the commits for building release notes, change logs, etc. This becomes
|
589
589
|
handy when coupled with another tool,
|
590
|
-
link:https://
|
590
|
+
link:https://alchemists.io/projects/milestoner[Milestoner], for producing consistent project
|
591
591
|
milestones and Git tag histories. For a deeper dive on subject prefixes and good commit messages in
|
592
|
-
general, please read about link:https://
|
592
|
+
general, please read about link:https://alchemists.io/articles/git_commit_anatomy[commit anatomy
|
593
593
|
] to learn more. 🎉
|
594
594
|
|
595
595
|
Each prefix is delimited by a space which is the default setting but can be customized if desired.
|
@@ -609,7 +609,7 @@ a Git Hook in order to not disturb interactive rebase workflows.
|
|
609
609
|
|
610
610
|
Ensures commit subjects are suffixed consistently. The exclude list _is_ case sensitive and prevents
|
611
611
|
the use of punctuation. This is handy when coupled with a tool, like
|
612
|
-
link:https://
|
612
|
+
link:https://alchemists.io/projects/milestoner[Milestoner], which automates project milestone
|
613
613
|
releases.
|
614
614
|
|
615
615
|
==== Commit Trailer Collaborator Capitalization
|
@@ -1139,7 +1139,7 @@ configuration disabled.
|
|
1139
1139
|
|
1140
1140
|
=== Tags
|
1141
1141
|
|
1142
|
-
* Use tags to denote link:https://
|
1142
|
+
* Use tags to denote link:https://alchemists.io/projects/milestoner[milestones]/releases:
|
1143
1143
|
** Makes it easier to record milestones and capture associated release notes.
|
1144
1144
|
** Makes it easier to compare differences between versions.
|
1145
1145
|
** Provides a starting point for debugging production issues (if any).
|
@@ -1165,7 +1165,7 @@ configuration disabled.
|
|
1165
1165
|
=== Code Reviews
|
1166
1166
|
|
1167
1167
|
For an in depth look at how to conduct code reviews, please read my
|
1168
|
-
link:https://
|
1168
|
+
link:https://alchemists.io/articles/code_reviews[article] on this subject to learn more.
|
1169
1169
|
|
1170
1170
|
== Development
|
1171
1171
|
|
@@ -1194,19 +1194,19 @@ To test, run:
|
|
1194
1194
|
bin/rake
|
1195
1195
|
----
|
1196
1196
|
|
1197
|
-
== link:https://
|
1197
|
+
== link:https://alchemists.io/policies/license[License]
|
1198
1198
|
|
1199
|
-
== link:https://
|
1199
|
+
== link:https://alchemists.io/policies/security[Security]
|
1200
1200
|
|
1201
|
-
== link:https://
|
1201
|
+
== link:https://alchemists.io/policies/code_of_conduct[Code of Conduct]
|
1202
1202
|
|
1203
|
-
== link:https://
|
1203
|
+
== link:https://alchemists.io/policies/contributions[Contributions]
|
1204
1204
|
|
1205
|
-
== link:https://
|
1205
|
+
== link:https://alchemists.io/projects/git-lint/versions[Versions]
|
1206
1206
|
|
1207
|
-
== link:https://
|
1207
|
+
== link:https://alchemists.io/community[Community]
|
1208
1208
|
|
1209
1209
|
== Credits
|
1210
1210
|
|
1211
|
-
* Built with link:https://
|
1212
|
-
* Engineered by link:https://
|
1211
|
+
* Built with link:https://alchemists.io/projects/gemsmith[Gemsmith].
|
1212
|
+
* Engineered by link:https://alchemists.io/team/brooke_kuhlmann[Brooke Kuhlmann].
|
data/git-lint.gemspec
CHANGED
@@ -2,17 +2,17 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |spec|
|
4
4
|
spec.name = "git-lint"
|
5
|
-
spec.version = "5.1.
|
5
|
+
spec.version = "5.1.2"
|
6
6
|
spec.authors = ["Brooke Kuhlmann"]
|
7
7
|
spec.email = ["brooke@alchemists.io"]
|
8
|
-
spec.homepage = "https://
|
8
|
+
spec.homepage = "https://alchemists.io/projects/git-lint"
|
9
9
|
spec.summary = "A command line interface for linting Git commits."
|
10
10
|
spec.license = "Hippocratic-2.1"
|
11
11
|
|
12
12
|
spec.metadata = {
|
13
13
|
"bug_tracker_uri" => "https://github.com/bkuhlmann/git-lint/issues",
|
14
|
-
"changelog_uri" => "https://
|
15
|
-
"documentation_uri" => "https://
|
14
|
+
"changelog_uri" => "https://alchemists.io/projects/git-lint/versions",
|
15
|
+
"documentation_uri" => "https://alchemists.io/projects/git-lint",
|
16
16
|
"funding_uri" => "https://github.com/sponsors/bkuhlmann",
|
17
17
|
"label" => "Git Lint",
|
18
18
|
"rubygems_mfa_required" => "true",
|
data/lib/git/lint/analyzer.rb
CHANGED
@@ -6,6 +6,7 @@ module Git
|
|
6
6
|
class Analyzer
|
7
7
|
include Import[:configuration]
|
8
8
|
|
9
|
+
# rubocop:todo Metrics/CollectionLiteralLength
|
9
10
|
ANALYZERS = [
|
10
11
|
Analyzers::CommitAuthorCapitalization,
|
11
12
|
Analyzers::CommitAuthorEmail,
|
@@ -40,6 +41,7 @@ module Git
|
|
40
41
|
Analyzers::CommitTrailerTrackerKey,
|
41
42
|
Analyzers::CommitTrailerTrackerValue
|
42
43
|
].freeze
|
44
|
+
# rubocop:enable Metrics/CollectionLiteralLength
|
43
45
|
|
44
46
|
# rubocop:disable Metrics/ParameterLists
|
45
47
|
def initialize(
|
data.tar.gz.sig
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
(�v�������@��7,��_���C߀Q_6?ɢm��U��]��)%����[:���/p�1~Yaۥ������%�F�c��H>�AK���u]�~~�`F�r��12��Ѹ�)���`Ou�kDR;%Lu:�Er�e'�n���Q�.K�C�%.h�ҞPN�'r>�tS�'�o=����5�����<Vʳ��<�S���1�&�j���08
|
2
|
+
�:������D��)m���H��ʺ�_�U6Ҍ���������=q9)�P�@�H�-�1�Ԇ��0'97�1�|}!i���J>S����>>~�tN�Xݴ ��3[���C%����m�7s��e�u�0���!����r����cn6N���P�跤��1�
|
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: 5.1.
|
4
|
+
version: 5.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brooke Kuhlmann
|
@@ -10,25 +10,32 @@ bindir: exe
|
|
10
10
|
cert_chain:
|
11
11
|
- |
|
12
12
|
-----BEGIN CERTIFICATE-----
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
13
|
+
MIIEeDCCAuCgAwIBAgIBATANBgkqhkiG9w0BAQsFADBBMQ8wDQYDVQQDDAZicm9v
|
14
|
+
a2UxGjAYBgoJkiaJk/IsZAEZFgphbGNoZW1pc3RzMRIwEAYKCZImiZPyLGQBGRYC
|
15
|
+
aW8wHhcNMjMwMzIyMTYxNDQxWhcNMjUwMzIxMTYxNDQxWjBBMQ8wDQYDVQQDDAZi
|
16
|
+
cm9va2UxGjAYBgoJkiaJk/IsZAEZFgphbGNoZW1pc3RzMRIwEAYKCZImiZPyLGQB
|
17
|
+
GRYCaW8wggGiMA0GCSqGSIb3DQEBAQUAA4IBjwAwggGKAoIBgQCro8tj5/E1Hg88
|
18
|
+
f4qfiwPVd2zJQHvdYt4GHVvuHRRgx4HGhJuNp+4BId08RBn7V6V1MW6MY3kezRBs
|
19
|
+
M+7QOQ4b1xNLTvY7FYQB1wGK5a4x7TTokDrPYQxDB2jmsdDYCzVbIMrAvUfcecRi
|
20
|
+
khyGZCdByiiCl4fKv77P12tTT+NfsvXkLt/AYCGwjOUyGKTQ01Z6eC09T27GayPH
|
21
|
+
QQvIkakyFgcJtzSyGzs8bzK5q9u7wQ12MNTjJoXzW69lqp0oNvDylu81EiSUb5S6
|
22
|
+
QzzPxZBiRB1sgtbt1gUbVI262ZDq1gR+HxPFm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END CERTIFICATE-----
|
31
|
-
date: 2023-
|
38
|
+
date: 2023-03-22 00:00:00.000000000 Z
|
32
39
|
dependencies:
|
33
40
|
- !ruby/object:Gem::Dependency
|
34
41
|
name: cogger
|
@@ -271,13 +278,13 @@ files:
|
|
271
278
|
- lib/git/lint/validators/capitalization.rb
|
272
279
|
- lib/git/lint/validators/email.rb
|
273
280
|
- lib/git/lint/validators/name.rb
|
274
|
-
homepage: https://
|
281
|
+
homepage: https://alchemists.io/projects/git-lint
|
275
282
|
licenses:
|
276
283
|
- Hippocratic-2.1
|
277
284
|
metadata:
|
278
285
|
bug_tracker_uri: https://github.com/bkuhlmann/git-lint/issues
|
279
|
-
changelog_uri: https://
|
280
|
-
documentation_uri: https://
|
286
|
+
changelog_uri: https://alchemists.io/projects/git-lint/versions
|
287
|
+
documentation_uri: https://alchemists.io/projects/git-lint
|
281
288
|
funding_uri: https://github.com/sponsors/bkuhlmann
|
282
289
|
label: Git Lint
|
283
290
|
rubygems_mfa_required: 'true'
|
@@ -297,7 +304,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
297
304
|
- !ruby/object:Gem::Version
|
298
305
|
version: '0'
|
299
306
|
requirements: []
|
300
|
-
rubygems_version: 3.4.
|
307
|
+
rubygems_version: 3.4.9
|
301
308
|
signing_key:
|
302
309
|
specification_version: 4
|
303
310
|
summary: A command line interface for linting Git commits.
|
metadata.gz.sig
CHANGED
Binary file
|