vagrant-docker-compose 0.0.4 → 0.0.5

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 02e166a6319d5d34775e89c48ed70105a768523e
4
- data.tar.gz: f2ec26807ea919483fac9d496d032bc1c79afa40
3
+ metadata.gz: 8cfb30caa63da3bca1f00b930487582d3ca2eac2
4
+ data.tar.gz: 4dae97b7eebb989d02c62f6dc7f459455de292ac
5
5
  SHA512:
6
- metadata.gz: 629f859e2abfaa95d589a07382d81c22f1b233021b69ef94fce0202a12f82cc79e9e4ee6eba84af9934b9ae61db2b03237c2995c748f38cae02fff72be2f10f0
7
- data.tar.gz: 5f823dbc0ac6fdeb0e45d571cc550c471b3cf76d910d51742ae58e126406705cfc77303bd7c7cfc8498ee0041eec183f1a4543293af101c0ff343fec3baa7966
6
+ metadata.gz: d8c43fb4a51679ff160e04dc111e41e9a4ae814a6e2055dfe12bacf04eb0d6af1664eba0685f5468a27b0a1ab1467180b4d663f9487a3a0cbd51f0fbc3cf34ab
7
+ data.tar.gz: 2aadba8f55a3544f937a5d17d366eb1350e4f412983a417078add5f74e710786315266e27c09e66551f83d101eeb5dfbd1b97a9bb76bcf8c8cb95fb7059efec7
data/README.md CHANGED
@@ -59,7 +59,7 @@ docker-compose -f [yml] up
59
59
 
60
60
  ### Other configs
61
61
 
62
- * `compose_version` – defaults to `1.3.1`.
62
+ * `compose_version` – defaults to `1.4.0`.
63
63
  * `project_name` – compose will default to naming the project `vagrant`.
64
64
  * `executable` – the location the executable will be stored, defaults to `/usr/local/bin/docker-compose`.
65
65
 
data/example/Vagrantfile CHANGED
@@ -1,11 +1,18 @@
1
1
  # -*- mode: ruby -*-
2
2
  # vi: set ft=ruby :
3
3
 
4
+ unless Vagrant.has_plugin?("vagrant-docker-compose")
5
+ system("vagrant plugin install vagrant-docker-compose")
6
+ puts "Dependencies installed, please try the command again."
7
+ exit
8
+ end
9
+
4
10
  Vagrant.configure("2") do |config|
5
11
  config.vm.box = "ubuntu/trusty64"
6
12
 
7
13
  config.vm.network(:forwarded_port, guest: 8080, host: 8080)
8
14
 
15
+ config.vm.provision :shell, inline: "apt-get update"
9
16
  config.vm.provision :docker
10
17
  config.vm.provision :docker_compose, yml: "/vagrant/docker-compose.yml", rebuild: true, project_name: "myproject", run: "always"
11
18
  end
@@ -17,7 +17,7 @@ module VagrantPlugins
17
17
  def finalize!
18
18
  @executable = "/usr/local/bin/docker-compose" if @executable == UNSET_VALUE
19
19
  @project_name = nil if @project_name == UNSET_VALUE
20
- @compose_version = "1.3.1" if @compose_version == UNSET_VALUE
20
+ @compose_version = "1.4.0" if @compose_version == UNSET_VALUE
21
21
  end
22
22
  end
23
23
  end
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module DockerComposeProvisioner
3
- VERSION = "0.0.4"
3
+ VERSION = "0.0.5"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-docker-compose
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Leigh McCulloch
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-07 00:00:00.000000000 Z
11
+ date: 2015-08-27 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: A Vagrant provisioner for docker compose.
14
14
  email: