shell_command 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +5 -9
- data/lib/shell_command/version.rb +1 -1
- metadata +25 -12
data/README.md
CHANGED
@@ -10,18 +10,15 @@ __OVERVIEW__
|
|
10
10
|
|
11
11
|
__DESCRIPTION__
|
12
12
|
|
13
|
-
shell
|
14
|
-
|
15
|
-
of
|
13
|
+
A library for spawning shell commands in Ruby. The library can be useful when
|
14
|
+
you'd like to run a command and find out if it was successul(e.g: exited with a
|
15
|
+
status code of 0) or if you'd like to access the standard output and standard
|
16
|
+
error streams linked to a shell command.
|
16
17
|
|
17
|
-
__USE CASES__
|
18
|
-
|
19
|
-
- Run a command, and find out if it was successful (e.g: exited with 0).
|
20
|
-
- Run a command, and access stdout or stderr.
|
21
18
|
|
22
19
|
__EXAMPLES__
|
23
20
|
|
24
|
-
The first example lets you handle a failure yourself, but the second example
|
21
|
+
The first example lets you handle a failure yourself, but the second example
|
25
22
|
assumes you want a exception raised on failure.
|
26
23
|
|
27
24
|
__1.__
|
@@ -50,4 +47,3 @@ __SUPPORTED PLATFORMS__
|
|
50
47
|
__LICENSE__
|
51
48
|
|
52
49
|
See LICENSE.txt
|
53
|
-
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: shell_command
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-05-17 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: open4
|
16
|
-
requirement:
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,15 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements:
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0'
|
25
30
|
- !ruby/object:Gem::Dependency
|
26
31
|
name: rake
|
27
|
-
requirement:
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
28
33
|
none: false
|
29
34
|
requirements:
|
30
35
|
- - ! '>='
|
@@ -32,10 +37,15 @@ dependencies:
|
|
32
37
|
version: '0'
|
33
38
|
type: :development
|
34
39
|
prerelease: false
|
35
|
-
version_requirements:
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '0'
|
36
46
|
- !ruby/object:Gem::Dependency
|
37
47
|
name: minitest
|
38
|
-
requirement:
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
39
49
|
none: false
|
40
50
|
requirements:
|
41
51
|
- - ! '>='
|
@@ -43,7 +53,12 @@ dependencies:
|
|
43
53
|
version: '0'
|
44
54
|
type: :development
|
45
55
|
prerelease: false
|
46
|
-
version_requirements:
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ! '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
47
62
|
description: shell_command tries to provide a better interface for communicating
|
48
63
|
with commands you spawn on the shell
|
49
64
|
email:
|
@@ -83,12 +98,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
83
98
|
- - ! '>='
|
84
99
|
- !ruby/object:Gem::Version
|
85
100
|
version: '0'
|
86
|
-
segments:
|
87
|
-
- 0
|
88
|
-
hash: -40955447711962744
|
89
101
|
requirements: []
|
90
102
|
rubyforge_project: shell_command
|
91
|
-
rubygems_version: 1.8.
|
103
|
+
rubygems_version: 1.8.23
|
92
104
|
signing_key:
|
93
105
|
specification_version: 3
|
94
106
|
summary: shell_command tries to provide a better interface for communicating with
|
@@ -96,3 +108,4 @@ summary: shell_command tries to provide a better interface for communicating wi
|
|
96
108
|
test_files:
|
97
109
|
- test/setup.rb
|
98
110
|
- test/test_shell_command.rb
|
111
|
+
has_rdoc:
|