shellter 0.9.3 → 0.9.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,13 +1,14 @@
1
- require 'popen4'
2
-
3
1
  module Shellter
4
2
  module Runners
5
3
  class Base
6
4
  def initialize(options = {})
7
-
5
+
8
6
  end
9
-
7
+
10
8
  def run(command, &block)
9
+ unless defined?(POpen4)
10
+ require 'popen4'
11
+ end
11
12
  POpen4.popen4(command, &block)
12
13
  end
13
14
  end
@@ -1,3 +1,3 @@
1
1
  module Shellter
2
- VERSION = "0.9.3"
2
+ VERSION = "0.9.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shellter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.3
4
+ version: 0.9.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: