dapp 0.19.7 → 0.19.8

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: 80e4a8506a353eb4d1f9056f6ab16527b0bc6fe96025bcef8142253059ef57ab
4
- data.tar.gz: cdcd73ce4188a010daed41e0a8770abefdc17f383df3024d7fdcbf5cde5345b1
3
+ metadata.gz: c60302fbe9627e8d2ec24204734a8f9343c99bdf1f2c4bc8887a403f4157599f
4
+ data.tar.gz: dfaba1a83620cb4acecacb35f7af7d70044754c42557ca64c876eb9ccb73e436
5
5
  SHA512:
6
- metadata.gz: 5126cb97ed7259ed6040bd97eb630fc731e42849ed5dd4c864d08f1cdcc760ccc4b306691c76c5563a8539a2edf5e87a64104696bb3a29efa674b7673dc38bcd
7
- data.tar.gz: 9fede30834828257952e96f246f5848b70dc4bab50709908ebdfd16cde53495a544c2f7392f784bd9237151fae1668997857a25bd3fc94409b9f36775610f58a
6
+ metadata.gz: 650bc33a1792f3a308b86324d24fb5ac6e6fe8c20550525bab51304c9fe82fe31766cd6e87aa320cf355a3e89bf6ed09d97b79b5bff40ecb36ae247058795c56
7
+ data.tar.gz: 6008c7ded3b8f91e661fa647d94f1a80697a37b55d33182d616ef432695971bcbdf745bc84de95ec22e7dd4f3fd0090e2bcf6e160a0486f7eaac51bc09951dc0
@@ -272,7 +272,10 @@ module Dapp
272
272
  end
273
273
 
274
274
  def image_should_be_untagged_condition
275
- false
275
+ return false unless image.tagged?
276
+ dimg.git_artifacts.any? do |git_artifact|
277
+ !git_artifact.repo.commit_exists? layer_commit(git_artifact)
278
+ end
276
279
  end
277
280
 
278
281
  def should_be_not_present?
@@ -15,6 +15,7 @@ module Dapp
15
15
  def context
16
16
  [builder_checksum]
17
17
  end
18
+ alias dependencies context
18
19
 
19
20
  def builder_checksum
20
21
  dimg.builder.before_install_checksum
@@ -26,7 +27,9 @@ module Dapp
26
27
  end
27
28
  end
28
29
 
29
- alias dependencies context
30
+ def image_should_be_untagged_condition
31
+ false
32
+ end
30
33
  end # BeforeInstall
31
34
  end # Stage
32
35
  end # Build
@@ -7,6 +7,10 @@ module Dapp
7
7
  @prev_stage = BeforeInstall.new(dimg, self)
8
8
  super
9
9
  end
10
+
11
+ def image_should_be_untagged_condition
12
+ false
13
+ end
10
14
  end # BeforeInstallArtifact
11
15
  end # Stage
12
16
  end # Build
@@ -34,6 +34,10 @@ module Dapp
34
34
  []
35
35
  end
36
36
 
37
+ def image_should_be_untagged_condition
38
+ false
39
+ end
40
+
37
41
  def should_not_be_detailed?
38
42
  from_image.tagged?
39
43
  end
@@ -24,13 +24,6 @@ module Dapp
24
24
  true
25
25
  end
26
26
 
27
- def image_should_be_untagged_condition
28
- return false unless image.tagged?
29
- dimg.git_artifacts.any? do |git_artifact|
30
- !git_artifact.repo.commit_exists? layer_commit(git_artifact)
31
- end
32
- end
33
-
34
27
  protected
35
28
 
36
29
  def should_not_be_detailed?
data/lib/dapp/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module Dapp
2
- VERSION = '0.19.7'.freeze
2
+ VERSION = '0.19.8'.freeze
3
3
  BUILD_CACHE_VERSION = 22
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dapp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.19.7
4
+ version: 0.19.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dmitry Stolyarov