danger-prose 2.0.3 → 2.0.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: 2c19ba30e1125f7d432a6b365bbe1cedc36fdb0a
4
- data.tar.gz: dc9f9975a6a6b39097186b4540609e3e660f1835
3
+ metadata.gz: f09413f72b2e58d7e5d6a3d86e110d17999e7594
4
+ data.tar.gz: 6483ac3b556427b1debbed54c4c07f23719b0fbd
5
5
  SHA512:
6
- metadata.gz: d18cf8a626a26f7613de9c28184296457f8bfc1ec9225557bd5183509ab5a60c6214f4bda805cb3d8c7005dcded85b4c4b547fa142c91fbafc50e400d25e59db
7
- data.tar.gz: cf7161af717bfca0ff632177c6a0c4cb57d92d0526af313030e2311c989e09970db4789e6614477c6a4c692613d1f5a043ed4ad797dd5c6fb6316d23f0cf22f3
6
+ metadata.gz: 6c23179053f947d8be3bc2654ad8967b0d9b487a66051c043e121ac911a0b31258005070f6f77e5fabf562c7dcfde845387d9c819924adeca9869817e841dcc6
7
+ data.tar.gz: 93d94353ef9ca6d35f43a2245708e17ef386c2882a057bd7836f3189648529d2f853244e874d94ee0f7f406846c86d6bb565f650d8af558acf14f6308f0c8651
data/lib/danger_plugin.rb CHANGED
@@ -60,7 +60,7 @@ module Danger
60
60
  with_proselint_disabled(to_disable) do
61
61
  # Convert paths to proselint results
62
62
  result_jsons = Hash[markdown_files.uniq.collect { |v| [v, get_proselint_json(v)] }]
63
- proses = result_jsons.select { |_, prose| prose['data']['errors'].count }
63
+ proses = result_jsons.select { |_, prose| prose['data']['errors'].count > 0 }
64
64
  end
65
65
 
66
66
  # Get some metadata about the local setup
data/lib/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module DangerProse
2
- VERSION = '2.0.3'.freeze
2
+ VERSION = '2.0.4'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: danger-prose
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.3
4
+ version: 2.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Grandinetti
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-08-29 00:00:00.000000000 Z
12
+ date: 2017-05-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: danger