gotime-cassandra_object 4.8.1 → 4.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/circle.yml +7 -0
- data/gotime-cassandra_object.gemspec +1 -1
- data/lib/cassandra_object/base.rb +1 -1
- data/lib/cassandra_object/callbacks.rb +4 -4
- data/lib/cassandra_object/connection.rb +2 -2
- data/lib/cassandra_object/persistence.rb +0 -1
- data/lib/cassandra_object/types/boolean_type.rb +0 -1
- data/test/unit/active_model_test.rb +4 -0
- data/test/unit/types/boolean_type_test.rb +1 -0
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c1735f198e749b3b29e8c217be4a63c78ca3a323
|
4
|
+
data.tar.gz: 5fbbcb9595e502e33fa6d199f3f1c4923e623ce5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c04341a811c218700478e21abedf2a5951b76c6e2454c98eb604392f8e3f1a192a5a3f1dfd0192b7bd17463b65398a1659973f88ee9337a34ace968107752952
|
7
|
+
data.tar.gz: bfae3c74d93111de2c61f3cb1980a78d82a7f2662b8e474d29a41671284dd8e420baae3071dc66569ee3e4d24e79fdb3736b26966de7f80916bd71c07226762d
|
data/circle.yml
ADDED
@@ -10,20 +10,20 @@ module CassandraObject
|
|
10
10
|
end
|
11
11
|
|
12
12
|
def destroy #:nodoc:
|
13
|
-
|
13
|
+
run_callbacks(:destroy) { super }
|
14
14
|
end
|
15
15
|
|
16
16
|
private
|
17
17
|
def write #:nodoc:
|
18
|
-
|
18
|
+
run_callbacks(:save) { super }
|
19
19
|
end
|
20
20
|
|
21
21
|
def create #:nodoc:
|
22
|
-
|
22
|
+
run_callbacks(:create) { super }
|
23
23
|
end
|
24
24
|
|
25
25
|
def update(*) #:nodoc:
|
26
|
-
|
26
|
+
run_callbacks(:update) { super }
|
27
27
|
end
|
28
28
|
end
|
29
29
|
end
|
@@ -25,8 +25,8 @@ module CassandraObject
|
|
25
25
|
end
|
26
26
|
|
27
27
|
def execute_cql(cql_string, *bind_vars)
|
28
|
-
|
29
|
-
|
28
|
+
statement = CassandraCQL::Statement.sanitize(cql_string, bind_vars).force_encoding(Encoding::UTF_8)
|
29
|
+
|
30
30
|
ActiveSupport::Notifications.instrument("cql.cassandra_object", cql: statement) do
|
31
31
|
cql.execute statement
|
32
32
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gotime-cassandra_object
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.
|
4
|
+
version: 4.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Koziarski
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-04-
|
12
|
+
date: 2013-04-12 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activemodel
|
@@ -82,6 +82,7 @@ files:
|
|
82
82
|
- MIT-LICENSE
|
83
83
|
- README.rdoc
|
84
84
|
- Rakefile
|
85
|
+
- circle.yml
|
85
86
|
- gotime-cassandra_object.gemspec
|
86
87
|
- lib/cassandra_object/attribute_methods.rb
|
87
88
|
- lib/cassandra_object/attribute_methods/definition.rb
|
@@ -187,7 +188,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
187
188
|
version: 1.3.5
|
188
189
|
requirements: []
|
189
190
|
rubyforge_project:
|
190
|
-
rubygems_version: 2.0.
|
191
|
+
rubygems_version: 2.0.0
|
191
192
|
signing_key:
|
192
193
|
specification_version: 4
|
193
194
|
summary: Cassandra ActiveModel
|