sessionm-cassandra_object 2.2.49 → 2.2.50
Sign up to get free protection for your applications and to get access to all the features.
@@ -6,10 +6,9 @@ module CassandraObject
|
|
6
6
|
# kludge to play nice ActiveRecord association
|
7
7
|
opts.assert_valid_keys(:conditions)
|
8
8
|
raise(ArgumentError, "unexpected conditions") if opts[:conditions].present?
|
9
|
+
raise(ArgumentError, "invalid key: #{key}") if key.blank? || ! parse_key(key)
|
9
10
|
|
10
|
-
if key.
|
11
|
-
parse_key(key) &&
|
12
|
-
(attributes = ActiveSupport::Notifications.instrument("get.cassandra_object", column_family: column_family, key: key) { connection.get(column_family, key) }) &&
|
11
|
+
if (attributes = ActiveSupport::Notifications.instrument("get.cassandra_object", column_family: column_family, key: key) { connection.get(column_family, key) }) &&
|
13
12
|
!attributes.empty?
|
14
13
|
instantiate(key, attributes)
|
15
14
|
else
|
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: 2.2.
|
4
|
+
version: 2.2.50
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -11,11 +11,11 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2012-05-
|
14
|
+
date: 2012-05-21 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: rails
|
18
|
-
requirement:
|
18
|
+
requirement: !ruby/object:Gem::Requirement
|
19
19
|
none: false
|
20
20
|
requirements:
|
21
21
|
- - ~>
|
@@ -23,10 +23,15 @@ dependencies:
|
|
23
23
|
version: 3.0.9
|
24
24
|
type: :runtime
|
25
25
|
prerelease: false
|
26
|
-
version_requirements:
|
26
|
+
version_requirements: !ruby/object:Gem::Requirement
|
27
|
+
none: false
|
28
|
+
requirements:
|
29
|
+
- - ~>
|
30
|
+
- !ruby/object:Gem::Version
|
31
|
+
version: 3.0.9
|
27
32
|
- !ruby/object:Gem::Dependency
|
28
33
|
name: cassandra
|
29
|
-
requirement:
|
34
|
+
requirement: !ruby/object:Gem::Requirement
|
30
35
|
none: false
|
31
36
|
requirements:
|
32
37
|
- - ! '>='
|
@@ -34,10 +39,15 @@ dependencies:
|
|
34
39
|
version: 0.11.3
|
35
40
|
type: :runtime
|
36
41
|
prerelease: false
|
37
|
-
version_requirements:
|
42
|
+
version_requirements: !ruby/object:Gem::Requirement
|
43
|
+
none: false
|
44
|
+
requirements:
|
45
|
+
- - ! '>='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 0.11.3
|
38
48
|
- !ruby/object:Gem::Dependency
|
39
49
|
name: bundler
|
40
|
-
requirement:
|
50
|
+
requirement: !ruby/object:Gem::Requirement
|
41
51
|
none: false
|
42
52
|
requirements:
|
43
53
|
- - ! '>='
|
@@ -45,7 +55,12 @@ dependencies:
|
|
45
55
|
version: 1.0.0
|
46
56
|
type: :development
|
47
57
|
prerelease: false
|
48
|
-
version_requirements:
|
58
|
+
version_requirements: !ruby/object:Gem::Requirement
|
59
|
+
none: false
|
60
|
+
requirements:
|
61
|
+
- - ! '>='
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: 1.0.0
|
49
64
|
description: Cassandra ActiveModel
|
50
65
|
email: klange@sessionm.com
|
51
66
|
executables: []
|
@@ -161,7 +176,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
161
176
|
version: 1.3.5
|
162
177
|
requirements: []
|
163
178
|
rubyforge_project:
|
164
|
-
rubygems_version: 1.8.
|
179
|
+
rubygems_version: 1.8.22
|
165
180
|
signing_key:
|
166
181
|
specification_version: 3
|
167
182
|
summary: Cassandra ActiveModel
|