effective_obfuscation 1.0.0 → 1.0.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: 12942d2adf7b06425c87de3c2273cb8bbf3d6499
|
4
|
+
data.tar.gz: df28a3f51bfbcaeafe634be70213ad211a648582
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ed0fa0c196a802072d8a03b6423860e011181cd3a91a4229d2976a27a89d41fe0af2260e6fe7b47f80b0b03c1e7c251b53d153cbeda76c79b6724fe4ce39291b
|
7
|
+
data.tar.gz: 150a7d028a7d0f6d927bbc97ebb52ede8c7043bbf71b2e781ab2036cc1414fb802dac1671b95c9af232a52abe940502b85bda8262c0a2ef393f62cc11612ab64
|
@@ -41,7 +41,7 @@ module ActsAsObfuscated
|
|
41
41
|
# We need to track the Maximum ID of this Table
|
42
42
|
self.acts_as_obfuscated_opts[:max_id] ||= (self.unscoped.maximum(:id) rescue 2147483647)
|
43
43
|
|
44
|
-
|
44
|
+
after_create do
|
45
45
|
self.class.acts_as_obfuscated_opts[:max_id] = nil
|
46
46
|
end
|
47
47
|
|
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.0.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: 2014-12-
|
11
|
+
date: 2014-12-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|