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: c2b0c526ebc1e7e833810b3234fc1bc56b441a4f
4
- data.tar.gz: 571fa5c79d9e2c586d4d00ba596ddeba7986b0c4
3
+ metadata.gz: 663ee3b671c5b2e3ff60b0fda8bbba560a0f6b90
4
+ data.tar.gz: d359df1a0528541b81a50075bd02000887bd9c25
5
5
  SHA512:
6
- metadata.gz: 264f19b3e25184ae369d14bf54a72a959794cf83892c198d158b4575e4883b14290039d9dba212cc10b683ed8d53ff047904a73eea237e16b765522672e6664f
7
- data.tar.gz: 6eee5ed098b7def15d4ea62704d23448773dd26eda28fb433ba2f1026e7cd973424d6b422198629384c0df41aa14a5319e1601423ae25b2ee3b1f4a647964697
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
@@ -1,3 +1,3 @@
1
1
  module EffectiveObfuscation
2
- VERSION = '1.3.0'.freeze
2
+ VERSION = '1.3.1'.freeze
3
3
  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.0
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-01-18 00:00:00.000000000 Z
11
+ date: 2017-02-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails