sessionm-cassandra_object 4.0.21 → 4.0.22
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4c6b1adc45f37b9169f14ed31f81c709ce12a554
|
4
|
+
data.tar.gz: 6fda0cf21694e605f856ed623bd52b47562e5015
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6f8bed11092790fb5652bcf796cf52cd9aee39d14aa700ab1dbabeae69dd3ed36535d0e2fc9598f9d24b4cbd380906584850b227c98d5e78e4898cc36cc2f90d
|
7
|
+
data.tar.gz: f734123a6a49d94544e63b671f025293bec77a988feafd8a6117fe588cf1220e73144c5088ac6ce9c1a3f50a0acae0d9a895f0d15d510a9097a85449ce8eb711
|
@@ -81,12 +81,16 @@ module CassandraObject
|
|
81
81
|
session.close
|
82
82
|
end
|
83
83
|
|
84
|
-
def execute(
|
85
|
-
|
84
|
+
def execute(query, options={})
|
85
|
+
ActiveSupport::Notifications.instrument('query.cassandra', query: query, options: options, async: false) do
|
86
|
+
session.execute query, options
|
87
|
+
end
|
86
88
|
end
|
87
89
|
|
88
|
-
def execute_async(
|
89
|
-
|
90
|
+
def execute_async(query, options={})
|
91
|
+
ActiveSupport::Notifications.instrument('query.cassandra', query: query, options: options, async: true) do
|
92
|
+
session.execute_async query, options
|
93
|
+
end
|
90
94
|
end
|
91
95
|
|
92
96
|
def insert(column_family, key, values, opts=nil)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sessionm-cassandra_object
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0.
|
4
|
+
version: 4.0.22
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Doug Youch
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-
|
12
|
+
date: 2017-04-19 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: Cassandra ActiveModel
|
15
15
|
email: doug@sessionm.com
|