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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data/git-lint.gemspec +2 -2
- data/lib/git/lint/analyzers/abstract.rb +4 -8
- data/lib/git/lint/container.rb +2 -2
- data/lib/git/lint/errors/base.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +5 -5
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 972242ee19b5bfaf95a7f89acbce21020f6dfa290c89e4fd0f1ebe038b57488c
|
4
|
+
data.tar.gz: efdd43b97219f3f168cf5e0263d56f4c04be6414e6c6ba5aeaea762cf844b38e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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.
|
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?
|
75
|
-
fail
|
70
|
+
def invalid_line?(*)
|
71
|
+
fail NoMethodError, "The `.#{__method__}` method must be implemented."
|
76
72
|
end
|
77
73
|
end
|
78
74
|
end
|
data/lib/git/lint/container.rb
CHANGED
@@ -67,13 +67,13 @@ module Git
|
|
67
67
|
end
|
68
68
|
|
69
69
|
register :configuration do
|
70
|
-
self[:defaults].add_loader(
|
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(
|
76
|
+
.add_loader(:yaml, self[:defaults_path])
|
77
77
|
end
|
78
78
|
|
79
79
|
register(:defaults_path) { Pathname(__dir__).join("configuration/defaults.yml") }
|
data/lib/git/lint/errors/base.rb
CHANGED
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.
|
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-
|
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.
|
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.
|
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.
|
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
|