sessionm-cassandra_object 4.0.15 → 4.0.16
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: 38032c9f5ec7ce780e9e291c07b975220a3121a5
|
4
|
+
data.tar.gz: 1ff9c90df89d7f0fecc046e8fa7fa86987996367
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 433522051e88b690b42a909db11598d1417c66ab70a2ca1ee007ceee5f5a7cc89ede928d79b116ed866e8d2641cec718a2d6647484886cd07f7ea48b3c2618b9
|
7
|
+
data.tar.gz: 48342a774013ccc418e5ba43f80093f60754a7452cd06c3ac500161dd1202ea8d6e09a5fefa498c259468b0de4f751a7a5113f68e9e63e2d13dc5665fc5413c1
|
@@ -126,6 +126,14 @@ module CassandraObject
|
|
126
126
|
columns.map { |column| data[column.to_s] }
|
127
127
|
end
|
128
128
|
|
129
|
+
def get_columns_as_hash(column_family, key, columns, opts)
|
130
|
+
get column_family, key, columns, opts
|
131
|
+
end
|
132
|
+
|
133
|
+
def get_value(column_family, key, column, consistency)
|
134
|
+
get column_family, key, [column], :consistency => consistency
|
135
|
+
end
|
136
|
+
|
129
137
|
def add(column_family, key, by, fields, opts=nil)
|
130
138
|
async = opts.try(:[], :async)
|
131
139
|
fields = [fields] unless fields.is_a?(Array)
|
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.16
|
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: 2016-
|
12
|
+
date: 2016-04-22 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: Cassandra ActiveModel
|
15
15
|
email: doug@sessionm.com
|