lxdev 0.1.6 → 0.1.7
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/lib/lxdev/main.rb +2 -2
- data/lib/lxdev/system.rb +6 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 89ef324866241a499cc2a534017f1fd7f9077283
|
4
|
+
data.tar.gz: 5b737412379553963e270bc83cef313a981c63a7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ee2d6b22de39bab310a02e2f416b169dc63b18578f92f6334f32fbc2bdf5fded3e93ab726ec4c0e7b056e12a0329a6a63f18dce693c85a5570b0dd299a3b8415
|
7
|
+
data.tar.gz: e1fe6a8b1b38faf1cb8ae31ffc3d360999cf3c889aa94dc3fcfbdc933b9f033b79cf059eed73c82fb4c410298514623c4da783454410ec35657b2d1e747c362d
|
data/lib/lxdev/main.rb
CHANGED
@@ -9,7 +9,7 @@ module LxDev
|
|
9
9
|
WHITELISTED_SUDO_COMMANDS = ["lxc", "redir", "kill"]
|
10
10
|
SHELLS = ["bash", "zsh", "sh", "csh", "tcsh", "ash"]
|
11
11
|
BOOT_TIMEOUT = 30
|
12
|
-
VERSION = '0.1.
|
12
|
+
VERSION = '0.1.7'
|
13
13
|
|
14
14
|
def initialize(config_file, state_file)
|
15
15
|
@state_file = format(".lxdev/%s", state_file)
|
@@ -290,7 +290,7 @@ module LxDev
|
|
290
290
|
redir_pids = []
|
291
291
|
ports.each do |guest, host|
|
292
292
|
puts "Forwarding #{get_container_ip}:#{guest} to local port #{host}"
|
293
|
-
pid = System.spawn_exec("sudo redir --caddr=#{get_container_ip} --cport=#{guest} --lport=#{host}")
|
293
|
+
pid = System.spawn_exec("sudo redir --caddr=#{get_container_ip} --cport=#{guest} --lport=#{host}", silent: true)
|
294
294
|
redir_pids << pid
|
295
295
|
Process.detach(pid)
|
296
296
|
end
|
data/lib/lxdev/system.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lxdev
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Christian Lønaas
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2019-
|
12
|
+
date: 2019-06-08 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: json
|
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
69
69
|
version: '0'
|
70
70
|
requirements: []
|
71
71
|
rubyforge_project:
|
72
|
-
rubygems_version: 2.5.2.
|
72
|
+
rubygems_version: 2.5.2.2
|
73
73
|
signing_key:
|
74
74
|
specification_version: 4
|
75
75
|
summary: Automagic development environment with LXD
|