kitchen-lxc 0.1.2 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/kitchen-lxc.gemspec +1 -1
- data/lib/kitchen/driver/lxc.rb +1 -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: 7618a864ca1697082837df1853c4344d338882a1
|
4
|
+
data.tar.gz: f0ae2f3b6a3461218afcc366641a3e50f79506c1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c282426a9d31475dd37dfed2b833fd8b52691e7c5bd9e7bb41d3f6d258ba41bf0181ef3a1a35dd074cffd1d3c8bece5ce5c1c6706c340c542f233e8296107825
|
7
|
+
data.tar.gz: e0f230c95ffbbf8ae23fe7d50d87fdc944c0e8ab006d51ca078bc9da144e1cd1c220ae50e265d78aea36d1b8cdd0070d5fd54d2406c0c9e88c6217a40403930e
|
data/kitchen-lxc.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |gem|
|
2
2
|
gem.name = "kitchen-lxc"
|
3
|
-
gem.version = "0.1.
|
3
|
+
gem.version = "0.1.4"
|
4
4
|
gem.authors = ["Sean Porter", "Chris Roberts"]
|
5
5
|
gem.email = ["portertech@gmail.com", "code@chrisroberts.org"]
|
6
6
|
gem.description = "LXC driver for Test Kitchen"
|
data/lib/kitchen/driver/lxc.rb
CHANGED
@@ -22,7 +22,7 @@ module Kitchen
|
|
22
22
|
File.basename(path)
|
23
23
|
end
|
24
24
|
end.compact.sort
|
25
|
-
config[:original] = names.detect{|n| n.
|
25
|
+
config[:original] = names.detect{|n| n.gsub(/[_\-.]/, '').start_with?(name)}
|
26
26
|
|
27
27
|
container = ::Lxc::Ephemeral.new(config.to_hash)
|
28
28
|
container.create!
|