effective_roles 2.3.0 → 2.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
  SHA256:
3
- metadata.gz: 72568face118a2d07b1fb427fe30aacbaf1fcc8d49b1b21c2c9b76c4772b7024
4
- data.tar.gz: 9ecf2d813dea46623737893ba9bf28bdbf99b07ab8e2d6637a02f3d3c711e7db
3
+ metadata.gz: 663715e96a52fd2472bcc606272284e1292c6b33b95914bfb9f8349cd367fef4
4
+ data.tar.gz: 9fc246e383b8b416cf755043f4f88bc5a764bfc7964a5c4736bef09b385516e3
5
5
  SHA512:
6
- metadata.gz: e61f574d94b7bae5a50d9cca54cd53f9f172fc015cdaf88631758e6cb15c87ce63f2390e712e36b7331596b957b995a236f98f5632fa1ceaaea1c23d81905a0f
7
- data.tar.gz: 3a54e2cc622c8bd97fc1f2838132ba55509e1a5a37af91ab618792365570b38acf2c7912596055c98d5938230c142e52fb3878428b40bd059567d7575259576b
6
+ metadata.gz: 2a07058e19d7e5b088cac749bfb2512625ea505c052559902940da20aa40a53ba47febdf64897fa5400cb883a929ac90b8d16d94a7b25ee2c0c874536a89c835
7
+ data.tar.gz: c48b105bf52531ee64cad811eebab4bdb078f8559435d89bc32fa74e27a5fdf7392c108710b9f220fa1e7030750564a5a770ea30286aea264a8429edd67ea04f
@@ -4,7 +4,7 @@ module EffectiveRoles
4
4
 
5
5
  # Include acts_as_addressable concern and allow any ActiveRecord object to call it
6
6
  initializer 'effective_roles.active_record' do |app|
7
- ActiveSupport.on_load :active_record do
7
+ app.config.to_prepare do
8
8
  ActiveRecord::Base.extend(ActsAsRoleRestricted::Base)
9
9
  end
10
10
  end
@@ -1,3 +1,3 @@
1
1
  module EffectiveRoles
2
- VERSION = '2.3.0'.freeze
2
+ VERSION = '2.3.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_roles
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.0
4
+ version: 2.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: 2022-01-20 00:00:00.000000000 Z
11
+ date: 2022-06-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails