vagrant-winrm-s 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ YWVhNDcyM2Q5YmYyOTBmZTEzNGJkMDY2NjJmYThmNWMxZTE5ODY2Mg==
5
+ data.tar.gz: !binary |-
6
+ YjA5OTU0MGY4OTc0MGJhZWIzNGJkYTQwZWE5YTdlZWQwZDhlNjNiMw==
7
+ SHA512:
8
+ metadata.gz: !binary |-
9
+ ZTMxZmFkZmRkMmQzODFmMzFlNzg5YjUxMWQ5NzY5ZDg3NmFjYzBlMDVmMWRl
10
+ OTUyYTVkMTU3YTk3MzY2MGFkOTZiOTNkYzlhOWJhMGQyMTQxZjU0YzRiYzk3
11
+ Zjk1ZTFhZTE5OTYyMDkzNTQ0MDk1YWU4YWIyZDA2NTJjNTBjNDU=
12
+ data.tar.gz: !binary |-
13
+ NjFkZGIyMjQ4ZmJhMGIyOWQxNDNiZjljYzUzNzg1YTZkZDdmODU3YjNkNDRm
14
+ ZDMwYzk1NGYyZDQ2ZDgyNmRkNGM1YWE2NTQ2NTY0YjU5ZGU5ZTM0OTBjNWNm
15
+ MjM3OTFmODg0OTI1N2MxYjIyZjY1Yzc3MTg0NmVlYmIxYzNiMzY=
data/.rubocop.yml CHANGED
@@ -16,3 +16,38 @@ StringLiterals:
16
16
 
17
17
  Style/FileName:
18
18
  Enabled: false
19
+
20
+ Metrics/AbcSize:
21
+ Max: 22
22
+
23
+ # Offense count: 2
24
+ Metrics/CyclomaticComplexity:
25
+ Max: 9
26
+
27
+ # Offense count: 2
28
+ Metrics/PerceivedComplexity:
29
+ Max: 9
30
+
31
+ # Offense count: 1
32
+ # Cop supports --auto-correct.
33
+ # Configuration parameters: EnforcedStyle, SupportedStyles.
34
+ Style/AlignParameters:
35
+ Enabled: false
36
+
37
+ # Offense count: 2
38
+ # Cop supports --auto-correct.
39
+ # Configuration parameters: EnforcedStyle, SupportedStyles.
40
+ Style/EmptyLinesAroundClassBody:
41
+ Enabled: false
42
+
43
+ # Offense count: 1
44
+ # Cop supports --auto-correct.
45
+ # Configuration parameters: EnforcedStyle, SupportedStyles.
46
+ Style/HashSyntax:
47
+ Enabled: false
48
+
49
+ # Offense count: 1
50
+ # Cop supports --auto-correct.
51
+ # Configuration parameters: EnforcedStyle, SupportedStyles.
52
+ Style/StringLiterals:
53
+ Enabled: false
data/.travis.yml ADDED
@@ -0,0 +1,11 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.0.0
4
+ deploy:
5
+ provider: rubygems
6
+ api_key:
7
+ secure: "NYtaGR3xlvnvEb22lIs3Hwilj3DqW2IUd03GMrwkiO6M6SsCjURUE8XnCcWuJbXWB6t3dbqxmlIRwlt/yhnT9/f8KnQK3OsuuR71fN6Ku5YK6iGeodEockCOUtUhQUeJ9Jc1YDpc2hYplwyX/JIqiZ51uX6SnYpKgD1lnhynC9c="
8
+ gem: vagrant-winrm-s
9
+ on:
10
+ tags: true
11
+ all_branches: true
data/Gemfile CHANGED
@@ -4,7 +4,9 @@ source "https://rubygems.org"
4
4
  gemspec
5
5
 
6
6
  group :development do
7
- gem "vagrant", git: "https://github.com/mitchellh/vagrant.git"
7
+ gem "vagrant",
8
+ git: "https://github.com/mitchellh/vagrant.git",
9
+ tag: "v1.7.2"
8
10
  gem "vagrant-spec", git: "https://github.com/mitchellh/vagrant-spec.git"
9
11
  end
10
12
 
data/README.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # Vagrant-WinRM-S
2
2
 
3
+ Note: This plugin is only compatible with vagrant <= 1.7.2. Future versions
4
+ of Vagrant will provide this functionality natively.
5
+
3
6
  A Vagrant communicator that uses the `winrm-s` gem to communicate over winrm. Notably, allows for SSPI authentication of domain accounts when using a Windows host.
4
7
 
5
8
  ## Installation
data/Rakefile CHANGED
@@ -3,6 +3,8 @@ require "rubocop/rake_task"
3
3
 
4
4
  RuboCop::RakeTask.new
5
5
 
6
+ task :default => ["rubocop"]
7
+
6
8
  task :install_local do
7
9
  system("rake build")
8
10
  system("vagrant plugin install ./pkg/vagrant-winrm-s-0.0.1.gem")
data/changelog.md ADDED
@@ -0,0 +1,3 @@
1
+ ## 0.0.2
2
+
3
+ * Use the winrm helper to detect the correct port for communication.
@@ -22,7 +22,7 @@ module VagrantPlugins
22
22
  @machine.config.winrm.username,
23
23
  @machine.config.winrm.password,
24
24
  transport: @machine.config.winrm.transport,
25
- port: @machine.config.winrm.port,
25
+ port: winrm_info[:port],
26
26
  timeout_in_seconds: @machine.config.winrm.timeout,
27
27
  max_tries: @machine.config.winrm.max_tries)
28
28
  end
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module CommunicatorWinRMS
3
- VERSION = "0.0.1"
3
+ VERSION = "0.0.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,20 +1,18 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-winrm-s
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
5
- prerelease:
4
+ version: 0.0.2
6
5
  platform: ruby
7
6
  authors:
8
7
  - Norm MacLennan
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2015-01-17 00:00:00.000000000 Z
11
+ date: 2015-03-20 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: winrm-s
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
17
  - - ~>
20
18
  - !ruby/object:Gem::Version
@@ -22,7 +20,6 @@ dependencies:
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
24
  - - ~>
28
25
  - !ruby/object:Gem::Version
@@ -30,7 +27,6 @@ dependencies:
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: httpclient
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
31
  - - ~>
36
32
  - !ruby/object:Gem::Version
@@ -38,7 +34,6 @@ dependencies:
38
34
  type: :runtime
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
38
  - - ~>
44
39
  - !ruby/object:Gem::Version
@@ -46,7 +41,6 @@ dependencies:
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: bundler
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
45
  - - ~>
52
46
  - !ruby/object:Gem::Version
@@ -54,7 +48,6 @@ dependencies:
54
48
  type: :development
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
52
  - - ~>
60
53
  - !ruby/object:Gem::Version
@@ -62,7 +55,6 @@ dependencies:
62
55
  - !ruby/object:Gem::Dependency
63
56
  name: rake
64
57
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
58
  requirements:
67
59
  - - ~>
68
60
  - !ruby/object:Gem::Version
@@ -70,7 +62,6 @@ dependencies:
70
62
  type: :development
71
63
  prerelease: false
72
64
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
65
  requirements:
75
66
  - - ~>
76
67
  - !ruby/object:Gem::Version
@@ -78,7 +69,6 @@ dependencies:
78
69
  - !ruby/object:Gem::Dependency
79
70
  name: rspec
80
71
  requirement: !ruby/object:Gem::Requirement
81
- none: false
82
72
  requirements:
83
73
  - - ~>
84
74
  - !ruby/object:Gem::Version
@@ -86,7 +76,6 @@ dependencies:
86
76
  type: :development
87
77
  prerelease: false
88
78
  version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
79
  requirements:
91
80
  - - ~>
92
81
  - !ruby/object:Gem::Version
@@ -94,7 +83,6 @@ dependencies:
94
83
  - !ruby/object:Gem::Dependency
95
84
  name: rubocop
96
85
  requirement: !ruby/object:Gem::Requirement
97
- none: false
98
86
  requirements:
99
87
  - - ~>
100
88
  - !ruby/object:Gem::Version
@@ -102,7 +90,6 @@ dependencies:
102
90
  type: :development
103
91
  prerelease: false
104
92
  version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
93
  requirements:
107
94
  - - ~>
108
95
  - !ruby/object:Gem::Version
@@ -117,10 +104,12 @@ files:
117
104
  - .gitignore
118
105
  - .rspec
119
106
  - .rubocop.yml
107
+ - .travis.yml
120
108
  - Gemfile
121
109
  - LICENSE.txt
122
110
  - README.md
123
111
  - Rakefile
112
+ - changelog.md
124
113
  - lib/vagrant-winrm-s.rb
125
114
  - lib/vagrant-winrm-s/communicator.rb
126
115
  - lib/vagrant-winrm-s/config.rb
@@ -131,26 +120,25 @@ files:
131
120
  homepage: https://github.com/Cimpress-MCP/vagrant-winrm-s
132
121
  licenses:
133
122
  - Apache 2.0
123
+ metadata: {}
134
124
  post_install_message:
135
125
  rdoc_options: []
136
126
  require_paths:
137
127
  - lib
138
128
  required_ruby_version: !ruby/object:Gem::Requirement
139
- none: false
140
129
  requirements:
141
130
  - - ! '>='
142
131
  - !ruby/object:Gem::Version
143
132
  version: '0'
144
133
  required_rubygems_version: !ruby/object:Gem::Requirement
145
- none: false
146
134
  requirements:
147
135
  - - ! '>='
148
136
  - !ruby/object:Gem::Version
149
137
  version: '0'
150
138
  requirements: []
151
139
  rubyforge_project:
152
- rubygems_version: 1.8.23
140
+ rubygems_version: 2.4.5
153
141
  signing_key:
154
- specification_version: 3
142
+ specification_version: 4
155
143
  summary: Secure WinRM vagrant communicator
156
144
  test_files: []