git-lint 3.3.1 → 4.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/LICENSE.adoc +134 -214
- data/git-lint.gemspec +7 -5
- data/lib/git/lint/analyzer.rb +6 -4
- data/lib/git/lint/analyzers/abstract.rb +6 -4
- data/lib/git/lint/analyzers/commit_author_capitalization.rb +2 -2
- data/lib/git/lint/analyzers/commit_author_email.rb +2 -2
- data/lib/git/lint/analyzers/commit_author_name.rb +2 -2
- data/lib/git/lint/analyzers/commit_subject_prefix.rb +1 -1
- data/lib/git/lint/analyzers/commit_trailer_collaborator_capitalization.rb +5 -2
- data/lib/git/lint/analyzers/commit_trailer_collaborator_duplication.rb +2 -2
- data/lib/git/lint/analyzers/commit_trailer_collaborator_email.rb +5 -3
- data/lib/git/lint/analyzers/commit_trailer_collaborator_key.rb +2 -2
- data/lib/git/lint/analyzers/commit_trailer_collaborator_name.rb +5 -3
- data/lib/git/lint/cli/actions/analyze/branch.rb +5 -9
- data/lib/git/lint/cli/actions/analyze/commit.rb +5 -7
- data/lib/git/lint/cli/actions/config.rb +5 -7
- data/lib/git/lint/cli/actions/container.rb +25 -0
- data/lib/git/lint/cli/actions/hook.rb +5 -9
- data/lib/git/lint/cli/actions/import.rb +13 -0
- data/lib/git/lint/cli/parser.rb +8 -5
- data/lib/git/lint/cli/parsers/core.rb +5 -5
- data/lib/git/lint/cli/shell.rb +17 -30
- data/lib/git/lint/commits/loader.rb +13 -22
- data/lib/git/lint/commits/systems/circle_ci.rb +1 -7
- data/lib/git/lint/commits/systems/container.rb +25 -0
- data/lib/git/lint/commits/systems/git_hub_action.rb +1 -7
- data/lib/git/lint/commits/systems/import.rb +13 -0
- data/lib/git/lint/commits/systems/local.rb +1 -7
- data/lib/git/lint/commits/systems/netlify_ci.rb +3 -13
- data/lib/git/lint/container.rb +4 -24
- data/lib/git/lint/import.rb +9 -0
- data.tar.gz.sig +0 -0
- metadata +53 -21
- metadata.gz.sig +0 -0
- data/lib/git/lint/commits/container.rb +0 -21
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:
|
4
|
+
version: 4.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brooke Kuhlmann
|
@@ -10,9 +10,9 @@ bindir: exe
|
|
10
10
|
cert_chain:
|
11
11
|
- |
|
12
12
|
-----BEGIN CERTIFICATE-----
|
13
|
-
MIIC/
|
14
|
-
|
15
|
-
|
13
|
+
MIIC/jCCAeagAwIBAgIBBTANBgkqhkiG9w0BAQsFADAlMSMwIQYDVQQDDBpicm9v
|
14
|
+
a2UvREM9YWxjaGVtaXN0cy9EQz1pbzAeFw0yMjAzMTkxNzI0MzJaFw0yMzAzMTkx
|
15
|
+
NzI0MzJaMCUxIzAhBgNVBAMMGmJyb29rZS9EQz1hbGNoZW1pc3RzL0RDPWlvMIIB
|
16
16
|
IjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA6l1qpXTiomH1RfMRloyw7MiE
|
17
17
|
xyVx/x8Yc3EupdH7uhNaTXQGyORN6aOY//1QXXMHIZ9tW74nZLhesWMSUMYy0XhB
|
18
18
|
brs+KkurHnc9FnEJAbG7ebGvl/ncqZt72nQvaxpDxvuCBHgJAz+8i5wl6FhLw+oT
|
@@ -20,44 +20,72 @@ cert_chain:
|
|
20
20
|
D5vkU0YlAm1r98BymuJlcQ1qdkVEI1d48ph4kcS0S0nv1RiuyVb6TCAR3Nu3VaVq
|
21
21
|
3fPzZKJLZBx67UvXdbdicWPiUR75elI4PXpLIic3xytaF52ZJYyKZCNZJhNwfQID
|
22
22
|
AQABozkwNzAJBgNVHRMEAjAAMAsGA1UdDwQEAwIEsDAdBgNVHQ4EFgQU0nzow9vc
|
23
|
-
2CdikiiE3fJhP/
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
23
|
+
2CdikiiE3fJhP/gY4ggwDQYJKoZIhvcNAQELBQADggEBAJbbNyWzFjqUNVPPCUCo
|
24
|
+
IMrhDa9xf1xkORXNYYbmXgoxRy/KyNbUr+jgEEoWJAm9GXlcqxxWAUI6pK/i4/Qi
|
25
|
+
X6rPFEFmeObDOHNvuqy8Hd6AYsu+kP94U/KJhe9wnWGMmGoNKJNU3EkW3jM/osSl
|
26
|
+
+JRxiH5t4WtnDiVyoYl5nYC02rYdjJkG6VMxDymXTqn7u6HhYgZkGujq1UPar8x2
|
27
|
+
hNIWJblDKKSu7hA2d6+kUthuYo13o1sg1Da/AEDg0hoZSUvhqDEF5Hy232qb3pDt
|
28
|
+
CxDe2+VuChj4I1nvIHdu+E6XoEVlanUPKmSg6nddhkKn2gC45Kyzh6FZqnzH/CRp
|
29
|
+
RFE=
|
30
30
|
-----END CERTIFICATE-----
|
31
|
-
date: 2022-
|
31
|
+
date: 2022-04-23 00:00:00.000000000 Z
|
32
32
|
dependencies:
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: auto_injector
|
35
|
+
requirement: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - "~>"
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '0.4'
|
40
|
+
type: :runtime
|
41
|
+
prerelease: false
|
42
|
+
version_requirements: !ruby/object:Gem::Requirement
|
43
|
+
requirements:
|
44
|
+
- - "~>"
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '0.4'
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: cogger
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - "~>"
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0.0'
|
54
|
+
type: :runtime
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
requirements:
|
58
|
+
- - "~>"
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: '0.0'
|
33
61
|
- !ruby/object:Gem::Dependency
|
34
62
|
name: dry-container
|
35
63
|
requirement: !ruby/object:Gem::Requirement
|
36
64
|
requirements:
|
37
65
|
- - "~>"
|
38
66
|
- !ruby/object:Gem::Version
|
39
|
-
version: 0.9
|
67
|
+
version: '0.9'
|
40
68
|
type: :runtime
|
41
69
|
prerelease: false
|
42
70
|
version_requirements: !ruby/object:Gem::Requirement
|
43
71
|
requirements:
|
44
72
|
- - "~>"
|
45
73
|
- !ruby/object:Gem::Version
|
46
|
-
version: 0.9
|
74
|
+
version: '0.9'
|
47
75
|
- !ruby/object:Gem::Dependency
|
48
76
|
name: git_plus
|
49
77
|
requirement: !ruby/object:Gem::Requirement
|
50
78
|
requirements:
|
51
79
|
- - "~>"
|
52
80
|
- !ruby/object:Gem::Version
|
53
|
-
version: '1.
|
81
|
+
version: '1.3'
|
54
82
|
type: :runtime
|
55
83
|
prerelease: false
|
56
84
|
version_requirements: !ruby/object:Gem::Requirement
|
57
85
|
requirements:
|
58
86
|
- - "~>"
|
59
87
|
- !ruby/object:Gem::Version
|
60
|
-
version: '1.
|
88
|
+
version: '1.3'
|
61
89
|
- !ruby/object:Gem::Dependency
|
62
90
|
name: pastel
|
63
91
|
requirement: !ruby/object:Gem::Requirement
|
@@ -106,14 +134,14 @@ dependencies:
|
|
106
134
|
requirements:
|
107
135
|
- - "~>"
|
108
136
|
- !ruby/object:Gem::Version
|
109
|
-
version: '0.
|
137
|
+
version: '0.2'
|
110
138
|
type: :runtime
|
111
139
|
prerelease: false
|
112
140
|
version_requirements: !ruby/object:Gem::Requirement
|
113
141
|
requirements:
|
114
142
|
- - "~>"
|
115
143
|
- !ruby/object:Gem::Version
|
116
|
-
version: '0.
|
144
|
+
version: '0.2'
|
117
145
|
- !ruby/object:Gem::Dependency
|
118
146
|
name: zeitwerk
|
119
147
|
requirement: !ruby/object:Gem::Requirement
|
@@ -169,16 +197,19 @@ files:
|
|
169
197
|
- lib/git/lint/cli/actions/analyze/branch.rb
|
170
198
|
- lib/git/lint/cli/actions/analyze/commit.rb
|
171
199
|
- lib/git/lint/cli/actions/config.rb
|
200
|
+
- lib/git/lint/cli/actions/container.rb
|
172
201
|
- lib/git/lint/cli/actions/hook.rb
|
202
|
+
- lib/git/lint/cli/actions/import.rb
|
173
203
|
- lib/git/lint/cli/parser.rb
|
174
204
|
- lib/git/lint/cli/parsers/analyze.rb
|
175
205
|
- lib/git/lint/cli/parsers/core.rb
|
176
206
|
- lib/git/lint/cli/shell.rb
|
177
207
|
- lib/git/lint/collector.rb
|
178
|
-
- lib/git/lint/commits/container.rb
|
179
208
|
- lib/git/lint/commits/loader.rb
|
180
209
|
- lib/git/lint/commits/systems/circle_ci.rb
|
210
|
+
- lib/git/lint/commits/systems/container.rb
|
181
211
|
- lib/git/lint/commits/systems/git_hub_action.rb
|
212
|
+
- lib/git/lint/commits/systems/import.rb
|
182
213
|
- lib/git/lint/commits/systems/local.rb
|
183
214
|
- lib/git/lint/commits/systems/netlify_ci.rb
|
184
215
|
- lib/git/lint/configuration/content.rb
|
@@ -189,6 +220,7 @@ files:
|
|
189
220
|
- lib/git/lint/errors/base.rb
|
190
221
|
- lib/git/lint/errors/severity.rb
|
191
222
|
- lib/git/lint/errors/sha.rb
|
223
|
+
- lib/git/lint/import.rb
|
192
224
|
- lib/git/lint/kit/filter_list.rb
|
193
225
|
- lib/git/lint/parsers/trailers/collaborator.rb
|
194
226
|
- lib/git/lint/rake/setup.rb
|
@@ -204,7 +236,7 @@ files:
|
|
204
236
|
- lib/git/lint/validators/name.rb
|
205
237
|
homepage: https://www.alchemists.io/projects/git-lint
|
206
238
|
licenses:
|
207
|
-
- Hippocratic-
|
239
|
+
- Hippocratic-2.1
|
208
240
|
metadata:
|
209
241
|
bug_tracker_uri: https://github.com/bkuhlmann/git-lint/issues
|
210
242
|
changelog_uri: https://www.alchemists.io/projects/git-lint/versions
|
@@ -227,7 +259,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
227
259
|
- !ruby/object:Gem::Version
|
228
260
|
version: '0'
|
229
261
|
requirements: []
|
230
|
-
rubygems_version: 3.3.
|
262
|
+
rubygems_version: 3.3.12
|
231
263
|
signing_key:
|
232
264
|
specification_version: 4
|
233
265
|
summary: A command line interface for linting Git commits.
|
metadata.gz.sig
CHANGED
Binary file
|
@@ -1,21 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require "dry-container"
|
4
|
-
require "git_plus"
|
5
|
-
|
6
|
-
module Git
|
7
|
-
module Lint
|
8
|
-
module Commits
|
9
|
-
# Provides container specific to this namespace for all systems.
|
10
|
-
module Container
|
11
|
-
extend Dry::Container::Mixin
|
12
|
-
|
13
|
-
config.registry = ->(container, key, value, _options) { container[key.to_s] = value }
|
14
|
-
|
15
|
-
merge Git::Lint::Container
|
16
|
-
|
17
|
-
register(:shell) { Open3 }
|
18
|
-
end
|
19
|
-
end
|
20
|
-
end
|
21
|
-
end
|