aerospike 1.0.7 → 1.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/lib/aerospike.rb +1 -0
- data/lib/aerospike/cluster/cluster.rb +3 -1
- data/lib/aerospike/policy/write_policy.rb +1 -1
- data/lib/aerospike/query/filter.rb +8 -0
- data/lib/aerospike/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f3f66f36fdd4739d6a3222cf5cd99f3190ae2c23
|
4
|
+
data.tar.gz: 89499baaaa2e0e6ece1d841cead28702904ced4f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: da82349586ff80ef7f8efbf333def86d304dd549e929db3cf2d13229131c585390f5e9b282b1852b8f85af0fb2202ba2862e95a580753542cceeccfa74614edf
|
7
|
+
data.tar.gz: f0fe643fec93d4bc5cabeb48ae0e0a7ef8fc4090bc3ec8324181834c25298c3206f873d542a216368e6f04fe1eaba5357f842404d6d59d7ca92a9c6cd68ffb54
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,13 @@
|
|
1
|
+
## July 23 2015 (1.0.8)
|
2
|
+
|
3
|
+
Minor fix release.
|
4
|
+
|
5
|
+
* **Fixes**:
|
6
|
+
|
7
|
+
* Fixes an issue in write policy that would use an undefined variable if `:send_key` isn't `nil`.
|
8
|
+
|
9
|
+
* Fixes an issue in cluster.closed logic.
|
10
|
+
|
1
11
|
## May 15 2015 (1.0.7)
|
2
12
|
|
3
13
|
Minor fixes.
|
data/lib/aerospike.rb
CHANGED
@@ -35,7 +35,7 @@ module Aerospike
|
|
35
35
|
@cluster_nodes = []
|
36
36
|
@partition_write_map = {}
|
37
37
|
@node_index = Atomic.new(0)
|
38
|
-
@closed = Atomic.new(
|
38
|
+
@closed = Atomic.new(true)
|
39
39
|
@mutex = Mutex.new
|
40
40
|
|
41
41
|
# setup auth info for cluster
|
@@ -271,6 +271,8 @@ module Aerospike
|
|
271
271
|
thr.kill if thr.alive?
|
272
272
|
end
|
273
273
|
|
274
|
+
@closed.value = false if @cluster_nodes.length > 0
|
275
|
+
|
274
276
|
end
|
275
277
|
|
276
278
|
def set_partitions(part_map)
|
@@ -57,7 +57,7 @@ module Aerospike
|
|
57
57
|
|
58
58
|
# Send user defined key in addition to hash digest on a record put.
|
59
59
|
# The default is to send the user defined key.
|
60
|
-
@send_key = opt[:send_key].nil? ? true : send_key
|
60
|
+
@send_key = opt[:send_key].nil? ? true : opt[:send_key]
|
61
61
|
|
62
62
|
self
|
63
63
|
end
|
@@ -53,6 +53,14 @@ module Aerospike
|
|
53
53
|
offset
|
54
54
|
end
|
55
55
|
|
56
|
+
#
|
57
|
+
# Show the filter as String. This is util to show filters in logs.
|
58
|
+
#
|
59
|
+
def to_s
|
60
|
+
return "#{@name} = #{@begin}" if @begin == @end
|
61
|
+
"#{@name} = #{@begin} - #{@end}"
|
62
|
+
end
|
63
|
+
|
56
64
|
private
|
57
65
|
|
58
66
|
def initialize(bin_name, begin_value, end_value)
|
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.8
|
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-07-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: msgpack
|