winrm 2.3.0 → 2.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (85) hide show
  1. checksums.yaml +4 -4
  2. data/lib/winrm/http/transport.rb +1 -1
  3. data/lib/winrm/psrp/message.rb +128 -128
  4. data/lib/winrm/shells/power_shell.rb +0 -1
  5. data/lib/winrm/version.rb +1 -1
  6. metadata +12 -85
  7. data/.gitignore +0 -10
  8. data/.rubocop.yml +0 -38
  9. data/.travis.yml +0 -10
  10. data/Gemfile +0 -2
  11. data/Rakefile +0 -33
  12. data/Vagrantfile +0 -6
  13. data/WinrmAppveyor.psm1 +0 -32
  14. data/appveyor.yml +0 -50
  15. data/changelog.md +0 -133
  16. data/preamble +0 -17
  17. data/tests/integration/auth_timeout_spec.rb +0 -17
  18. data/tests/integration/cmd_spec.rb +0 -130
  19. data/tests/integration/config-example.yml +0 -16
  20. data/tests/integration/issue_59_spec.rb +0 -25
  21. data/tests/integration/powershell_spec.rb +0 -164
  22. data/tests/integration/spec_helper.rb +0 -62
  23. data/tests/integration/transport_spec.rb +0 -98
  24. data/tests/integration/wql_spec.rb +0 -33
  25. data/tests/matchers.rb +0 -59
  26. data/tests/spec/configuration_spec.rb +0 -183
  27. data/tests/spec/connection_spec.rb +0 -37
  28. data/tests/spec/exception_spec.rb +0 -49
  29. data/tests/spec/http/transport_factory_spec.rb +0 -66
  30. data/tests/spec/http/transport_spec.rb +0 -43
  31. data/tests/spec/output_spec.rb +0 -128
  32. data/tests/spec/psrp/fragment_spec.rb +0 -60
  33. data/tests/spec/psrp/message_data/base_spec.rb +0 -11
  34. data/tests/spec/psrp/message_data/error_record_spec.rb +0 -39
  35. data/tests/spec/psrp/message_data/pipeline_host_call_spec.rb +0 -23
  36. data/tests/spec/psrp/message_data/pipeline_output_spec.rb +0 -30
  37. data/tests/spec/psrp/message_data/pipeline_state_spec.rb +0 -38
  38. data/tests/spec/psrp/message_data/runspace_pool_host_call_spec.rb +0 -23
  39. data/tests/spec/psrp/message_data/runspacepool_state_spec.rb +0 -14
  40. data/tests/spec/psrp/message_data/session_capability_spec.rb +0 -28
  41. data/tests/spec/psrp/message_data_spec.rb +0 -33
  42. data/tests/spec/psrp/message_defragmenter_spec.rb +0 -45
  43. data/tests/spec/psrp/message_fragmenter_spec.rb +0 -103
  44. data/tests/spec/psrp/powershell_output_decoder_spec.rb +0 -98
  45. data/tests/spec/psrp/psrp_message_spec.rb +0 -73
  46. data/tests/spec/psrp/recieve_response_reader_spec.rb +0 -170
  47. data/tests/spec/psrp/uuid_spec.rb +0 -28
  48. data/tests/spec/response_handler_spec.rb +0 -69
  49. data/tests/spec/shells/base_spec.rb +0 -227
  50. data/tests/spec/shells/cmd_spec.rb +0 -75
  51. data/tests/spec/shells/powershell_spec.rb +0 -221
  52. data/tests/spec/spec_helper.rb +0 -46
  53. data/tests/spec/stubs/clixml/error_record.xml.erb +0 -84
  54. data/tests/spec/stubs/clixml/pipeline_state.xml.erb +0 -88
  55. data/tests/spec/stubs/responses/get_command_output_response.xml.erb +0 -13
  56. data/tests/spec/stubs/responses/get_command_output_response_not_done.xml.erb +0 -10
  57. data/tests/spec/stubs/responses/get_omi_command_output_response.xml.erb +0 -23
  58. data/tests/spec/stubs/responses/get_omi_command_output_response_not_done.xml.erb +0 -24
  59. data/tests/spec/stubs/responses/get_omi_config_response.xml +0 -45
  60. data/tests/spec/stubs/responses/get_omi_powershell_keepalive_response.xml.erb +0 -33
  61. data/tests/spec/stubs/responses/get_powershell_keepalive_response.xml.erb +0 -10
  62. data/tests/spec/stubs/responses/get_powershell_output_response.xml.erb +0 -12
  63. data/tests/spec/stubs/responses/get_powershell_output_response_not_done.xml.erb +0 -9
  64. data/tests/spec/stubs/responses/open_shell_omi.xml +0 -43
  65. data/tests/spec/stubs/responses/open_shell_v1.xml +0 -19
  66. data/tests/spec/stubs/responses/open_shell_v2.xml +0 -20
  67. data/tests/spec/stubs/responses/soap_fault_omi.xml +0 -31
  68. data/tests/spec/stubs/responses/soap_fault_v1.xml +0 -36
  69. data/tests/spec/stubs/responses/soap_fault_v2.xml +0 -42
  70. data/tests/spec/stubs/responses/wmi_error_v2.xml +0 -41
  71. data/tests/spec/wsmv/cleanup_command_spec.rb +0 -20
  72. data/tests/spec/wsmv/close_shell_spec.rb +0 -15
  73. data/tests/spec/wsmv/command_output_decoder_spec.rb +0 -35
  74. data/tests/spec/wsmv/command_output_spec.rb +0 -43
  75. data/tests/spec/wsmv/command_spec.rb +0 -17
  76. data/tests/spec/wsmv/configuration_spec.rb +0 -15
  77. data/tests/spec/wsmv/create_pipeline_spec.rb +0 -30
  78. data/tests/spec/wsmv/create_shell_spec.rb +0 -39
  79. data/tests/spec/wsmv/init_runspace_pool_spec.rb +0 -38
  80. data/tests/spec/wsmv/keep_alive_spec.rb +0 -21
  81. data/tests/spec/wsmv/receive_response_reader_spec.rb +0 -124
  82. data/tests/spec/wsmv/send_data_spec.rb +0 -30
  83. data/tests/spec/wsmv/wql_query_spec.rb +0 -11
  84. data/tests/spec/wsmv/write_stdin_spec.rb +0 -20
  85. data/winrm.gemspec +0 -46
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cd8c4887729128df19666c0a4f2b099b088261f5cb60ecb1b2adf52810188710
4
- data.tar.gz: 8711a914b783a6f6a6a5f5f8eb15ad74d4798dcf29242ff4b3b59679858e0c9e
3
+ metadata.gz: fc2dfd4574c525ca194a12eb9cbc41b8bc0213b5927c5a7bf570d3010e58d9c8
4
+ data.tar.gz: f3a9877260b7fd617653d7665136534c5e3761da289ab51d89bbd674cefd80d6
5
5
  SHA512:
6
- metadata.gz: 87eb8b34f189b70da6d6fd21e70142892cd9a8485f952a649229fb8cde0f073796af6ed9eb904e6c6b2f6d270ee901ec3d8ad69c36cd575e0b8def04faf5f9c9
7
- data.tar.gz: eaf8d672f6f53d62029d41452cfeda2f1c9fba0164528ce057376b1ceb8805b5deb5dfd76d320c4f4eac695c66f3ac517460fbe72ca7de1b0a899bacb7cf9c91
6
+ metadata.gz: ac8268cd7fad1e4d9a04deddbe4fdb097e4869fb52304d27fb23f55b79a0b44a00028f6c1e7fa3833d45f5d59f350c16c2f23d3cd105ccfe7e76b6f4d27c2936
7
+ data.tar.gz: 271f9696f1d960a19ad73315b363f626cd8d51eda1ce742d499b5419b57c58665612b196add8e43fd8dfd5a7461822676bf3bb03b374b09cf8aa2db6cc667d77
@@ -74,7 +74,7 @@ module WinRM
74
74
  return unless @ssl_peer_fingerprint && !@ssl_peer_fingerprint_verified
75
75
 
76
76
  with_untrusted_ssl_connection do |connection|
77
- connection_cert = connection.peer_cert_chain.last
77
+ connection_cert = connection.peer_cert
78
78
  verify_ssl_fingerprint(connection_cert)
79
79
  end
80
80
  @logger.info("initial ssl fingerprint #{@ssl_peer_fingerprint} verified\n")
@@ -1,128 +1,128 @@
1
- # Copyright 2015 Matt Wrock <matt@mattwrock.com>
2
- # Copyright 2016 Shawn Neal <sneal@sneal.net>
3
- #
4
- # Licensed under the Apache License, Version 2.0 (the 'License');
5
- # you may not use this file except in compliance with the License.
6
- # You may obtain a copy of the License at
7
- #
8
- # http://www.apache.org/licenses/LICENSE-2.0
9
- #
10
- # Unless required by applicable law or agreed to in writing, software
11
- # distributed under the License is distributed on an 'AS IS' BASIS,
12
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- # See the License for the specific language governing permissions and
14
- # limitations under the License.
15
-
16
- require_relative 'uuid'
17
- require_relative 'message_data'
18
-
19
- module WinRM
20
- # PowerShell Remoting Protcol module
21
- module PSRP
22
- # PowerShell Remoting Protocol base message.
23
- # http://download.microsoft.com/download/9/5/E/95EF66AF-9026-4BB0-A41D-A4F81802D92C/%5BMS-PSRP%5D.pdf
24
- class Message
25
- include UUID
26
-
27
- # Value of message destination when sent to a client
28
- CLIENT_DESTINATION = 1
29
-
30
- # Value of message destination when sent to a server
31
- SERVER_DESTINATION = 2
32
-
33
- # All known PSRP message types
34
- MESSAGE_TYPES = {
35
- session_capability: 0x00010002,
36
- init_runspacepool: 0x00010004,
37
- public_key: 0x00010005,
38
- encrypted_session_key: 0x00010006,
39
- public_key_request: 0x00010007,
40
- connect_runspacepool: 0x00010008,
41
- runspace_init_data: 0x0002100b,
42
- reset_runspace_state: 0x0002100c,
43
- set_max_runspaces: 0x00021002,
44
- set_min_runspaces: 0x00021003,
45
- runspace_availability: 0x00021004,
46
- runspacepool_state: 0x00021005,
47
- create_pipeline: 0x00021006,
48
- get_available_runspaces: 0x00021007,
49
- user_event: 0x00021008,
50
- application_private_data: 0x00021009,
51
- get_command_metadata: 0x0002100a,
52
- runspacepool_host_call: 0x00021100,
53
- runspacepool_host_response: 0x00021101,
54
- pipeline_input: 0x00041002,
55
- end_of_pipeline_input: 0x00041003,
56
- pipeline_output: 0x00041004,
57
- error_record: 0x00041005,
58
- pipeline_state: 0x00041006,
59
- debug_record: 0x00041007,
60
- verbose_record: 0x00041008,
61
- warning_record: 0x00041009,
62
- progress_record: 0x00041010,
63
- information_record: 0x00041011,
64
- pipeline_host_call: 0x00041100,
65
- pipeline_host_response: 0x00041101
66
- }.freeze
67
-
68
- # Creates a new PSRP message instance
69
- # @param runspace_pool_id [String] The UUID of the remote shell/runspace pool.
70
- # @param pipeline_id [String] The UUID to correlate the command/pipeline response
71
- # @param type [Integer] The PSRP MessageType. This is most commonly
72
- # specified in hex, e.g. 0x00010002.
73
- # @param data [String] The PSRP payload as serialized XML
74
- # @param destination [Integer] The destination for this message - client or server
75
- def initialize(
76
- runspace_pool_id,
77
- type,
78
- data,
79
- pipeline_id = nil,
80
- destination = SERVER_DESTINATION
81
- )
82
- raise 'invalid message type' unless MESSAGE_TYPES.value?(type)
83
-
84
- @data = data
85
- @destination = destination
86
- @type = type
87
- @pipeline_id = pipeline_id
88
- @runspace_pool_id = runspace_pool_id
89
- end
90
-
91
- attr_reader :destination, :type, :runspace_pool_id, :pipeline_id, :data
92
-
93
- # Returns the raw PSRP message bytes ready for transfer to Windows inside a
94
- # WinRM message.
95
- # @return [Array<Byte>] Unencoded raw byte array of the PSRP message.
96
- def bytes
97
- [
98
- int16le(destination),
99
- int16le(type),
100
- uuid_to_windows_guid_bytes(runspace_pool_id),
101
- uuid_to_windows_guid_bytes(pipeline_id),
102
- byte_order_mark,
103
- data_bytes
104
- ].flatten
105
- end
106
-
107
- # Parses the raw data to a MessageData class
108
- # @return [MessageData::Base] MessageData corresponding to this message type
109
- def parsed_data
110
- @parsed_data ||= MessageData.parse(self)
111
- end
112
-
113
- private
114
-
115
- def byte_order_mark
116
- [239, 187, 191]
117
- end
118
-
119
- def data_bytes
120
- @data_bytes ||= data.force_encoding('utf-8').bytes
121
- end
122
-
123
- def int16le(int16)
124
- [int16].pack('N').unpack('C4').reverse
125
- end
126
- end
127
- end
128
- end
1
+ # Copyright 2015 Matt Wrock <matt@mattwrock.com>
2
+ # Copyright 2016 Shawn Neal <sneal@sneal.net>
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the 'License');
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an 'AS IS' BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+
16
+ require_relative 'uuid'
17
+ require_relative 'message_data'
18
+
19
+ module WinRM
20
+ # PowerShell Remoting Protcol module
21
+ module PSRP
22
+ # PowerShell Remoting Protocol base message.
23
+ # http://download.microsoft.com/download/9/5/E/95EF66AF-9026-4BB0-A41D-A4F81802D92C/%5BMS-PSRP%5D.pdf
24
+ class Message
25
+ include UUID
26
+
27
+ # Value of message destination when sent to a client
28
+ CLIENT_DESTINATION = 1
29
+
30
+ # Value of message destination when sent to a server
31
+ SERVER_DESTINATION = 2
32
+
33
+ # All known PSRP message types
34
+ MESSAGE_TYPES = {
35
+ session_capability: 0x00010002,
36
+ init_runspacepool: 0x00010004,
37
+ public_key: 0x00010005,
38
+ encrypted_session_key: 0x00010006,
39
+ public_key_request: 0x00010007,
40
+ connect_runspacepool: 0x00010008,
41
+ runspace_init_data: 0x0002100b,
42
+ reset_runspace_state: 0x0002100c,
43
+ set_max_runspaces: 0x00021002,
44
+ set_min_runspaces: 0x00021003,
45
+ runspace_availability: 0x00021004,
46
+ runspacepool_state: 0x00021005,
47
+ create_pipeline: 0x00021006,
48
+ get_available_runspaces: 0x00021007,
49
+ user_event: 0x00021008,
50
+ application_private_data: 0x00021009,
51
+ get_command_metadata: 0x0002100a,
52
+ runspacepool_host_call: 0x00021100,
53
+ runspacepool_host_response: 0x00021101,
54
+ pipeline_input: 0x00041002,
55
+ end_of_pipeline_input: 0x00041003,
56
+ pipeline_output: 0x00041004,
57
+ error_record: 0x00041005,
58
+ pipeline_state: 0x00041006,
59
+ debug_record: 0x00041007,
60
+ verbose_record: 0x00041008,
61
+ warning_record: 0x00041009,
62
+ progress_record: 0x00041010,
63
+ information_record: 0x00041011,
64
+ pipeline_host_call: 0x00041100,
65
+ pipeline_host_response: 0x00041101
66
+ }.freeze
67
+
68
+ # Creates a new PSRP message instance
69
+ # @param runspace_pool_id [String] The UUID of the remote shell/runspace pool.
70
+ # @param pipeline_id [String] The UUID to correlate the command/pipeline response
71
+ # @param type [Integer] The PSRP MessageType. This is most commonly
72
+ # specified in hex, e.g. 0x00010002.
73
+ # @param data [String] The PSRP payload as serialized XML
74
+ # @param destination [Integer] The destination for this message - client or server
75
+ def initialize(
76
+ runspace_pool_id,
77
+ type,
78
+ data,
79
+ pipeline_id = nil,
80
+ destination = SERVER_DESTINATION
81
+ )
82
+ raise 'invalid message type' unless MESSAGE_TYPES.value?(type)
83
+
84
+ @data = data
85
+ @destination = destination
86
+ @type = type
87
+ @pipeline_id = pipeline_id
88
+ @runspace_pool_id = runspace_pool_id
89
+ end
90
+
91
+ attr_reader :destination, :type, :runspace_pool_id, :pipeline_id, :data
92
+
93
+ # Returns the raw PSRP message bytes ready for transfer to Windows inside a
94
+ # WinRM message.
95
+ # @return [Array<Byte>] Unencoded raw byte array of the PSRP message.
96
+ def bytes
97
+ [
98
+ int16le(destination),
99
+ int16le(type),
100
+ uuid_to_windows_guid_bytes(runspace_pool_id),
101
+ uuid_to_windows_guid_bytes(pipeline_id),
102
+ byte_order_mark,
103
+ data_bytes
104
+ ].flatten
105
+ end
106
+
107
+ # Parses the raw data to a MessageData class
108
+ # @return [MessageData::Base] MessageData corresponding to this message type
109
+ def parsed_data
110
+ @parsed_data ||= MessageData.parse(self)
111
+ end
112
+
113
+ private
114
+
115
+ def byte_order_mark
116
+ [239, 187, 191]
117
+ end
118
+
119
+ def data_bytes
120
+ @data_bytes ||= data.force_encoding('utf-8').bytes
121
+ end
122
+
123
+ def int16le(int16)
124
+ [int16].pack('N').unpack('C4').reverse
125
+ end
126
+ end
127
+ end
128
+ end
@@ -147,7 +147,6 @@ module WinRM
147
147
  end
148
148
 
149
149
  def max_envelope_size_kb
150
- # rubocop:disable Layout/RescueEnsureAlignment
151
150
  @max_envelope_size_kb ||= begin
152
151
  config_msg = WinRM::WSMV::Configuration.new(connection_opts)
153
152
  msg = config_msg.build
@@ -1,5 +1,5 @@
1
1
  # WinRM module
2
2
  module WinRM
3
3
  # The version of the WinRM library
4
- VERSION = '2.3.0'.freeze
4
+ VERSION = '2.3.1'.freeze
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: winrm
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.0
4
+ version: 2.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dan Wanek
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2018-10-15 00:00:00.000000000 Z
14
+ date: 2018-12-19 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: builder
@@ -141,16 +141,22 @@ dependencies:
141
141
  name: rake
142
142
  requirement: !ruby/object:Gem::Requirement
143
143
  requirements:
144
- - - "~>"
144
+ - - ">="
145
145
  - !ruby/object:Gem::Version
146
146
  version: '10.3'
147
+ - - "<"
148
+ - !ruby/object:Gem::Version
149
+ version: '13'
147
150
  type: :development
148
151
  prerelease: false
149
152
  version_requirements: !ruby/object:Gem::Requirement
150
153
  requirements:
151
- - - "~>"
154
+ - - ">="
152
155
  - !ruby/object:Gem::Version
153
156
  version: '10.3'
157
+ - - "<"
158
+ - !ruby/object:Gem::Version
159
+ version: '13'
154
160
  - !ruby/object:Gem::Dependency
155
161
  name: rb-readline
156
162
  requirement: !ruby/object:Gem::Requirement
@@ -185,14 +191,14 @@ dependencies:
185
191
  requirements:
186
192
  - - "~>"
187
193
  - !ruby/object:Gem::Version
188
- version: '0.51'
194
+ version: 0.51.0
189
195
  type: :development
190
196
  prerelease: false
191
197
  version_requirements: !ruby/object:Gem::Requirement
192
198
  requirements:
193
199
  - - "~>"
194
200
  - !ruby/object:Gem::Version
195
- version: '0.51'
201
+ version: 0.51.0
196
202
  - !ruby/object:Gem::Dependency
197
203
  name: rubyntlm
198
204
  requirement: !ruby/object:Gem::Requirement
@@ -226,18 +232,9 @@ extra_rdoc_files:
226
232
  - README.md
227
233
  - LICENSE
228
234
  files:
229
- - ".gitignore"
230
- - ".rubocop.yml"
231
- - ".travis.yml"
232
- - Gemfile
233
235
  - LICENSE
234
236
  - README.md
235
- - Rakefile
236
- - Vagrantfile
237
- - WinrmAppveyor.psm1
238
- - appveyor.yml
239
237
  - bin/rwinrm
240
- - changelog.md
241
238
  - lib/winrm.rb
242
239
  - lib/winrm/connection.rb
243
240
  - lib/winrm/connection_opts.rb
@@ -291,76 +288,6 @@ files:
291
288
  - lib/winrm/wsmv/wql_pull.rb
292
289
  - lib/winrm/wsmv/wql_query.rb
293
290
  - lib/winrm/wsmv/write_stdin.rb
294
- - preamble
295
- - tests/integration/auth_timeout_spec.rb
296
- - tests/integration/cmd_spec.rb
297
- - tests/integration/config-example.yml
298
- - tests/integration/issue_59_spec.rb
299
- - tests/integration/powershell_spec.rb
300
- - tests/integration/spec_helper.rb
301
- - tests/integration/transport_spec.rb
302
- - tests/integration/wql_spec.rb
303
- - tests/matchers.rb
304
- - tests/spec/configuration_spec.rb
305
- - tests/spec/connection_spec.rb
306
- - tests/spec/exception_spec.rb
307
- - tests/spec/http/transport_factory_spec.rb
308
- - tests/spec/http/transport_spec.rb
309
- - tests/spec/output_spec.rb
310
- - tests/spec/psrp/fragment_spec.rb
311
- - tests/spec/psrp/message_data/base_spec.rb
312
- - tests/spec/psrp/message_data/error_record_spec.rb
313
- - tests/spec/psrp/message_data/pipeline_host_call_spec.rb
314
- - tests/spec/psrp/message_data/pipeline_output_spec.rb
315
- - tests/spec/psrp/message_data/pipeline_state_spec.rb
316
- - tests/spec/psrp/message_data/runspace_pool_host_call_spec.rb
317
- - tests/spec/psrp/message_data/runspacepool_state_spec.rb
318
- - tests/spec/psrp/message_data/session_capability_spec.rb
319
- - tests/spec/psrp/message_data_spec.rb
320
- - tests/spec/psrp/message_defragmenter_spec.rb
321
- - tests/spec/psrp/message_fragmenter_spec.rb
322
- - tests/spec/psrp/powershell_output_decoder_spec.rb
323
- - tests/spec/psrp/psrp_message_spec.rb
324
- - tests/spec/psrp/recieve_response_reader_spec.rb
325
- - tests/spec/psrp/uuid_spec.rb
326
- - tests/spec/response_handler_spec.rb
327
- - tests/spec/shells/base_spec.rb
328
- - tests/spec/shells/cmd_spec.rb
329
- - tests/spec/shells/powershell_spec.rb
330
- - tests/spec/spec_helper.rb
331
- - tests/spec/stubs/clixml/error_record.xml.erb
332
- - tests/spec/stubs/clixml/pipeline_state.xml.erb
333
- - tests/spec/stubs/responses/get_command_output_response.xml.erb
334
- - tests/spec/stubs/responses/get_command_output_response_not_done.xml.erb
335
- - tests/spec/stubs/responses/get_omi_command_output_response.xml.erb
336
- - tests/spec/stubs/responses/get_omi_command_output_response_not_done.xml.erb
337
- - tests/spec/stubs/responses/get_omi_config_response.xml
338
- - tests/spec/stubs/responses/get_omi_powershell_keepalive_response.xml.erb
339
- - tests/spec/stubs/responses/get_powershell_keepalive_response.xml.erb
340
- - tests/spec/stubs/responses/get_powershell_output_response.xml.erb
341
- - tests/spec/stubs/responses/get_powershell_output_response_not_done.xml.erb
342
- - tests/spec/stubs/responses/open_shell_omi.xml
343
- - tests/spec/stubs/responses/open_shell_v1.xml
344
- - tests/spec/stubs/responses/open_shell_v2.xml
345
- - tests/spec/stubs/responses/soap_fault_omi.xml
346
- - tests/spec/stubs/responses/soap_fault_v1.xml
347
- - tests/spec/stubs/responses/soap_fault_v2.xml
348
- - tests/spec/stubs/responses/wmi_error_v2.xml
349
- - tests/spec/wsmv/cleanup_command_spec.rb
350
- - tests/spec/wsmv/close_shell_spec.rb
351
- - tests/spec/wsmv/command_output_decoder_spec.rb
352
- - tests/spec/wsmv/command_output_spec.rb
353
- - tests/spec/wsmv/command_spec.rb
354
- - tests/spec/wsmv/configuration_spec.rb
355
- - tests/spec/wsmv/create_pipeline_spec.rb
356
- - tests/spec/wsmv/create_shell_spec.rb
357
- - tests/spec/wsmv/init_runspace_pool_spec.rb
358
- - tests/spec/wsmv/keep_alive_spec.rb
359
- - tests/spec/wsmv/receive_response_reader_spec.rb
360
- - tests/spec/wsmv/send_data_spec.rb
361
- - tests/spec/wsmv/wql_query_spec.rb
362
- - tests/spec/wsmv/write_stdin_spec.rb
363
- - winrm.gemspec
364
291
  homepage: https://github.com/WinRb/WinRM
365
292
  licenses:
366
293
  - Apache-2.0
data/.gitignore DELETED
@@ -1,10 +0,0 @@
1
- *.swp
2
- *.gem
3
- pkg/*
4
- .rvmrc
5
- .idea
6
- .bundle
7
- tests/integration/config.yml
8
- traces/
9
- Gemfile.lock
10
- .vagrant