remote-exec 0.6.0 → 0.6.1

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: 800fd883b998fcc94053517f9bf51024abb432dc
4
- data.tar.gz: f45137d8cd9ba56550ab77f572c502821cc818e2
3
+ metadata.gz: 6661942bfe3c74c0248987cf922337450eb1ccbd
4
+ data.tar.gz: 5f0342cdd8b0db587eafb548c65789a01dda9635
5
5
  SHA512:
6
- metadata.gz: 6860b263ee359578a023e7068e6d44b3b6767b39af3b1f9479739f32b4c2d84ba5586e46f1f8841c615f3490666a97294168b795ce224c9aa68c41540c217435
7
- data.tar.gz: 9637678910d64aa18f0299bcc32938520ea23b9c77f2f4a35c6915885912f9a426c01d6b137a107f95726956adb16aa0140262f29213a181397aaf7246469692
6
+ metadata.gz: 95716155baf5c2f50b1c262ad9e1f3990d4fc09fade8d9a6744ca815c01ff73d32790f6bc3a995156c1b08c724752ebfa4a6d6bb0c95cd01261964a02f3af5d4
7
+ data.tar.gz: 287d704dcb71624a690b3642423064b9654dc2fe630c232c81cfefe2c9973434749854799483281b7398e782561938dbb25ae65abd6c23c782be70ac5c454130
@@ -4,7 +4,7 @@ Copyright 2014 Michal Papis <mpapis@gmail.com>
4
4
  See the file LICENSE for copying permission.
5
5
  =end
6
6
 
7
- require 'ruby-hooks'
7
+ require "ruby-hooks"
8
8
  require "remote-exec/version"
9
9
 
10
10
  # Define minimal interface for execution handlers
@@ -4,7 +4,7 @@ Copyright 2014 Michal Papis <mpapis@gmail.com>
4
4
  See the file LICENSE for copying permission.
5
5
  =end
6
6
 
7
- require 'session'
7
+ require "session"
8
8
  require "remote-exec/base"
9
9
 
10
10
  # Class to run local commands and transfer files localy.
@@ -7,7 +7,7 @@ Partially based on test-kitchen by Fletcher Nichol <fnichol@nichol.ca>
7
7
  License: https://github.com/test-kitchen/test-kitchen/blob/459238b88c/LICENSE
8
8
  =end
9
9
 
10
- require 'net/ssh'
10
+ require "net/ssh"
11
11
  require "remote-exec/base"
12
12
 
13
13
  # Class to help establish SSH connections, issue remote commands, and
@@ -35,6 +35,10 @@ class RemoteExec::Ssh < RemoteExec::Base
35
35
  super()
36
36
  end
37
37
 
38
+ def to_s
39
+ "<RemoteExec::Ssh @hostname=#{@hostname.inspect}, @username=#{@username.inspect}>"
40
+ end
41
+
38
42
  # Shuts down the session connection, if it is still active.
39
43
  def shutdown
40
44
  super
@@ -7,5 +7,5 @@ See the file LICENSE for copying permission.
7
7
  # Unified handling of remote execution and file transfer
8
8
  module RemoteExec
9
9
  # Version of this gem
10
- VERSION = '0.6.0'
10
+ VERSION = "0.6.1"
11
11
  end
@@ -1,5 +1,5 @@
1
- require 'test_helper'
2
- require 'remote-exec/fake'
1
+ require "test_helper"
2
+ require "remote-exec/fake"
3
3
 
4
4
  describe RemoteExec::Fake do
5
5
  subject do
@@ -1,5 +1,5 @@
1
- require 'test_helper'
2
- require 'remote-exec/local'
1
+ require "test_helper"
2
+ require "remote-exec/local"
3
3
 
4
4
  describe RemoteExec::Local do
5
5
  subject do
@@ -7,9 +7,9 @@ Partially based on test-kitchen by Fletcher Nichol <fnichol@nichol.ca>
7
7
  License: https://github.com/test-kitchen/test-kitchen/blob/459238b88c/LICENSE
8
8
  =end
9
9
 
10
- require 'test_helper'
11
- require 'remote-exec/ssh'
12
- require 'net/ssh/test'
10
+ require "test_helper"
11
+ require "remote-exec/ssh"
12
+ require "net/ssh/test"
13
13
 
14
14
  module Net
15
15
  module SSH
metadata CHANGED
@@ -1,127 +1,141 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: remote-exec
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michal Papis
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-10-12 00:00:00.000000000 Z
11
+ date: 2014-11-24 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: net-ssh
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '2.9'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '2.9'
13
27
  - !ruby/object:Gem::Dependency
14
28
  name: ruby-hooks
15
29
  requirement: !ruby/object:Gem::Requirement
16
30
  requirements:
17
- - - ~>
31
+ - - "~>"
18
32
  - !ruby/object:Gem::Version
19
33
  version: '1.2'
20
34
  type: :runtime
21
35
  prerelease: false
22
36
  version_requirements: !ruby/object:Gem::Requirement
23
37
  requirements:
24
- - - ~>
38
+ - - "~>"
25
39
  - !ruby/object:Gem::Version
26
40
  version: '1.2'
27
41
  - !ruby/object:Gem::Dependency
28
42
  name: session
29
43
  requirement: !ruby/object:Gem::Requirement
30
44
  requirements:
31
- - - ~>
45
+ - - "~>"
32
46
  - !ruby/object:Gem::Version
33
47
  version: '3.2'
34
48
  type: :runtime
35
49
  prerelease: false
36
50
  version_requirements: !ruby/object:Gem::Requirement
37
51
  requirements:
38
- - - ~>
52
+ - - "~>"
39
53
  - !ruby/object:Gem::Version
40
54
  version: '3.2'
41
55
  - !ruby/object:Gem::Dependency
42
- name: net-ssh
56
+ name: guard
43
57
  requirement: !ruby/object:Gem::Requirement
44
58
  requirements:
45
- - - ~>
59
+ - - "~>"
46
60
  - !ruby/object:Gem::Version
47
- version: '2.9'
48
- type: :runtime
61
+ version: '2.6'
62
+ type: :development
49
63
  prerelease: false
50
64
  version_requirements: !ruby/object:Gem::Requirement
51
65
  requirements:
52
- - - ~>
66
+ - - "~>"
53
67
  - !ruby/object:Gem::Version
54
- version: '2.9'
68
+ version: '2.6'
55
69
  - !ruby/object:Gem::Dependency
56
70
  name: guard-minitest
57
71
  requirement: !ruby/object:Gem::Requirement
58
72
  requirements:
59
- - - ~>
73
+ - - "~>"
60
74
  - !ruby/object:Gem::Version
61
75
  version: '2.3'
62
76
  type: :development
63
77
  prerelease: false
64
78
  version_requirements: !ruby/object:Gem::Requirement
65
79
  requirements:
66
- - - ~>
80
+ - - "~>"
67
81
  - !ruby/object:Gem::Version
68
82
  version: '2.3'
69
83
  - !ruby/object:Gem::Dependency
70
84
  name: guard-yard
71
85
  requirement: !ruby/object:Gem::Requirement
72
86
  requirements:
73
- - - ~>
87
+ - - "~>"
74
88
  - !ruby/object:Gem::Version
75
89
  version: '2.1'
76
90
  type: :development
77
91
  prerelease: false
78
92
  version_requirements: !ruby/object:Gem::Requirement
79
93
  requirements:
80
- - - ~>
94
+ - - "~>"
81
95
  - !ruby/object:Gem::Version
82
96
  version: '2.1'
83
97
  - !ruby/object:Gem::Dependency
84
- name: rake
98
+ name: minitest
85
99
  requirement: !ruby/object:Gem::Requirement
86
100
  requirements:
87
- - - ~>
101
+ - - "~>"
88
102
  - !ruby/object:Gem::Version
89
- version: '10.3'
103
+ version: '5.4'
90
104
  type: :development
91
105
  prerelease: false
92
106
  version_requirements: !ruby/object:Gem::Requirement
93
107
  requirements:
94
- - - ~>
108
+ - - "~>"
95
109
  - !ruby/object:Gem::Version
96
- version: '10.3'
110
+ version: '5.4'
97
111
  - !ruby/object:Gem::Dependency
98
- name: minitest
112
+ name: mocha
99
113
  requirement: !ruby/object:Gem::Requirement
100
114
  requirements:
101
- - - ~>
115
+ - - "~>"
102
116
  - !ruby/object:Gem::Version
103
- version: '5.4'
117
+ version: '1.1'
104
118
  type: :development
105
119
  prerelease: false
106
120
  version_requirements: !ruby/object:Gem::Requirement
107
121
  requirements:
108
- - - ~>
122
+ - - "~>"
109
123
  - !ruby/object:Gem::Version
110
- version: '5.4'
124
+ version: '1.1'
111
125
  - !ruby/object:Gem::Dependency
112
- name: mocha
126
+ name: rake
113
127
  requirement: !ruby/object:Gem::Requirement
114
128
  requirements:
115
- - - ~>
129
+ - - "~>"
116
130
  - !ruby/object:Gem::Version
117
- version: '1.1'
131
+ version: '10.3'
118
132
  type: :development
119
133
  prerelease: false
120
134
  version_requirements: !ruby/object:Gem::Requirement
121
135
  requirements:
122
- - - ~>
136
+ - - "~>"
123
137
  - !ruby/object:Gem::Version
124
- version: '1.1'
138
+ version: '10.3'
125
139
  description:
126
140
  email:
127
141
  - mpapis@gmail.com
@@ -149,23 +163,23 @@ require_paths:
149
163
  - lib
150
164
  required_ruby_version: !ruby/object:Gem::Requirement
151
165
  requirements:
152
- - - '>='
166
+ - - ">="
153
167
  - !ruby/object:Gem::Version
154
168
  version: '0'
155
169
  required_rubygems_version: !ruby/object:Gem::Requirement
156
170
  requirements:
157
- - - '>='
171
+ - - ">="
158
172
  - !ruby/object:Gem::Version
159
173
  version: '0'
160
174
  requirements: []
161
175
  rubyforge_project:
162
- rubygems_version: 2.2.2
176
+ rubygems_version: 2.4.3
163
177
  signing_key:
164
178
  specification_version: 4
165
179
  summary: Invoke commands on remote hosts
166
180
  test_files:
167
- - test/test_helper.rb
168
- - test/remote-exec/local_test.rb
169
181
  - test/remote-exec/fake_test.rb
182
+ - test/remote-exec/local_test.rb
170
183
  - test/remote-exec/ssh_test.rb
184
+ - test/test_helper.rb
171
185
  has_rdoc: