specjour 0.1.13 → 0.1.14
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/specjour.rb +2 -2
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.14
|
data/lib/specjour.rb
CHANGED
@@ -23,7 +23,7 @@ module Specjour
|
|
23
23
|
autoload :RsyncDaemon, 'specjour/rsync_daemon'
|
24
24
|
autoload :Worker, 'specjour/worker'
|
25
25
|
|
26
|
-
VERSION = "0.1.
|
26
|
+
VERSION = "0.1.14".freeze
|
27
27
|
|
28
28
|
class Error < StandardError; end
|
29
29
|
|
@@ -42,6 +42,6 @@ module Specjour
|
|
42
42
|
end
|
43
43
|
|
44
44
|
def self.ip_from_hostname(hostname)
|
45
|
-
Socket.getaddrinfo(hostname, nil).
|
45
|
+
Socket.getaddrinfo(hostname, nil, Socket::AF_INET, Socket::SOCK_STREAM).first.fetch(3)
|
46
46
|
end
|
47
47
|
end
|