effective_obfuscation 1.3.0 → 1.3.1
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: 663ee3b671c5b2e3ff60b0fda8bbba560a0f6b90
|
4
|
+
data.tar.gz: d359df1a0528541b81a50075bd02000887bd9c25
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 817a570976605ae3d0db71c34fc90a0d3f2240616e7f644b5937fcf0f3383438a48db7de41892f5e85b43835bc375eea90328377e70c8e2454db82a5af74c17f
|
7
|
+
data.tar.gz: f93698009988c21e676dbf09bcbef15400cca631dccf7d6459ffee2e0b482f46f01c825bf5cab2e70728f8502aa491bca62907551e67d2cf85476be93f3194ba
|
@@ -122,7 +122,7 @@ module ActsAsObfuscated
|
|
122
122
|
|
123
123
|
module FinderMethods
|
124
124
|
def find(*args)
|
125
|
-
return find_by_id(args.first) if @_effective_obfuscation_reloading
|
125
|
+
return find_by_id(args.first) if (@_effective_obfuscation_reloading || klass.try(:instance_variable_get, :@_effective_obfuscation_reloading))
|
126
126
|
|
127
127
|
super(deobfuscate(args.first, false))
|
128
128
|
end
|
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.3.
|
4
|
+
version: 1.3.1
|
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: 2017-
|
11
|
+
date: 2017-02-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|