lxdev 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/lxdev/main.rb +2 -2
- metadata +6 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cb972fcc30452bfe0545f20313f64c1d81b0f55ee13355d4db2bc38feb9254ee
|
4
|
+
data.tar.gz: 27aeb08fc416c2eca7f34c773edb4204ff545103886034f9de01194666aa26b7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c02623cee7ee35815dc6846bbc3a9b313610612b0f5600620ca6d1d9fc6b0a4da7f02b5005ed6c180fe1b9283a7111a20c226ececd332d262213b16a43ff2433
|
7
|
+
data.tar.gz: 59d924897d54fe732b40c68f92c4c0fd03044ede08d0b672ef3c1f340b2ba64f42c7bb452563f332937b35e8923dfff4a77503ddc3763791159e9eb25d4233a7
|
data/lib/lxdev/main.rb
CHANGED
@@ -10,7 +10,7 @@ module LxDev
|
|
10
10
|
REQUIRED_COMMANDS = ["lxc", "redir", "kill"]
|
11
11
|
SHELLS = ["bash", "zsh", "sh", "csh", "tcsh", "ash"]
|
12
12
|
BOOT_TIMEOUT = 30
|
13
|
-
VERSION = '0.2.
|
13
|
+
VERSION = '0.2.1'
|
14
14
|
|
15
15
|
def initialize(config_file, state_file, lxc_command)
|
16
16
|
@state_file = format(".lxdev/%s", state_file)
|
@@ -230,7 +230,7 @@ module LxDev
|
|
230
230
|
end
|
231
231
|
|
232
232
|
def remove_state
|
233
|
-
File.delete(@state_file) if File.
|
233
|
+
File.delete(@state_file) if File.exist?(@state_file)
|
234
234
|
@state = {}
|
235
235
|
end
|
236
236
|
|
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lxdev
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Christian Lønaas
|
8
8
|
- Eivind Mork
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2024-05-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: json
|
@@ -53,7 +53,7 @@ homepage: https://github.com/GyldendalDigital/lxdev
|
|
53
53
|
licenses:
|
54
54
|
- MIT
|
55
55
|
metadata: {}
|
56
|
-
post_install_message:
|
56
|
+
post_install_message:
|
57
57
|
rdoc_options: []
|
58
58
|
require_paths:
|
59
59
|
- lib
|
@@ -68,9 +68,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
68
68
|
- !ruby/object:Gem::Version
|
69
69
|
version: '0'
|
70
70
|
requirements: []
|
71
|
-
|
72
|
-
|
73
|
-
signing_key:
|
71
|
+
rubygems_version: 3.4.20
|
72
|
+
signing_key:
|
74
73
|
specification_version: 4
|
75
74
|
summary: Automagic development environment with LXD
|
76
75
|
test_files: []
|