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

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: 64e457a1343d136c65ff074454ac9e0cb42d29e4
4
- data.tar.gz: 2ad5d0fc62e3e7655600de5e6096c98ec5458148
3
+ metadata.gz: dd171d621192a4a0e4bbebd4601a9e5c2dab6654
4
+ data.tar.gz: b779c047aef25ed28329f4237f677f13b985c494
5
5
  SHA512:
6
- metadata.gz: 016bd646cd22533d0b59966ff936829bfc60e785355c7badff6ac8d2d71d6be094402b4539db74460579033209d27fc521945c16b89798e4647e4a791a02d792
7
- data.tar.gz: c02fdbbd1faa6e2cacdd627d375116a5ad409ab1c430a1aa1f1ce3b2d1a71bcb7273e5676364507150e6581d409af006685d84cfae7d20904727d77382844240
6
+ metadata.gz: 97de07b2338b3d68cd89ca452121666e638775fde7237f33f3c7e2a4db4ae364ad4ce799bf30e4c671befa8dd921a141cb8980ef4d9a95009c3bd3728b1f0dd9
7
+ data.tar.gz: be2236c32cf4dabbcb4ea7ed8597f8dec6cf03ef55cabbbe7b5bf13a20150cd854382d8609dd91ec0f0f2e9d8759890b3cfbf3a5e291e7aadceb7032fb6c980e
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
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: ruby
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
  prerelease: false