dapp 0.35.2 → 0.35.3

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: ce13ee52e8b38605ea29d963d0d8c220c6ca3f8c459aa8984842afaa142fd9f1
4
- data.tar.gz: 2808f4c2d775a040dfb1d07aea2720949e8fadb7bc5fe10848e8d295d38d61b9
3
+ metadata.gz: 18f6979b4cea5fced8ee99537667324f9a04e6f0971adebe7593a375bb71ccd2
4
+ data.tar.gz: d5fcccbfd7819ddd0f642cc3ccf1bc80146959e6f1aef7779e1a00c0c3917af5
5
5
  SHA512:
6
- metadata.gz: e78f71c1ee42bb59ac9629739519d7a3e6041d50145572eff8adc7ac710a0174a69c3e7c52f88f8b186754d67b662c8a1c900766e7c61852d4b8332a0add9b7b
7
- data.tar.gz: 0b140d2780f3f6cc5a2951790eee0ed48f93a0d773373715aa51fe57cb98ffa98ba24a1a1202b4b86b5958a4795e86b773f9dbe0f527f9e656eb6fd58f18d60a
6
+ metadata.gz: 9dd2e2107207b99a2dbc9ecfdf2fd52ffef439f54a4a7792daea7e60522554d065f16d879c98145ad30b79336c205de698453adc698c534d18403dc928931f7c
7
+ data.tar.gz: 94abcdfb00e62f6e9b101b43672a67de90e2949ca617b214acd27dd6cf3ead25a7ca7111239f3e52f97363f458e36c33f4e8b9c475bce32274644ab8c8a8d3e0
@@ -15,17 +15,13 @@ BANNER
15
15
 
16
16
  def run(argv = ARGV)
17
17
  self.class.parse_options(self, argv)
18
- run_dapp_command(nil, options: cli_options(dimgs_patterns: cli_arguments)) do |dapp|
19
- repo = if not cli_arguments[0].nil?
20
- self.class.required_argument(self, 'repo')
21
- else
22
- dapp.name
23
- end
24
-
25
- dapp.options[:repo] = repo
26
-
27
- dapp.public_send(run_method)
28
- end
18
+ options = cli_options(dimgs_patterns: cli_arguments)
19
+ options[:repo] = if not cli_arguments[0].nil?
20
+ self.class.required_argument(self, 'repo')
21
+ else
22
+ dapp.name
23
+ end
24
+ run_dapp_command(run_method, options: options)
29
25
  end
30
26
  end
31
27
  end
@@ -72,18 +72,12 @@ BANNER
72
72
 
73
73
  options = cli_options
74
74
  options[:tag] = [*options.delete(:tag), *options.delete(:image_version)]
75
-
76
- run_dapp_command(nil, options: options) do |dapp|
77
- repo = if not cli_arguments[0].nil?
78
- self.class.required_argument(self, 'repo')
79
- else
80
- dapp.name
81
- end
82
-
83
- dapp.options[:repo] = repo
84
-
85
- dapp.public_send(run_method)
86
- end
75
+ options[:repo] = if not cli_arguments[0].nil?
76
+ self.class.required_argument(self, 'repo')
77
+ else
78
+ dapp.name
79
+ end
80
+ run_dapp_command(run_method, options: options)
87
81
  end
88
82
  end
89
83
  end
@@ -41,18 +41,13 @@ BANNER
41
41
 
42
42
  def run(argv = ARGV)
43
43
  self.class.parse_options(self, argv)
44
-
45
- run_dapp_command(nil, options: cli_options) do |dapp|
46
- repo = if not cli_arguments[0].nil?
47
- self.class.required_argument(self, 'repo')
48
- else
49
- dapp.name
50
- end
51
-
52
- dapp.options[:repo] = repo
53
-
54
- dapp.public_send(run_method)
55
- end
44
+ options = cli_options
45
+ options[:repo] = if not cli_arguments[0].nil?
46
+ self.class.required_argument(self, 'repo')
47
+ else
48
+ dapp.name
49
+ end
50
+ run_dapp_command(run_method, options: options)
56
51
  end
57
52
 
58
53
  def log_running_time
@@ -57,17 +57,13 @@ BANNER
57
57
 
58
58
  def run(argv = ARGV)
59
59
  self.class.parse_options(self, argv)
60
- run_dapp_command(nil, options: cli_options) do |dapp|
61
- repo = if not cli_arguments[0].nil?
62
- self.class.required_argument(self, 'repo')
63
- else
64
- dapp.name
65
- end
66
-
67
- dapp.options[:repo] = repo
68
-
69
- dapp.public_send(run_method)
70
- end
60
+ options = cli_options
61
+ options[:repo] = if not cli_arguments[0].nil?
62
+ self.class.required_argument(self, 'repo')
63
+ else
64
+ dapp.name
65
+ end
66
+ run_dapp_command(run_method, options: options)
71
67
  end
72
68
 
73
69
  def log_running_time
@@ -32,17 +32,15 @@ BANNER
32
32
 
33
33
  def run(argv = ARGV)
34
34
  self.class.parse_options(self, argv)
35
-
36
- run_dapp_command(nil, options: cli_options) do |dapp|
37
- repo = if not cli_arguments[1].nil?
38
- self.class.required_argument(self, "repo")
39
- else
40
- dapp.name
41
- end
42
- dapp.options[:repo] = repo
43
-
35
+ options = cli_options
36
+ options[:repo] = if not cli_arguments[1].nil?
37
+ self.class.required_argument(self, 'repo')
38
+ else
39
+ dapp.name
40
+ end
41
+
42
+ run_dapp_command(nil, options: options) do |dapp|
44
43
  value_key = self.class.required_argument(self, "VALUE_KEY")
45
-
46
44
  dapp.public_send(run_method, value_key)
47
45
  end
48
46
  end
data/lib/dapp/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module Dapp
2
- VERSION = "0.35.2"
2
+ VERSION = "0.35.3"
3
3
  BUILD_CACHE_VERSION = 31
4
4
  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.35.2
4
+ version: 0.35.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dmitry Stolyarov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-09-14 00:00:00.000000000 Z
11
+ date: 2018-09-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mixlib-shellout