vagrant-multi-putty 1.4.3 → 1.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/lib/vagrant-multi-putty/command.rb +10 -2
- data/lib/vagrant-multi-putty/version.rb +1 -1
- metadata +8 -12
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA1:
|
|
3
|
+
metadata.gz: bacc6ba971fbc91534399ecb9d33d9bf23205c3b
|
|
4
|
+
data.tar.gz: 12323e84aebfe94943e7f4757ebed1c5ff06793f
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: db1f52218f789fb70bfaa41eae1ef755e906da3197b9e65aadaa9ebedfcb2797debdd6a418fd4c38e41b3c2b4872210f0f2dd52aa9947fba278989c1163512ce
|
|
7
|
+
data.tar.gz: ac0f7efbb260d0175a9b6b1512a2645c8f958dfe18bdccf680343b1e4d40644fbf726e93cc813a6a13fbbd5067b750c19af3ae076dde1ef86ccad3e1a978843f
|
|
@@ -5,7 +5,15 @@ require 'optparse'
|
|
|
5
5
|
module VagrantMultiPutty
|
|
6
6
|
class Command < Vagrant.plugin(2, :command)
|
|
7
7
|
def execute
|
|
8
|
-
|
|
8
|
+
|
|
9
|
+
# config_global is deprecated from v1.5
|
|
10
|
+
if Gem::Version.new(::Vagrant::VERSION) >= Gem::Version.new('1.5')
|
|
11
|
+
@config = @env.vagrantfile.config
|
|
12
|
+
else
|
|
13
|
+
@config = @env.config_global
|
|
14
|
+
end
|
|
15
|
+
|
|
16
|
+
options = {:modal => @config.putty.modal,
|
|
9
17
|
:plain_auth => false }
|
|
10
18
|
opts = OptionParser.new do |opts|
|
|
11
19
|
opts.banner = "Usage: vagrant putty [vm-name...] [-- extra putty args]"
|
|
@@ -43,7 +51,7 @@ module VagrantMultiPutty
|
|
|
43
51
|
|
|
44
52
|
if options[:modal]
|
|
45
53
|
Process.waitall
|
|
46
|
-
@
|
|
54
|
+
@config.putty.after_modal_hook.call
|
|
47
55
|
end
|
|
48
56
|
|
|
49
57
|
return 0
|
metadata
CHANGED
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: vagrant-multi-putty
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.4.
|
|
5
|
-
prerelease:
|
|
4
|
+
version: 1.4.4
|
|
6
5
|
platform: ruby
|
|
7
6
|
authors:
|
|
8
7
|
- Nick Downs
|
|
9
8
|
autorequire:
|
|
10
9
|
bindir: bin
|
|
11
10
|
cert_chain: []
|
|
12
|
-
date: 2014-
|
|
11
|
+
date: 2014-07-25 00:00:00.000000000 Z
|
|
13
12
|
dependencies: []
|
|
14
13
|
description: Vagrant plugin to allow VM ssh with PuTTY (multi-vm supported)
|
|
15
14
|
email:
|
|
@@ -32,29 +31,26 @@ files:
|
|
|
32
31
|
homepage: https://github.com/nickryand/vagrant-multi-putty
|
|
33
32
|
licenses:
|
|
34
33
|
- MIT
|
|
34
|
+
metadata: {}
|
|
35
35
|
post_install_message:
|
|
36
36
|
rdoc_options: []
|
|
37
37
|
require_paths:
|
|
38
38
|
- lib
|
|
39
39
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
40
|
-
none: false
|
|
41
40
|
requirements:
|
|
42
|
-
- -
|
|
41
|
+
- - '>='
|
|
43
42
|
- !ruby/object:Gem::Version
|
|
44
43
|
version: '0'
|
|
45
|
-
segments:
|
|
46
|
-
- 0
|
|
47
|
-
hash: -1411506420703789958
|
|
48
44
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
49
|
-
none: false
|
|
50
45
|
requirements:
|
|
51
|
-
- -
|
|
46
|
+
- - '>='
|
|
52
47
|
- !ruby/object:Gem::Version
|
|
53
48
|
version: 1.4.0
|
|
54
49
|
requirements: []
|
|
55
50
|
rubyforge_project:
|
|
56
|
-
rubygems_version:
|
|
51
|
+
rubygems_version: 2.0.14
|
|
57
52
|
signing_key:
|
|
58
|
-
specification_version:
|
|
53
|
+
specification_version: 4
|
|
59
54
|
summary: Vagrant plugin to allow VM ssh with PuTTY (multi-vm supported)
|
|
60
55
|
test_files: []
|
|
56
|
+
has_rdoc:
|