params_inquirer 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,9 +1,12 @@
1
+ require 'active_support/lazy_load_hooks'
1
2
  require 'params_inquirer/action_controller/base'
2
3
 
3
4
  module ParamsInquirer
4
5
  class Railtie < ::Rails::Railtie
5
6
  initializer 'initialize params_inquirer' do
6
- ::ActionController::Base.send :include, ParamsInquirer::ActionController::Base
7
+ ActiveSupport.on_load(:action_controller) do
8
+ ::ActionController::Base.send :include, ParamsInquirer::ActionController::Base
9
+ end
7
10
  end
8
11
  end
9
12
  end
@@ -1,3 +1,3 @@
1
1
  module ParamsInquirer
2
- VERSION = "0.0.1"
2
+ VERSION = '0.0.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: params_inquirer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-01-19 00:00:00.000000000 Z
12
+ date: 2013-01-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport