enviroblyd 0.4.4 → 0.4.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 45118408246d815ecd5132ae18a22cc3fa33f4106b1a825984285c58d1c0129e
4
- data.tar.gz: a948c9c4ffd8f1bbda57a92d3acf63b4abdf653d737fa36ddb4f3c7775301244
3
+ metadata.gz: 794c9805c66ea61e73486ccc08f71077daa2e2de80e6f9c5d510ff62f038f9f5
4
+ data.tar.gz: 40f92e9aafc2351298c65f71ee251eb766a31abc0835ac3170ceb257ba854bfe
5
5
  SHA512:
6
- metadata.gz: c0016f127f30a58c53052664526b1b7a5da5cd28c7a539e7e36a559c2f0ab530d9bf48ab1340986e671547c89d2c38e03d901264340c4f7825b15edf611d753c
7
- data.tar.gz: 57cf14b9e65ccaeb7a84a2681488815fe7ba0f7332edb3186dfdddf66bc6ec80e3a35b6287e48846e439e833ea578963ced5c1693a6856e7db394a5fabf94c5c
6
+ metadata.gz: 4d13d6792c28d62cd0ccf872e2368dc9396523cf59d3b67b0f471e8315dad6c66a3a7f8be3d507d2e7d8ef1bae7df06c1397b587a2b56de757426d448693d4be
7
+ data.tar.gz: 8e0641adc0ef80bac699bd52702cbccb2ee7cdbe3d5b2d41d19f7f1e3baa27e10c6423d57a0a571d61c9f22c9f7bb088d33b8014f38067831d5bd1083b4d24b6
data/bin/enviroblyd CHANGED
File without changes
@@ -27,17 +27,17 @@ class Enviroblyd::Daemon
27
27
  begin
28
28
  JSON.parse client.recv(MAX_MESSAGE_SIZE)
29
29
  rescue
30
- :invalid_json
30
+ nil
31
31
  end
32
32
 
33
- if params == :invalid_json
33
+ if params.nil?
34
34
  client.puts "Error parsing JSON"
35
35
  else
36
36
  client.puts "OK"
37
37
  end
38
38
 
39
39
  client.close
40
- Enviroblyd::Command.run(params)
40
+ Enviroblyd::Command.run(params) if params
41
41
  end
42
42
  end
43
43
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Enviroblyd
4
- VERSION = "0.4.4"
4
+ VERSION = "0.4.5"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: enviroblyd
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.4
4
+ version: 0.4.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robert Starsi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-09-05 00:00:00.000000000 Z
11
+ date: 2024-09-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor