mpx 0.2.0 → 0.3.0

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
  SHA256:
3
- metadata.gz: 58b55c6f109c0b826001f54e1e45cafb056fce54b95a84236b8d42deec4695be
4
- data.tar.gz: 7e4971446131b02ad9a76ea049ee79a5bbf27b34a660bd04972aa9c210df2d0d
3
+ metadata.gz: 3d3b92cae99091cb285b663712094db342f5f7f48c1bd06013c0247c51e66efd
4
+ data.tar.gz: 9cf6939064ebf6c9c50a17358d72ca9d91940107ace578f4944d4e5fed1d3162
5
5
  SHA512:
6
- metadata.gz: cdb2d170667aba13ec3be1a6c2efd3b28af442309fbb4af551888cad7061f36bf08b3cd3cbdf8fdb845f71bd0913105a5e4781c636421b4cc99398b6774764ea
7
- data.tar.gz: 664f5de4798bb1213025fcf784cc679529bb334a9ccd16859de3e250f0bd465f033142dee204fd2fd3dd6cbdacc67f9f6a72e1d935033ee0a0959939861bf0f0
6
+ metadata.gz: cd5091fe7d3361e2b80aeb6062cac7dcc5525e80206aadafe2adf3b9168fa3e4629415d4c81e9012d61d6b4661667fffc5d452e07c0ff17843d02a78b4520678
7
+ data.tar.gz: 27deb6a363547f71e6c94ef08178fc3a91c04ca31427e11e58b4cd8fdb54e246120b3376ebf5919bcc728582d817ba55ba31b99cc8133c8cb42c29e5dcd3b73e
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- mpx (0.1.2)
4
+ mpx (0.2.0)
5
5
  ansi (~> 1.5)
6
6
 
7
7
  GEM
data/lib/mpx/result.rb CHANGED
@@ -17,8 +17,10 @@ module Mpx
17
17
  end
18
18
 
19
19
  def status_string
20
- color = @status.exitstatus.zero? ? :green : :red
21
- return send(color) { @status }
20
+ status = @status.exitstatus
21
+ color = status.zero? ? :green : :red
22
+ message = status.zero? ? 'Done!' : "Exited with code #{status}."
23
+ return send(color) { message }
22
24
  end
23
25
  end
24
26
  end
data/lib/mpx/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Mpx
2
- VERSION = "0.2.0"
2
+ VERSION = "0.3.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mpx
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ethan Chan