vagrant-lxd 0.5.0 → 0.5.1

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
2
  SHA256:
3
- metadata.gz: 1baeedff522cfbebedcb5502ca770a5acee212b651cd15ee5689de902151e218
4
- data.tar.gz: a4310d180e7f8b686e474087f715fcf5896f37f51e233a934f9af156a332e633
3
+ metadata.gz: 8cb23ce782dbe622c94d34c2e921ef57ddb4851c25196b898061a840efff44e9
4
+ data.tar.gz: 807dd8fa2ec7b241a434fcba53f9d27a0c01b14ce4eca35ee3db60972e43486f
5
5
  SHA512:
6
- metadata.gz: c26145438faab6e93dae3e9e838d899478cac316de5d97c9ee844acbebc192d2ff8b8b324ad9099b8a50cb75ac4770f88e60a26b2646020c53fe241a958b2f14
7
- data.tar.gz: 70768153d8648bf0fc22406e9bb5107f399acac378a9ea5811955a483c11e4e0e9cb575afa8e58a9bb5e3d3844deb4cc6413a6e16001fefa8fe8ec5828be8844
6
+ metadata.gz: '03932c7c4f744a52f48139f43b6e5a88884c4a550e17def2c010dd07540d50f6026e5599408157a4a259cca5aee50459961148c6c22c1c3ddbc4dcd995de5cb6'
7
+ data.tar.gz: be9c7d029dee32606626f8d27f6f780c42aa9553727ed0ad5ea3c1ed5e28f37869f6c6859db7591b233dc67c9260ad786dcca7bdce581d330e12704b7cdbf363
@@ -1,4 +1,4 @@
1
- image: "ruby:2.4"
1
+ image: ruby:2.5
2
2
 
3
3
  before_script:
4
4
  - apt-get -y update
@@ -28,10 +28,10 @@ GIT
28
28
  PATH
29
29
  remote: .
30
30
  specs:
31
- vagrant-lxd (0.5.0)
31
+ vagrant-lxd (0.5.1)
32
32
  activesupport (~> 5.2.3)
33
33
  faraday (~> 0.17)
34
- hyperkit (~> 1.2.0)
34
+ hyperkit (~> 1.3.0)
35
35
 
36
36
  GEM
37
37
  remote: https://rubygems.org/
@@ -65,7 +65,7 @@ GEM
65
65
  http-cookie (1.0.3)
66
66
  domain_name (~> 0.5)
67
67
  httpclient (2.8.3)
68
- hyperkit (1.2.0)
68
+ hyperkit (1.3.0)
69
69
  activesupport (>= 4.2.6)
70
70
  sawyer
71
71
  i18n (1.8.5)
@@ -37,7 +37,7 @@ automatically generate the certificate for you):
37
37
  newgrp lxd
38
38
 
39
39
  # create and add a client certificate
40
- lxc config trust add /home/ubuntu/.config/lxc/client.crt
40
+ lxc config trust add ~/.config/lxc/client.crt
41
41
  ```
42
42
 
43
43
  At this point everything should be set up for the plugin to work
@@ -119,45 +119,6 @@ module VagrantLXD
119
119
  end
120
120
  end
121
121
 
122
- module Hyperkit::Client::Containers
123
- alias extract_container_options_without_devices extract_container_options
124
-
125
- def extract_container_options(name, options)
126
- opts = extract_container_options_without_devices(name, options)
127
- options.slice(:devices).merge(opts)
128
- end
129
- end
130
-
131
- # XXX This monkey patch has the fix from https://github.com/jeffshantz/hyperkit/pull/15
132
- # TODO Remove this once there is a new release of the hyperkit gem.
133
- module Hyperkit::Connection
134
- def sawyer_options
135
- opts = {
136
- :links_parser => Sawyer::LinkParsers::Simple.new,
137
- }
138
- conn_opts = {}
139
- conn_opts[:builder] = @middleware if @middleware
140
- conn_opts[:proxy] = @proxy if @proxy
141
-
142
- conn_opts[:ssl] = {
143
- verify: verify_ssl
144
- }
145
-
146
- if client_cert && File.exist?(client_cert)
147
- conn_opts[:ssl][:client_cert] = OpenSSL::X509::Certificate.new(File.read(client_cert))
148
- end
149
-
150
- # XXX https://github.com/jeffshantz/hyperkit/pull/15/files
151
- if client_key && File.exist?(client_key)
152
- conn_opts[:ssl][:client_key] = OpenSSL::PKey.read(File.read(client_key))
153
- end
154
-
155
- opts[:faraday] = Faraday.new(conn_opts)
156
-
157
- opts
158
- end
159
- end
160
-
161
122
  NOT_CREATED = Vagrant::MachineState::NOT_CREATED_ID
162
123
 
163
124
  attr_reader :api_endpoint
@@ -20,7 +20,7 @@
20
20
  module VagrantLXD
21
21
  module Version
22
22
  NAME = 'vagrant-lxd'
23
- VERSION = '0.5.0'
23
+ VERSION = '0.5.1'
24
24
  DESCRIPTION = 'Vagrant LXD provider'
25
25
  end
26
26
  end
@@ -36,7 +36,7 @@ Gem::Specification.new do |spec|
36
36
  end
37
37
 
38
38
  spec.add_runtime_dependency 'activesupport', '~> 5.2.3'
39
- spec.add_runtime_dependency 'hyperkit', '~> 1.2.0'
39
+ spec.add_runtime_dependency 'hyperkit', '~> 1.3.0'
40
40
 
41
41
  # NOTE fixed to preserve ruby 1.x compatibility, versions after 1.0
42
42
  # use the safe navigation operator and thus need ruby 2.3 or newer
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-lxd
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Evan Hanson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-09-03 00:00:00.000000000 Z
11
+ date: 2020-09-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 1.2.0
33
+ version: 1.3.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 1.2.0
40
+ version: 1.3.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: faraday
43
43
  requirement: !ruby/object:Gem::Requirement