cassandra-driver 1.0.0.beta.2-java → 1.0.0.beta.3-java

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: 1f273c3e73482362317afef768c8bccfbe88d6a0
4
- data.tar.gz: d94cb5c4c732c8bfba726f4e87ee43a8c3f927b6
3
+ metadata.gz: 30507d23df35b3b683d9064dd63d4af9e2682ec2
4
+ data.tar.gz: b135c04a1633f21c3120b2b6c9dcbd669742ed1e
5
5
  SHA512:
6
- metadata.gz: 35193ec4431c65f84ecc1baf5271925dcfab5cdf5ece7d8fc069427f10fc255c7c47515dd47c6a58b0939dbbedda8f70768da7c1e6cbf8d45097f291d132b144
7
- data.tar.gz: 3223ac7e2459bd6c0f3ed7bbda85534284ddf88981207b3ed7aff448da78b5289fee230da6d5cc63cbbc2e947122cc779df8edd20194554c43be5e064d79f522
6
+ metadata.gz: 83d9554f95da481f110427cade444772b7ee73cce03808dd220d92115110a3b7b50bab5880f34f65dab8201b0e03779a9b8583b0cbc67ab66bea83d559f61ca4
7
+ data.tar.gz: c77a60ed7222a1a10a4e1c87b7c0e002b607ba4b09bfcd0208251ec50ac7bb38a8b431ea125090194a5b29df656d9dd048afd7e181f2e2dd54a5722253e4f742
data/README.md CHANGED
@@ -86,9 +86,9 @@ Some of the new features added to the driver have unfortunately led to changes i
86
86
 
87
87
  Current release introduces the following new features:
88
88
 
89
- * TokenAware load balancing policy
89
+ * [Token-aware load balancing policy](http://datastax.github.io/ruby-driver/features/load_balancing/token_aware/)
90
+ * [SSL encryption](http://datastax.github.io/ruby-driver/features/security/ssl_encryption/)
90
91
  * Domain names
91
- * SSL encryption
92
92
 
93
93
  ## Changelog & versioning
94
94
 
@@ -277,7 +277,9 @@ module Cassandra
277
277
  ips = ::Set.new
278
278
 
279
279
  peers.each do |data|
280
- ips << ip = peer_ip(data)
280
+ ip = peer_ip(data)
281
+ next unless ip
282
+ ips << ip
281
283
  @registry.host_found(ip, data)
282
284
  end
283
285
 
@@ -149,7 +149,7 @@ module Cassandra
149
149
  private
150
150
 
151
151
  def create_host(ip, data)
152
- Host.new(ip, data['host_id'], data['rack'], data['data_center'], data['release_version'], data['tokens'].freeze, :up)
152
+ Host.new(ip, data['host_id'], data['rack'], data['data_center'], data['release_version'], Array(data['tokens']).freeze, :up)
153
153
  end
154
154
 
155
155
  def toggle_up(host)
@@ -17,5 +17,5 @@
17
17
  #++
18
18
 
19
19
  module Cassandra
20
- VERSION = '1.0.0.beta.2'.freeze
20
+ VERSION = '1.0.0.beta.3'.freeze
21
21
  end
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cassandra-driver
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.beta.2
4
+ version: 1.0.0.beta.3
5
5
  platform: java
6
6
  authors:
7
7
  - Theo Hultberg
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-10-02 00:00:00.000000000 Z
12
+ date: 2014-10-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: ione