dapp 0.4.7 → 0.4.8

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: ccc9bcb7c5c18e275f571a8d61bc1cab29f9000b
4
- data.tar.gz: b222fdf8b55c8592b4c64cb6081edefb6b707d8c
3
+ metadata.gz: d92ae2acd1b2b9398e83d79445241ac190a6855d
4
+ data.tar.gz: 489ae183ac1cc60b312f9827d1b8c89ca18654e2
5
5
  SHA512:
6
- metadata.gz: fcf8a7f80e2e02ae5e234940e8c600f90eb0483f93749d4b64394f6fe8b1266127c9c509b490b3f95f1e626080daba99157e7a1cc4496d527aafeed93065cb2b
7
- data.tar.gz: f4748cee47bb3b584774028c8393218274a1886921703e859e29bc42813910d6526bec762d7765894d592b3dbf079ac96e94177bd85066ad3518ea8a89bd485e
6
+ metadata.gz: 3e3ce3bbd3155ae5b3e9c43c737cb190218fce09cb1fc9f2c67495a3c1cf630cbb9e717a60ff04fee89bc34fa4ef2da3cc18c48fdbba130a14eeb513526cfb2a
7
+ data.tar.gz: 1c0fccb84466f1fce3700a8bdeceb040fed68f723d4ab3ef8ac0a98d9c724167efa1a8f07e82b9b5d2cecfb83ac47568cd61a3977f6728683ed1295e5a3b0444
@@ -17,7 +17,7 @@ en:
17
17
  controller:
18
18
  push_command_unexpected_apps_number: "Push command can process only one application!"
19
19
  run_command_unexpected_apps_number: "Run command can process only one application!"
20
- no_such_app: "No such app: '%{patterns}' in '%{path}'!"
20
+ no_such_app: "No such app: '%{patterns}'!"
21
21
  dappfile_not_found: "Dappfile not found!"
22
22
  config:
23
23
  builder_type_conflict: 'Conflict between builder types!'
@@ -302,6 +302,10 @@ module Dapp
302
302
  to_entry[cookbook, entrypoint]
303
303
  end
304
304
 
305
+ enabled_modules
306
+ .map { |mod| to_recipe_entry["mdapp-#{mod}", stage] || to_entry["mdapp-#{mod}", 'void'] }
307
+ .tap { |entries| res.concat entries }
308
+
305
309
  enabled_recipes
306
310
  .map { |recipe| to_recipe_entry[project_name, recipe] }
307
311
  .compact
@@ -312,10 +316,6 @@ module Dapp
312
316
  res << to_entry[project_name, 'void']
313
317
  end
314
318
  end
315
-
316
- enabled_modules
317
- .map { |mod| to_recipe_entry["mdapp-#{mod}", stage] || to_entry["mdapp-#{mod}", 'void'] }
318
- .tap { |entries| res.concat entries }
319
319
  end
320
320
  end
321
321
  # rubocop:enable Metrics/AbcSize
@@ -80,7 +80,7 @@ module Dapp
80
80
  raise Error::Controller, code: :dappfile_not_found
81
81
  end
82
82
  Array(dappfiles).map { |dappfile| apps(dappfile, app_filters: patterns) }.flatten.tap do |apps|
83
- raise Error::Controller, code: :no_such_app, data: { path: dappfile_path, patterns: patterns.join(', ') } if apps.empty?
83
+ raise Error::Controller, code: :no_such_app, data: { patterns: patterns.join(', ') } if apps.empty?
84
84
  end
85
85
  end
86
86
  end
@@ -1,5 +1,5 @@
1
1
  # Version
2
2
  module Dapp
3
- VERSION = '0.4.7'.freeze
3
+ VERSION = '0.4.8'.freeze
4
4
  BUILD_CACHE_VERSION = 1
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.4.7
4
+ version: 0.4.8
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-08-10 00:00:00.000000000 Z
11
+ date: 2016-08-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mixlib-shellout