shell_command 0.2.3 → 0.2.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/README.md +6 -6
  2. data/lib/shell_command/version.rb +1 -1
  3. metadata +1 -1
data/README.md CHANGED
@@ -11,15 +11,15 @@ __OVERVIEW__
11
11
  __DESCRIPTION__
12
12
 
13
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
14
+ you'd like to run a command and find out if it was successful(e.g: exited with a
15
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.
17
-
16
+ error streams for a given shell command.
18
17
 
19
18
  __EXAMPLES__
20
19
 
21
- The first example lets you handle a failure yourself, but the second example
22
- assumes you want a exception raised on failure.
20
+ The first example lets you handle a failure of a command yourself, but the second
21
+ example assumes you want a exception raised on failure(e.g: command exits with
22
+ a non-0 status code).
23
23
 
24
24
  __1.__
25
25
 
@@ -27,7 +27,7 @@ __1.__
27
27
  if command.success?
28
28
  puts command.stdout
29
29
  else
30
- puts "Looks like I couldn't execute `ls`, sorry!"
30
+ puts "Looks like `ls` had problems executing."
31
31
  end
32
32
  end
33
33
 
@@ -1,3 +1,3 @@
1
1
  module ShellCommand
2
- VERSION = "0.2.3"
2
+ VERSION = "0.2.4"
3
3
  end
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.3
4
+ version: 0.2.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: