cocov_plugin_kit 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +7 -7
- data/lib/cocov/plugin_kit/run.rb +1 -1
- data/lib/cocov/plugin_kit/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: 58a993db2cae820ec262839636dcec32f746ba604fefe2c421fe6ee3f559ec2f
|
|
4
|
+
data.tar.gz: 84f5d7cc669b2207405588ff063cedfe76bd585f00af7708fe2268100b8049e9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f715fb0d82ee68aef358b981cd6e15ee1cd99feb216d05cf1f138eca85b550c5251c8bd248b14f009d919063379d4b25a0f899188a5156580e6bc1233fc17866
|
|
7
|
+
data.tar.gz: '0394e82212fb0fa3f5accb0302c02b0bb9682310f4e7bf162b3410a9fdc43bae18765e4d263dd19004119065c071217549e35a8a509571b5c45d64ff8a0a2d85'
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
cocov_plugin_kit (0.1.
|
|
4
|
+
cocov_plugin_kit (0.1.1)
|
|
5
5
|
|
|
6
6
|
GEM
|
|
7
7
|
remote: https://rubygems.org/
|
|
@@ -24,27 +24,27 @@ GEM
|
|
|
24
24
|
rspec-mocks (~> 3.12.0)
|
|
25
25
|
rspec-core (3.12.0)
|
|
26
26
|
rspec-support (~> 3.12.0)
|
|
27
|
-
rspec-expectations (3.12.
|
|
27
|
+
rspec-expectations (3.12.1)
|
|
28
28
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
29
29
|
rspec-support (~> 3.12.0)
|
|
30
30
|
rspec-mocks (3.12.1)
|
|
31
31
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
32
32
|
rspec-support (~> 3.12.0)
|
|
33
33
|
rspec-support (3.12.0)
|
|
34
|
-
rubocop (1.
|
|
34
|
+
rubocop (1.42.0)
|
|
35
35
|
json (~> 2.3)
|
|
36
36
|
parallel (~> 1.10)
|
|
37
37
|
parser (>= 3.1.2.1)
|
|
38
38
|
rainbow (>= 2.2.2, < 4.0)
|
|
39
39
|
regexp_parser (>= 1.8, < 3.0)
|
|
40
40
|
rexml (>= 3.2.5, < 4.0)
|
|
41
|
-
rubocop-ast (>= 1.
|
|
41
|
+
rubocop-ast (>= 1.24.1, < 2.0)
|
|
42
42
|
ruby-progressbar (~> 1.7)
|
|
43
43
|
unicode-display_width (>= 1.4.0, < 3.0)
|
|
44
|
-
rubocop-ast (1.24.
|
|
44
|
+
rubocop-ast (1.24.1)
|
|
45
45
|
parser (>= 3.1.1.0)
|
|
46
46
|
ruby-progressbar (1.11.0)
|
|
47
|
-
simplecov (0.
|
|
47
|
+
simplecov (0.22.0)
|
|
48
48
|
docile (~> 1.1)
|
|
49
49
|
simplecov-html (~> 0.11)
|
|
50
50
|
simplecov_json_formatter (~> 0.1)
|
|
@@ -65,4 +65,4 @@ DEPENDENCIES
|
|
|
65
65
|
simplecov_json_formatter
|
|
66
66
|
|
|
67
67
|
BUNDLED WITH
|
|
68
|
-
|
|
68
|
+
1.17.2
|
data/lib/cocov/plugin_kit/run.rb
CHANGED
|
@@ -29,7 +29,7 @@ module Cocov
|
|
|
29
29
|
|
|
30
30
|
ALLOWED_KINDS = %i[style performance security bug complexity duplication].freeze
|
|
31
31
|
|
|
32
|
-
def
|
|
32
|
+
def emit_issue(kind:, file:, line_start:, line_end:, message:, uid: nil)
|
|
33
33
|
unless ALLOWED_KINDS.include? kind
|
|
34
34
|
raise ArgumentError, "Invalid kind `#{kind}'. Valid options are #{ALLOWED_KINDS.join(", ")}"
|
|
35
35
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cocov_plugin_kit
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Victor Gama
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-01-
|
|
11
|
+
date: 2023-01-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: PluginKit implements helpers for running Cocov plugins
|
|
14
14
|
email:
|