winrm-s 0.3.6 → 0.3.7.dev
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +27 -27
- data/.rspec +2 -2
- data/CHANGELOG.md +56 -52
- data/CONTRIBUTING.md +5 -5
- data/Gemfile +8 -8
- data/LICENSE +201 -201
- data/README.md +69 -69
- data/Rakefile +16 -16
- data/lib/winrm-s.rb +30 -30
- data/lib/winrm-s/version.rb +22 -22
- data/lib/winrm/helpers/assert_patch.rb +24 -24
- data/lib/winrm/http/auth.rb +196 -196
- data/lib/winrm/http/transport_patch.rb +35 -35
- data/lib/winrm/win32/sspi.rb +256 -256
- data/lib/winrm/winrm_service_patch.rb +2 -1
- data/winrm-s.gemspec +25 -25
- metadata +5 -5
@@ -60,13 +60,14 @@ module WinRM
|
|
60
60
|
# the console.
|
61
61
|
def get_command_output(shell_id, command_id, &block)
|
62
62
|
done_elems = []
|
63
|
+
output = Output.new
|
64
|
+
|
63
65
|
while done_elems.empty?
|
64
66
|
resp_doc = nil
|
65
67
|
builder = get_builder_obj(shell_id, command_id, &block)
|
66
68
|
request_msg = builder.target!
|
67
69
|
resp_doc = send_get_output_message(request_msg)
|
68
70
|
|
69
|
-
output = Output.new
|
70
71
|
REXML::XPath.match(resp_doc, "//#{NS_WIN_SHELL}:Stream").each do |n|
|
71
72
|
next if n.text.nil? || n.text.empty?
|
72
73
|
stream = { n.attributes['Name'].to_sym => Base64.decode64(n.text).force_encoding('utf-8').sub("\xEF\xBB\xBF", "") }
|
data/winrm-s.gemspec
CHANGED
@@ -1,25 +1,25 @@
|
|
1
|
-
# -*- encoding: utf-8 -*-
|
2
|
-
$:.push File.expand_path("../lib", __FILE__)
|
3
|
-
require "winrm-s/version"
|
4
|
-
|
5
|
-
Gem::Specification.new do |s|
|
6
|
-
s.name = "winrm-s"
|
7
|
-
s.version = WinrmS::VERSION
|
8
|
-
s.platform = Gem::Platform::RUBY
|
9
|
-
s.has_rdoc = true
|
10
|
-
s.extra_rdoc_files = ["README.md", "LICENSE" ]
|
11
|
-
s.authors = ["Kaustubh Deorukhkar"]
|
12
|
-
s.email = ["dev@getchef.com", "kaustubh@clogeny.com"]
|
13
|
-
s.homepage = "https://github.com/opscode/winrm-s"
|
14
|
-
s.summary = %q{Gem that extends the functionality of the WinRM gem to support the Microsoft Negotiate protocol when authenticating to a remote WinRM endpoint from a Windows system}
|
15
|
-
s.description = s.summary
|
16
|
-
|
17
|
-
s.add_dependency "winrm", "~> 1.3", ">= 1.3.6"
|
18
|
-
|
19
|
-
%w(rspec-core rspec-expectations rspec-mocks rspec_junit_formatter).each { |gem| s.add_development_dependency gem }
|
20
|
-
|
21
|
-
s.files = `git ls-files`.split("\n")
|
22
|
-
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
23
|
-
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
24
|
-
s.require_paths = ["lib"]
|
25
|
-
end
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
$:.push File.expand_path("../lib", __FILE__)
|
3
|
+
require "winrm-s/version"
|
4
|
+
|
5
|
+
Gem::Specification.new do |s|
|
6
|
+
s.name = "winrm-s"
|
7
|
+
s.version = WinrmS::VERSION
|
8
|
+
s.platform = Gem::Platform::RUBY
|
9
|
+
s.has_rdoc = true
|
10
|
+
s.extra_rdoc_files = ["README.md", "LICENSE" ]
|
11
|
+
s.authors = ["Kaustubh Deorukhkar"]
|
12
|
+
s.email = ["dev@getchef.com", "kaustubh@clogeny.com"]
|
13
|
+
s.homepage = "https://github.com/opscode/winrm-s"
|
14
|
+
s.summary = %q{Gem that extends the functionality of the WinRM gem to support the Microsoft Negotiate protocol when authenticating to a remote WinRM endpoint from a Windows system}
|
15
|
+
s.description = s.summary
|
16
|
+
|
17
|
+
s.add_dependency "winrm", "~> 1.3", ">= 1.3.6"
|
18
|
+
|
19
|
+
%w(rspec-core rspec-expectations rspec-mocks rspec_junit_formatter).each { |gem| s.add_development_dependency gem }
|
20
|
+
|
21
|
+
s.files = `git ls-files`.split("\n")
|
22
|
+
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
23
|
+
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
24
|
+
s.require_paths = ["lib"]
|
25
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: winrm-s
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.7.dev
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kaustubh Deorukhkar
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-02-
|
11
|
+
date: 2016-02-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: winrm
|
@@ -132,12 +132,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
132
132
|
version: '0'
|
133
133
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
134
134
|
requirements:
|
135
|
-
- - "
|
135
|
+
- - ">"
|
136
136
|
- !ruby/object:Gem::Version
|
137
|
-
version:
|
137
|
+
version: 1.3.1
|
138
138
|
requirements: []
|
139
139
|
rubyforge_project:
|
140
|
-
rubygems_version: 2.
|
140
|
+
rubygems_version: 2.5.2
|
141
141
|
signing_key:
|
142
142
|
specification_version: 4
|
143
143
|
summary: Gem that extends the functionality of the WinRM gem to support the Microsoft
|