vagrant-vmpooler 0.1.9 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 1d23f762e1c4dd613ebe586eb8f5ee5cc67aff5e
4
- data.tar.gz: 68fc499dc22ee45e8b33396809e10962cadbab44
2
+ SHA256:
3
+ metadata.gz: ec9ae8d0ff4eeba4c39cc3eb1a40f62ff1e7a08486adb167a27e9d35b61f33b4
4
+ data.tar.gz: 900c210fc451f7eacb045131554c992e427378558e98ad33857f0c42f1936dbf
5
5
  SHA512:
6
- metadata.gz: 4e5d7ebaa9895f8b369cc87771993124fd2bcb1c196ed02c4dd4b2a1ae7f7ee561fa3f9c6a862094169077fe0c05dd7e9f00c4c16a961e4a6b404f3119ffef28
7
- data.tar.gz: 89ff7a2dd4649129a3a9a5cc6cc43cf7f48319bf280605e961e582b5213f04c49be701c965f253c7992e2e2fae1c809113a3ee663c2248d3dfa21c7f7598a5de
6
+ metadata.gz: e92465521e8f5d5ac35919f1c96d52cb92310a2a2d1428f8336b5c7047dd1cbc050eebf37da518dee64e36d2231efd5963f274d1374c5afb0977e6a7b6522933
7
+ data.tar.gz: 98edec771c67425f6dd69fc5d33f0b24b841a23f192c0a698eaec577ba8a1836fde8ddb974c8fbd87f5cf765921b649cddf42f1aee32dcc0e3d67b3b13fa1a38
data/Gemfile CHANGED
@@ -2,14 +2,10 @@ source "https://rubygems.org"
2
2
 
3
3
  gemspec
4
4
 
5
- gem "vmfloaty", "0.7.1"
5
+ gem "vmfloaty", "0.8.2"
6
6
 
7
7
  group :development do
8
8
  gem "vagrant", git: "https://github.com/mitchellh/vagrant.git"
9
9
  gem "rspec"
10
10
  gem "rake"
11
11
  end
12
-
13
- group :plugins do
14
- gem "vagrant-vmpooler", path: "."
15
- end
@@ -70,7 +70,7 @@ module VagrantPlugins
70
70
  tags['machine-name'] = machine_name
71
71
 
72
72
  begin
73
- response_body = Pooler.modify(verbose, url, server_name, token, nil, tags)
73
+ response_body = Pooler.modify(verbose, url, server_name, token, tags: tags)
74
74
  if response_body['ok'] == false
75
75
  env[:ui].warn(I18n.t("vagrant_vmpooler.errors.failed_tag"))
76
76
  end
@@ -82,7 +82,7 @@ module VagrantPlugins
82
82
 
83
83
  if ttl
84
84
  begin
85
- response_body = Pooler.modify(verbose, url, server_name, token, ttl, nil)
85
+ response_body = Pooler.modify(verbose, url, server_name, token, lifetime: ttl)
86
86
  if response_body['ok'] == false
87
87
  env[:ui].warn(I18n.t("vagrant_vmpooler.errors.failed_ttl"))
88
88
  end
@@ -41,8 +41,9 @@ module VagrantPlugins
41
41
  username = 'root'
42
42
  end
43
43
 
44
+ host = server[id]['domain'].nil? ? id : "#{id}.#{server[id]['domain']}"
44
45
  ssh_info = {
45
- :host => id,
46
+ :host => host,
46
47
  :username => username,
47
48
  :password => password
48
49
  }
@@ -18,7 +18,7 @@ module VagrantPlugins
18
18
  Config
19
19
  end
20
20
 
21
- provider(:vmpooler, parallel:true) do
21
+ provider(:vmpooler, parallel: true, box_optional: true) do
22
22
  Vmpooler.init_i18n
23
23
  Vmpooler.init_logging
24
24
 
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module Vmpooler
3
- VERSION = '0.1.9'
3
+ VERSION = '0.2.0'
4
4
  end
5
5
  end
@@ -12,7 +12,7 @@ Gem::Specification.new do |s|
12
12
  s.summary = "Enables Vagrant to manage machines in vmpooler."
13
13
  s.description = "Enables Vagrant to manage machines in vmpooler."
14
14
 
15
- s.add_runtime_dependency "vmfloaty", ">= 0.6.0"
15
+ s.add_runtime_dependency "vmfloaty", ">= 0.8.0"
16
16
 
17
17
  s.add_development_dependency "rspec-its"
18
18
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-vmpooler
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.9
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Cain
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-11-12 00:00:00.000000000 Z
11
+ date: 2018-12-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: vmfloaty
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.6.0
19
+ version: 0.8.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: 0.6.0
26
+ version: 0.8.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rspec-its
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -105,7 +105,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
105
105
  version: '0'
106
106
  requirements: []
107
107
  rubyforge_project:
108
- rubygems_version: 2.4.5.1
108
+ rubygems_version: 2.7.7
109
109
  signing_key:
110
110
  specification_version: 4
111
111
  summary: Enables Vagrant to manage machines in vmpooler.