devkitkat 0.1.24 → 0.1.25
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/devkitkat/config.rb +0 -4
- data/lib/devkitkat/service/driver/docker/container.rb +2 -4
- data/lib/devkitkat/service/driver/docker.rb +1 -5
- data/lib/devkitkat/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 421aca57d9ed36e6ed5bc0555ece96e45ba98546c7df5ae643235648fd2978c8
|
4
|
+
data.tar.gz: ffa96bdf80c4351dd19caaf3f85f57b3d4505c994c3e687755aafcb14a4599d8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fec93d309ccd8de925dc2f7c055fb86573c6ec2adb22a10946c04b4a10b24afb12601540d914df0b86e259777e30ac5718fb5878f264b9fb33e324354f168a2b
|
7
|
+
data.tar.gz: 36a6194e6db9d2464f8f24cf31f5c686ea2c83827bb24e3328ca1d023c546f1848ce4e73ce91979d8cfd531ce28be615a8ecd9797b131d027f0404edcd1934ed
|
data/Gemfile.lock
CHANGED
data/lib/devkitkat/config.rb
CHANGED
@@ -11,10 +11,10 @@ module Devkitkat
|
|
11
11
|
|
12
12
|
def start
|
13
13
|
if @container = find
|
14
|
-
container.
|
14
|
+
container.restart
|
15
15
|
else
|
16
16
|
@container = create
|
17
|
-
container.
|
17
|
+
container.restart
|
18
18
|
create_host_user
|
19
19
|
end
|
20
20
|
end
|
@@ -136,8 +136,6 @@ module Devkitkat
|
|
136
136
|
end
|
137
137
|
|
138
138
|
def create_host_user
|
139
|
-
return if config.machine_root_user
|
140
|
-
|
141
139
|
prepare!(['addgroup', '--gid', group_id, user_name])
|
142
140
|
|
143
141
|
prepare!(['adduser',
|
@@ -14,11 +14,7 @@ module Devkitkat
|
|
14
14
|
def execute(script_file)
|
15
15
|
new_path = rewrite_root_path!(script_file)
|
16
16
|
|
17
|
-
|
18
|
-
container.exec_as_root([new_path])
|
19
|
-
else
|
20
|
-
container.exec([new_path])
|
21
|
-
end
|
17
|
+
container.exec([new_path])
|
22
18
|
end
|
23
19
|
|
24
20
|
def cleanup
|
data/lib/devkitkat/version.rb
CHANGED