dapp 0.33.1 → 0.33.2

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
  SHA256:
3
- metadata.gz: e2b28626b237cf01d486f6875d59802c381c351f2a3472d25b4a258426101044
4
- data.tar.gz: ad8d21ff3ed46a61f635aecd3a3758518be0d55362d12b1da587d83803705f0f
3
+ metadata.gz: 48f3c214b2f6628c3291dd013149a979e674a604a0684dba39b9db8957c2a359
4
+ data.tar.gz: 5bc72366ccfeae4f0f7ef32ebddde70ff2974e4746785113ece3af53d983664e
5
5
  SHA512:
6
- metadata.gz: d4f0b262a90d0b1427685468853b837f24fd3ff3189a418d58d80201c3de6ca8d881e5057a741023c5010814f09aae8f4fcef05870c4a3bff16b659dc7025019
7
- data.tar.gz: 8d68e05ce0e2ddc4c4e8902da9988a517e27e41a1358bd8c0bf521ff884b990abb44dcfe6b96b78c3a9be1fa64d02a27c23c0880aafa7a88110f64c78471ba6f
6
+ metadata.gz: bd1bb57f42f2a11da286b718b5c684d7eb9b2c31c2607559188fa39505c37cfd884bb6bef65455f533dd6a9c89519e41e2ee1582b5feea87428929569e132fb5
7
+ data.tar.gz: fb56208512daf1bb7e15c4506a67ef9462c5873bc4392d4563e9222b68fdfd7ca42a74295fd71d1e7e1d85166155b62761b49f264015917157c6480caf23cd28
@@ -11,6 +11,7 @@ module Dapp
11
11
  end
12
12
 
13
13
  def ruby2go_dappdeps_command(dappdeps:, command:, **options)
14
+ (options[:options] ||= {}).merge!(host_docker_config_dir: self.class.host_docker_config_dir)
14
15
  ruby2go_dappdeps(dappdeps: dappdeps, command: command, **options).tap do |res|
15
16
  unless res["error"].nil?
16
17
  raise Error::Dapp, code: :ruby2go_dappdeps_command_failed_unexpected_error,
@@ -21,6 +21,7 @@ module Dapp
21
21
  end
22
22
 
23
23
  def ruby2go_builder_command(command:, **options)
24
+ (options[:options] ||= {}).merge!(host_docker_config_dir: dimg.dapp.class.host_docker_config_dir)
24
25
  builder = self.class.name.split("::").last.downcase
25
26
  command_options = {
26
27
  builder: builder,
@@ -46,6 +46,7 @@ module Dapp
46
46
  end
47
47
 
48
48
  def ruby2go_command(dapp, command:, **options)
49
+ (options[:options] ||= {}).merge!(host_docker_config_dir: dapp.class.host_docker_config_dir)
49
50
  dapp.ruby2go_image({ command: command }.merge(options)).tap do |res|
50
51
  raise Error::Build, code: :ruby2go_image_command_failed_unexpected_error, data: { command: command, message: res["error"] } unless res["error"].nil?
51
52
  break res['data']
@@ -143,7 +144,8 @@ module Dapp
143
144
  introspection: {
144
145
  before: dapp.introspect_before_error?,
145
146
  after: dapp.introspect_error?
146
- }
147
+ },
148
+ host_docker_config_dir: dapp.class.host_docker_config_dir,
147
149
  }
148
150
  }
149
151
  end
@@ -1,4 +1,4 @@
1
1
  module Dapp
2
- VERSION = "0.33.1"
2
+ VERSION = "0.33.2"
3
3
  BUILD_CACHE_VERSION = 31
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.33.1
4
+ version: 0.33.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dmitry Stolyarov