active_model_exporters 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/action_controller/exportation.rb +1 -1
- data/lib/active_model/exporter/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: de64ab4416cd19830189c30e906b6bebcdb179f3
|
4
|
+
data.tar.gz: 09dac821e09307d75437b346e481650a377b91a8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 76b4aea4ea9157015692f82c96b0aad308a1f9eb266e59b1bca49400f2f9b025c531b86519aa86c9a7c8a323055ca578f9a551346ee007ca60ba9163dd95e7ae
|
7
|
+
data.tar.gz: 22848f836d10be77d0dd0e0c935d32c0eb67dcb66c10fe3c1e9857f01fad41f34fc306936db05357ce2d3bac161ebad727b82de4d8c1941665819ec05e3036ec
|
@@ -14,7 +14,7 @@ module ActionController
|
|
14
14
|
end
|
15
15
|
|
16
16
|
ActiveModel::Exporter::TYPES.each do |type|
|
17
|
-
[:_render_option_, :
|
17
|
+
[:_render_option_, :_render_with_renderer_].each do |prefix|
|
18
18
|
define_method "#{prefix}#{type}" do |resource, options|
|
19
19
|
exporter = build_exporter(resource, options)
|
20
20
|
exporter ? super(exporter, options) : super
|