git-lint 7.3.0 → 7.5.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: 194a4c2e558c2753694dbce8962d3f314c7c0308df5d7568d1b0d129131a22c9
4
- data.tar.gz: 7624429127d4c487d80ec7b2fb126fafbc786449281c6b01824a0a5e35f27b3d
3
+ metadata.gz: 972242ee19b5bfaf95a7f89acbce21020f6dfa290c89e4fd0f1ebe038b57488c
4
+ data.tar.gz: efdd43b97219f3f168cf5e0263d56f4c04be6414e6c6ba5aeaea762cf844b38e
5
5
  SHA512:
6
- metadata.gz: 35ad6f62a9723b69ef418152dd0f2d24ae297b420ce63de8a704a3db9ac9bf19fd16626f58d4206d4d17b6bc8d9bf976e988469a0a89062ecd66ea7fec410b46
7
- data.tar.gz: 2edd84e01fb206fb6b5bb1ecad0ba332a1aee0e0d7e8f4aa3b52835370a7f80d10611380204a5aa2ded19becadb9a514927f18dc2ca78fcdbf70def58747f033
6
+ metadata.gz: e4b5d5741b747fea8b9c8e1e38d0f17f16e18bcbd748ee47173cae765059b05f72e05831b2269b42877b70ab402961977e041f7413ba53f13f2e2f9195cc10aa
7
+ data.tar.gz: 7f1d36a2bc14c4abf0f6846e9448b288d67d0ad29f93e5d73d47dada73812c83e4ba50b09ea382bacc22f5752a646e33dad550afc4d3c7c95e9920216bfb03ed
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 = "7.3.0"
5
+ spec.version = "7.5.0"
6
6
  spec.authors = ["Brooke Kuhlmann"]
7
7
  spec.email = ["brooke@alchemists.io"]
8
8
  spec.homepage = "https://alchemists.io/projects/git-lint"
@@ -28,7 +28,7 @@ Gem::Specification.new do |spec|
28
28
  spec.add_dependency "core", "~> 1.0"
29
29
  spec.add_dependency "dry-monads", "~> 1.6"
30
30
  spec.add_dependency "dry-schema", "~> 1.13"
31
- spec.add_dependency "etcher", "~> 1.3"
31
+ spec.add_dependency "etcher", "~> 1.6"
32
32
  spec.add_dependency "gitt", "~> 3.2"
33
33
  spec.add_dependency "infusible", "~> 3.5"
34
34
  spec.add_dependency "refinements", "~> 12.1"
@@ -34,9 +34,7 @@ module Git
34
34
  .tap { |level| fail Errors::Severity, level unless LEVELS.include? level }
35
35
  end
36
36
 
37
- def valid?
38
- fail NotImplementedError, "The `##{__method__}` method must be implemented."
39
- end
37
+ def valid? = fail NoMethodError, "The `##{__method__}` method must be implemented."
40
38
 
41
39
  def invalid? = !valid?
42
40
 
@@ -44,9 +42,7 @@ module Git
44
42
 
45
43
  def error? = invalid? && severity == "error"
46
44
 
47
- def issue
48
- fail NotImplementedError, "The `##{__method__}` method must be implemented."
49
- end
45
+ def issue = fail NoMethodError, "The `##{__method__}` method must be implemented."
50
46
 
51
47
  protected
52
48
 
@@ -71,8 +67,8 @@ module Git
71
67
  end
72
68
  end
73
69
 
74
- def invalid_line? _line
75
- fail NotImplementedError, "The `.#{__method__}` method must be implemented."
70
+ def invalid_line?(*)
71
+ fail NoMethodError, "The `.#{__method__}` method must be implemented."
76
72
  end
77
73
  end
78
74
  end
@@ -67,13 +67,13 @@ module Git
67
67
  end
68
68
 
69
69
  register :configuration do
70
- self[:defaults].add_loader(Etcher::Loaders::YAML.new(self[:xdg_config].active))
70
+ self[:defaults].add_loader(:yaml, self[:xdg_config].active)
71
71
  .then { |registry| Etcher.call registry }
72
72
  end
73
73
 
74
74
  register :defaults do
75
75
  Etcher::Registry.new(contract: Configuration::Contract, model: Configuration::Model)
76
- .add_loader(Etcher::Loaders::YAML.new(self[:defaults_path]))
76
+ .add_loader(:yaml, self[:defaults_path])
77
77
  end
78
78
 
79
79
  register(:defaults_path) { Pathname(__dir__).join("configuration/defaults.yml") }
@@ -6,7 +6,7 @@ module Git
6
6
  # The root class of gem related errors.
7
7
  class Base < StandardError
8
8
  def initialize message = "Invalid Git Lint action."
9
- super message
9
+ super
10
10
  end
11
11
  end
12
12
  end
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: 7.3.0
4
+ version: 7.5.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: 2024-04-03 00:00:00.000000000 Z
38
+ date: 2024-05-31 00:00:00.000000000 Z
39
39
  dependencies:
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: cogger
@@ -113,14 +113,14 @@ dependencies:
113
113
  requirements:
114
114
  - - "~>"
115
115
  - !ruby/object:Gem::Version
116
- version: '1.3'
116
+ version: '1.6'
117
117
  type: :runtime
118
118
  prerelease: false
119
119
  version_requirements: !ruby/object:Gem::Requirement
120
120
  requirements:
121
121
  - - "~>"
122
122
  - !ruby/object:Gem::Version
123
- version: '1.3'
123
+ version: '1.6'
124
124
  - !ruby/object:Gem::Dependency
125
125
  name: gitt
126
126
  requirement: !ruby/object:Gem::Requirement
@@ -345,7 +345,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
345
345
  - !ruby/object:Gem::Version
346
346
  version: '0'
347
347
  requirements: []
348
- rubygems_version: 3.5.7
348
+ rubygems_version: 3.5.11
349
349
  signing_key:
350
350
  specification_version: 4
351
351
  summary: A command line interface for linting Git commits.
metadata.gz.sig CHANGED
Binary file