Exit_Zero 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Exit_Zero.gemspec +3 -2
- data/README.md +10 -3
- data/lib/Exit_Zero/version.rb +1 -1
- metadata +3 -3
data/Exit_Zero.gemspec
CHANGED
@@ -13,8 +13,9 @@ Gem::Specification.new do |s|
|
|
13
13
|
s.description = %q{
|
14
14
|
A simple method that raises Exit_Zero::Non_Zero
|
15
15
|
if $?.exitstatus is not zero.
|
16
|
-
|
17
|
-
|
16
|
+
|
17
|
+
Be sure to use the "posix-spawn" gem by Ryan Tomayko
|
18
|
+
for more complex functionality.
|
18
19
|
}
|
19
20
|
|
20
21
|
s.files = `git ls-files`.split("\n")
|
data/README.md
CHANGED
@@ -3,9 +3,16 @@ Exit\_Zero
|
|
3
3
|
=========
|
4
4
|
|
5
5
|
A simple method that raises Exit\_Zero::Non\_Zero
|
6
|
-
if $?.exitstatus is not zero.
|
7
|
-
|
8
|
-
|
6
|
+
if $?.exitstatus is not zero.
|
7
|
+
|
8
|
+
If you want other functionality, such as capturing
|
9
|
+
standard output/error, then you should use
|
10
|
+
[posix-spawn](https://github.com/rtomayko/posix-spawn).
|
11
|
+
That is the easiest way to handle child processes
|
12
|
+
(aka shelling out a command).
|
13
|
+
[Here are other alternatives](http://stackoverflow.com/questions/6338908/ruby-difference-between-exec-system-and-x-or-backticks).
|
14
|
+
|
15
|
+
|
9
16
|
|
10
17
|
Installation
|
11
18
|
------------
|
data/lib/Exit_Zero/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: Exit_Zero
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -108,8 +108,8 @@ dependencies:
|
|
108
108
|
- !ruby/object:Gem::Version
|
109
109
|
version: '0'
|
110
110
|
description: ! "\n A simple method that raises Exit_Zero::Non_Zero\n if $?.exitstatus
|
111
|
-
is not zero.\n Be sure to use the \"posix-spawn\"
|
112
|
-
\
|
111
|
+
is not zero.\n \n Be sure to use the \"posix-spawn\" gem by Ryan Tomayko \n
|
112
|
+
\ for more complex functionality.\n "
|
113
113
|
email:
|
114
114
|
- i-hate-spam-45671204@mailinator.com
|
115
115
|
executables: []
|