deleted_at 0.6.0.pre.6 → 0.6.0.pre.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/deleted_at/legacy.rb +4 -2
- data/lib/deleted_at/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ff851c6a8dde5cdcf44bf9100162c040579409b0d9b695623b9e31b55c94b4b4
|
4
|
+
data.tar.gz: 9cc5df2c8345025d2d4dc2b1c78f3ac7f1fe9986a54f148ec6448965da2ba87b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1ce9079433f6a80e30255b32adbd2126b097d2d1149d47e3f64ea3740e7ba6b66407797742f41b8d850579c127519ee85b1b466c279797b0c08d41ca1038d770
|
7
|
+
data.tar.gz: d2c49a2c817fab7ceec06b17b3c761845e3e5fd6483abf440744ffd08f8589ce57f827d41ef9ea3770a078ee5f9b9dd691d09b59e3f2e1a3398fddc51f8f3314
|
data/lib/deleted_at/legacy.rb
CHANGED
@@ -10,8 +10,10 @@ module DeletedAt
|
|
10
10
|
def self.install(model)
|
11
11
|
return false unless Core.has_deleted_at_column?(model)
|
12
12
|
|
13
|
-
|
14
|
-
|
13
|
+
::ActiveRecord::Framing.disable do
|
14
|
+
install_present_view(model)
|
15
|
+
install_deleted_view(model)
|
16
|
+
end
|
15
17
|
end
|
16
18
|
|
17
19
|
private
|
data/lib/deleted_at/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: deleted_at
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.0.pre.
|
4
|
+
version: 0.6.0.pre.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dale Stevens
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-06-
|
11
|
+
date: 2019-06-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|