danger-kover 0.0.1 → 0.0.2
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/README.md +5 -1
- data/danger-kover-0.0.1.gem +0 -0
- data/lib/kover/gem_version.rb +1 -1
- data/lib/kover/plugin.rb +4 -4
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d51a8761be717a19d11d215d58100fe5301539ba8c76f40383deddc1f150063b
|
|
4
|
+
data.tar.gz: d952a4b6a25b113718d10a48d5d42bb59baeb4c66cd2b2fea3a07932e5849ccd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 52392f721abee9a2cd898482c0707f810df876cb0c961975d43c19acd5d1bb0f75cda2aea53d48392334149dd4b0366196266180c6fba7e0736790284024ff96
|
|
7
|
+
data.tar.gz: 5a2e8efc9eb2f9e549d4f781f972c25de34dc8955301da17b090ce432cc423ecddd6e28419cbd723ff5042eec40e6ceb7d4c8e2c7c5d96846f353ed0a3ac013b
|
data/README.md
CHANGED
|
@@ -40,9 +40,13 @@ kover.report 'Module Name', 'path/to/kover/report.xml'
|
|
|
40
40
|
Optional attribute to only warn instead of failing if below thresholds:
|
|
41
41
|
|
|
42
42
|
```ruby
|
|
43
|
-
kover.fail_if_under_threshold false
|
|
43
|
+
kover.fail_if_under_threshold = false
|
|
44
44
|
```
|
|
45
45
|
|
|
46
|
+
## Credits
|
|
47
|
+
|
|
48
|
+
This is a fork, based on [Shroud](https://github.com/livefront/danger-shroud).
|
|
49
|
+
|
|
46
50
|
## Development
|
|
47
51
|
|
|
48
52
|
1. Clone this repo
|
|
Binary file
|
data/lib/kover/gem_version.rb
CHANGED
data/lib/kover/plugin.rb
CHANGED
|
@@ -115,7 +115,7 @@ module Danger
|
|
|
115
115
|
output = "## 🎯 #{moduleName} Code Coverage: **`#{'%.2f' % coveragePercent}%`**\n"
|
|
116
116
|
|
|
117
117
|
if touchedFilesHash.empty?
|
|
118
|
-
output << "The new and modified files are not part of the coverage report
|
|
118
|
+
output << "The new and modified files are not part of the Kover coverage report 👀.\n"
|
|
119
119
|
else
|
|
120
120
|
output << "### Coverage of Modified Files:\n"
|
|
121
121
|
output << "File | Coverage\n"
|
|
@@ -138,10 +138,10 @@ module Danger
|
|
|
138
138
|
end
|
|
139
139
|
|
|
140
140
|
output << "\n"
|
|
141
|
-
output << "Number of files not found in coverage report: #{fileNamesNotInReport.size}"
|
|
142
|
-
output << "\n"
|
|
141
|
+
output << "Number of files not found in coverage report: #{fileNamesNotInReport.size}."
|
|
142
|
+
output << "\n\n"
|
|
143
143
|
|
|
144
|
-
output << 'Code coverage
|
|
144
|
+
output << 'Code coverage by [danger-kover](https://github.com/JCarlosR/danger-kover).'
|
|
145
145
|
markdown output
|
|
146
146
|
|
|
147
147
|
# warn or fail if total coverage is under specified threshold
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: danger-kover
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- andrewhaisting
|
|
@@ -182,6 +182,7 @@ files:
|
|
|
182
182
|
- LICENSE
|
|
183
183
|
- README.md
|
|
184
184
|
- Rakefile
|
|
185
|
+
- danger-kover-0.0.1.gem
|
|
185
186
|
- danger-kover.gemspec
|
|
186
187
|
- images/bannerImage.png
|
|
187
188
|
- lib/danger_plugin.rb
|