dapp 0.7.6 → 0.7.7

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: d8fd9b77a1915c11e7e07c74ed60cfa95d7d4c17
4
- data.tar.gz: fcbed9875e6dc62eaea6e1ddf20c093b7149263d
3
+ metadata.gz: 1ef27281b1af7bbf5ba8f3d263cea3e5a701a2ba
4
+ data.tar.gz: 0303f66f712951a1d2f82033f9a2e368bacc9b72
5
5
  SHA512:
6
- metadata.gz: 0fbc36924c0bd92196d442106cf0cc49f26aa8e2102c62d8fc652cc2664fca14af2e1439fb11c27136dc07bd99b7b1352bea5f049053b2d6063f8474ba266c00
7
- data.tar.gz: 0e777b8756ad477d212093504c689200144add04225d2557b528038ebd6bf06ad1ef453d5206664f7c52784b00affb2d075bb5cf15f236d34d2cf2029f371116
6
+ metadata.gz: 82d1dc965ca175d1ca89df7ed555dcadadd1f148ba00da307c5182f1519af42f6f894fe90c2383c86677a2c7bea417d63d6ede0d1adda446307c14d121b62e86
7
+ data.tar.gz: 30416cab1cd47e0395b95d202bd764655ae54838e021ff4a64fefb5a393cc1f2b817eec6ab8c12ece56eed95790654002fd074a8453a730e0e979566681ebeb4
@@ -40,7 +40,7 @@ en:
40
40
  mount_from_type_required: "Mount: 'from' directive expect 'build_dir' or 'tmp_dir' type!"
41
41
  builder_type_conflict: 'Conflict between builder types!'
42
42
  builder_type_unsupported: "Defined unsupported builder type `%{type}`!"
43
- docker_from_incorrect: "`docker.from` has incorrect value `%{name}`: expected format `image_name:tag`!"
43
+ docker_from_incorrect: "`docker.from` has incorrect value `%{name}`!"
44
44
  stage_artifact_not_associated: "Artifact not associated with any stage: expected 'before' or 'after' attribute!"
45
45
  stage_artifact_double_associate: "Artifact cannot use with both associated attributes 'before' and 'after'!"
46
46
  stage_artifact_not_supported_associated_stage: "Artifact not supported associated stage '%{stage}'!"
@@ -58,6 +58,7 @@ require 'dapp/cli/mrproper'
58
58
  require 'dapp/cli/stage_image'
59
59
  require 'dapp/filelock'
60
60
  require 'dapp/config/base'
61
+ require 'dapp/config/directive/base'
61
62
  require 'dapp/config/dimg/instance_methods'
62
63
  require 'dapp/config/dimg/validation'
63
64
  require 'dapp/config/dimg'
@@ -66,7 +67,6 @@ require 'dapp/config/dimg_group_base'
66
67
  require 'dapp/config/dimg_group_main'
67
68
  require 'dapp/config/dimg_group'
68
69
  require 'dapp/config/artifact_group'
69
- require 'dapp/config/directive/base'
70
70
  require 'dapp/config/directive/artifact_base'
71
71
  require 'dapp/config/directive/git_artifact_local'
72
72
  require 'dapp/config/directive/git_artifact_remote'
@@ -9,7 +9,7 @@ module Dapp
9
9
 
10
10
  option :build_dir,
11
11
  long: '--build-dir PATH',
12
- description: 'Directory where build cache stored (DIR/.dapps-build by default)'
12
+ description: 'Directory where build cache stored (DIR/.dapp-build by default)'
13
13
 
14
14
  option :log_quiet,
15
15
  short: '-q',
@@ -111,7 +111,7 @@ module Dapp
111
111
  end
112
112
 
113
113
  # GitArtifact
114
- class GitArtifact
114
+ class GitArtifact < Directive::Base
115
115
  attr_reader :_local, :_remote
116
116
 
117
117
  def initialize
@@ -72,7 +72,7 @@ module Dapp
72
72
  if cli_options[:build_dir]
73
73
  Pathname.new(cli_options[:build_dir])
74
74
  else
75
- Pathname.new(path).join('.dapps_build')
75
+ Pathname.new(path).join('.dapp_build')
76
76
  end.expand_path.tap(&:mkpath)
77
77
  end
78
78
  end
@@ -1,5 +1,5 @@
1
1
  # Version
2
2
  module Dapp
3
- VERSION = '0.7.6'.freeze
3
+ VERSION = '0.7.7'.freeze
4
4
  BUILD_CACHE_VERSION = 6
5
5
  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.7.6
4
+ version: 0.7.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dmitry Stolyarov