em-winrm 0.6.0 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -13
- data/CHANGELOG.md +4 -0
- data/README.rdoc +5 -0
- data/em-winrm.gemspec +2 -1
- data/lib/em-winrm/server.rb +2 -1
- data/lib/em-winrm/version.rb +1 -1
- metadata +18 -17
checksums.yaml
CHANGED
@@ -1,15 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
5
|
-
data.tar.gz: !binary |-
|
6
|
-
YTc3NjlkYzU2ZjhhYjZlODRjM2E2NGNkNjg3NDY1YmQ1MWU5MTA1Ng==
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 3c2583e4c68f553a4a617161cd5120346ee8ec8e
|
4
|
+
data.tar.gz: 7df710b6d0ed5eb03bfb59fd10599195b6c9b128
|
7
5
|
SHA512:
|
8
|
-
metadata.gz:
|
9
|
-
|
10
|
-
NjkwNzY5YTY1YTg2MTI4ZjEyNjIxZWIyMjRjNTI4YzUxMmZkODMxOWJlMjgw
|
11
|
-
N2EwNTkxMjdlMTI5ZWVmMGNiOTIwMjIxY2ExMWRiOGYxMTllZWU=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
MzZmMDQ4ZGVjMTk4MDExNjE3ZWZiNzllYjhhNjBlMThhMTlmODI0ZmY4YWU5
|
14
|
-
ZTI0OWExYjVlYTQ5NjVjM2NmY2ZhODkwOTQxNzVkY2QwZmRjZjAxODdkMGM5
|
15
|
-
NDE3YjNjYmU4MzNjYmQ1OTJkYWVhNjAzZDM2ZDY0YzkwMmYzNzU=
|
6
|
+
metadata.gz: 8478d3096066910f4bc5444af348ed379f149d1330303858f82c6558ff108a14d510bdf8f77d91066b2a21600acfe4aea15c8dae5c340e2df8a64f57ae48b3f4
|
7
|
+
data.tar.gz: f878ff156e02b455fb246c4be74fafdb9c8f137b87b351e0b40e1cbeb90b151b486f24adb143be84911305cb39762494a62d7f40c94427a17d6d0aa97257729d
|
data/CHANGELOG.md
CHANGED
data/README.rdoc
CHANGED
@@ -10,6 +10,11 @@ limited to, running batch scripts, powershell scripts and fetching WMI variables
|
|
10
10
|
For more information on WinRM, please visit
|
11
11
|
{Microsoft's WinRM site}[http://msdn.microsoft.com/en-us/library/aa384426(v=VS.85).aspx].
|
12
12
|
|
13
|
+
= Deprecation Notice
|
14
|
+
|
15
|
+
The functionality provided by this library has been merged into {knife-windows}[https://github.com/chef/knife-windows].
|
16
|
+
Following the release of knife-windows v1.0.0, this library will no longer be used and thus no longer be maintained.
|
17
|
+
|
13
18
|
= Example Usage
|
14
19
|
|
15
20
|
servers = {
|
data/em-winrm.gemspec
CHANGED
@@ -13,10 +13,11 @@ Gem::Specification.new do |s|
|
|
13
13
|
s.homepage = "http://github.com/schisamo/em-winrm"
|
14
14
|
s.summary = %q{EventMachine based, asynchronous parallel WinRM client}
|
15
15
|
s.description = s.summary
|
16
|
+
s.license = "Apache-2.0"
|
16
17
|
|
17
18
|
s.required_ruby_version = '>= 1.9.1'
|
18
19
|
s.add_dependency "eventmachine", "~> 1.0.0"
|
19
|
-
s.add_dependency "winrm", "~> 1.
|
20
|
+
s.add_dependency "winrm", "~> 1.3.0"
|
20
21
|
s.add_dependency "mixlib-log", ">= 1.3.0"
|
21
22
|
s.add_dependency "uuidtools", "~> 2.1.1"
|
22
23
|
|
data/lib/em-winrm/server.rb
CHANGED
@@ -34,6 +34,7 @@ module EventMachine
|
|
34
34
|
@options[:pass] = @options.delete(:password)
|
35
35
|
@options[:port] = @options.delete(:port) || 5985
|
36
36
|
@options[:basic_auth_only] = true unless defined? @options[:basic_auth_only]
|
37
|
+
@options[:no_ssl_peer_verification] = false unless defined? @options[:no_ssl_peer_verification]
|
37
38
|
end
|
38
39
|
|
39
40
|
#
|
@@ -74,7 +75,7 @@ module EventMachine
|
|
74
75
|
|
75
76
|
def client
|
76
77
|
@winrm ||= begin
|
77
|
-
http_method = ( @options[:port].to_s=~/(443|5986)/ ? 'https' : 'http'
|
78
|
+
http_method = ((@transport == :ssl) || @options[:port].to_s=~/(443|5986)/) ? 'https' : 'http'
|
78
79
|
endpoint = "#{http_method}://#{@host}:#{@options[:port]}/wsman"
|
79
80
|
client = ::WinRM::WinRMWebService.new(endpoint, @transport, @options)
|
80
81
|
client.set_timeout(@options[:operation_timeout]) if @options[:operation_timeout]
|
data/lib/em-winrm/version.rb
CHANGED
metadata
CHANGED
@@ -1,69 +1,69 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: em-winrm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Seth Chisamore
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-07-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: eventmachine
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - ~>
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: 1.0.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - ~>
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 1.0.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: winrm
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - ~>
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 1.
|
33
|
+
version: 1.3.0
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - ~>
|
38
|
+
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 1.
|
40
|
+
version: 1.3.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: mixlib-log
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: 1.3.0
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: 1.3.0
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: uuidtools
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - ~>
|
59
|
+
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: 2.1.1
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - ~>
|
66
|
+
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: 2.1.1
|
69
69
|
description: EventMachine based, asynchronous parallel WinRM client
|
@@ -75,7 +75,7 @@ extra_rdoc_files:
|
|
75
75
|
- README.rdoc
|
76
76
|
- LICENSE
|
77
77
|
files:
|
78
|
-
- .gitignore
|
78
|
+
- ".gitignore"
|
79
79
|
- CHANGELOG.md
|
80
80
|
- Gemfile
|
81
81
|
- LICENSE
|
@@ -88,7 +88,8 @@ files:
|
|
88
88
|
- lib/em-winrm/shell.rb
|
89
89
|
- lib/em-winrm/version.rb
|
90
90
|
homepage: http://github.com/schisamo/em-winrm
|
91
|
-
licenses:
|
91
|
+
licenses:
|
92
|
+
- Apache-2.0
|
92
93
|
metadata: {}
|
93
94
|
post_install_message:
|
94
95
|
rdoc_options: []
|
@@ -96,17 +97,17 @@ require_paths:
|
|
96
97
|
- lib
|
97
98
|
required_ruby_version: !ruby/object:Gem::Requirement
|
98
99
|
requirements:
|
99
|
-
- -
|
100
|
+
- - ">="
|
100
101
|
- !ruby/object:Gem::Version
|
101
102
|
version: 1.9.1
|
102
103
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
103
104
|
requirements:
|
104
|
-
- -
|
105
|
+
- - ">="
|
105
106
|
- !ruby/object:Gem::Version
|
106
107
|
version: '0'
|
107
108
|
requirements: []
|
108
109
|
rubyforge_project:
|
109
|
-
rubygems_version: 2.
|
110
|
+
rubygems_version: 2.4.4
|
110
111
|
signing_key:
|
111
112
|
specification_version: 4
|
112
113
|
summary: EventMachine based, asynchronous parallel WinRM client
|