effective_obfuscation 1.0.3 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 38664ff81e5d973cf1235e5ee5fa563a785f9ba9
|
4
|
+
data.tar.gz: 1416f5980533a3cb99fc3164b0da7b33be0981e9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8de7348380a0ec30210ad89c407581f0c4fa9d14448ce6b16eac64662dd2371186975f4f90a57d47f764c534ba2fa179cdfa43b71f11c2321b0936f03386b326
|
7
|
+
data.tar.gz: b05b65890376394a9d8eb3be32d6135aa74f96e0649e13809c82f3130e251638e618ccca0c361f28145c58a42d460fd6be9c533ba4237f6af2b3c54bc7422fce
|
@@ -109,8 +109,10 @@ module ActsAsObfuscated
|
|
109
109
|
acts_as_obfuscated_opts[:max_id] ||= (self.unscoped.maximum(:id) rescue 2147483647)
|
110
110
|
end
|
111
111
|
|
112
|
-
|
113
|
-
|
112
|
+
unless ::ActiveRecord::VERSION::MAJOR == 4 && ::ActiveRecord::VERSION::MINOR == 2
|
113
|
+
def relation
|
114
|
+
super.tap { |relation| relation.extend(FinderMethods) }
|
115
|
+
end
|
114
116
|
end
|
115
117
|
end
|
116
118
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: effective_obfuscation
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Code and Effect
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-11-
|
11
|
+
date: 2015-11-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|