cequel 1.1.0 → 1.1.1

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: d6eac18c5d802d417f619e19c31970ba843cd6ca
4
- data.tar.gz: 904a86db08bb93edb3484ecc34edefa4e86c245b
3
+ metadata.gz: f9085a953689716b573953d289758730b72c6952
4
+ data.tar.gz: 5c96c40d2b735f0075c6685ad5e52e45ba6a7054
5
5
  SHA512:
6
- metadata.gz: 2eb1fe18077241a6002f25e4853cde91f5b0937e0c7c42f5625052473006edfa722c461c046fc4713fd1010aa71bfe23a811e335761085f1963c21e9dc79121f
7
- data.tar.gz: b20744caf7e47b951eae94437daa5a2fb7df8a835d0532b4d550bd78f9745f5d57def94c98001e510baba8d61de5823c7a55e8b2fdb78528ef76cf8b348740b6
6
+ metadata.gz: 213f188002f5b59514955bc2474a22a7427b748dc3e34c8eee7b9e23f1ed539e58e216ff6c9cf425971d57f342365deed664bdd8af42ec381496eb8cb6bdeb01
7
+ data.tar.gz: b15c63da92f2231b0ec30b9a6851a0a1bd5ffaa256c24ce4d09b96029ef0dccc00c53670d3bd349c0a52d8448a11cee060e8c7c2e42f54f1420d49e810a9260c
@@ -1,3 +1,8 @@
1
+ ## 1.1.1
2
+
3
+ * Specify NewRelicInstrumentation with full namespace
4
+ * Update config generator template for native protocol
5
+
1
6
  ## 1.1.0
2
7
 
3
8
  * Switch to `cql-rb` (CQL native protocol) from `cassandra-cql` (Thrift
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cequel (1.1.0)
4
+ cequel (1.1.1)
5
5
  activemodel (>= 3.1)
6
6
  cql-rb
7
7
 
@@ -136,8 +136,8 @@ exec /opt/apache-cassandra-$1/bin/cassandra" > /etc/init/cassandra.conf
136
136
  service cassandra start
137
137
  SH
138
138
 
139
- %w(2.0.4 2.0.3 2.0.2 2.0.1 2.0.0 1.2.13 1.2.12 1.2.11 1.2.10 1.2.9 1.2.8
140
- 1.2.7 1.2.6 1.2.5 1.2.4 1.2.3 1.2.2 1.2.1 1.2.0).each do |version|
139
+ versions = (0..6).map { |p| "2.0.#{p}" } + (0..15).map { |p| "1.2.#{p}" }
140
+ versions.each do |version|
141
141
  java_version = version =~ /^1/ ? '6' : '7'
142
142
  config.vm.define version do |machine|
143
143
  machine.vm.provision :shell, inline: provision,
@@ -24,4 +24,6 @@ module Cequel
24
24
  end
25
25
  end
26
26
 
27
- Cequel::Metal::Keyspace.module_eval { include NewRelicInstrumentation }
27
+ Cequel::Metal::Keyspace.module_eval do
28
+ include Cequel::Metal::NewRelicInstrumentation
29
+ end
@@ -1,5 +1,5 @@
1
1
  # -*- encoding : utf-8 -*-
2
2
  module Cequel
3
3
  # The current version of the library
4
- VERSION = '1.1.0'
4
+ VERSION = '1.1.1'
5
5
  end
@@ -54,6 +54,7 @@ module Cequel
54
54
  def self.cequel
55
55
  @cequel ||= Cequel.connect(
56
56
  host: host,
57
+ port: port,
57
58
  keyspace: keyspace_name
58
59
  ).tap do |cequel|
59
60
  if ENV['CEQUEL_LOG_QUERIES']
@@ -65,7 +66,11 @@ module Cequel
65
66
  end
66
67
 
67
68
  def self.host
68
- ENV['CEQUEL_TEST_HOST'] || '127.0.0.1:9042'
69
+ '127.0.0.1'
70
+ end
71
+
72
+ def self.port
73
+ ENV['CEQUEL_TEST_PORT'] || '9042'
69
74
  end
70
75
 
71
76
  def self.legacy_host
@@ -1,19 +1,18 @@
1
1
  <% app_name = Cequel::Record::Railtie.app_name -%>
2
2
  development:
3
- host: '127.0.0.1:9042'
3
+ host: '127.0.0.1'
4
+ port: 9042
4
5
  keyspace: <%= app_name %>_development
5
6
 
6
7
  test:
7
- host: '127.0.0.1:9042'
8
+ host: '127.0.0.1'
9
+ port: 9042
8
10
  keyspace: <%= app_name %>_test
9
11
 
10
12
  production:
11
13
  hosts:
12
- - 'cass1.<%= app_name %>.biz:9042'
13
- - 'cass2.<%= app_name %>.biz:9042'
14
- - 'cass3.<%= app_name %>.biz:9042'
14
+ - 'cass1.<%= app_name %>.biz'
15
+ - 'cass2.<%= app_name %>.biz'
16
+ - 'cass3.<%= app_name %>.biz'
17
+ port: 9042
15
18
  keyspace: <%= app_name %>_production
16
- thrift:
17
- retries: 10
18
- timeout: 15
19
- connect_timeout: 15
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cequel
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mat Brown
@@ -15,7 +15,7 @@ authors:
15
15
  autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
- date: 2014-03-16 00:00:00.000000000 Z
18
+ date: 2014-03-17 00:00:00.000000000 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: activemodel