git-lint 7.3.0 → 7.4.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: f98e51b1cd6205f40ac71ab134e84dd1c89fda97e4cdf8e8167cd786502d617b
4
+ data.tar.gz: 255c7ca4d871b5b4d3a119fb168212e5f90acf50d576ed007356c82c975e3cd1
5
5
  SHA512:
6
- metadata.gz: 35ad6f62a9723b69ef418152dd0f2d24ae297b420ce63de8a704a3db9ac9bf19fd16626f58d4206d4d17b6bc8d9bf976e988469a0a89062ecd66ea7fec410b46
7
- data.tar.gz: 2edd84e01fb206fb6b5bb1ecad0ba332a1aee0e0d7e8f4aa3b52835370a7f80d10611380204a5aa2ded19becadb9a514927f18dc2ca78fcdbf70def58747f033
6
+ metadata.gz: ff1bd1993e0884ec5f8553daaca2e2359c864f75aa320cd688dd2019727f104b7c2077763c42099652be588b04b84702ab59bdbfe3162ff82197e3fdbe3b77fd
7
+ data.tar.gz: 60f4b3b2316d0de7063b396c3539b45efdfd5692764a1349edd1f06c25d10b66ca2ec3a7f7931783c3c065fd400abd1aa05ca347cae95d8e3ed8109634d48064
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.4.0"
6
6
  spec.authors = ["Brooke Kuhlmann"]
7
7
  spec.email = ["brooke@alchemists.io"]
8
8
  spec.homepage = "https://alchemists.io/projects/git-lint"
@@ -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
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.4.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-16 00:00:00.000000000 Z
39
39
  dependencies:
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: cogger
@@ -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.10
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