cide 0.6.1 → 0.6.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/cide.gemspec +1 -1
- data/lib/cide/docker.rb +11 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 829b102e520c8b64573f2f18e3d4c24498bf3e9c
|
4
|
+
data.tar.gz: 6dac347d412f2c7b86731b15b378fc78572ff42a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e5c7d5ba21b416d9b620ed6248f04a3c34ef6032a380ef4b3a858bb07b95b230ed846a48489ae28aaf1fcb57aa276abd36e8f7779f5d66800cc8d638bf1759fb
|
7
|
+
data.tar.gz: 65e7e8906deec51816b8cccaba04572affa896dace62189b5b7a2c006812e09e84de5315765448e803912ae7958122990c8d940b85f6a83608dc96702a7a714d
|
data/CHANGELOG.md
CHANGED
data/cide.gemspec
CHANGED
data/lib/cide/docker.rb
CHANGED
@@ -46,10 +46,19 @@ module CIDE
|
|
46
46
|
end
|
47
47
|
|
48
48
|
# Check docker version
|
49
|
-
|
49
|
+
docker_version = nil
|
50
|
+
case `docker version 2>/dev/null`
|
51
|
+
when /Client version: ([^\s]+)/
|
52
|
+
docker_version = $1
|
53
|
+
when /\s+Version:\s+([^\s]+)/
|
54
|
+
docker_version = $1
|
55
|
+
else
|
50
56
|
fail VersionError, 'Unknown docker version'
|
51
57
|
end
|
52
|
-
|
58
|
+
|
59
|
+
if docker_version < '1.5.0'
|
60
|
+
fail VersionError, "Docker version #{$1} too old"
|
61
|
+
end
|
53
62
|
|
54
63
|
true
|
55
64
|
)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cide
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- zimbatm
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-10-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|