aerospike 1.0.5 → 1.0.6
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5c65165bc4d0069cb47a010e127adfe9a5cefa70
|
4
|
+
data.tar.gz: 79bd81c9d9fead06a165089d0d0822667f05739c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6880c3734a0b15cd980a089fad8ce994a5e26127d002a88922b750dcc4d94b7ca6e0d020f8c2d932eb122033a7a308a1720d8e5759da0d39cf9c31595ce9f132
|
7
|
+
data.tar.gz: 03c4d45190498dc3a1065abbe76f26b2d7c0dd5906c3744fd4c3a3e75b02167a87884816c2b2632e425765651d83f118708eace0ed17dc6c63f3be114ec5e1df
|
data/CHANGELOG.md
CHANGED
@@ -34,7 +34,15 @@ module Aerospike
|
|
34
34
|
end
|
35
35
|
|
36
36
|
def set_aliases(host)
|
37
|
-
|
37
|
+
is_ip = !!((host =~ Resolv::IPv4::Regex) || (host =~ Resolv::IPv6::Regex))
|
38
|
+
|
39
|
+
if is_ip
|
40
|
+
# don't try to resolve IP addresses. May fail in different OS or network setups
|
41
|
+
addresses = host
|
42
|
+
else
|
43
|
+
addresses = Resolv.getaddresses(host.name)
|
44
|
+
end
|
45
|
+
|
38
46
|
aliases = []
|
39
47
|
addresses.each do |addr|
|
40
48
|
aliases << Host.new(addr, host.port)
|
@@ -94,7 +94,7 @@ module Aerospike
|
|
94
94
|
if @statement.function_args && @statement.function_args.length > 0
|
95
95
|
functionArgBuffer = Value.of(@statement.function_args).to_bytes
|
96
96
|
else
|
97
|
-
functionArgBuffer =
|
97
|
+
functionArgBuffer = ''
|
98
98
|
end
|
99
99
|
@data_offset += FIELD_HEADER_SIZE + functionArgBuffer.bytesize
|
100
100
|
fieldCount += 4
|
data/lib/aerospike/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aerospike
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Khosrow Afroozeh
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-04-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: msgpack
|