cequel 1.1.0 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/Gemfile.lock +1 -1
- data/Vagrantfile +2 -2
- data/lib/cequel/metal/new_relic_instrumentation.rb +3 -1
- data/lib/cequel/version.rb +1 -1
- data/spec/support/helpers.rb +6 -1
- data/templates/config/cequel.yml +8 -9
- 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: f9085a953689716b573953d289758730b72c6952
|
4
|
+
data.tar.gz: 5c96c40d2b735f0075c6685ad5e52e45ba6a7054
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 213f188002f5b59514955bc2474a22a7427b748dc3e34c8eee7b9e23f1ed539e58e216ff6c9cf425971d57f342365deed664bdd8af42ec381496eb8cb6bdeb01
|
7
|
+
data.tar.gz: b15c63da92f2231b0ec30b9a6851a0a1bd5ffaa256c24ce4d09b96029ef0dccc00c53670d3bd349c0a52d8448a11cee060e8c7c2e42f54f1420d49e810a9260c
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
data/Vagrantfile
CHANGED
@@ -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
|
-
|
140
|
-
|
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,
|
data/lib/cequel/version.rb
CHANGED
data/spec/support/helpers.rb
CHANGED
@@ -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
|
-
|
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
|
data/templates/config/cequel.yml
CHANGED
@@ -1,19 +1,18 @@
|
|
1
1
|
<% app_name = Cequel::Record::Railtie.app_name -%>
|
2
2
|
development:
|
3
|
-
host: '127.0.0.1
|
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
|
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
|
13
|
-
- 'cass2.<%= app_name %>.biz
|
14
|
-
- 'cass3.<%= app_name %>.biz
|
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.
|
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-
|
18
|
+
date: 2014-03-17 00:00:00.000000000 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: activemodel
|