shaddox 0.0.16 → 0.0.17

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4624fa2c38431e41c21c8f8a093a173ea77b41f2
4
- data.tar.gz: 7915f98f7f3b3f072f5cfbfbac514c89864db704
3
+ metadata.gz: ada0025262c3f76abcc3572df157e2e0f560485e
4
+ data.tar.gz: 0edf0ae84eb8ad620cc54577994e60a7677cb6f6
5
5
  SHA512:
6
- metadata.gz: 013bf3d37ea6358e25fa48a9bebcdb40f2772d3f4b54c6e86c31a8f21d040369eb2aa9e24393585d94675a498ae10860fc2a359f2629e74dbc1c46bc895d8f06
7
- data.tar.gz: 164789e155520065fd121529e54fd7ab84fb68d84f56348f073b9b908c026705243c31c55470804db5e50a9e976d8938ee4fc9826cd1cfe2c8d76417864efdfc
6
+ metadata.gz: e7bd7b7d6a4332c1f7e0a86e1ebddd5d065d2429ee492fa30d35f79f861cf5f0f0c57cf13f71f241a753ea7addf89b784eda8a4a33bdb05c6318d8f6c8efc0e1
7
+ data.tar.gz: 104aa6e5a00267041ad5f3f38a80d0e2f01a50981667430392e90260ec733656af3c9fce4807ea3df95d229317307f39243c196bacfd505f77c247b43186dd5d
@@ -70,7 +70,7 @@ module Shaddox
70
70
  def initialize(&block)
71
71
  instance_eval(&block)
72
72
  end
73
- def exec(command)
73
+ def exec(command, opts = {})
74
74
  raise "exec method must be implemented by Actor subclass"
75
75
  end
76
76
  def write_file(content, dest_path)
@@ -83,7 +83,7 @@ module Shaddox
83
83
  LocalActor.new(&block)
84
84
  end
85
85
  class LocalActor < Actor
86
- def exec(command)
86
+ def exec(command, opts = {})
87
87
  system(command)
88
88
  end
89
89
  def write_file(content, dest_path)
@@ -1,3 +1,3 @@
1
1
  module Shaddox
2
- VERSION = "0.0.16"
2
+ VERSION = "0.0.17"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shaddox
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.16
4
+ version: 0.0.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - joshglendenning