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.
@@ -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", "") }
@@ -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.6
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-24 00:00:00.000000000 Z
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: '0'
137
+ version: 1.3.1
138
138
  requirements: []
139
139
  rubyforge_project:
140
- rubygems_version: 2.4.8
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