photocopier 1.3.3.pre2 → 1.3.3.pre3

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
  SHA1:
3
- metadata.gz: fb958681d1a330cf6571fb11d769f4b288107416
4
- data.tar.gz: e2f4fa36d8633195dd40c1882f4cde3878c99690
3
+ metadata.gz: 23cff4f77ede25810036e4974e22fb6ac0a10387
4
+ data.tar.gz: 8b11372913559d96088d42fb102b145cb9bb091f
5
5
  SHA512:
6
- metadata.gz: 5e69ace127f92ed0a5c3788b4ecab246c87303c6a3babbbc00064c2926f873c6c2be69f3d98b6292f0c0be7e46bff8ed72758b66277da38daff33185fcdd66a4
7
- data.tar.gz: 845df39dc0aedd2efb0c8219160bdf88d8ebc30b901329b342b8321466714ab9e79d9530f92a68672388d7b04e51c99c3ab98115aaa6723575d5643c0045fbbe
6
+ metadata.gz: b700b1828d1d15dff08ce427a9c4e532b65109f3f99070d6c98d1714995bb1297539bc1cae6733fd5abbbd0de361aa1a316d8f2b941f8613e7bfc9ec5b17eaa7
7
+ data.tar.gz: 7ee947a1930175493077f8824812e3af9d6af9c484fc74746242dea01fc87d31548ad5922511ae0a8f8c267fe7a144319b3b688ba96634ed97c0125f4d683bd7
@@ -39,7 +39,8 @@ module Photocopier
39
39
  stdout = ""
40
40
  stderr = ""
41
41
  exit_code = nil
42
- session.open_channel do |channel|
42
+ my_session = session
43
+ my_session.open_channel do |channel|
43
44
  channel.exec(cmd) do |_ch, _success|
44
45
  channel.on_data do |_ch, data|
45
46
  stdout << data
@@ -54,7 +55,7 @@ module Photocopier
54
55
 
55
56
  channel.wait
56
57
  end
57
- session.loop
58
+ my_session.loop
58
59
  [stdout, stderr, exit_code]
59
60
  end
60
61
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_litterla: true
2
2
 
3
3
  module Photocopier
4
- VERSION = "1.3.3.pre2".freeze
4
+ VERSION = "1.3.3.pre3".freeze
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: photocopier
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.3.pre2
4
+ version: 1.3.3.pre3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stefano Verna
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: exe
12
12
  cert_chain: []
13
- date: 2019-06-05 00:00:00.000000000 Z
13
+ date: 2019-06-09 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: activesupport