winrm-s 0.1.0 → 0.2.0.rc.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/CHANGELOG.md +7 -3
- data/lib/winrm-s/version.rb +1 -1
- data/lib/winrm/helpers/assert_patch.rb +2 -4
- data/winrm-s.gemspec +25 -25
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZGE1Y2NmYjhmYTc4NjdhZmFkZmFiNjJjY2IzMTMzNDY5ZDdhNzc1MQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
OGU4OGVlOTRjYmExOGVjNzRmNDc3M2FhMWY2YmU5YjViM2E4OTY1Mw==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MDBlNmFlMDYyNDMxNWE5YWQxOTRkYjc3MjkyM2FiMWRiNGI3NDMwOTk0ZWRk
|
10
|
+
MTA3NDE1MTJiZTgzMzJmZjVhMWUxYmI5M2M2MjlmYzFkOWNlYWJjNjc4ZDQ5
|
11
|
+
NDA4ZGExZGI0MTMyYzE5NjZjNjJhN2EyYmRlMGFmNTk5NjhmZDI=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZTkyMDJhODcxOWQ0NTkzNTEzYjU1ZjhhNTM0MjkxMGUxOGMyYjEwODljZDE0
|
14
|
+
NDljMjBhMDgwNmNjZThhMTBjODM0NGViZWFlZjJiYjJlNzhlYjU5OTE3NTRi
|
15
|
+
ZDcyYjBmZTk3YzUwNjBkYjI1ZGI1YjE3YWNmODU1YTUyNjQ3Zjc=
|
data/CHANGELOG.md
CHANGED
@@ -1,11 +1,15 @@
|
|
1
1
|
# winrm-s Change Log
|
2
2
|
|
3
3
|
## Unreleased
|
4
|
-
|
4
|
+
None
|
5
5
|
|
6
|
-
|
7
|
-
|
6
|
+
Release: 0.2.0
|
7
|
+
--------------
|
8
|
+
* Update to WinRM 1.2.0 gem dependency
|
8
9
|
|
10
|
+
Release: 0.1.0
|
11
|
+
--------------
|
12
|
+
* Initial implementation
|
9
13
|
|
10
14
|
|
11
15
|
|
data/lib/winrm-s/version.rb
CHANGED
@@ -6,15 +6,13 @@ module PatchAssertions
|
|
6
6
|
loaded_ver = Gem.loaded_specs[library_name].version
|
7
7
|
loaded_major_ver = loaded_ver.to_s.match(/(^\d+\.\d+)\.(.*)$/)[1]
|
8
8
|
if loaded_major_ver.to_s != supported_major_ver.to_s
|
9
|
-
puts "Unsupported version of #{library_name}. The supported major version of library is #{library_name} version #{expected_major}. This code path monkey patches few methods in #{library_name} to support additional features. If you are aware of the impact of using #{loaded_ver}, this can be
|
10
|
-
exit 1
|
9
|
+
puts "WARNING: Unsupported version of #{library_name}. The supported major version of library is #{library_name} version #{expected_major}. This code path monkey patches few methods in #{library_name} to support additional features. This could possibly work, but it is advised to extensively test your version. If you are aware of the impact of using #{loaded_ver}, this warning can be disabled by setting #{override_var_name} to the major version #{loaded_major_ver}. "
|
11
10
|
end
|
12
11
|
end
|
13
12
|
|
14
13
|
def self.assert_arity_of_patched_method(klass, method_name, expected_arity)
|
15
14
|
if klass.instance_method(method_name).arity != expected_arity
|
16
|
-
puts "Cannot patch method #{klass}::#{method_name} since your latest gem seems to have different method definition that cannot be safely patched. Please use the supported version of patched gem."
|
17
|
-
exit 1
|
15
|
+
puts "WARNING: Cannot patch method #{klass}::#{method_name} since your latest gem seems to have different method definition that cannot be safely patched. This could possibly work, but it is advised to extensively test your version. Please use the supported version of patched gem."
|
18
16
|
end
|
19
17
|
end
|
20
18
|
end
|
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.
|
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.2.0"
|
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.
|
4
|
+
version: 0.2.0.rc.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kaustubh Deorukhkar
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-09-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: winrm
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ~>
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.
|
19
|
+
version: 1.2.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
|
-
version: 1.
|
26
|
+
version: 1.2.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rspec-core
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -126,9 +126,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
126
126
|
version: '0'
|
127
127
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
|
-
- - ! '
|
129
|
+
- - ! '>'
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version:
|
131
|
+
version: 1.3.1
|
132
132
|
requirements: []
|
133
133
|
rubyforge_project:
|
134
134
|
rubygems_version: 2.1.11
|