docker-spec 0.4.0 → 0.5.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
  SHA1:
3
- metadata.gz: b1d4746c4c1efe396d15f55ad5b4005b70c71e4b
4
- data.tar.gz: 5cde4c7da95ebee7ddce02ae785f439c004d2c20
3
+ metadata.gz: 94c481576b9b1f8ea278350227a880b958fb154f
4
+ data.tar.gz: 413ae381b4f411436f52e29d80a498f7068a3f0f
5
5
  SHA512:
6
- metadata.gz: 05d8dd2ccd693b8e160d191e64be59e5eae1b3ed7d260fda91c00308cd1d0437dbd5637943c7cc50090e6a5148be947b12aedf9105950d47823d2cc92505ab66
7
- data.tar.gz: e9a13fc07136d76028ee18a1b821d16ec39ee84480af5e97830dbcc3aab5f845b6a3214bd58d9fce30970f108eeba25ee0771c14f28ea7a16bd4f22ed2774ba0
6
+ metadata.gz: 1039784e522f87466a4aa6b203dc5f26bf0d78830656dd0fe98b091cc5cbbdb5c2ae01bae70b2be98307b76a4e877daba84e6090b1efd2c593bd4a2fc4c88e8f
7
+ data.tar.gz: ec7f94900ce0769541e500097a03f265f424c45de228748e3de926b9b7f8b692f3dff94800595500feba32d02d584a3095537b60b33ff0baa524a5cc8f3845f0
data/lib/docker/spec.rb CHANGED
@@ -54,7 +54,7 @@ module DockerSpec
54
54
  end
55
55
 
56
56
  # Open key value store and get the current tag for this repo
57
- store = Moneta.new(:YAML, file: @config[:tag_db])
57
+ store = Moneta.new(:YAML, file: File.expand_path(@config[:tag_db]))
58
58
  current_tag = store.key?(@config[:image_name]) ? store[@config[:image_name]].to_i : 0
59
59
  new_tag = current_tag + 1
60
60
 
@@ -1,5 +1,5 @@
1
1
  module Docker
2
2
  module Spec
3
- VERSION = "0.4.0"
3
+ VERSION = "0.5.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: docker-spec
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan Breinlinger
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-03-03 00:00:00.000000000 Z
11
+ date: 2016-03-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler