rename_params 2.0.0 → 2.0.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
  SHA1:
3
- metadata.gz: 240a898147e9a591d68eba3237051bf27e68f6ab
4
- data.tar.gz: 5d8dcff96bbedc59ad69f08aefdfd0803ab586fe
3
+ metadata.gz: dbc4cd496226919314c73a0342dc4542ed23b069
4
+ data.tar.gz: 0b9330bad16ae2b89031de669fdcd8c45af21582
5
5
  SHA512:
6
- metadata.gz: ad6f36a9af86fbbe369aeecdc90d1ae6d96f22d191855844eb6b58d333bea7e0782f3f60b63662a77de20a5f2e239c7848fa52fdf952c4b5dfac9c7aaeb5db17
7
- data.tar.gz: 928ca1bde3f7623969837c841eacd0798d0f6be57c097c4fe22b819a931378e372e713b6dda18de0c1ab2a118f4a8b0a5c3d91c86f0ace45ec0bfd51a2fa665f
6
+ metadata.gz: 48e21b015c8282430d3140166a0cf35965365bad5be60aff668c78ece456b732a9b690c9dbd21531e290734dde968b975bfbef23fa6648314e8d816ad9eac3c2
7
+ data.tar.gz: 663f043bc25366e80177a02307c9f8d983c7cd792410b1700f5a6530d71d81f1501407db99904cbd2456328858c31dcbee2fcd0de44a3762e0b7a93193b48b77
@@ -14,5 +14,6 @@ module RenameParams
14
14
  end
15
15
  end
16
16
 
17
- ActionController::API.send(:include, RenameParams::Macros) if defined?(ActionController::API)
18
- ActionController::Base.send(:include, RenameParams::Macros) if defined?(ActionController::Base)
17
+ ActiveSupport.on_load :action_controller do
18
+ include RenameParams::Macros
19
+ end
@@ -1,3 +1,3 @@
1
1
  module RenameParams
2
- VERSION = '2.0.0'.freeze
3
- end
2
+ VERSION = '2.0.1'.freeze
3
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rename_params
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marcelo Casiraghi