docker-cli 0.5.2 → 0.5.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: df550139c4b786758da9fafa9edfaed8513e3c2dbaa8cac36158fbe2867295da
4
- data.tar.gz: facc5520660695846137e07f7df389ff628dfce6c06526a6a8598ca0b388339b
3
+ metadata.gz: b234371c64bfb6a69ca9cf2a4a43541a67f58c8b6ce54fb5faea454e0d4e6304
4
+ data.tar.gz: efa05c9e71c1453bf9158231ceb1a8d787002db490f35f5f5870e6c7811aea17
5
5
  SHA512:
6
- metadata.gz: 5277e725941ff7d559e6fe4e8bed29c93391e1fa4f85a7bfdd7ba9db2159aa0cae57d34632ca756c1dfe3bbf43c38ee4219de1fe8c31b9dcf32d1a874aa81128
7
- data.tar.gz: da0cdf7d7601335c7e7b1ae31e4a0dce66c443b9fa710258dffb0a4c4126c12bd336ed72da4d7da87794698cf7479940a775898c6eed25d234b8c7d6b776b2fb
6
+ metadata.gz: d968c60f3d495a8740db3594fefef554e6d157343382201878f22a68275230d0e309e4c74333fec705ce0008a70871c7f16bd25b3ea082b5b1adb2cd700ac2a9
7
+ data.tar.gz: 292c4166ab118cadb16b017fc71d92d0c55e91b979985335f7a809d24a42bc03aa61f194fe9e7a8201105d3e71365d7b6764f7f8d2d973cd2caa401f25d75d25
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- docker-cli (0.5.2)
4
+ docker-cli (0.5.3)
5
5
  colorize (~> 1.1)
6
6
  ptools (~> 1.4.3)
7
7
  teLogger (~> 0.2)
@@ -13,7 +13,7 @@ GEM
13
13
  remote: https://rubygems.org/
14
14
  specs:
15
15
  colorize (1.1.0)
16
- diff-lcs (1.5.0)
16
+ diff-lcs (1.5.1)
17
17
  git_cli (0.13.9)
18
18
  ptools (~> 1.4.0)
19
19
  teLogger (> 0.2)
@@ -21,7 +21,7 @@ GEM
21
21
  pastel (0.8.0)
22
22
  tty-color (~> 0.5)
23
23
  ptools (1.4.3)
24
- rake (13.1.0)
24
+ rake (13.2.1)
25
25
  release-gem (0.3.3)
26
26
  colorize (~> 1.1)
27
27
  git_cli (~> 0.13)
@@ -30,19 +30,19 @@ GEM
30
30
  toolrack (~> 0.23)
31
31
  tty-command (~> 0.10)
32
32
  tty-prompt (~> 0.23)
33
- rspec (3.12.0)
34
- rspec-core (~> 3.12.0)
35
- rspec-expectations (~> 3.12.0)
36
- rspec-mocks (~> 3.12.0)
37
- rspec-core (3.12.2)
38
- rspec-support (~> 3.12.0)
39
- rspec-expectations (3.12.3)
33
+ rspec (3.13.0)
34
+ rspec-core (~> 3.13.0)
35
+ rspec-expectations (~> 3.13.0)
36
+ rspec-mocks (~> 3.13.0)
37
+ rspec-core (3.13.0)
38
+ rspec-support (~> 3.13.0)
39
+ rspec-expectations (3.13.0)
40
40
  diff-lcs (>= 1.2.0, < 2.0)
41
- rspec-support (~> 3.12.0)
42
- rspec-mocks (3.12.6)
41
+ rspec-support (~> 3.13.0)
42
+ rspec-mocks (3.13.0)
43
43
  diff-lcs (>= 1.2.0, < 2.0)
44
- rspec-support (~> 3.12.0)
45
- rspec-support (3.12.1)
44
+ rspec-support (~> 3.13.0)
45
+ rspec-support (3.13.1)
46
46
  teLogger (0.2.2)
47
47
  toolrack (0.24.2)
48
48
  tty-color (0.6.0)
@@ -139,6 +139,7 @@ module Docker
139
139
 
140
140
  cmd << process_mount(opts)
141
141
  cmd << process_port(opts)
142
+ cmd << process_network(opts)
142
143
 
143
144
  if opts[:match_user] == true
144
145
  ui = UserInfo.user_info
@@ -286,6 +287,14 @@ module Docker
286
287
 
287
288
  end
288
289
 
290
+ def process_network(opts)
291
+ if not_empty?(opts) and not_empty?(opts[:network])
292
+ "--network=#{opts[:network]}"
293
+ else
294
+ ""
295
+ end
296
+ end
297
+
289
298
  def logger
290
299
  Cli.logger(:cmdFact)
291
300
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Docker
4
4
  module Cli
5
- VERSION = "0.5.2"
5
+ VERSION = "0.5.3"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: docker-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2
4
+ version: 0.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ian
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-01-17 00:00:00.000000000 Z
11
+ date: 2024-04-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: toolrack
@@ -159,7 +159,7 @@ files:
159
159
  homepage: ''
160
160
  licenses: []
161
161
  metadata: {}
162
- post_install_message:
162
+ post_install_message:
163
163
  rdoc_options: []
164
164
  require_paths:
165
165
  - lib
@@ -174,8 +174,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
174
174
  - !ruby/object:Gem::Version
175
175
  version: '0'
176
176
  requirements: []
177
- rubygems_version: 3.5.3
178
- signing_key:
177
+ rubygems_version: 3.5.1
178
+ signing_key:
179
179
  specification_version: 4
180
180
  summary: ''
181
181
  test_files: []