activerecord-normalizations 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 64fc295b6ea76bba2d50799fb3d8ac40584453ac5969cee6c1a10b58b67e871f
4
- data.tar.gz: e5440dda6ddabfc813600bd0d7a63524deaa76ed39bc052f452219a24693e192
3
+ metadata.gz: 0dd6a34749515e92ff65807bb507f1afc352f1d49ee5ad1983297d410216cd51
4
+ data.tar.gz: f1cb7d17c4f0a891864ceff63a6502ae2cb71d39c999e866642dc7d9a4f96d99
5
5
  SHA512:
6
- metadata.gz: a2f12309f01992fbc93f99127882ad4893bb31ca9408bc88ce4e5fec62972dec3d66afa5dd96ef6c22b1bbbf82d2c72d38baec3b4c3f72cf6dd9ca789e6f5004
7
- data.tar.gz: 4ee8473f9f7cd2706cd5b31d1c7ba6bae4e1fadb00d3096f9db04a514d40fcc7d0c94290d0c220334f9e9d1b3429abbeba1add3c9ea68a5785471e8b57c8581d
6
+ metadata.gz: c4d4e8819b095a3451e4c274b753a1ef9fb2ceb4db3cb2a0930e5eaa8f1abc41dc8180ce1fa2b15aca2f5e1827793620c2627429274633d294e6407b6764ff4f
7
+ data.tar.gz: cca4022f66e713f774a6e20cdcd3d06552efa2e245617180079ea18450c5a84b5e614e4b4f1311e1ef70b99e36880c159f82bc7fd6491076c6dc3529912de96c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 1.0.2
4
+ * Extend ActiveRecord during initialization and not after
5
+
3
6
  ## 1.0.1
4
7
  * Avoid sharing normalizers between AR subclasses
5
8
 
@@ -2,7 +2,7 @@ require 'activerecord-normalizations/normalizations'
2
2
 
3
3
  module ActiveRecord::Normalizations
4
4
  class Railtie < Rails::Railtie
5
- config.after_initialize do |app|
5
+ initializer "normalizations.initialize" do |app|
6
6
  ActiveSupport.on_load :active_record do
7
7
  include ActiveRecord::Normalizations
8
8
  end
@@ -1,5 +1,5 @@
1
1
  module ActiveRecord
2
2
  module Normalizations
3
- VERSION = "1.0.1"
3
+ VERSION = "1.0.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activerecord-normalizations
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - ccocchi
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-07-01 00:00:00.000000000 Z
11
+ date: 2021-08-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord