checkoff 0.39.2 → 0.39.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.git-hooks/pre_commit/punchlist.rb +1 -1
- data/.overcommit.yml +9 -3
- data/Gemfile.lock +1 -1
- data/lib/checkoff/sections.rb +1 -1
- data/lib/checkoff/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aa2ffaa601bf3d945584d0a6980995e752540b8360b881b5b43a11687f850580
|
4
|
+
data.tar.gz: a3b1cec57d8681bacbda6846c7b2e6687c5c82ed9686b9f8923b724a186c1ed1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '0829ec340d5422c372e8d30fd2e2558bcebf4064efe9204c8976ac7356fc89eade3729b501bcc6b4094869654eaad19bba912b08943ee7b8c3d2e91d0c6bb80b'
|
7
|
+
data.tar.gz: 2ec581cea785506d3cf52d4776de02dea6ae260b24a15ade128350a353b50fd41e641ac80a8cdf5de99b51c800b10a86f68efc0a744ca3236bd0261e6ee107e5
|
@@ -15,7 +15,7 @@ module Overcommit
|
|
15
15
|
stdout.split("\n").map do |line|
|
16
16
|
# @sg-ignore
|
17
17
|
file, line_no, _message = line.split(':', 3)
|
18
|
-
Overcommit::Hook::Message.new(:
|
18
|
+
Overcommit::Hook::Message.new(:error, file, line_no.to_i, line)
|
19
19
|
end
|
20
20
|
end
|
21
21
|
|
data/.overcommit.yml
CHANGED
@@ -64,14 +64,20 @@ PreCommit:
|
|
64
64
|
include:
|
65
65
|
- '**/*.rb'
|
66
66
|
Punchlist:
|
67
|
-
on_warn: fail
|
68
67
|
command: ['bundle', 'exec', 'punchlist']
|
69
68
|
enabled: true
|
69
|
+
problem_on_unmodified_line: warn
|
70
70
|
|
71
71
|
PrePush:
|
72
|
-
|
73
|
-
command: ['ruby', '-Ilib:test/unit:lib/checkoff', '-rbundler/setup', '-rminitest', "-e 'exit! Minitest.run'"]
|
72
|
+
RakeTarget:
|
74
73
|
enabled: true
|
74
|
+
command: ['bundle', 'exec', 'rake']
|
75
|
+
include:
|
76
|
+
- 'Rakefile'
|
77
|
+
targets:
|
78
|
+
- 'clear_metrics'
|
79
|
+
- 'test'
|
80
|
+
- 'undercover'
|
75
81
|
|
76
82
|
#PostCheckout:
|
77
83
|
# ALL: # Special hook name that customizes all hooks of this type
|
data/Gemfile.lock
CHANGED
data/lib/checkoff/sections.rb
CHANGED
@@ -185,7 +185,7 @@ module Checkoff
|
|
185
185
|
|
186
186
|
def section(workspace_name, project_name, section_name)
|
187
187
|
sections = sections_or_raise(workspace_name, project_name)
|
188
|
-
sections.find { |section| section.name
|
188
|
+
sections.find { |section| section_key(section.name)&.chomp(':') == section_name&.chomp(':') }
|
189
189
|
end
|
190
190
|
end
|
191
191
|
end
|
data/lib/checkoff/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: checkoff
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.39.
|
4
|
+
version: 0.39.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vince Broz
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-06-
|
11
|
+
date: 2023-06-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|