success-unicorn 0.0.2 → 0.0.3
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/success_unicorn.rb +2 -5
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 88bd5206952766378401230a0feb53ae4a5cf74c
|
|
4
|
+
data.tar.gz: 141a04f1242c50b42798408d1d4d75560fdc9a5c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cb4e56de9dd6945a970dae1ed82e92faeb5c4d133b5e9faac16ef41a9f603e8a77e9299249f9a0ad7e3f766a2e2018c4193f21fb8782317788deff3a6a5fd417
|
|
7
|
+
data.tar.gz: f1d47a596e38a7599959048660457a209fbae919ce8e7248b1741d5be9c99d6c53482231874d54438ca0ac3c0f87dc9b106f10060cca2c7a95c9f4029fcdec5d
|
data/lib/success_unicorn.rb
CHANGED
|
@@ -9,11 +9,8 @@ module SuccessUnicorn
|
|
|
9
9
|
examples.none?(&:exception) ? success : failure
|
|
10
10
|
end
|
|
11
11
|
|
|
12
|
-
def generate_for_exit_status(
|
|
13
|
-
|
|
14
|
-
return error("The passed in object does not respond to exitstatus.")
|
|
15
|
-
end
|
|
16
|
-
exit_object.exitstatus == 0 ? success : failure
|
|
12
|
+
def generate_for_exit_status(exit_status)
|
|
13
|
+
exit_status == 0 ? success : failure
|
|
17
14
|
end
|
|
18
15
|
|
|
19
16
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: success-unicorn
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jeff Hostetler
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-11-
|
|
11
|
+
date: 2016-11-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: RSpec ASCII success and failure thingy
|
|
14
14
|
email: fake@example.com
|