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 +4 -4
- data/lib/danger_pronto/gem_version.rb +1 -1
- data/lib/danger_pronto/plugin.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0be79b5196ac89c79a65f9ae8a9b1f57d7c7c9d7
|
|
4
|
+
data.tar.gz: 6fd9c062198a11980042dec5eb4d5aac702d0f19
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: eca4bd99a37d64b006e6a30da176f535d176b66c5502109f2649e5b3b807d695fb85106c6abc1fa71dd1f132780069546faa299976803d505e92c9e6d9c769ad
|
|
7
|
+
data.tar.gz: d7f9d2b9d600d59197cfe4310fc489127294459e947049ff99f5cd0229d373a81ce61c0b59cb24293eda9aeb9d381f90ff23867c0cf4bbd013078b38baff86c2
|
data/lib/danger_pronto/plugin.rb
CHANGED
|
@@ -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.
|
|
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
|