recorder 0.1.19 → 0.1.20
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/recorder/revision.rb +1 -0
- data/lib/recorder/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9017142368d57513a5b5be3a3def20ffe43c399f
|
4
|
+
data.tar.gz: e58ef82cfb1c2709d8fd96430f9ee74ebac19660
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b76edc2c3bb411f7c4d9471894c33a058f751681682c827195b0454116ddfc15ffff72ae89fb420d0f5c8e83708631e80332e490565f593bf920dc777098cb16
|
7
|
+
data.tar.gz: ef682c79e420910a6a90234f126f201ad109b3b52100161d6d87c12d3c00c988a50d7c9e585430fea03f650f3eff9effe7a4e88790e6c6ad79f4e04db346585f
|
data/lib/recorder/revision.rb
CHANGED
@@ -29,6 +29,7 @@ class Recorder::Revision < ActiveRecord::Base
|
|
29
29
|
# @return [Recorder::Changeset]
|
30
30
|
def item_changeset
|
31
31
|
return @item_changeset if defined?(@item_changeset)
|
32
|
+
return nil if self.data['changes'].nil?
|
32
33
|
|
33
34
|
@item_changeset ||= self.changeset_class(self.item).new(self.item, self.data['changes'])
|
34
35
|
end
|
data/lib/recorder/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: recorder
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.20
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Igor Alexandrov
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-08-
|
11
|
+
date: 2016-08-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|