dockerun 0.3.4 → 0.3.5
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 +4 -4
- data/.release_history.yml +2 -0
- data/Gemfile.lock +13 -4
- data/Rakefile +1 -0
- data/dockerun.gemspec +1 -0
- data/lib/dockerun/command/run.rb +0 -3
- data/lib/dockerun/config.rb +6 -5
- data/lib/dockerun/docker_image_helper.rb +3 -1
- data/lib/dockerun/version.rb +1 -1
- metadata +16 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e780ee279842afa1d97ce5bd7aa09961d35f8fd5510ff86551d8701ee7d33475
|
|
4
|
+
data.tar.gz: 3a3f2e91045841ef670b4a1e01d28ccd75f0f5d7452a7e25807ac2b1a76f2468
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: da62e413cd4d6dc7c78402cd5a48b31ad7896d98266d64678b3cfea24888140a1fa2e3162f9d7316852d0886288f3a3362f61c11c39293b15c797fea97e2eb3d
|
|
7
|
+
data.tar.gz: 97bfaf132fd15ee8dbee661b9fc5e274019f7c31e6d91480fcb9212e90d84d595d8a359e37f4336c4cc2b15877178e0ad5f6ed4a1409b0140836e4a3f0e7d495
|
data/.release_history.yml
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
dockerun (0.3.
|
|
4
|
+
dockerun (0.3.5)
|
|
5
5
|
colorize
|
|
6
6
|
docker-cli (>= 0.3.1)
|
|
7
7
|
teLogger
|
|
@@ -27,7 +27,7 @@ GEM
|
|
|
27
27
|
toolrack
|
|
28
28
|
tty-command
|
|
29
29
|
tty-prompt
|
|
30
|
-
git_cli (0.11.
|
|
30
|
+
git_cli (0.11.4)
|
|
31
31
|
gvcs
|
|
32
32
|
ptools (~> 1.4.0)
|
|
33
33
|
teLogger
|
|
@@ -36,11 +36,19 @@ GEM
|
|
|
36
36
|
teLogger
|
|
37
37
|
toolrack
|
|
38
38
|
tty-prompt
|
|
39
|
-
gvcs (0.1.
|
|
39
|
+
gvcs (0.1.2)
|
|
40
40
|
pastel (0.8.0)
|
|
41
41
|
tty-color (~> 0.5)
|
|
42
42
|
ptools (1.4.3)
|
|
43
43
|
rake (13.0.6)
|
|
44
|
+
release-gem (0.1.18)
|
|
45
|
+
colorize
|
|
46
|
+
git_cli
|
|
47
|
+
gvcs
|
|
48
|
+
teLogger
|
|
49
|
+
toolrack
|
|
50
|
+
tty-command
|
|
51
|
+
tty-prompt
|
|
44
52
|
rspec (3.12.0)
|
|
45
53
|
rspec-core (~> 3.12.0)
|
|
46
54
|
rspec-expectations (~> 3.12.0)
|
|
@@ -55,7 +63,7 @@ GEM
|
|
|
55
63
|
rspec-support (~> 3.12.0)
|
|
56
64
|
rspec-support (3.12.0)
|
|
57
65
|
teLogger (0.2.2)
|
|
58
|
-
toolrack (0.
|
|
66
|
+
toolrack (0.22.1)
|
|
59
67
|
tty-color (0.6.0)
|
|
60
68
|
tty-command (0.10.1)
|
|
61
69
|
pastel (~> 0.8)
|
|
@@ -79,6 +87,7 @@ DEPENDENCIES
|
|
|
79
87
|
devops_assist
|
|
80
88
|
dockerun!
|
|
81
89
|
rake (~> 13.0)
|
|
90
|
+
release-gem
|
|
82
91
|
rspec (~> 3.0)
|
|
83
92
|
|
|
84
93
|
BUNDLED WITH
|
data/Rakefile
CHANGED
data/dockerun.gemspec
CHANGED
data/lib/dockerun/command/run.rb
CHANGED
|
@@ -115,9 +115,6 @@ module Dockerun
|
|
|
115
115
|
when :add_to_bundle?
|
|
116
116
|
cli.yes?("\n Add directory '#{val.first}' to bundler config local? ".yellow)
|
|
117
117
|
|
|
118
|
-
when :add_mount_to_container
|
|
119
|
-
config.add_mount_to_container(imageName, *val)
|
|
120
|
-
|
|
121
118
|
when :add_more_volume_mapping?
|
|
122
119
|
cli.yes?("\n Add more volume mapping? ".yellow)
|
|
123
120
|
|
data/lib/dockerun/config.rb
CHANGED
|
@@ -10,12 +10,13 @@ module Dockerun
|
|
|
10
10
|
def self.from_storage
|
|
11
11
|
path = File.join(Dir.getwd, FILENAME)
|
|
12
12
|
if File.exist?(path)
|
|
13
|
-
cont = nil
|
|
14
|
-
File.open(path,"r") do |f|
|
|
15
|
-
|
|
16
|
-
end
|
|
13
|
+
#cont = nil
|
|
14
|
+
#File.open(path,"r") do |f|
|
|
15
|
+
# cont = f.read
|
|
16
|
+
#end
|
|
17
17
|
|
|
18
|
-
Config.new(YAML.load(cont), true)
|
|
18
|
+
#Config.new(YAML.load(cont), true)
|
|
19
|
+
Config.new(YAML.unsafe_load_file(path), true)
|
|
19
20
|
else
|
|
20
21
|
Config.new({}, false)
|
|
21
22
|
end
|
|
@@ -239,7 +239,6 @@ module Dockerun
|
|
|
239
239
|
@shared_dirs[File.basename(dest)] = dest
|
|
240
240
|
end
|
|
241
241
|
|
|
242
|
-
block.call(:add_mount_to_container, container_name, mount.last)
|
|
243
242
|
repeat = block.call(:add_more_volume_mapping?)
|
|
244
243
|
break if not repeat
|
|
245
244
|
|
|
@@ -248,6 +247,9 @@ module Dockerun
|
|
|
248
247
|
end
|
|
249
248
|
|
|
250
249
|
|
|
250
|
+
#
|
|
251
|
+
# Try to run once to install bundle config --local and create alias during image building
|
|
252
|
+
#
|
|
251
253
|
insideDockerConfig = File.join(File.dirname(__FILE__),"..","..","template","setup_ruby_devenv.rb.erb")
|
|
252
254
|
if File.exist?(insideDockerConfig)
|
|
253
255
|
|
data/lib/dockerun/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: dockerun
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ian
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-04-
|
|
11
|
+
date: 2023-04-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: toolrack
|
|
@@ -108,6 +108,20 @@ dependencies:
|
|
|
108
108
|
- - ">="
|
|
109
109
|
- !ruby/object:Gem::Version
|
|
110
110
|
version: '0'
|
|
111
|
+
- !ruby/object:Gem::Dependency
|
|
112
|
+
name: release-gem
|
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
|
114
|
+
requirements:
|
|
115
|
+
- - ">="
|
|
116
|
+
- !ruby/object:Gem::Version
|
|
117
|
+
version: '0'
|
|
118
|
+
type: :development
|
|
119
|
+
prerelease: false
|
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
121
|
+
requirements:
|
|
122
|
+
- - ">="
|
|
123
|
+
- !ruby/object:Gem::Version
|
|
124
|
+
version: '0'
|
|
111
125
|
description: ''
|
|
112
126
|
email:
|
|
113
127
|
- cameronian0@protonmail.com
|