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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ea0d7f3d6a623e089d9987a0adbd2eeff7858379c38fbec0e0dba6f0ea05607f
4
- data.tar.gz: 92d294f339f5f9f60f2eabbaa06ecbd5e023cf2ddd4580653565938a78eaf789
3
+ metadata.gz: 286cab077a8873ec199e503e7a5e6b712e2a917deb97b79bb1ad3e4915fb485a
4
+ data.tar.gz: e62ee81836ea8709e691bb26045b7d7c29bc6982dc874c547a072932101e55d2
5
5
  SHA512:
6
- metadata.gz: 43ec2a6a5aebc188876c74fcacdb1b9a6ecf7db0c80226cc52443c113fdf28450223049f727c13517164698aa9a9b5eccf9b03e4ba59dbc90ceeceaf68f353bb
7
- data.tar.gz: 00c3c9bb7a291dd14dbdca5e173abd1904e7c200a0c6bb4790fb14f38a4bca8dfbe9995eec090183e687ba442fec68c42fdbec6a8b0fa70be56ea87cf1e1129d
6
+ metadata.gz: 3c22484a0f93a8582d4f75d93b380cf1e66a56e28c23263554f2876e8d701130a5d4afaa7758dec0d0e307543a7e181bc981d8c511b7d739978094ff1e66e6a9
7
+ data.tar.gz: afd9325b27ef23e1ad3cfcb3864e9a325a2f8b1bff71262bc78f616535a0ebf65920964608090422dad5f2a7186f7f91efca5128456e0c2bc6864db9d32b256e
@@ -1,5 +1,5 @@
1
1
  module Docker
2
2
  module Spec
3
- VERSION = "0.20.0"
3
+ VERSION = "0.21.0"
4
4
  end
5
5
  end
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|
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: docker-spec
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.20.0
4
+ version: 0.21.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan Breinlinger