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: 2893d0d095c6f1b6fbdc1d972a225987d42b6c76
4
- data.tar.gz: 38c42ee37f546e9c982fba0b02c8ac420fa1d811
3
+ metadata.gz: 12942d2adf7b06425c87de3c2273cb8bbf3d6499
4
+ data.tar.gz: df28a3f51bfbcaeafe634be70213ad211a648582
5
5
  SHA512:
6
- metadata.gz: b651ce15257c280d26618bd743c59ec3bd7dbf3b21d9c0eb758440b40296d873fbb2878e93a37ccd086888dcbd1d2ee9a893c357537f797b6d9bf76537879d3d
7
- data.tar.gz: 557b20e2d11dc0eea445efd9dd39d21e48eb4ae4be04b357fbd8e85bd8c667d4299ece5c538532303ace640e2a02d62cbb6d70f33d93da0bf539ee3f876159fc
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
- after_commit :on => :create do
44
+ after_create do
45
45
  self.class.acts_as_obfuscated_opts[:max_id] = nil
46
46
  end
47
47
 
@@ -1,3 +1,3 @@
1
1
  module EffectiveObfuscation
2
- VERSION = '1.0.0'.freeze
2
+ VERSION = '1.0.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.0.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-08 00:00:00.000000000 Z
11
+ date: 2014-12-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails