gotime-cassandra_object 4.11.3 → 4.11.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b1210ae4e593d0b2daa46aee3b68415001c10491
|
|
4
|
+
data.tar.gz: 6b52ac2caf7b62f476beeec9d440d83406f0a37a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b3afa7fdf25300b4753a0c63bfd81b5a2a9505d717c6d3256511987ce4863d898101488ec75df1fa112870d97131120c7b18a6bc3f04538fb09bc95f97dd7fab
|
|
7
|
+
data.tar.gz: 15777dd35f5464a0cceecd8043a3963199cdd03b0ab0fd4587dbaf442c7b8aef214da314e1aa9f115b0fa855f324741cb8e3ba6937884f898d611233c6cc5e68
|
|
@@ -8,19 +8,11 @@ module CassandraObject
|
|
|
8
8
|
def save(*) #:nodoc:
|
|
9
9
|
if status = super
|
|
10
10
|
@previously_changed = changes
|
|
11
|
-
@changed_attributes
|
|
11
|
+
@changed_attributes = {}
|
|
12
12
|
end
|
|
13
13
|
status
|
|
14
14
|
end
|
|
15
15
|
|
|
16
|
-
# Attempts to <tt>save!</tt> the record and clears changed attributes if successful.
|
|
17
|
-
def save!(*) #:nodoc:
|
|
18
|
-
super.tap do
|
|
19
|
-
@previously_changed = changes
|
|
20
|
-
@changed_attributes.clear
|
|
21
|
-
end
|
|
22
|
-
end
|
|
23
|
-
|
|
24
16
|
# <tt>reload</tt> the record and clears changed attributes.
|
|
25
17
|
def reload
|
|
26
18
|
super.tap do
|
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.11.
|
|
4
|
+
version: 4.11.4
|
|
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-12-
|
|
12
|
+
date: 2013-12-17 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: activemodel
|
|
@@ -192,7 +192,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
192
192
|
version: 1.3.5
|
|
193
193
|
requirements: []
|
|
194
194
|
rubyforge_project:
|
|
195
|
-
rubygems_version: 2.
|
|
195
|
+
rubygems_version: 2.0.3
|
|
196
196
|
signing_key:
|
|
197
197
|
specification_version: 4
|
|
198
198
|
summary: Cassandra ActiveModel
|