danger-pmd 1.0.3 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/{publish.yml → deploy.yml} +1 -1
- data/.github/workflows/test.yml +1 -1
- data/Gemfile.lock +11 -1
- data/README.md +1 -0
- data/codecov.yml +20 -0
- data/danger-pmd.gemspec +1 -0
- data/lib/pmd/gem_version.rb +1 -1
- data/spec/spec_helper.rb +6 -0
- metadata +17 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ab6081f3613d0e47e1f7a18c674487a13ddc5354589efab6ccc77f65a13e1262
|
4
|
+
data.tar.gz: 82903a51f4b457c39a5253326aa7b16164a65b610091636e8a2d7435bee08fa9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 45dc1a85121cfa808d4053563a2133ea330451e20a3448f739cdea0a93a7db98d39da792b49e4b5cffcb41e32bf4884d4c56049fe26cf16c35516cc36a9d6104
|
7
|
+
data.tar.gz: 57241ad67f38e6337eead1f84b152baaccff956b057b634c2b13445ad573f67c66fe13bcbaccd6b498970c85bd4724eed02741a7b69b88880e1a68994f3aba89
|
data/.github/workflows/test.yml
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
danger-pmd (1.0.
|
4
|
+
danger-pmd (1.0.4)
|
5
5
|
danger-plugin-api (~> 1.0)
|
6
6
|
oga (~> 2.15)
|
7
7
|
|
@@ -17,6 +17,8 @@ GEM
|
|
17
17
|
cork
|
18
18
|
nap
|
19
19
|
open4 (~> 1.3)
|
20
|
+
codecov (0.5.1)
|
21
|
+
simplecov (>= 0.15, < 0.22)
|
20
22
|
coderay (1.1.3)
|
21
23
|
colored2 (3.1.2)
|
22
24
|
cork (0.3.0)
|
@@ -37,6 +39,7 @@ GEM
|
|
37
39
|
danger-plugin-api (1.0.0)
|
38
40
|
danger (> 2.0)
|
39
41
|
diff-lcs (1.4.4)
|
42
|
+
docile (1.3.5)
|
40
43
|
faraday (1.3.0)
|
41
44
|
faraday-net_http (~> 1.0)
|
42
45
|
multipart-post (>= 1.2, < 3)
|
@@ -138,6 +141,12 @@ GEM
|
|
138
141
|
addressable (>= 2.3.5)
|
139
142
|
faraday (> 0.8, < 2.0)
|
140
143
|
shellany (0.0.1)
|
144
|
+
simplecov (0.21.2)
|
145
|
+
docile (~> 1.1)
|
146
|
+
simplecov-html (~> 0.11)
|
147
|
+
simplecov_json_formatter (~> 0.1)
|
148
|
+
simplecov-html (0.12.3)
|
149
|
+
simplecov_json_formatter (0.1.2)
|
141
150
|
terminal-table (3.0.0)
|
142
151
|
unicode-display_width (~> 1.1, >= 1.1.1)
|
143
152
|
thor (1.1.0)
|
@@ -149,6 +158,7 @@ PLATFORMS
|
|
149
158
|
|
150
159
|
DEPENDENCIES
|
151
160
|
bundler (~> 2.0)
|
161
|
+
codecov (~> 0.5.1)
|
152
162
|
danger-pmd!
|
153
163
|
guard (~> 2.16.2)
|
154
164
|
guard-rspec (~> 4.7.3)
|
data/README.md
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
# Danger PMD
|
2
|
+
[![Latest release](https://img.shields.io/github/v/release/mathroule/danger-pmd.svg)](https://github.com/mathroule/danger-pmd/releases/latest) [![Deploy](https://github.com/mathroule/danger-pmd/workflows/Deploy/badge.svg)](https://github.com/mathroule/danger-pmd/actions) [![codecov](https://codecov.io/gh/mathroule/danger-pmd/branch/main/graph/badge.svg?token=HYA9XW0GL5)](https://codecov.io/gh/mathroule/danger-pmd)
|
2
3
|
|
3
4
|
Checks on your Gradle project's Java source files.
|
4
5
|
This is done using [PMD](https://pmd.github.io)
|
data/codecov.yml
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
codecov:
|
2
|
+
require_ci_to_pass: yes
|
3
|
+
|
4
|
+
coverage:
|
5
|
+
precision: 2
|
6
|
+
round: down
|
7
|
+
range: '70...100'
|
8
|
+
|
9
|
+
parsers:
|
10
|
+
gcov:
|
11
|
+
branch_detection:
|
12
|
+
conditional: yes
|
13
|
+
loop: yes
|
14
|
+
method: no
|
15
|
+
macro: no
|
16
|
+
|
17
|
+
comment:
|
18
|
+
layout: 'reach,diff,flags,files,footer'
|
19
|
+
behavior: default
|
20
|
+
require_changes: no
|
data/danger-pmd.gemspec
CHANGED
data/lib/pmd/gem_version.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
@@ -1,5 +1,11 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
+
require 'simplecov'
|
4
|
+
SimpleCov.start
|
5
|
+
|
6
|
+
require 'codecov'
|
7
|
+
SimpleCov.formatter = SimpleCov::Formatter::Codecov
|
8
|
+
|
3
9
|
require 'pathname'
|
4
10
|
ROOT = Pathname.new(File.expand_path('..', __dir__))
|
5
11
|
$LOAD_PATH.unshift("#{ROOT}lib".to_s)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: danger-pmd
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mathieu Rul
|
@@ -66,6 +66,20 @@ dependencies:
|
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '13.0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: codecov
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 0.5.1
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 0.5.1
|
69
83
|
- !ruby/object:Gem::Dependency
|
70
84
|
name: rspec
|
71
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -199,7 +213,7 @@ executables: []
|
|
199
213
|
extensions: []
|
200
214
|
extra_rdoc_files: []
|
201
215
|
files:
|
202
|
-
- ".github/workflows/
|
216
|
+
- ".github/workflows/deploy.yml"
|
203
217
|
- ".github/workflows/test.yml"
|
204
218
|
- ".gitignore"
|
205
219
|
- ".rubocop.yml"
|
@@ -209,6 +223,7 @@ files:
|
|
209
223
|
- LICENSE
|
210
224
|
- README.md
|
211
225
|
- Rakefile
|
226
|
+
- codecov.yml
|
212
227
|
- danger-pmd.gemspec
|
213
228
|
- lib/danger_plugin.rb
|
214
229
|
- lib/danger_pmd.rb
|