git-lint 5.2.0 → 5.3.0

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: 588bd293760045f8bffac98557e0b8bd084a8f20113735627c87c843a5ca9c23
4
- data.tar.gz: 7870c61941155e7665e84c312e44128809dd14f1a4dbf6ef7a8e999c593d405d
3
+ metadata.gz: dec89d39077ba90de61852f02683c825317508ae92b3b37ff06410fc6df92667
4
+ data.tar.gz: e1fba8f0d419ef6f7d1d6d4545825e550fd767caea8f2e990aa8e93a20974c10
5
5
  SHA512:
6
- metadata.gz: 9a543e267cdc7ce41b0402b03e7d20b4ae1eb78c4d1f8443c8410cd7496717dfae49b978a2d0f7f25fecc9a048051f197b2b5732f1ca0f71ca64d03e40e6ce36
7
- data.tar.gz: 2aa9fde18ca69c66a2131652719c33addd4761c48634777581ecb7a4f8a27ce17aa943a7a53f54e4004cce9db44249e7f7c721428a05f529f845015e8305345f
6
+ metadata.gz: 31540aa9c7a028e77e8a6732530e6f9b1d5754bf319226af5b5131e0f5e1b2ee3a5f66656bb894891a65069ac35e6b226c497a27d63162a82488b15c897f3f82
7
+ data.tar.gz: 7195cbfe2c6d4eb96491038952e5cff9de6c9c5df89f3bcce1c78ae3236685c32a338da2ec61aa0234a08146513699871e7dcbddbd074f319bdd814a94b73f0c
checksums.yaml.gz.sig CHANGED
Binary file
data/git-lint.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "git-lint"
5
- spec.version = "5.2.0"
5
+ spec.version = "5.3.0"
6
6
  spec.authors = ["Brooke Kuhlmann"]
7
7
  spec.email = ["brooke@alchemists.io"]
8
8
  spec.homepage = "https://alchemists.io/projects/git-lint"
@@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
23
23
  spec.cert_chain = [Gem.default_cert_path]
24
24
 
25
25
  spec.required_ruby_version = "~> 3.2"
26
- spec.add_dependency "cogger", "~> 0.5"
26
+ spec.add_dependency "cogger", "~> 0.8"
27
27
  spec.add_dependency "core", "~> 0.1.0"
28
28
  spec.add_dependency "dry-container", "~> 0.11"
29
29
  spec.add_dependency "dry-monads", "~> 1.6"
@@ -12,8 +12,9 @@ module Git
12
12
  :analyze_commit,
13
13
  :config,
14
14
  :hook,
15
- :specification,
16
- :logger
15
+ :kernel,
16
+ :logger,
17
+ :specification
17
18
  ]
18
19
 
19
20
  def initialize(parser: Parser.new, **)
@@ -37,8 +38,8 @@ module Git
37
38
  in action_analyze: true, analyze_sha: String => sha then analyze_commit.call sha
38
39
  in action_config: Symbol => action then config.call action
39
40
  in action_hook: Pathname => path then hook.call path
40
- in action_version: true then logger.info { specification.labeled_version }
41
- else logger.any { parser.to_s }
41
+ in action_version: true then kernel.puts specification.labeled_version
42
+ else kernel.puts parser.to_s
42
43
  end
43
44
  end
44
45
  end
@@ -17,7 +17,7 @@ module Git
17
17
  register(:git) { Gitt::Repository.new }
18
18
  register(:specification) { Spek::Loader.call "#{__dir__}/../../../git-lint.gemspec" }
19
19
  register(:kernel) { Kernel }
20
- register(:logger) { Cogger::Client.new }
20
+ register(:logger) { Cogger.new formatter: :emoji }
21
21
  register(:color) { Tone.new }
22
22
 
23
23
  namespace :trailers do
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: 5.2.0
4
+ version: 5.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brooke Kuhlmann
@@ -35,7 +35,7 @@ cert_chain:
35
35
  3n5C8/6Zh9DYTkpcwPSuIfAga6wf4nXc9m6JAw8AuMLaiWN/r/2s4zJsUHYERJEu
36
36
  gZGm4JqtuSg8pYjPeIJxS960owq+SfuC+jxqmRA54BisFCv/0VOJi7tiJVY=
37
37
  -----END CERTIFICATE-----
38
- date: 2023-04-10 00:00:00.000000000 Z
38
+ date: 2023-04-13 00:00:00.000000000 Z
39
39
  dependencies:
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: cogger
@@ -43,14 +43,14 @@ dependencies:
43
43
  requirements:
44
44
  - - "~>"
45
45
  - !ruby/object:Gem::Version
46
- version: '0.5'
46
+ version: '0.8'
47
47
  type: :runtime
48
48
  prerelease: false
49
49
  version_requirements: !ruby/object:Gem::Requirement
50
50
  requirements:
51
51
  - - "~>"
52
52
  - !ruby/object:Gem::Version
53
- version: '0.5'
53
+ version: '0.8'
54
54
  - !ruby/object:Gem::Dependency
55
55
  name: core
56
56
  requirement: !ruby/object:Gem::Requirement
@@ -304,7 +304,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
304
304
  - !ruby/object:Gem::Version
305
305
  version: '0'
306
306
  requirements: []
307
- rubygems_version: 3.4.10
307
+ rubygems_version: 3.4.12
308
308
  signing_key:
309
309
  specification_version: 4
310
310
  summary: A command line interface for linting Git commits.
metadata.gz.sig CHANGED
Binary file