danger-junit 0.6.3 → 0.6.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 92d9f76ebd894f63da916daf4ef076078a804160
4
- data.tar.gz: 831035a9f746308120c1e0d41041c269d762938f
3
+ metadata.gz: 6a8275408662c8c7e43cb5e021b9d4e0aba5ca89
4
+ data.tar.gz: fe861876aa05c98d15dbf8dcfd739cc9f564a198
5
5
  SHA512:
6
- metadata.gz: 2351b57746568cc787ec8a55f4fa783103dbfcefc37e79287ec410b03081ef5abbc46ae989d00c6990c5fc381fb89a16016a45185209731ee982cbf41c55feb1
7
- data.tar.gz: ca1923bea3424849bd2a1328f94752c990621151fb8eeaa2152039eadf3e77f1c2272cef3558ac38cf86ebf562568c234a7848805b9dc4bb340a4dc5dcd7ac1a
6
+ metadata.gz: 59fc85be4a5299fa24b9f23cc11e4a454d50270d4b2ab1ed8247932959c605dbf5cb55f26902fd50832b007170f3fb36cc854dd926d98486b801e9ea9193a33e
7
+ data.tar.gz: 88d2386fd4fdcbfbe00bd8cf08f5a6010ba27627d88d390b680c8332c67ed607d28595d4676e3e4898ed55893d69ce21e048a51ebe07de3a247fa5d28945796e
@@ -1,3 +1,3 @@
1
1
  module Junit
2
- VERSION = '0.6.3'.freeze
2
+ VERSION = '0.6.4'.freeze
3
3
  end
data/lib/junit/plugin.rb CHANGED
@@ -108,6 +108,7 @@ module Danger
108
108
  #
109
109
  # @return [void]
110
110
  def report
111
+ return if failures.nil? # because danger calls `report` before loading a file
111
112
  warn("Skipped #{skipped.count} tests.") if show_skipped_tests && skipped.count > 0
112
113
 
113
114
  unless failures.empty? && errors.empty?
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: danger-junit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.3
4
+ version: 0.6.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Orta Therox
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-07-30 00:00:00.000000000 Z
11
+ date: 2016-08-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: danger