essay-paranoia 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/essay-paranoia.gemspec +1 -1
- data/lib/essay-paranoia.rb +2 -2
- 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: 5944fd1713c30b9467bf3c6dd26ef219b881a007
|
4
|
+
data.tar.gz: ee37fa93906de66021a3b3b126ce2ddf3a21ba47
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8121fab8c50b2afb9d85e98ded4efd6975b60a3604cf7281243784d5b958dd970be1f346f0ae43d6e95e7c395cb5a2ce5cfccb6fad5498c015f8647464bf5b01
|
7
|
+
data.tar.gz: bc083fd7634aa3b1d6e97630b0879de1f490338ca584031611896371196ba13c4511734583ab29420c00223c70618abeade43289fd7527977556ab3359cbde5b
|
data/essay-paranoia.gemspec
CHANGED
data/lib/essay-paranoia.rb
CHANGED
@@ -7,7 +7,7 @@ require 'essay'
|
|
7
7
|
module Essay
|
8
8
|
class ModelFeatures
|
9
9
|
def paranoid?
|
10
|
-
|
10
|
+
active_record.respond_to?(:paranoia_column)
|
11
11
|
end
|
12
12
|
|
13
13
|
serialize do
|
@@ -17,7 +17,7 @@ module Essay
|
|
17
17
|
|
18
18
|
class AttributeFeatures
|
19
19
|
def paranoia_timestamp?
|
20
|
-
|
20
|
+
active_record.try(:paranoia_column).try(:to_sym) == attribute.name
|
21
21
|
end
|
22
22
|
|
23
23
|
serialize do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: essay-paranoia
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yaroslav Konoplov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-10-
|
11
|
+
date: 2016-10-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: paranoia
|