git-lint 8.5.0 → 8.7.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: 967725216ba8caae85fe6c806c0e14ea0a02141ddee010e227865f385407b9ae
4
- data.tar.gz: c18dacf641c7f7f17eb1f1b69390844a427ed53b6ef2d4753a2604acc888ce33
3
+ metadata.gz: 01fce2d25019f7b5fc63ca1df127ee9ed17a1e41744b4fdc8d70ade1be6e9ef4
4
+ data.tar.gz: b8c2f4d7eae47cc6b2967bd410a0cf242db5df2ae3f8583a21385cca3e7a59f7
5
5
  SHA512:
6
- metadata.gz: 2cfda994a6f70faa6669f92613709d602a92df4433081d293bf7048849b5ccd11358ebb8ac26d3f02b6c5512f91be23b409220832f1f46ccbe4ae1efe664a8a4
7
- data.tar.gz: 2469b6dbc0a778ea03b04c0af555d3b78b892b87b95a7b7909447571f9054a1997eaa928a497f5feab65210c5a7d75beb87a978d5d688259b12338bc5f0e39a6
6
+ metadata.gz: c81dfd1758a7231c6a856ead15ed63bf5777cb69ffa62f8de2e88f661216b828b03b83f562d638a2b6b07c604176a0082a263ae26a522253449968f7a2d3da64
7
+ data.tar.gz: 76e17f40f939a5e8dd2882065444e0a87c0daf85ca8d2067c24474f976c8514d04188bbe43235188a45c15bffa41a6b8aa8b6df83ffa9f2d3482941c30cfc054
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.5.0"
5
+ spec.version = "8.7.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.3", "<= 3.4"
26
- spec.add_dependency "cogger", "~> 0.26"
26
+ spec.add_dependency "cogger", "~> 0.30"
27
27
  spec.add_dependency "containable", "~> 0.2"
28
28
  spec.add_dependency "core", "~> 1.7"
29
29
  spec.add_dependency "dry-monads", "~> 1.6"
@@ -31,9 +31,9 @@ Gem::Specification.new do |spec|
31
31
  spec.add_dependency "etcher", "~> 2.1"
32
32
  spec.add_dependency "gitt", "~> 3.9"
33
33
  spec.add_dependency "infusible", "~> 3.11"
34
- spec.add_dependency "refinements", "~> 12.9"
34
+ spec.add_dependency "refinements", "~> 12.10"
35
35
  spec.add_dependency "runcom", "~> 11.5"
36
- spec.add_dependency "sod", "~> 0.17"
36
+ spec.add_dependency "sod", "~> 0.19"
37
37
  spec.add_dependency "spek", "~> 3.0"
38
38
  spec.add_dependency "tone", "~> 1.0"
39
39
  spec.add_dependency "zeitwerk", "~> 2.7"
@@ -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.5.0
4
+ version: 8.7.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-10-18 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.26'
46
+ version: '0.30'
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.26'
53
+ version: '0.30'
54
54
  - !ruby/object:Gem::Dependency
55
55
  name: containable
56
56
  requirement: !ruby/object:Gem::Requirement
@@ -155,14 +155,14 @@ dependencies:
155
155
  requirements:
156
156
  - - "~>"
157
157
  - !ruby/object:Gem::Version
158
- version: '12.9'
158
+ version: '12.10'
159
159
  type: :runtime
160
160
  prerelease: false
161
161
  version_requirements: !ruby/object:Gem::Requirement
162
162
  requirements:
163
163
  - - "~>"
164
164
  - !ruby/object:Gem::Version
165
- version: '12.9'
165
+ version: '12.10'
166
166
  - !ruby/object:Gem::Dependency
167
167
  name: runcom
168
168
  requirement: !ruby/object:Gem::Requirement
@@ -183,14 +183,14 @@ dependencies:
183
183
  requirements:
184
184
  - - "~>"
185
185
  - !ruby/object:Gem::Version
186
- version: '0.17'
186
+ version: '0.19'
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.17'
193
+ version: '0.19'
194
194
  - !ruby/object:Gem::Dependency
195
195
  name: spek
196
196
  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.21
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