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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ee879ef7d2e54043b42c8c608a6bcf57869fe7593c65d797f5897dea3208cf18
4
- data.tar.gz: 5aa959f0942970ce6881839d5a9c8d419faaf43bcdd5a0a5feb8e94cd71654f1
3
+ metadata.gz: 979c80bd2907a9a0a5b3035e82c861dacacae1fc8282f37679357bc79f6ac5a0
4
+ data.tar.gz: 6175e280b6b538a262c2f3cbf6d566ffde5d7e91feb81abd50e0fcf4f0994ccf
5
5
  SHA512:
6
- metadata.gz: '08255c0ed8001b3ebbefb067ccaa94a9319c24146d45c9a39fa9394129e7f72d38c8c5b7df300a5b88e2ffc90f37ed55aba727e07e07e0b8fc1d287caa9313b7'
7
- data.tar.gz: 6e77fd97e3aea400d72072aa35b739760027259913776b54a5b4822b4f836f0d2b7d47a0b2510e0a80a415efe599302bea3f548db0c9d97776a247f51177fd89
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://www.alchemists.io/articles/git_rebase[Git Rebase Workflow]
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://www.alchemists.io/projects/milestoner[Milestoner] for versioning and producing
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://www.alchemists.io/projects/xdg[XDG] environment
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://www.alchemists.io/projects/milestoner[Milestoner], for producing consistent project
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://www.alchemists.io/articles/git_commit_anatomy[commit anatomy
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://www.alchemists.io/projects/milestoner[Milestoner], which automates project milestone
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://www.alchemists.io/projects/milestoner[milestones]/releases:
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://www.alchemists.io/articles/code_reviews[article] on this subject to learn more.
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://www.alchemists.io/policies/license[License]
1197
+ == link:https://alchemists.io/policies/license[License]
1198
1198
 
1199
- == link:https://www.alchemists.io/policies/security[Security]
1199
+ == link:https://alchemists.io/policies/security[Security]
1200
1200
 
1201
- == link:https://www.alchemists.io/policies/code_of_conduct[Code of Conduct]
1201
+ == link:https://alchemists.io/policies/code_of_conduct[Code of Conduct]
1202
1202
 
1203
- == link:https://www.alchemists.io/policies/contributions[Contributions]
1203
+ == link:https://alchemists.io/policies/contributions[Contributions]
1204
1204
 
1205
- == link:https://www.alchemists.io/projects/git-lint/versions[Versions]
1205
+ == link:https://alchemists.io/projects/git-lint/versions[Versions]
1206
1206
 
1207
- == link:https://www.alchemists.io/community[Community]
1207
+ == link:https://alchemists.io/community[Community]
1208
1208
 
1209
1209
  == Credits
1210
1210
 
1211
- * Built with link:https://www.alchemists.io/projects/gemsmith[Gemsmith].
1212
- * Engineered by link:https://www.alchemists.io/team/brooke_kuhlmann[Brooke Kuhlmann].
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.1"
5
+ spec.version = "5.1.2"
6
6
  spec.authors = ["Brooke Kuhlmann"]
7
7
  spec.email = ["brooke@alchemists.io"]
8
- spec.homepage = "https://www.alchemists.io/projects/git-lint"
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://www.alchemists.io/projects/git-lint/versions",
15
- "documentation_uri" => "https://www.alchemists.io/projects/git-lint",
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",
@@ -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
- f8X�+�������l�l�_*�2���p��q+�\VL炐Q�XSLә9G��(9���%��U�\xPQo%���gz�����k�����A{�n[���_x����T2ᥓ�mA�v�w�$x{]<;� ��=������K��'ju��j���j��ex�q�ᷚ������������RV��Dt+��1�M�s�� ��n�����2������tҀ
2
- g{��/�b61����v�َ�'%��u,�}S�
1
+ (v�������@��7,��_ ���C߀Q_6? ɢm��U��]��)%����[:���/p1~Yaۥ������%�Fc��H>�AK���u]�~~�`F�r��12��Ѹ�)���`OukDR;%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����>>~�tNXݴ ��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.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
- MIIC/jCCAeagAwIBAgIBBTANBgkqhkiG9w0BAQsFADAlMSMwIQYDVQQDDBpicm9v
14
- a2UvREM9YWxjaGVtaXN0cy9EQz1pbzAeFw0yMjAzMTkxNzI0MzJaFw0yMzAzMTkx
15
- NzI0MzJaMCUxIzAhBgNVBAMMGmJyb29rZS9EQz1hbGNoZW1pc3RzL0RDPWlvMIIB
16
- IjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA6l1qpXTiomH1RfMRloyw7MiE
17
- xyVx/x8Yc3EupdH7uhNaTXQGyORN6aOY//1QXXMHIZ9tW74nZLhesWMSUMYy0XhB
18
- brs+KkurHnc9FnEJAbG7ebGvl/ncqZt72nQvaxpDxvuCBHgJAz+8i5wl6FhLw+oT
19
- 9z0A8KcGhz67SdcoQiD7qiCjL/2NTeWHOzkpPrdGlt088+VerEEGf5I13QCvaftP
20
- D5vkU0YlAm1r98BymuJlcQ1qdkVEI1d48ph4kcS0S0nv1RiuyVb6TCAR3Nu3VaVq
21
- 3fPzZKJLZBx67UvXdbdicWPiUR75elI4PXpLIic3xytaF52ZJYyKZCNZJhNwfQID
22
- AQABozkwNzAJBgNVHRMEAjAAMAsGA1UdDwQEAwIEsDAdBgNVHQ4EFgQU0nzow9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 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://www.alchemists.io/projects/git-lint
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://www.alchemists.io/projects/git-lint/versions
280
- documentation_uri: https://www.alchemists.io/projects/git-lint
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.6
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