fig-lock 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fig/lock.rb +3 -1
- data/lib/fig/lock/version.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: bca2a28b6c732f30e24541658e453a8aa48f1010
|
4
|
+
data.tar.gz: 97062daed4c6738cf9531bad45ad3ee1d7819a31
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 48b3d569173fb90b3ef1edf36aa0ac1220324a39112b886a2a9ff359a9f68903fd57485c492d40d1f0ec2f50b93e6f6262eac78f950d3a0c6cb0ef6d34d7d842
|
7
|
+
data.tar.gz: c407eeaf4ec48d51a2bdc7354e58645042a87cd045cf0608b49fcb237070bf722539f2cf0ad257c0f9e02623a2971eb6517160ead1ee963df5f272e4ca94f92b
|
data/lib/fig/lock.rb
CHANGED
@@ -81,7 +81,9 @@ module Fig
|
|
81
81
|
fail "No matching version found for hash #{latest}" unless version
|
82
82
|
|
83
83
|
# Update hash
|
84
|
-
|
84
|
+
result = "#{image[0..image.rindex(':')-1]}:#{version}"
|
85
|
+
v['image'] = result
|
86
|
+
log.info "Resolved image: #{result}"
|
85
87
|
end
|
86
88
|
end
|
87
89
|
end
|
data/lib/fig/lock/version.rb
CHANGED