docker-spec 0.20.0 → 0.21.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/docker/spec/version.rb +1 -1
- data/lib/docker/spec.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 286cab077a8873ec199e503e7a5e6b712e2a917deb97b79bb1ad3e4915fb485a
|
4
|
+
data.tar.gz: e62ee81836ea8709e691bb26045b7d7c29bc6982dc874c547a072932101e55d2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3c22484a0f93a8582d4f75d93b380cf1e66a56e28c23263554f2876e8d701130a5d4afaa7758dec0d0e307543a7e181bc981d8c511b7d739978094ff1e66e6a9
|
7
|
+
data.tar.gz: afd9325b27ef23e1ad3cfcb3864e9a325a2f8b1bff71262bc78f616535a0ebf65920964608090422dad5f2a7186f7f91efca5128456e0c2bc6864db9d32b256e
|
data/lib/docker/spec/version.rb
CHANGED
data/lib/docker/spec.rb
CHANGED
@@ -77,7 +77,7 @@ class DockerSpec
|
|
77
77
|
tag_prefix = @config[:tag_prefix]
|
78
78
|
store = Moneta.new(:YAML, file: File.expand_path(@config[:tag_db]))
|
79
79
|
current_tag = store.key?(@config[:image_name]) ?
|
80
|
-
store[@config[:image_name]].match(/#{tag_prefix}(.*)/)[1].to_i : 0
|
80
|
+
store[@config[:image_name]].to_s.match(/#{tag_prefix}(.*)/)[1].to_i : 0
|
81
81
|
new_tag = tag_prefix + (current_tag + 1).to_s
|
82
82
|
|
83
83
|
image = Docker::Image.all.detect do |i|
|