git-lint 2.3.0 → 2.3.1

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: 9a9c8435e0b05c4beaf7129ff10a7e4e794374031fa1d1707234e27de5d3f815
4
- data.tar.gz: fc01c78223f9fdbc1f458214d037e79d5c05245cfdcd2815e5c8d90583464322
3
+ metadata.gz: 179a706a6991b40dbbb489fdb38fb955505f0ee1c93f866a703e711a6979f8c6
4
+ data.tar.gz: 5233c41ef4e4862ed4baaa7ceb354deb8e7dbe69efb90720c888ae92628cc7b1
5
5
  SHA512:
6
- metadata.gz: 3dac7a51483e7f92f72616226350611316aa0d2e2b9669080ebbfc5aba76b4df432b316d1a4e7e4a17f308dbe3b24d4891f81656c6c0189153ad1d6b9fed098f
7
- data.tar.gz: 03e9445f0624f688b7bbb1cf11987cc56c31ebb52878a459b4ec26b6d9dd2994624b3602323e1ad8b3fb551803a2f9fd187214430a1831c93590391ec4a63108
6
+ metadata.gz: 6e0d44179f5b348ab65ecf01a5b252726940b3e1eda0a5659d63d9a15755e6ea6f3e940d6d3445339b4a0d1541f89ba279789ecfa127770d5f02927c2533b6eb
7
+ data.tar.gz: eb86f245720675fff023b44b90e634d91337a53f15af18cacf4f458825c48a57501f054260e2fc4bb75c208e7579ecdb79f81f89008830f02fa16e9059f7ddaa
checksums.yaml.gz.sig CHANGED
Binary file
data.tar.gz.sig CHANGED
Binary file
data/lib/git/lint.rb CHANGED
@@ -1,20 +1,50 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "zeitwerk"
4
3
  require "git_plus"
5
-
6
- loader = Zeitwerk::Loader.new
7
- loader.inflector.inflect "cli" => "CLI",
8
- "sha" => "SHA",
9
- "circle_ci" => "CircleCI",
10
- "netlify_ci" => "NetlifyCI",
11
- "travis_ci" => "TravisCI"
12
- loader.push_dir "#{__dir__}/.."
13
- loader.ignore "#{__dir__}/lint/rake/setup.rb"
14
- loader.setup
15
-
16
- # Main namespace.
17
- module Git
18
- module Lint
19
- end
20
- end
4
+ require "git/lint/identity"
5
+ require "git/lint/refinements/strings"
6
+ require "git/lint/errors/base"
7
+ require "git/lint/errors/severity"
8
+ require "git/lint/errors/sha"
9
+ require "git/lint/kit/filter_list"
10
+ require "git/lint/validators/email"
11
+ require "git/lint/validators/name"
12
+ require "git/lint/validators/capitalization"
13
+ require "git/lint/parsers/trailers/collaborator"
14
+ require "git/lint/branches/environments/local"
15
+ require "git/lint/branches/environments/circle_ci"
16
+ require "git/lint/branches/environments/git_hub_action"
17
+ require "git/lint/branches/environments/netlify_ci"
18
+ require "git/lint/branches/environments/travis_ci"
19
+ require "git/lint/branches/feature"
20
+ require "git/lint/analyzers/abstract"
21
+ require "git/lint/analyzers/commit_author_capitalization"
22
+ require "git/lint/analyzers/commit_author_email"
23
+ require "git/lint/analyzers/commit_author_name"
24
+ require "git/lint/analyzers/commit_body_bullet"
25
+ require "git/lint/analyzers/commit_body_bullet_capitalization"
26
+ require "git/lint/analyzers/commit_body_bullet_delimiter"
27
+ require "git/lint/analyzers/commit_body_issue_tracker_link"
28
+ require "git/lint/analyzers/commit_body_leading_line"
29
+ require "git/lint/analyzers/commit_body_line_length"
30
+ require "git/lint/analyzers/commit_body_paragraph_capitalization"
31
+ require "git/lint/analyzers/commit_body_phrase"
32
+ require "git/lint/analyzers/commit_body_presence"
33
+ require "git/lint/analyzers/commit_body_single_bullet"
34
+ require "git/lint/analyzers/commit_subject_length"
35
+ require "git/lint/analyzers/commit_subject_prefix"
36
+ require "git/lint/analyzers/commit_subject_suffix"
37
+ require "git/lint/analyzers/commit_trailer_collaborator_capitalization"
38
+ require "git/lint/analyzers/commit_trailer_collaborator_duplication"
39
+ require "git/lint/analyzers/commit_trailer_collaborator_email"
40
+ require "git/lint/analyzers/commit_trailer_collaborator_key"
41
+ require "git/lint/analyzers/commit_trailer_collaborator_name"
42
+ require "git/lint/collector"
43
+ require "git/lint/reporters/lines/sentence"
44
+ require "git/lint/reporters/lines/paragraph"
45
+ require "git/lint/reporters/line"
46
+ require "git/lint/reporters/style"
47
+ require "git/lint/reporters/commit"
48
+ require "git/lint/reporters/branch"
49
+ require "git/lint/runner"
50
+ require "git/lint/cli"
@@ -6,7 +6,7 @@ module Git
6
6
  module Identity
7
7
  NAME = "git-lint"
8
8
  LABEL = "Git Lint"
9
- VERSION = "2.3.0"
9
+ VERSION = "2.3.1"
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.0
4
+ version: 2.3.1
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-05 00:00:00.000000000 Z
31
+ date: 2021-07-11 00:00:00.000000000 Z
32
32
  dependencies:
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: git_plus
@@ -100,20 +100,6 @@ dependencies:
100
100
  - - "~>"
101
101
  - !ruby/object:Gem::Version
102
102
  version: '0.20'
103
- - !ruby/object:Gem::Dependency
104
- name: zeitwerk
105
- requirement: !ruby/object:Gem::Requirement
106
- requirements:
107
- - - "~>"
108
- - !ruby/object:Gem::Version
109
- version: '2.4'
110
- type: :runtime
111
- prerelease: false
112
- version_requirements: !ruby/object:Gem::Requirement
113
- requirements:
114
- - - "~>"
115
- - !ruby/object:Gem::Version
116
- version: '2.4'
117
103
  description:
118
104
  email:
119
105
  - brooke@alchemists.io
@@ -200,7 +186,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
200
186
  - !ruby/object:Gem::Version
201
187
  version: '0'
202
188
  requirements: []
203
- rubygems_version: 3.2.21
189
+ rubygems_version: 3.2.23
204
190
  signing_key:
205
191
  specification_version: 4
206
192
  summary: A command line interface for linting Git commits.
metadata.gz.sig CHANGED
Binary file