sparoid 1.0.14 → 1.0.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/sparoid.rb +2 -2
- data/lib/sparoid/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a696807043c46908b4bbeeb6e8636e33cea95673930442bfc24a3151fc190d28
|
4
|
+
data.tar.gz: 5e2b64879d91183c6248e28f7fb6faf95ad8f249983f1d675ea17a4c74970758
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a9a278830be195e3534b076860bd775406bfd338dae9f5e1083f0bf7f66c17d779c169b5dde140e54690b544363a64538f91f108b3178f053714a362d960d1a2
|
7
|
+
data.tar.gz: 32a8a77fb600b7f294b57a30f290e4fa9541ce27a94672173788db61211e2d9101ff7867476cbba08be3e38619cd5709534b2ad8caa896a6396e7280c6c03f51
|
data/CHANGELOG.md
CHANGED
data/lib/sparoid.rb
CHANGED
@@ -41,7 +41,7 @@ module Sparoid
|
|
41
41
|
|
42
42
|
private
|
43
43
|
|
44
|
-
def sendmsg(host, port, data)
|
44
|
+
def sendmsg(host, port, data) # rubocop:disable Metrics/MethodLength
|
45
45
|
ok = false
|
46
46
|
UDPSocket.open do |socket|
|
47
47
|
Resolv.each_address(host) do |ip|
|
@@ -52,7 +52,7 @@ module Sparoid
|
|
52
52
|
warn "Sparoid error: #{e.message}"
|
53
53
|
end
|
54
54
|
end
|
55
|
-
|
55
|
+
raise Error, "Sparoid failed to resolv #{host}" unless ok
|
56
56
|
end
|
57
57
|
|
58
58
|
def encrypt(key, data)
|
data/lib/sparoid/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sparoid
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Carl Hörberg
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-08-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|