smart_proxy_remote_execution_ssh 0.10.4 → 0.10.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 243be2829c2dded953adf5e312e936d3ec6d6ef19ce3474d4f174fd5bd8d89f2
4
- data.tar.gz: fb9b33c7dabf90b89921cfbee5bfe6e94b130cc224b7889941171de01c087860
3
+ metadata.gz: c954cdfe053b445f2ca2d19ca1dbf6d2ad7415de960df82052cd88e397c58cdb
4
+ data.tar.gz: f13990b498a6703121f097d20514b6183ab4c78d7d8e7fa631c0a8dbdb96dd65
5
5
  SHA512:
6
- metadata.gz: 97d3dd475293be10577c24ecf99679bf8e1d68712246d547f791f995e1b9c93661580343aaf10a45a7b62a479be34e2602ad817b20258b29cf48de7ac049ef12
7
- data.tar.gz: 5deb80acfeecb4185acd0ec5eca8cf190e05fc01883f7a7a5dac25b0b2be26135f8b7a8905ad55f4ed80d8aa58835d41eded4b313d121d1c53d419450d7d7175
6
+ metadata.gz: 4395c6ae7c2b94d10b23d5fcc13606f99a72236e638bb65f012b6e4794fb6240ef157fb5141f5f8810e542554a61fdaf579830d1f0b395ca4ac61536af93f990
7
+ data.tar.gz: '08ef17875b92d53742b1482172e90ee825fc2657ee17237d04b8ead4019ad281a8d014b7b89cf74189542e9e9a08fddbd3d45bab9658de5c9369193bd8452eaa'
@@ -20,9 +20,9 @@ module Proxy::RemoteExecution::Ssh::Actions
20
20
 
21
21
  execution_plan_hooks.use :cleanup, :on => :stopped
22
22
 
23
- def plan(action_input, mqtt: false)
23
+ def plan(action_input)
24
24
  super(action_input)
25
- input[:with_mqtt] = mqtt
25
+ input[:with_mqtt] = Proxy::RemoteExecution::Ssh::Plugin.settings.mode == :'pull-mqtt'
26
26
  end
27
27
 
28
28
  def run(event = nil)
@@ -10,8 +10,7 @@ module Proxy::RemoteExecution::Ssh
10
10
  when :ssh, :'ssh-async'
11
11
  plan_action(ScriptRunner, *args)
12
12
  when :pull, :'pull-mqtt'
13
- plan_action(PullScript, *args,
14
- mqtt: mode == :'pull-mqtt')
13
+ plan_action(PullScript, *args)
15
14
  end
16
15
  end
17
16
  end
@@ -1,7 +1,7 @@
1
1
  module Proxy
2
2
  module RemoteExecution
3
3
  module Ssh
4
- VERSION = '0.10.4'
4
+ VERSION = '0.10.5'
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smart_proxy_remote_execution_ssh
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.4
4
+ version: 0.10.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ivan Nečas
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-03-05 00:00:00.000000000 Z
11
+ date: 2024-05-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler