git-lint 8.6.0 → 8.8.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: 9ba6c5d7d698e1d0ca61dbd8902df0d9de878107eafa4f9809c7c068bbf6d0f2
4
- data.tar.gz: '0379f798a6185709fc5a1aa6a2da50a423d3690b3ff12238ffe25b3729d3ab22'
3
+ metadata.gz: 32ee770663450a7836c18e512b6e47467d347bacac9693a174b486e5791c4cdf
4
+ data.tar.gz: 10fc2241ebc13dd76d1fd51ddb940fd71b6c5e85f1f73cf740bbfb30dbfcd325
5
5
  SHA512:
6
- metadata.gz: 28114b4a0b0a7242c668d2ee14b90cf39f4901d75b7911f183032a9ef38f892f54321a8f42910511d4831828c99d4c0ade175c8437c3e5c69d8e348679625dc1
7
- data.tar.gz: 5f5b3c04d2bfa4a46190bc8100409424d8199e51b66a0f644087d6497db43d857d0775ea27cf1e74db1ecd085f90e0026933cbb7c1c531165c87ebca631523fd
6
+ metadata.gz: 3a4793e3719c75e0d1773f14087e2fd955c79855b30caaf4984831c3bfaa00e57dc1c50489bb13dd90238cd63e6ef85dfb4031ae594c847e257d2ca1e2916ac6
7
+ data.tar.gz: 6eef952998db8a5ae86e053553eed8064a77d8216ad306294b5b6d7716cf2d3ab2fdbee4589028684be271af53b162f4fdd4085cade135c1c0166c16311f7f2e
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 = "8.6.0"
5
+ spec.version = "8.8.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,19 +23,19 @@ Gem::Specification.new do |spec|
23
23
  spec.cert_chain = [Gem.default_cert_path]
24
24
 
25
25
  spec.required_ruby_version = ">= 3.3", "<= 3.4"
26
- spec.add_dependency "cogger", "~> 0.30"
26
+ spec.add_dependency "cogger", "~> 0.31"
27
27
  spec.add_dependency "containable", "~> 0.2"
28
- spec.add_dependency "core", "~> 1.7"
28
+ spec.add_dependency "core", "~> 1.10"
29
29
  spec.add_dependency "dry-monads", "~> 1.6"
30
30
  spec.add_dependency "dry-schema", "~> 1.13"
31
- spec.add_dependency "etcher", "~> 2.1"
32
- spec.add_dependency "gitt", "~> 3.9"
33
- spec.add_dependency "infusible", "~> 3.11"
31
+ spec.add_dependency "etcher", "~> 2.7"
32
+ spec.add_dependency "gitt", "~> 3.12"
33
+ spec.add_dependency "infusible", "~> 3.12"
34
34
  spec.add_dependency "refinements", "~> 12.10"
35
- spec.add_dependency "runcom", "~> 11.5"
36
- spec.add_dependency "sod", "~> 0.18"
35
+ spec.add_dependency "runcom", "~> 11.10"
36
+ spec.add_dependency "sod", "~> 0.20"
37
37
  spec.add_dependency "spek", "~> 3.0"
38
- spec.add_dependency "tone", "~> 1.0"
38
+ spec.add_dependency "tone", "~> 1.10"
39
39
  spec.add_dependency "zeitwerk", "~> 2.7"
40
40
 
41
41
  spec.bindir = "exe"
@@ -15,7 +15,8 @@ module Git
15
15
  | # Or.
16
16
  (?<=\s)\w+ # Match word with leading space.
17
17
  /x,
18
- code_block: /`.+`/
18
+ code_block: /`.+`/,
19
+ version: /\d+\./
19
20
  }.freeze
20
21
 
21
22
  def initialize patterns: PATTERNS
@@ -34,11 +35,15 @@ module Git
34
35
  end
35
36
  end
36
37
 
37
- def parse(content) = content.gsub(code_block_pattern, "").scan word_pattern
38
+ def parse content
39
+ content.gsub(code_block_pattern, "").gsub(version_pattern, "").scan word_pattern
40
+ end
38
41
 
39
42
  def word_pattern = patterns.fetch :word
40
43
 
41
44
  def code_block_pattern = patterns.fetch :code_block
45
+
46
+ def version_pattern = patterns.fetch :version
42
47
  end
43
48
  end
44
49
  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: 8.6.0
4
+ version: 8.8.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-11-05 00:00:00.000000000 Z
38
+ date: 2024-11-09 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.30'
46
+ version: '0.31'
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.30'
53
+ version: '0.31'
54
54
  - !ruby/object:Gem::Dependency
55
55
  name: containable
56
56
  requirement: !ruby/object:Gem::Requirement
@@ -71,14 +71,14 @@ dependencies:
71
71
  requirements:
72
72
  - - "~>"
73
73
  - !ruby/object:Gem::Version
74
- version: '1.7'
74
+ version: '1.10'
75
75
  type: :runtime
76
76
  prerelease: false
77
77
  version_requirements: !ruby/object:Gem::Requirement
78
78
  requirements:
79
79
  - - "~>"
80
80
  - !ruby/object:Gem::Version
81
- version: '1.7'
81
+ version: '1.10'
82
82
  - !ruby/object:Gem::Dependency
83
83
  name: dry-monads
84
84
  requirement: !ruby/object:Gem::Requirement
@@ -113,42 +113,42 @@ dependencies:
113
113
  requirements:
114
114
  - - "~>"
115
115
  - !ruby/object:Gem::Version
116
- version: '2.1'
116
+ version: '2.7'
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: '2.1'
123
+ version: '2.7'
124
124
  - !ruby/object:Gem::Dependency
125
125
  name: gitt
126
126
  requirement: !ruby/object:Gem::Requirement
127
127
  requirements:
128
128
  - - "~>"
129
129
  - !ruby/object:Gem::Version
130
- version: '3.9'
130
+ version: '3.12'
131
131
  type: :runtime
132
132
  prerelease: false
133
133
  version_requirements: !ruby/object:Gem::Requirement
134
134
  requirements:
135
135
  - - "~>"
136
136
  - !ruby/object:Gem::Version
137
- version: '3.9'
137
+ version: '3.12'
138
138
  - !ruby/object:Gem::Dependency
139
139
  name: infusible
140
140
  requirement: !ruby/object:Gem::Requirement
141
141
  requirements:
142
142
  - - "~>"
143
143
  - !ruby/object:Gem::Version
144
- version: '3.11'
144
+ version: '3.12'
145
145
  type: :runtime
146
146
  prerelease: false
147
147
  version_requirements: !ruby/object:Gem::Requirement
148
148
  requirements:
149
149
  - - "~>"
150
150
  - !ruby/object:Gem::Version
151
- version: '3.11'
151
+ version: '3.12'
152
152
  - !ruby/object:Gem::Dependency
153
153
  name: refinements
154
154
  requirement: !ruby/object:Gem::Requirement
@@ -169,28 +169,28 @@ dependencies:
169
169
  requirements:
170
170
  - - "~>"
171
171
  - !ruby/object:Gem::Version
172
- version: '11.5'
172
+ version: '11.10'
173
173
  type: :runtime
174
174
  prerelease: false
175
175
  version_requirements: !ruby/object:Gem::Requirement
176
176
  requirements:
177
177
  - - "~>"
178
178
  - !ruby/object:Gem::Version
179
- version: '11.5'
179
+ version: '11.10'
180
180
  - !ruby/object:Gem::Dependency
181
181
  name: sod
182
182
  requirement: !ruby/object:Gem::Requirement
183
183
  requirements:
184
184
  - - "~>"
185
185
  - !ruby/object:Gem::Version
186
- version: '0.18'
186
+ version: '0.20'
187
187
  type: :runtime
188
188
  prerelease: false
189
189
  version_requirements: !ruby/object:Gem::Requirement
190
190
  requirements:
191
191
  - - "~>"
192
192
  - !ruby/object:Gem::Version
193
- version: '0.18'
193
+ version: '0.20'
194
194
  - !ruby/object:Gem::Dependency
195
195
  name: spek
196
196
  requirement: !ruby/object:Gem::Requirement
@@ -211,14 +211,14 @@ dependencies:
211
211
  requirements:
212
212
  - - "~>"
213
213
  - !ruby/object:Gem::Version
214
- version: '1.0'
214
+ version: '1.10'
215
215
  type: :runtime
216
216
  prerelease: false
217
217
  version_requirements: !ruby/object:Gem::Requirement
218
218
  requirements:
219
219
  - - "~>"
220
220
  - !ruby/object:Gem::Version
221
- version: '1.0'
221
+ version: '1.10'
222
222
  - !ruby/object:Gem::Dependency
223
223
  name: zeitwerk
224
224
  requirement: !ruby/object:Gem::Requirement
@@ -348,7 +348,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
348
348
  - !ruby/object:Gem::Version
349
349
  version: '0'
350
350
  requirements: []
351
- rubygems_version: 3.5.22
351
+ rubygems_version: 3.5.23
352
352
  signing_key:
353
353
  specification_version: 4
354
354
  summary: A command line interface for linting Git commits.
metadata.gz.sig CHANGED
Binary file