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: 9dcee4e003abd64bad04d78620d2fc05160c8edd
4
- data.tar.gz: d75cf2ef6ec176801bc10741199ad59071cb7401
3
+ metadata.gz: 38032c9f5ec7ce780e9e291c07b975220a3121a5
4
+ data.tar.gz: 1ff9c90df89d7f0fecc046e8fa7fa86987996367
5
5
  SHA512:
6
- metadata.gz: a92b846e3fdc6acdab89f5d840fbce593ceb2ec00961a8b817293e66eba2408b217491d1ab61d415d11d1456cd78f8cf289212673d263c488be6f302c56a3b17
7
- data.tar.gz: b37740caa7397acea99ce7694c6613a0a0b9769f7f581b534c6adf62390724abe628f8264aeea339bcc7ab38e0ceee0f4659573d5d5ee6899b994970974e9ee8
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)
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'sessionm-cassandra_object'
5
- s.version = '4.0.15'
5
+ s.version = '4.0.16'
6
6
  s.description = 'Cassandra ActiveModel'
7
7
  s.summary = 'Cassandra ActiveModel'
8
8
 
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.15
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-03-29 00:00:00.000000000 Z
12
+ date: 2016-04-22 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Cassandra ActiveModel
15
15
  email: doug@sessionm.com