dapp 0.5.11 → 0.5.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1b22d79c413efd4110b588de5fe4314daca06e6c
4
- data.tar.gz: fcdea90324c3ebdbb6aa88803fe742c8997cb5da
3
+ metadata.gz: 099323795c3915334ad78240e4aaaac9b76e0299
4
+ data.tar.gz: 23c70869e1cb2f25369af05d629e09692a349ae9
5
5
  SHA512:
6
- metadata.gz: d6f63f947d2a92ee88d1aaeb8458e5405ae18bf1598146937c0744be7325657c8cc4f8ac0a80cfa46e16bc0389579bd648e61ce7ffe6654a6997924c0d523a38
7
- data.tar.gz: e10bdaa68a350f8081d42fe2c2d80071779a9ef9db2c18d2795ffedb54771e389b277c93d9ab66cb732f6731fdf05970b9bb8963ae93ded87e17348181c426de
6
+ metadata.gz: afa7da11b4dc1c34e0817934c22cc8e2123f16e4c0c7c9c4ffec58b282c2c2d160301a5f6fa0a33adf6aa2df7df00b5b3f932b7f2254251fb2d6812836484632
7
+ data.tar.gz: 0c71e6fc8f2de0a7ca9378934e8d26c64c9e4055589d246a3b11c43a50ccd4b6b64cca3ccf60a0946e0228398b3e17e7fbb63b7ba39bcd00db6aa1e3b941391a
@@ -12,7 +12,9 @@ module Dapp
12
12
  DEFAULT_CHEFDK_IMAGE = 'dappdeps/chefdk:0.17.3-1'.freeze # TODO: config, DSL, DEFAULT_CHEFDK_IMAGE
13
13
 
14
14
  [:infra_install, :infra_setup, :install, :setup].each do |stage|
15
- define_method("#{stage}_checksum") { stage_cookbooks_checksum(stage) }
15
+ define_method("#{stage}_checksum") do
16
+ application.hashsum [stage_cookbooks_checksum(stage), *stage_cookbooks_runlist(stage)]
17
+ end
16
18
 
17
19
  define_method("#{stage}?") { !stage_empty?(stage) }
18
20
 
@@ -97,7 +99,6 @@ module Dapp
97
99
  application.hashsum [
98
100
  application.paths_content_hashsum(paths),
99
101
  *paths.map { |p| p.relative_path_from(stage_cookbooks_path(stage)).to_s }.sort,
100
- *enabled_modules,
101
102
  stage == :infra_install ? chefdk_image : nil
102
103
  ].compact
103
104
  end
@@ -255,7 +256,7 @@ module Dapp
255
256
  else
256
257
  [nil, *common_mdapp_paths]
257
258
  end
258
- else
259
+ elsif !is_mdapp
259
260
  [['.', '.']]
260
261
  end
261
262
 
@@ -1,5 +1,5 @@
1
1
  # Version
2
2
  module Dapp
3
- VERSION = '0.5.11'.freeze
3
+ VERSION = '0.5.12'.freeze
4
4
  BUILD_CACHE_VERSION = 3
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dapp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.11
4
+ version: 0.5.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dmitry Stolyarov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-09-05 00:00:00.000000000 Z
11
+ date: 2016-09-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mixlib-shellout