git-lint 2.3.3 → 2.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: 5ba6ef01971e64eb6557ab96a40ce3d654d1e5c67a6342e914fe23aff07ada79
4
- data.tar.gz: 539ea126e206e06212b59a86349313c3e491854d3516d7f5fc27885551caf162
3
+ metadata.gz: 6f84ea345a2766e79b70b6b4f6a596def5a0ddcc4ba86954b754459fb88f7b8c
4
+ data.tar.gz: 1f6c09a430050ec57cacb4942347200bc83b0bc6a268939eaafbbbacb88d284d
5
5
  SHA512:
6
- metadata.gz: 79e10c0fcc9b911744b29c978222db93e31ecb2e26a449d45ad7754c8a7cd2eb0bf39902b68689c01d434b7cc1938283ba33d1936611bdd447c62f0fa4e5dbf3
7
- data.tar.gz: 2aa2cbd29e4c78718fe00cff4598dec1801dc8f784f8628bf13333480d9895512ab0c64841dcd01a850cfacf369d7d26f2d2ba15c27507de460323e565fa8d4f
6
+ metadata.gz: 79448218359e860c42656a0b8e9e114fbc13eae838d493566b5bd6a2f0e499ccb4de5a94073770a954fe7b768244bb8bb0fc28fc4732ba1ac76855c755fd628f
7
+ data.tar.gz: d46f1b0c3ad4ffdc9655358c02dc0929970d7b6f2c88b4889ec0849de899a052c8359d7d6c199bb07af0045c7be3d1459a6b8efbff208574624761d8641e5627
checksums.yaml.gz.sig CHANGED
Binary file
data/README.adoc CHANGED
@@ -112,7 +112,8 @@ require "git/lint/rake/setup"
112
112
 
113
113
  Now, when running `bundle exec rake -T`, you'll see `git_lint` included in the list.
114
114
 
115
- If you need a concrete example, check out the link:Rakefile[Rakefile] of this project for details.
115
+ If you need a concrete example, check out the
116
+ link:https://github.com/bkuhlmann/git-lint/blob/main/Rakefile[Rakefile] of this project for details.
116
117
 
117
118
  === Default Branch
118
119
 
@@ -17,7 +17,7 @@ module Git
17
17
  def valid?
18
18
  return true if commit.fixup?
19
19
 
20
- valid_lines = commit.body_lines.reject { |line| line.match?(/^\s*$/) }
20
+ valid_lines = commit.body_lines.grep_v(/^\s*$/)
21
21
  valid_lines.size >= minimum
22
22
  end
23
23
 
@@ -6,7 +6,7 @@ module Git
6
6
  module Identity
7
7
  NAME = "git-lint"
8
8
  LABEL = "Git Lint"
9
- VERSION = "2.3.3"
9
+ VERSION = "2.4.0"
10
10
  VERSION_LABEL = "#{LABEL} #{VERSION}".freeze
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: 2.3.3
4
+ version: 2.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brooke Kuhlmann
@@ -28,7 +28,7 @@ cert_chain:
28
28
  lkHilIrX69jq8wMPpBhlaw2mRmeSL50Wv5u6xVBvOHhXFSP1crXM95vfLhLyRYod
29
29
  W2A=
30
30
  -----END CERTIFICATE-----
31
- date: 2021-09-06 00:00:00.000000000 Z
31
+ date: 2021-10-03 00:00:00.000000000 Z
32
32
  dependencies:
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: git_plus
@@ -64,14 +64,14 @@ dependencies:
64
64
  requirements:
65
65
  - - "~>"
66
66
  - !ruby/object:Gem::Version
67
- version: '8.0'
67
+ version: '8.4'
68
68
  type: :runtime
69
69
  prerelease: false
70
70
  version_requirements: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - "~>"
73
73
  - !ruby/object:Gem::Version
74
- version: '8.0'
74
+ version: '8.4'
75
75
  - !ruby/object:Gem::Dependency
76
76
  name: runcom
77
77
  requirement: !ruby/object:Gem::Requirement
@@ -186,7 +186,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
186
186
  - !ruby/object:Gem::Version
187
187
  version: '0'
188
188
  requirements: []
189
- rubygems_version: 3.2.27
189
+ rubygems_version: 3.2.28
190
190
  signing_key:
191
191
  specification_version: 4
192
192
  summary: A command line interface for linting Git commits.
metadata.gz.sig CHANGED
Binary file