danger-pronto 0.3.0 → 0.3.1

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
  SHA1:
3
- metadata.gz: de661477eafe79f51a9b06ec0ad7b89337624606
4
- data.tar.gz: d69d88f8bc211fba154640b07378a93af78fd5b1
3
+ metadata.gz: 0be79b5196ac89c79a65f9ae8a9b1f57d7c7c9d7
4
+ data.tar.gz: 6fd9c062198a11980042dec5eb4d5aac702d0f19
5
5
  SHA512:
6
- metadata.gz: 88c82a97f3e5db4a5bc4a73deaf7b6df9e54eefda73ada373cb46b86f81c6478774932339bb6ff74c7a1f7a3c1f9361b3cb08de5d86d7667394be69d5cea82c3
7
- data.tar.gz: 857269cbfce5421a0c3e36711f6d4b5b14e558c33e617160dbc8f9aeda6f13dfab1cd08d4fe3652d70d0a97c89688b828f5f435f3645f5812e1c79542edbe461
6
+ metadata.gz: eca4bd99a37d64b006e6a30da176f535d176b66c5502109f2649e5b3b807d695fb85106c6abc1fa71dd1f132780069546faa299976803d505e92c9e6d9c769ad
7
+ data.tar.gz: d7f9d2b9d600d59197cfe4310fc489127294459e947049ff99f5cd0229d373a81ce61c0b59cb24293eda9aeb9d381f90ff23867c0cf4bbd013078b38baff86c2
@@ -1,3 +1,3 @@
1
1
  module Pronto
2
- VERSION = "0.3.0".freeze
2
+ VERSION = "0.3.1".freeze
3
3
  end
@@ -28,7 +28,7 @@ module Danger
28
28
  # @return [Hash] Converted hash from pronto json output
29
29
  def pronto(specified_commit = nil)
30
30
  commit = "origin/master"
31
- commit = specified_commit if specified_commit.present?
31
+ commit = specified_commit if !specified_commit.nil?
32
32
  pronto_output = `#{'bundle exec ' if File.exists?('Gemfile')}pronto run -f json -c #{commit}`
33
33
  JSON.parse(pronto_output)
34
34
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: danger-pronto
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - RestlessThinker