flock-sandbox 0.0.4 → 0.0.5

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
  SHA1:
3
- metadata.gz: 02562d9d82cdcc051d9c3074d7e71bfc9d57cc89
4
- data.tar.gz: f89140d1379185138d646b7f201c5d3620092e61
3
+ metadata.gz: c29cff7f948a5080873cdb848f06533fe6090f00
4
+ data.tar.gz: 1ebd6c0a57260a9198da72a3ccb1c8c308168408
5
5
  SHA512:
6
- metadata.gz: 7b9d427fe15bc727fba261206363f2ba5c027d9dc0fc63ebf0fc190e1f65c7cc6c6ab58ee85b28ea9fdd9cbe38043f0c2700e349e0476c55127b959ae1864eb0
7
- data.tar.gz: 1f5c2fb865d4d9159ee83349873a081e18178c135780e3fe0019ca22b95ce46d46b89b8365b78cd678eb7f9b54ae8335f3f2689e2e26d8cad1c87b3a48853a53
6
+ metadata.gz: 1732a3c29bb947ff766d2dac9428bbc2d1d2ca092514221c57ecde582f3c84e6235b6bd7537f4efda4e82633a076d48876d55e76fa6543f8108d45c5566009fb
7
+ data.tar.gz: 2c8355233392da3f0777a2da970127929c3c259629d7be040385ccc022677db3bf9b0766267be7189f96810c0aeac2fec5fe243cb1208a628330dbac15127dc5
Binary file
@@ -1,5 +1,5 @@
1
1
  module Flock
2
2
  module Sandbox
3
- VERSION = "0.0.4"
3
+ VERSION = "0.0.5"
4
4
  end
5
5
  end
@@ -18,8 +18,10 @@ Vagrant.configure(2) do |config|
18
18
  d.run "<%= c[:image] %>", auto_assign_name: false, args: "--name <%= c[:name] %> <% (c[:envs] || []).each do |e| %> -e <%= e %> <% end %> <% (c[:ports] || []).each do |p| %> -p <%= p %> <% end %>"
19
19
  <% end %>
20
20
  end
21
- <% scripts.each do |s| %>
22
- app.vm.provision "<%= s[:name] %>", type: "shell", inline: "docker run <% s[:envs].each do |e| %> -e <%= e %> <% end %> <%= s[:image] %> <%= s[:cmd] * ' ' %>"
21
+ <% if scripts %>
22
+ <% scripts.each do |s| %>
23
+ app.vm.provision "<%= s[:name] %>", type: "shell", inline: "docker run <% s[:envs].each do |e| %> -e <%= e %> <% end %> <%= s[:image] %> <%= s[:cmd] * ' ' %>"
24
+ <% end %>
23
25
  <% end %>
24
26
  end
25
27
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flock-sandbox
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
  - Andrew Rudenko
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-09 00:00:00.000000000 Z
11
+ date: 2015-06-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: docker-api
@@ -67,6 +67,7 @@ files:
67
67
  - Rakefile
68
68
  - bin/flock-sandbox
69
69
  - example.rb
70
+ - flock-sandbox-0.0.4.gem
70
71
  - flock-sandbox.gemspec
71
72
  - lib/flock/sandbox.rb
72
73
  - lib/flock/sandbox/version.rb
@@ -91,7 +92,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
91
92
  version: '0'
92
93
  requirements: []
93
94
  rubyforge_project:
94
- rubygems_version: 2.4.3
95
+ rubygems_version: 2.2.2
95
96
  signing_key:
96
97
  specification_version: 4
97
98
  summary: Write a short summary. Required.