sessionm-cassandra_object 2.2.50 → 2.2.51
Sign up to get free protection for your applications and to get access to all the features.
@@ -6,7 +6,7 @@ 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(
|
9
|
+
raise(CassandraObject::InvalidKey, "invalid key: #{key}") if key.blank? || ! parse_key(key)
|
10
10
|
|
11
11
|
if (attributes = ActiveSupport::Notifications.instrument("get.cassandra_object", column_family: column_family, key: key) { connection.get(column_family, key) }) &&
|
12
12
|
!attributes.empty?
|
metadata
CHANGED
@@ -1,73 +1,75 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: sessionm-cassandra_object
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
prerelease: false
|
5
|
+
segments:
|
6
|
+
- 2
|
7
|
+
- 2
|
8
|
+
- 51
|
9
|
+
version: 2.2.51
|
6
10
|
platform: ruby
|
7
|
-
authors:
|
11
|
+
authors:
|
8
12
|
- Michael Koziarski
|
9
13
|
- gotime
|
10
14
|
- sessionm
|
11
15
|
autorequire:
|
12
16
|
bindir: bin
|
13
17
|
cert_chain: []
|
14
|
-
|
15
|
-
|
16
|
-
|
18
|
+
|
19
|
+
date: 2012-05-21 00:00:00 -04:00
|
20
|
+
default_executable:
|
21
|
+
dependencies:
|
22
|
+
- !ruby/object:Gem::Dependency
|
17
23
|
name: rails
|
18
|
-
requirement: !ruby/object:Gem::Requirement
|
19
|
-
none: false
|
20
|
-
requirements:
|
21
|
-
- - ~>
|
22
|
-
- !ruby/object:Gem::Version
|
23
|
-
version: 3.0.9
|
24
|
-
type: :runtime
|
25
24
|
prerelease: false
|
26
|
-
|
27
|
-
|
28
|
-
requirements:
|
25
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
26
|
+
requirements:
|
29
27
|
- - ~>
|
30
|
-
- !ruby/object:Gem::Version
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
segments:
|
30
|
+
- 3
|
31
|
+
- 0
|
32
|
+
- 9
|
31
33
|
version: 3.0.9
|
32
|
-
- !ruby/object:Gem::Dependency
|
33
|
-
name: cassandra
|
34
|
-
requirement: !ruby/object:Gem::Requirement
|
35
|
-
none: false
|
36
|
-
requirements:
|
37
|
-
- - ! '>='
|
38
|
-
- !ruby/object:Gem::Version
|
39
|
-
version: 0.11.3
|
40
34
|
type: :runtime
|
35
|
+
version_requirements: *id001
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: cassandra
|
41
38
|
prerelease: false
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
39
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
40
|
+
requirements:
|
41
|
+
- - ">="
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
segments:
|
44
|
+
- 0
|
45
|
+
- 11
|
46
|
+
- 3
|
47
47
|
version: 0.11.3
|
48
|
-
|
48
|
+
type: :runtime
|
49
|
+
version_requirements: *id002
|
50
|
+
- !ruby/object:Gem::Dependency
|
49
51
|
name: bundler
|
50
|
-
requirement: !ruby/object:Gem::Requirement
|
51
|
-
none: false
|
52
|
-
requirements:
|
53
|
-
- - ! '>='
|
54
|
-
- !ruby/object:Gem::Version
|
55
|
-
version: 1.0.0
|
56
|
-
type: :development
|
57
52
|
prerelease: false
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
53
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
54
|
+
requirements:
|
55
|
+
- - ">="
|
56
|
+
- !ruby/object:Gem::Version
|
57
|
+
segments:
|
58
|
+
- 1
|
59
|
+
- 0
|
60
|
+
- 0
|
63
61
|
version: 1.0.0
|
62
|
+
type: :development
|
63
|
+
version_requirements: *id003
|
64
64
|
description: Cassandra ActiveModel
|
65
65
|
email: klange@sessionm.com
|
66
66
|
executables: []
|
67
|
+
|
67
68
|
extensions: []
|
68
|
-
|
69
|
+
|
70
|
+
extra_rdoc_files:
|
69
71
|
- README.markdown
|
70
|
-
files:
|
72
|
+
files:
|
71
73
|
- .gitignore
|
72
74
|
- CHANGELOG
|
73
75
|
- Gemfile
|
@@ -156,31 +158,41 @@ files:
|
|
156
158
|
- test/types/time_type_test.rb
|
157
159
|
- test/types/utf8_string_type_test.rb
|
158
160
|
- test/validations_test.rb
|
161
|
+
has_rdoc: true
|
159
162
|
homepage: http://github.com/sessionm/cassandra_object
|
160
163
|
licenses: []
|
164
|
+
|
161
165
|
post_install_message:
|
162
166
|
rdoc_options: []
|
163
|
-
|
167
|
+
|
168
|
+
require_paths:
|
164
169
|
- lib
|
165
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
171
|
+
requirements:
|
172
|
+
- - ">="
|
173
|
+
- !ruby/object:Gem::Version
|
174
|
+
segments:
|
175
|
+
- 1
|
176
|
+
- 9
|
177
|
+
- 2
|
170
178
|
version: 1.9.2
|
171
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
179
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
180
|
+
requirements:
|
181
|
+
- - ">="
|
182
|
+
- !ruby/object:Gem::Version
|
183
|
+
segments:
|
184
|
+
- 1
|
185
|
+
- 3
|
186
|
+
- 5
|
176
187
|
version: 1.3.5
|
177
188
|
requirements: []
|
189
|
+
|
178
190
|
rubyforge_project:
|
179
|
-
rubygems_version: 1.
|
191
|
+
rubygems_version: 1.3.6
|
180
192
|
signing_key:
|
181
193
|
specification_version: 3
|
182
194
|
summary: Cassandra ActiveModel
|
183
|
-
test_files:
|
195
|
+
test_files:
|
184
196
|
- test/active_model_test.rb
|
185
197
|
- test/attributes_test.rb
|
186
198
|
- test/base_test.rb
|