git-lint 3.1.0 → 3.2.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0a47d65fe5c349c4e173ae1443d4930872cf64feabfc260ea8356cebd58b2278
4
- data.tar.gz: 2b6fe7762cc836196a2783401396a2b819951dc7879ba671d1d50465165cade6
3
+ metadata.gz: 26dd0563eae8d604d947e6e2ed64c5af922134ff7953d0b4c7b3d66216c1770e
4
+ data.tar.gz: 6d12427265bea6004348cb5331a0f95533d67157c9ba818b7ce8c537fa542c57
5
5
  SHA512:
6
- metadata.gz: 66cce682367bdfd25aa25658f7bfc9fc516288038ee7887fec20bc13ffd4693cc55e0cf85416a64595b253fdc70be755c45e0a5e875cc2f0d4f5fb7fa0c0275f
7
- data.tar.gz: d11672014c6d200d567460cde8f77e324674936a52083c178d3c7c3709851dc261275e268cc343fba76e01eda46b3ef880e7608bd86e275ea8a51e31a9d2b037
6
+ metadata.gz: 2eea7fdb6239227b1e6801a7cfe95076a18f17e6f2fc61d439dd8dab98a0555da807e3e9936b5613d99bf7c777b4e446d5f1396783ba922e8e17ffc0f17d51de
7
+ data.tar.gz: 4b4c13b33bbd423350f74f2bf8b270f0a914c8dcfcb3541bc2889cbbec2faade9acd84019370b15e57936d86d9701acfc37d3b93901144b5aa6c1fff61356785
checksums.yaml.gz.sig CHANGED
Binary file
data/README.adoc CHANGED
@@ -6,15 +6,6 @@
6
6
 
7
7
  = Git Lint
8
8
 
9
- [link=http://badge.fury.io/rb/git-lint]
10
- image::https://badge.fury.io/rb/git-lint.svg[Gem Version]
11
- [link=https://www.alchemists.io/projects/code_quality]
12
- image::https://img.shields.io/badge/code_style-alchemists-brightgreen.svg[Alchemists Style Guide]
13
- [link=https://circleci.com/gh/bkuhlmann/git-lint]
14
- image::https://circleci.com/gh/bkuhlmann/git-lint.svg?style=svg[Circle CI Status]
15
- [link=https://app.netlify.com/sites/git-lint/deploys]
16
- image::https://api.netlify.com/api/v1/badges/7e23b422-3412-4e7f-b654-65c0417a0b1f/deploy-status[Netlify CI Status]
17
-
18
9
  Git Lint is a command line interface for linting Git commits by ensuring you maintain a clean, easy
19
10
  to read, debuggable, and maintainable project history. Having a consistent commit history leads to
20
11
  improved code reviews and is a perfect companion to tools like
data/git-lint.gemspec CHANGED
@@ -2,8 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "git-lint"
5
- spec.version = "3.1.0"
6
- spec.platform = Gem::Platform::RUBY
5
+ spec.version = "3.2.0"
7
6
  spec.authors = ["Brooke Kuhlmann"]
8
7
  spec.email = ["brooke@alchemists.io"]
9
8
  spec.homepage = "https://www.alchemists.io/projects/git-lint"
@@ -27,12 +26,12 @@ Gem::Specification.new do |spec|
27
26
  spec.add_dependency "git_plus", "~> 1.1"
28
27
  spec.add_dependency "pastel", "~> 0.8"
29
28
  spec.add_dependency "refinements", "~> 9.1"
30
- spec.add_dependency "runcom", "~> 8.0"
29
+ spec.add_dependency "runcom", "~> 8.2"
30
+ spec.add_dependency "spek", "~> 0.0"
31
31
  spec.add_dependency "zeitwerk", "~> 2.5"
32
32
 
33
33
  spec.bindir = "exe"
34
34
  spec.executables << "git-lint"
35
35
  spec.extra_rdoc_files = Dir["README*", "LICENSE*"]
36
36
  spec.files = Dir["*.gemspec", "lib/**/*"]
37
- spec.require_paths = ["lib"]
38
37
  end
@@ -21,7 +21,7 @@ module Git
21
21
  end
22
22
 
23
23
  def call arguments = []
24
- client.banner = "Git Lint - #{specification.summary}"
24
+ client.banner = specification.labeled_summary
25
25
  client.separator "\nUSAGE:\n"
26
26
  collate
27
27
  client.parse arguments
@@ -34,7 +34,7 @@ module Git
34
34
  in action_analyze: true, analyze_sha: String => sha then analyze_commit sha
35
35
  in action_config: Symbol => action then config action
36
36
  in action_hook: Pathname => path then hook path
37
- in action_version: true then logger.info { "Git Lint #{specification.version}" }
37
+ in action_version: true then logger.info { specification.labeled_version }
38
38
  else usage
39
39
  end
40
40
  end
@@ -4,6 +4,7 @@ require "dry-container"
4
4
  require "git_plus"
5
5
  require "logger"
6
6
  require "pastel"
7
+ require "spek"
7
8
 
8
9
  module Git
9
10
  module Lint
@@ -11,11 +12,9 @@ module Git
11
12
  module Container
12
13
  extend Dry::Container::Mixin
13
14
 
14
- SPEC_PATH = "#{__dir__}/../../../git-lint.gemspec".freeze
15
-
16
15
  register(:configuration) { Configuration::Loader.call }
17
16
  register(:repository) { GitPlus::Repository.new }
18
- register(:specification) { Gem::Specification.load SPEC_PATH }
17
+ register(:specification) { Spek::Loader.call "#{__dir__}/../../../git-lint.gemspec" }
19
18
  register(:colorizer) { Pastel.new enabled: $stdout.tty? }
20
19
  register(:kernel) { Kernel }
21
20
 
data.tar.gz.sig CHANGED
Binary file
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: 3.1.0
4
+ version: 3.2.0
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: 2022-01-23 00:00:00.000000000 Z
31
+ date: 2022-02-06 00:00:00.000000000 Z
32
32
  dependencies:
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: dry-container
@@ -92,14 +92,28 @@ dependencies:
92
92
  requirements:
93
93
  - - "~>"
94
94
  - !ruby/object:Gem::Version
95
- version: '8.0'
95
+ version: '8.2'
96
96
  type: :runtime
97
97
  prerelease: false
98
98
  version_requirements: !ruby/object:Gem::Requirement
99
99
  requirements:
100
100
  - - "~>"
101
101
  - !ruby/object:Gem::Version
102
- version: '8.0'
102
+ version: '8.2'
103
+ - !ruby/object:Gem::Dependency
104
+ name: spek
105
+ requirement: !ruby/object:Gem::Requirement
106
+ requirements:
107
+ - - "~>"
108
+ - !ruby/object:Gem::Version
109
+ version: '0.0'
110
+ type: :runtime
111
+ prerelease: false
112
+ version_requirements: !ruby/object:Gem::Requirement
113
+ requirements:
114
+ - - "~>"
115
+ - !ruby/object:Gem::Version
116
+ version: '0.0'
103
117
  - !ruby/object:Gem::Dependency
104
118
  name: zeitwerk
105
119
  requirement: !ruby/object:Gem::Requirement
@@ -213,7 +227,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
213
227
  - !ruby/object:Gem::Version
214
228
  version: '0'
215
229
  requirements: []
216
- rubygems_version: 3.3.5
230
+ rubygems_version: 3.3.6
217
231
  signing_key:
218
232
  specification_version: 4
219
233
  summary: A command line interface for linting Git commits.
metadata.gz.sig CHANGED
@@ -1,2 +1 @@
1
- ��'���I�ѿ�<�̑W<4�����\�m�2��Z�ͅ!S�����$R'��m�<�K�1̨��+�vEf��
2
- ������1 ?�t�D[�9z V#�i��,�!V���L�?Ь(���@Kģ!5�Ǎ��|��#� ������eU���2 e��1f+i�d����3�<PFG1���V� �TE�^�+b��`�A��V$]'��vt���p����������0��X!�|�qVϑ��俺����Q���
1
+ ���t���{z�~6���:�E��