shell_command 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -16,8 +16,8 @@ of what I mean.
16
16
 
17
17
  __USE CASES__
18
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.
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
21
 
22
22
  __EXAMPLES__
23
23
 
@@ -1,3 +1,3 @@
1
1
  module ShellCommand
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
data/lib/shell_command.rb CHANGED
@@ -44,7 +44,7 @@ module ShellCommand
44
44
  #
45
45
  def run *args
46
46
  if args.empty?
47
- raise ArgumentError, 'Wrong number of arguments (0 for 1)'
47
+ raise ArgumentError, 'Wrong number of arguments (0 for 1+)'
48
48
  end
49
49
 
50
50
  pid, stdin, stdout, stderr = Open4.open4(*args)
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.1
4
+ version: 0.2.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-03-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: open4
16
- requirement: &70243565275240 !ruby/object:Gem::Requirement
16
+ requirement: &70127716518800 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70243565275240
24
+ version_requirements: *70127716518800
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rake
27
- requirement: &70243565310040 !ruby/object:Gem::Requirement
27
+ requirement: &70127716518280 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '0'
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *70243565310040
35
+ version_requirements: *70127716518280
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: minitest
38
- requirement: &70243565307780 !ruby/object:Gem::Requirement
38
+ requirement: &70127716517860 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,7 +43,7 @@ dependencies:
43
43
  version: '0'
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *70243565307780
46
+ version_requirements: *70127716517860
47
47
  description: shell_command tries to provide a better interface for communicating
48
48
  with commands you spawn on the shell
49
49
  email:
@@ -85,7 +85,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
85
85
  version: '0'
86
86
  segments:
87
87
  - 0
88
- hash: 3071351823306739933
88
+ hash: -40955447711962744
89
89
  requirements: []
90
90
  rubyforge_project: shell_command
91
91
  rubygems_version: 1.8.11