vagrant-adbinfo 0.0.7 → 0.0.8
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 +4 -4
- data/lib/command.rb +2 -1
- data/vagrant-adbinfo.gemspec +1 -1
- data/vagrant-adbinfo.spec +6 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: dd7231f3cb01018dc92de8bf131f05c055db20f9
|
|
4
|
+
data.tar.gz: 6167bd587d17b34874b1e257626c53d6c7e9aca5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d64be6134bd5710b96f9df8093e04dd467acf3c91b4d8069af2363ac5d1a2366b4b1cdbebceb2f55c9fde3dcc34528b6ed2d294c49cce9f04ca90fbd8c27a9df
|
|
7
|
+
data.tar.gz: fc1c55b09b091e53e52ec5aac14b0389ef1a222249ebe50164a218791eceb0e5362f36a40076cf6bf91ba60541e11fbaf0bb0f2c98ae6a834717d78466bc8968
|
data/lib/command.rb
CHANGED
|
@@ -54,7 +54,8 @@ module VagrantPlugins
|
|
|
54
54
|
|
|
55
55
|
# Regenerate the certs and restart docker daemon in case of the new ADB box and for VirtualBox provider
|
|
56
56
|
if machine.provider_name == :virtualbox then
|
|
57
|
-
|
|
57
|
+
# `test` checks if the file exists, and then regenerates the certs and restart the docker daemon, else do nothing.
|
|
58
|
+
command2 = "test ! -f /opt/adb/cert-gen.sh || (sudo rm /etc/docker/ca.pem && sudo systemctl restart docker)"
|
|
58
59
|
machine.communicate.execute(command2)
|
|
59
60
|
end
|
|
60
61
|
|
data/vagrant-adbinfo.gemspec
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Gem::Specification.new do |spec|
|
|
2
2
|
spec.name = 'vagrant-adbinfo'
|
|
3
|
-
spec.version = '0.0.
|
|
3
|
+
spec.version = '0.0.8'
|
|
4
4
|
spec.homepage = 'https://github.com/bexelbie/vagrant-adbinfo'
|
|
5
5
|
spec.summary = 'Vagrant plugin that provides the IP address:port and tls certificate file location for a docker daemon'
|
|
6
6
|
|
data/vagrant-adbinfo.spec
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
%global vagrant_plugin_name vagrant-adbinfo
|
|
3
3
|
|
|
4
4
|
Name: %{vagrant_plugin_name}
|
|
5
|
-
Version: 0.0.
|
|
5
|
+
Version: 0.0.8
|
|
6
6
|
Release: 1%{?dist}
|
|
7
7
|
Summary: Vagrant plugin that provides the IP address:port and TLS certificate file location for a Docker daemon
|
|
8
8
|
Group: Development/Languages
|
|
@@ -81,8 +81,13 @@ popd
|
|
|
81
81
|
%{vagrant_plugin_instdir}/LICENSE
|
|
82
82
|
%{vagrant_plugin_instdir}/MAINTAINERS
|
|
83
83
|
%{vagrant_plugin_instdir}/vagrant-adbinfo.gemspec
|
|
84
|
+
%{vagrant_plugin_instdir}/vagrant-adbinfo.spec
|
|
84
85
|
|
|
85
86
|
%changelog
|
|
87
|
+
* Tue Nov 24 2015 Navid Shaikh - 0.0.8-1
|
|
88
|
+
- Fixes cert-generation script existence check
|
|
89
|
+
- Bumps the plugin version to 0.0.8
|
|
90
|
+
|
|
86
91
|
* Tue Nov 24 2015 Navid Shaikh - 0.0.7-1
|
|
87
92
|
- Fixes adbinfo#40: Handle private networking in ADB for different providers
|
|
88
93
|
- Bumps the plugin version to 0.0.7
|