dependent-auto-rails 0.1.1 → 0.1.2

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
  SHA256:
3
- metadata.gz: cc488255df657376a661c6c0271a4a6c715b7d9750eae2e7379c3f130394d9f5
4
- data.tar.gz: 44027a37768078d613b2c8a5c9e39af7debab23b48fd238e09fd9b5ea6f7e0ae
3
+ metadata.gz: c1982e7a765a8ef3c1f24c32b132d561b64995e02c8ee593d6e932ff10d4105b
4
+ data.tar.gz: c57c2666e92829fc28847f483d6cdc117a14063d6db999c4f767aa282a394670
5
5
  SHA512:
6
- metadata.gz: 3c47b956dd0dfdd5c70b70cab2ed468ee1be646c5e8b6743a3fca27a7becbcfc34c77f5bd1624f43f5b15794f62880861b71c42aba8eb48d55c4f0d7d6604252
7
- data.tar.gz: 0e67e0329c0fd635b5112a5d064c177e7f6d0e4421b83bbde2c9721ba00d3310c05cac76c35c6f454cb9f9d33aaa3a7cd28f45c8ef718c2f83cc82033003b4bd
6
+ metadata.gz: 010013ca9d2b1c30d36cebce8d79a60e2c97eff4757df3180774dce02cb3a4f7aa32e45480d4995ae0a8028b06f2b50f0adae15208105a068434351cafa6d149
7
+ data.tar.gz: ca790ffffa4bbad4e3b9adf2d9a32832f346f3460d7b8807e0fb7a989780ed5e042c2bb86e242c1036c43df63c73af4ef77be327197f0745a67fdcd190beb10c
@@ -1,3 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "dependent-auto-rails/activerecord/associations/builder/association"
3
+ require "active_record"
4
+
5
+ ActiveSupport.on_load(:active_record) do
6
+ require "dependent-auto-rails/activerecord/associations/builder/association"
7
+ end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DependentAutoRails
4
- VERSION = "0.1.1"
4
+ VERSION = "0.1.2"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dependent-auto-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joshua Young