lxdev 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/lxdev/main.rb +2 -2
  3. metadata +6 -7
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 188423201d5b4fe029a2384edd1bba6384c35d9054f72db0ea02b02c7aec1c37
4
- data.tar.gz: 6cac980901cb2ff633067fb600c1064c3136a48ccce9d50f708c54104efa5d4e
3
+ metadata.gz: cb972fcc30452bfe0545f20313f64c1d81b0f55ee13355d4db2bc38feb9254ee
4
+ data.tar.gz: 27aeb08fc416c2eca7f34c773edb4204ff545103886034f9de01194666aa26b7
5
5
  SHA512:
6
- metadata.gz: b4f77338f7f084b345df2538fdd555c8581d68ebb7ab2a80c4a37dece6aabf196094d1c7310cbc5e19d0ce6d8aadec44ee0150160961e71fb634eda30b3a98d2
7
- data.tar.gz: 27ba6483e613dffdbaa2386661ae2533edcff4de5c296d4b223edc068103408dc042414c9fba1f92086fcb1f99a27b992ee0ce105c9c370163a71101dcd5c67a
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.0'
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.exists?(@state_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.0
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: 2020-03-23 00:00:00.000000000 Z
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
- rubyforge_project:
72
- rubygems_version: 2.7.6
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: []