em-systemcommand 2.0.1 → 2.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  module Em
2
2
  module Systemcommand
3
- VERSION = "2.0.1"
3
+ VERSION = "2.0.2"
4
4
  end
5
5
  end
@@ -47,6 +47,14 @@ module EventMachine
47
47
  sys_cmd.execute
48
48
  end
49
49
 
50
+ ##
51
+ # Get the command string from the builder object.
52
+ #
53
+ # @return [String] The command string
54
+ def command
55
+ @command.to_s
56
+ end
57
+
50
58
  ##
51
59
  # Executes the command from the `Builder` object.
52
60
  # If there had been given a block at instantiation it will be
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: em-systemcommand
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -163,7 +163,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
163
163
  version: '0'
164
164
  segments:
165
165
  - 0
166
- hash: -2179568276682517415
166
+ hash: -2992450543437428239
167
167
  required_rubygems_version: !ruby/object:Gem::Requirement
168
168
  none: false
169
169
  requirements:
@@ -172,7 +172,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
172
172
  version: '0'
173
173
  segments:
174
174
  - 0
175
- hash: -2179568276682517415
175
+ hash: -2992450543437428239
176
176
  requirements: []
177
177
  rubyforge_project:
178
178
  rubygems_version: 1.8.24