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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: df912d1ae056b291d3f6fea996bb8d61879ce0b9aa26abd50aa46cdc40a8b60e
4
- data.tar.gz: 6942d6c7bad3e008f8b961b53d1fff3b85ad31a00f40279436b2c586f238e298
3
+ metadata.gz: d51a8761be717a19d11d215d58100fe5301539ba8c76f40383deddc1f150063b
4
+ data.tar.gz: d952a4b6a25b113718d10a48d5d42bb59baeb4c66cd2b2fea3a07932e5849ccd
5
5
  SHA512:
6
- metadata.gz: 88312125ea11e7d9f22776eb8707c08c909fbe0a5c325f44ef89a5daeef7cf364fcf44f3dffdebeab21d030916374545f117f391554f1c7c8728d2913b3be337
7
- data.tar.gz: fa0415298f378a97d57274d49a8a2b96af759f590c6efcd19618678dbb01ee6f9c2058e4bf8b6d20495864c594aa5034b7a46a2d9b9df393c595d48e7525aa13
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
@@ -1,3 +1,3 @@
1
1
  module Kover
2
- VERSION = "0.0.1".freeze
2
+ VERSION = "0.0.2".freeze
3
3
  end
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 generated by [danger-kover](https://github.com/JCarlosR/danger-kover), based on [Shroud](https://github.com/livefront/danger-shroud)'
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.1
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