forbidium 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
  SHA1:
3
- metadata.gz: 59821c7594bf97b284c62e7aa145dc365161161d
4
- data.tar.gz: 37368987c1693f4ad22e8530d1ec732dab2ddf5d
3
+ metadata.gz: 1043ce4d9d849b044c480c05b412003f0b00deb6
4
+ data.tar.gz: 9ccce27c23c6d6853dfc5cdca0059ff08bdfe89d
5
5
  SHA512:
6
- metadata.gz: b03ca40a721b2f672c744b125cdd499c8df77eef5a3a8bf18028db18bb868537e2ea7dcfd82acb6555a785ef17c2b0be7e3ce5ab52aac10eed184f7cf0c87b46
7
- data.tar.gz: fd19f56a5a396a0286b4b66bbaeaeb1a300998bf46fa43b79392e7d45947f69828ae2e32b43d80c5f0b4389a0ffd9762e841efe0b536b1975ea4abf9cc176d76
6
+ metadata.gz: fa045780d0b51b068941114a4599035c7fedf5cac0e50fe092aad3fb890c32fa651c6b5030759c829de0cf2889e0fcf2df53370d4113f3fa6cbce3b11734aab7
7
+ data.tar.gz: 34c0875b4c8a3b6cc19dc14319ab31422af161517328ad21eeaf04d702936569e5fef0740a63ef749e9513da0d23baf0b0b66f06cc8020afe2e144bf3f081d7e
@@ -2,8 +2,10 @@ require 'rails/railtie'
2
2
 
3
3
  module Forbidium
4
4
  class Railtie < ::Rails::Railtie
5
- after_initialize :action_controller do
6
- ActionController::Parameters.include Forbidium
5
+ initializer :forbidium do
6
+ ActiveSupport.on_load :action_controller do
7
+ ActionController::Parameters.include Forbidium
8
+ end
7
9
  end
8
10
  end
9
11
  end
@@ -1,3 +1,3 @@
1
1
  module Forbidium
2
- VERSION = '0.1.1'.freeze
2
+ VERSION = '0.1.2'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: forbidium
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
  - M. Simon Borg