actionpack 7.1.5.1 → 8.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (177) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +308 -523
  3. data/README.rdoc +1 -1
  4. data/lib/abstract_controller/asset_paths.rb +6 -2
  5. data/lib/abstract_controller/base.rb +104 -105
  6. data/lib/abstract_controller/caching/fragments.rb +50 -53
  7. data/lib/abstract_controller/caching.rb +8 -3
  8. data/lib/abstract_controller/callbacks.rb +70 -62
  9. data/lib/abstract_controller/collector.rb +7 -7
  10. data/lib/abstract_controller/deprecator.rb +2 -0
  11. data/lib/abstract_controller/error.rb +2 -0
  12. data/lib/abstract_controller/helpers.rb +71 -84
  13. data/lib/abstract_controller/logger.rb +4 -1
  14. data/lib/abstract_controller/railties/routes_helpers.rb +2 -0
  15. data/lib/abstract_controller/rendering.rb +13 -13
  16. data/lib/abstract_controller/translation.rb +12 -13
  17. data/lib/abstract_controller/url_for.rb +8 -6
  18. data/lib/abstract_controller.rb +2 -0
  19. data/lib/action_controller/api/api_rendering.rb +2 -0
  20. data/lib/action_controller/api.rb +76 -72
  21. data/lib/action_controller/base.rb +199 -126
  22. data/lib/action_controller/caching.rb +16 -14
  23. data/lib/action_controller/deprecator.rb +2 -0
  24. data/lib/action_controller/form_builder.rb +21 -18
  25. data/lib/action_controller/log_subscriber.rb +23 -2
  26. data/lib/action_controller/metal/allow_browser.rb +133 -0
  27. data/lib/action_controller/metal/basic_implicit_render.rb +2 -0
  28. data/lib/action_controller/metal/conditional_get.rb +217 -175
  29. data/lib/action_controller/metal/content_security_policy.rb +25 -24
  30. data/lib/action_controller/metal/cookies.rb +4 -2
  31. data/lib/action_controller/metal/data_streaming.rb +72 -63
  32. data/lib/action_controller/metal/default_headers.rb +5 -3
  33. data/lib/action_controller/metal/etag_with_flash.rb +3 -1
  34. data/lib/action_controller/metal/etag_with_template_digest.rb +17 -15
  35. data/lib/action_controller/metal/exceptions.rb +16 -9
  36. data/lib/action_controller/metal/flash.rb +13 -14
  37. data/lib/action_controller/metal/head.rb +15 -11
  38. data/lib/action_controller/metal/helpers.rb +63 -55
  39. data/lib/action_controller/metal/http_authentication.rb +209 -201
  40. data/lib/action_controller/metal/implicit_render.rb +17 -15
  41. data/lib/action_controller/metal/instrumentation.rb +16 -14
  42. data/lib/action_controller/metal/live.rb +177 -128
  43. data/lib/action_controller/metal/logging.rb +6 -4
  44. data/lib/action_controller/metal/mime_responds.rb +151 -142
  45. data/lib/action_controller/metal/parameter_encoding.rb +34 -32
  46. data/lib/action_controller/metal/params_wrapper.rb +57 -59
  47. data/lib/action_controller/metal/permissions_policy.rb +22 -12
  48. data/lib/action_controller/metal/rate_limiting.rb +92 -0
  49. data/lib/action_controller/metal/redirecting.rb +213 -94
  50. data/lib/action_controller/metal/renderers.rb +78 -57
  51. data/lib/action_controller/metal/rendering.rb +111 -77
  52. data/lib/action_controller/metal/request_forgery_protection.rb +182 -143
  53. data/lib/action_controller/metal/rescue.rb +20 -9
  54. data/lib/action_controller/metal/streaming.rb +118 -195
  55. data/lib/action_controller/metal/strong_parameters.rb +720 -530
  56. data/lib/action_controller/metal/testing.rb +2 -0
  57. data/lib/action_controller/metal/url_for.rb +17 -15
  58. data/lib/action_controller/metal.rb +86 -60
  59. data/lib/action_controller/railtie.rb +36 -15
  60. data/lib/action_controller/railties/helpers.rb +2 -0
  61. data/lib/action_controller/renderer.rb +41 -36
  62. data/lib/action_controller/structured_event_subscriber.rb +116 -0
  63. data/lib/action_controller/template_assertions.rb +4 -2
  64. data/lib/action_controller/test_case.rb +160 -131
  65. data/lib/action_controller.rb +5 -1
  66. data/lib/action_dispatch/constants.rb +8 -0
  67. data/lib/action_dispatch/deprecator.rb +2 -0
  68. data/lib/action_dispatch/http/cache.rb +163 -35
  69. data/lib/action_dispatch/http/content_disposition.rb +2 -0
  70. data/lib/action_dispatch/http/content_security_policy.rb +54 -39
  71. data/lib/action_dispatch/http/filter_parameters.rb +14 -8
  72. data/lib/action_dispatch/http/filter_redirect.rb +22 -1
  73. data/lib/action_dispatch/http/headers.rb +22 -22
  74. data/lib/action_dispatch/http/mime_negotiation.rb +89 -41
  75. data/lib/action_dispatch/http/mime_type.rb +25 -21
  76. data/lib/action_dispatch/http/mime_types.rb +3 -0
  77. data/lib/action_dispatch/http/param_builder.rb +187 -0
  78. data/lib/action_dispatch/http/param_error.rb +26 -0
  79. data/lib/action_dispatch/http/parameters.rb +14 -12
  80. data/lib/action_dispatch/http/permissions_policy.rb +25 -36
  81. data/lib/action_dispatch/http/query_parser.rb +55 -0
  82. data/lib/action_dispatch/http/rack_cache.rb +2 -0
  83. data/lib/action_dispatch/http/request.rb +141 -92
  84. data/lib/action_dispatch/http/response.rb +137 -77
  85. data/lib/action_dispatch/http/upload.rb +18 -16
  86. data/lib/action_dispatch/http/url.rb +187 -89
  87. data/lib/action_dispatch/journey/formatter.rb +21 -9
  88. data/lib/action_dispatch/journey/gtg/builder.rb +4 -3
  89. data/lib/action_dispatch/journey/gtg/simulator.rb +34 -11
  90. data/lib/action_dispatch/journey/gtg/transition_table.rb +47 -53
  91. data/lib/action_dispatch/journey/nfa/dot.rb +2 -0
  92. data/lib/action_dispatch/journey/nodes/node.rb +8 -6
  93. data/lib/action_dispatch/journey/parser.rb +99 -195
  94. data/lib/action_dispatch/journey/path/pattern.rb +4 -1
  95. data/lib/action_dispatch/journey/route.rb +54 -38
  96. data/lib/action_dispatch/journey/router/utils.rb +22 -27
  97. data/lib/action_dispatch/journey/router.rb +63 -83
  98. data/lib/action_dispatch/journey/routes.rb +11 -2
  99. data/lib/action_dispatch/journey/scanner.rb +46 -42
  100. data/lib/action_dispatch/journey/visitors.rb +57 -23
  101. data/lib/action_dispatch/journey/visualizer/fsm.js +4 -6
  102. data/lib/action_dispatch/journey.rb +2 -0
  103. data/lib/action_dispatch/log_subscriber.rb +7 -1
  104. data/lib/action_dispatch/middleware/actionable_exceptions.rb +2 -0
  105. data/lib/action_dispatch/middleware/assume_ssl.rb +8 -5
  106. data/lib/action_dispatch/middleware/callbacks.rb +3 -1
  107. data/lib/action_dispatch/middleware/cookies.rb +125 -106
  108. data/lib/action_dispatch/middleware/debug_exceptions.rb +37 -8
  109. data/lib/action_dispatch/middleware/debug_locks.rb +15 -13
  110. data/lib/action_dispatch/middleware/debug_view.rb +13 -5
  111. data/lib/action_dispatch/middleware/exception_wrapper.rb +18 -23
  112. data/lib/action_dispatch/middleware/executor.rb +19 -4
  113. data/lib/action_dispatch/middleware/flash.rb +63 -51
  114. data/lib/action_dispatch/middleware/host_authorization.rb +17 -15
  115. data/lib/action_dispatch/middleware/public_exceptions.rb +14 -12
  116. data/lib/action_dispatch/middleware/reloader.rb +5 -3
  117. data/lib/action_dispatch/middleware/remote_ip.rb +87 -77
  118. data/lib/action_dispatch/middleware/request_id.rb +16 -10
  119. data/lib/action_dispatch/middleware/server_timing.rb +4 -2
  120. data/lib/action_dispatch/middleware/session/abstract_store.rb +2 -0
  121. data/lib/action_dispatch/middleware/session/cache_store.rb +30 -8
  122. data/lib/action_dispatch/middleware/session/cookie_store.rb +27 -26
  123. data/lib/action_dispatch/middleware/session/mem_cache_store.rb +7 -3
  124. data/lib/action_dispatch/middleware/show_exceptions.rb +16 -16
  125. data/lib/action_dispatch/middleware/ssl.rb +53 -40
  126. data/lib/action_dispatch/middleware/stack.rb +11 -10
  127. data/lib/action_dispatch/middleware/static.rb +33 -31
  128. data/lib/action_dispatch/middleware/templates/rescues/_copy_button.html.erb +1 -0
  129. data/lib/action_dispatch/middleware/templates/rescues/_source.html.erb +3 -5
  130. data/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb +9 -5
  131. data/lib/action_dispatch/middleware/templates/rescues/blocked_host.html.erb +1 -0
  132. data/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb +1 -0
  133. data/lib/action_dispatch/middleware/templates/rescues/invalid_statement.html.erb +4 -0
  134. data/lib/action_dispatch/middleware/templates/rescues/invalid_statement.text.erb +3 -0
  135. data/lib/action_dispatch/middleware/templates/rescues/layout.erb +50 -0
  136. data/lib/action_dispatch/middleware/templates/rescues/missing_exact_template.html.erb +1 -0
  137. data/lib/action_dispatch/middleware/templates/rescues/missing_template.html.erb +1 -0
  138. data/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb +1 -0
  139. data/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb +1 -0
  140. data/lib/action_dispatch/middleware/templates/rescues/unknown_action.html.erb +1 -0
  141. data/lib/action_dispatch/middleware/templates/routes/_table.html.erb +1 -1
  142. data/lib/action_dispatch/railtie.rb +23 -3
  143. data/lib/action_dispatch/request/session.rb +24 -21
  144. data/lib/action_dispatch/request/utils.rb +11 -3
  145. data/lib/action_dispatch/routing/endpoint.rb +2 -0
  146. data/lib/action_dispatch/routing/inspector.rb +85 -60
  147. data/lib/action_dispatch/routing/mapper.rb +1031 -851
  148. data/lib/action_dispatch/routing/polymorphic_routes.rb +69 -62
  149. data/lib/action_dispatch/routing/redirection.rb +47 -39
  150. data/lib/action_dispatch/routing/route_set.rb +79 -56
  151. data/lib/action_dispatch/routing/routes_proxy.rb +7 -4
  152. data/lib/action_dispatch/routing/url_for.rb +130 -125
  153. data/lib/action_dispatch/routing.rb +150 -148
  154. data/lib/action_dispatch/structured_event_subscriber.rb +20 -0
  155. data/lib/action_dispatch/system_test_case.rb +91 -81
  156. data/lib/action_dispatch/system_testing/browser.rb +16 -23
  157. data/lib/action_dispatch/system_testing/driver.rb +2 -0
  158. data/lib/action_dispatch/system_testing/server.rb +2 -0
  159. data/lib/action_dispatch/system_testing/test_helpers/screenshot_helper.rb +34 -23
  160. data/lib/action_dispatch/system_testing/test_helpers/setup_and_teardown.rb +2 -0
  161. data/lib/action_dispatch/testing/assertion_response.rb +9 -7
  162. data/lib/action_dispatch/testing/assertions/response.rb +52 -25
  163. data/lib/action_dispatch/testing/assertions/routing.rb +168 -87
  164. data/lib/action_dispatch/testing/assertions.rb +2 -0
  165. data/lib/action_dispatch/testing/integration.rb +233 -223
  166. data/lib/action_dispatch/testing/request_encoder.rb +11 -9
  167. data/lib/action_dispatch/testing/test_helpers/page_dump_helper.rb +35 -0
  168. data/lib/action_dispatch/testing/test_process.rb +11 -8
  169. data/lib/action_dispatch/testing/test_request.rb +3 -1
  170. data/lib/action_dispatch/testing/test_response.rb +27 -26
  171. data/lib/action_dispatch.rb +36 -32
  172. data/lib/action_pack/gem_version.rb +6 -4
  173. data/lib/action_pack/version.rb +3 -1
  174. data/lib/action_pack.rb +17 -16
  175. metadata +36 -32
  176. data/lib/action_dispatch/journey/parser.y +0 -50
  177. data/lib/action_dispatch/journey/parser_extras.rb +0 -31
@@ -1,17 +1,19 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ # :markup: markdown
4
+
3
5
  require "active_support/html_safe_translation"
4
6
 
5
7
  module AbstractController
6
8
  module Translation
7
- # Delegates to <tt>I18n.translate</tt>.
9
+ # Delegates to `I18n.translate`.
8
10
  #
9
11
  # When the given key starts with a period, it will be scoped by the current
10
- # controller and action. So if you call <tt>translate(".foo")</tt> from
11
- # <tt>PeopleController#index</tt>, it will convert the call to
12
- # <tt>I18n.translate("people.index.foo")</tt>. This makes it less repetitive
13
- # to translate many keys within the same controller / action and gives you a
14
- # simple framework for scoping them consistently.
12
+ # controller and action. So if you call `translate(".foo")` from
13
+ # `PeopleController#index`, it will convert the call to
14
+ # `I18n.translate("people.index.foo")`. This makes it less repetitive to
15
+ # translate many keys within the same controller / action and gives you a simple
16
+ # framework for scoping them consistently.
15
17
  def translate(key, **options)
16
18
  if key&.start_with?(".")
17
19
  path = controller_path.tr("/", ".")
@@ -21,12 +23,9 @@ module AbstractController
21
23
  key = "#{path}.#{action_name}#{key}"
22
24
  end
23
25
 
24
- if ActiveSupport::HtmlSafeTranslation.html_safe_translation_key?(key)
25
- if options[:default]
26
- options[:default] = [options[:default]] unless options[:default].is_a?(Array)
27
- options[:default] = options[:default].map do |value|
28
- value.is_a?(String) ? ERB::Util.html_escape(value) : value
29
- end
26
+ if options[:default] && ActiveSupport::HtmlSafeTranslation.html_safe_translation_key?(key)
27
+ options[:default] = Array(options[:default]).map do |value|
28
+ value.is_a?(String) ? ERB::Util.html_escape(value) : value
30
29
  end
31
30
  end
32
31
 
@@ -34,7 +33,7 @@ module AbstractController
34
33
  end
35
34
  alias :t :translate
36
35
 
37
- # Delegates to <tt>I18n.localize</tt>.
36
+ # Delegates to `I18n.localize`.
38
37
  def localize(object, **options)
39
38
  I18n.localize(object, **options)
40
39
  end
@@ -1,14 +1,16 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ # :markup: markdown
4
+
3
5
  module AbstractController
4
- # = URL For
6
+ # # URL For
5
7
  #
6
- # Includes +url_for+ into the host class (e.g. an abstract controller or mailer). The class
7
- # has to provide a +RouteSet+ by implementing the <tt>_routes</tt> methods. Otherwise, an
8
- # exception will be raised.
8
+ # Includes `url_for` into the host class (e.g. an abstract controller or
9
+ # mailer). The class has to provide a `RouteSet` by implementing the `_routes`
10
+ # methods. Otherwise, an exception will be raised.
9
11
  #
10
- # Note that this module is completely decoupled from HTTP - the only requirement is a valid
11
- # <tt>_routes</tt> implementation.
12
+ # Note that this module is completely decoupled from HTTP - the only requirement
13
+ # is a valid `_routes` implementation.
12
14
  module UrlFor
13
15
  extend ActiveSupport::Concern
14
16
  include ActionDispatch::Routing::UrlFor
@@ -1,5 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ # :markup: markdown
4
+
3
5
  require "action_pack"
4
6
  require "active_support"
5
7
  require "active_support/rails"
@@ -1,5 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ # :markup: markdown
4
+
3
5
  module ActionController
4
6
  module ApiRendering
5
7
  extend ActiveSupport::Concern
@@ -1,107 +1,109 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ # :markup: markdown
4
+
3
5
  require "action_view"
4
6
  require "action_controller"
5
7
  require "action_controller/log_subscriber"
8
+ require "action_controller/structured_event_subscriber"
6
9
 
7
10
  module ActionController
8
- # = Action Controller \API
11
+ # # Action Controller API
9
12
  #
10
- # API Controller is a lightweight version of ActionController::Base,
11
- # created for applications that don't require all functionalities that a complete
12
- # \Rails controller provides, allowing you to create controllers with just the
13
- # features that you need for API only applications.
13
+ # API Controller is a lightweight version of ActionController::Base, created for
14
+ # applications that don't require all functionalities that a complete Rails
15
+ # controller provides, allowing you to create controllers with just the features
16
+ # that you need for API only applications.
14
17
  #
15
- # An API Controller is different from a normal controller in the sense that
16
- # by default it doesn't include a number of features that are usually required
17
- # by browser access only: layouts and templates rendering,
18
- # flash, assets, and so on. This makes the entire controller stack thinner,
19
- # suitable for API applications. It doesn't mean you won't have such
20
- # features if you need them: they're all available for you to include in
21
- # your application, they're just not part of the default API controller stack.
18
+ # An API Controller is different from a normal controller in the sense that by
19
+ # default it doesn't include a number of features that are usually required by
20
+ # browser access only: layouts and templates rendering, flash, assets, and so
21
+ # on. This makes the entire controller stack thinner, suitable for API
22
+ # applications. It doesn't mean you won't have such features if you need them:
23
+ # they're all available for you to include in your application, they're just not
24
+ # part of the default API controller stack.
22
25
  #
23
- # Normally, +ApplicationController+ is the only controller that inherits from
24
- # +ActionController::API+. All other controllers in turn inherit from
25
- # +ApplicationController+.
26
+ # Normally, `ApplicationController` is the only controller that inherits from
27
+ # `ActionController::API`. All other controllers in turn inherit from
28
+ # `ApplicationController`.
26
29
  #
27
30
  # A sample controller could look like this:
28
31
  #
29
- # class PostsController < ApplicationController
30
- # def index
31
- # posts = Post.all
32
- # render json: posts
32
+ # class PostsController < ApplicationController
33
+ # def index
34
+ # posts = Post.all
35
+ # render json: posts
36
+ # end
33
37
  # end
34
- # end
35
38
  #
36
39
  # Request, response, and parameters objects all work the exact same way as
37
40
  # ActionController::Base.
38
41
  #
39
- # == Renders
42
+ # ## Renders
40
43
  #
41
- # The default API Controller stack includes all renderers, which means you
42
- # can use <tt>render :json</tt> and siblings freely in your controllers. Keep
43
- # in mind that templates are not going to be rendered, so you need to ensure
44
- # your controller is calling either <tt>render</tt> or <tt>redirect_to</tt> in
45
- # all actions, otherwise it will return <tt>204 No Content</tt>.
44
+ # The default API Controller stack includes all renderers, which means you can
45
+ # use `render :json` and siblings freely in your controllers. Keep in mind that
46
+ # templates are not going to be rendered, so you need to ensure your controller
47
+ # is calling either `render` or `redirect_to` in all actions, otherwise it will
48
+ # return `204 No Content`.
46
49
  #
47
- # def show
48
- # post = Post.find(params[:id])
49
- # render json: post
50
- # end
50
+ # def show
51
+ # post = Post.find(params[:id])
52
+ # render json: post
53
+ # end
51
54
  #
52
- # == Redirects
55
+ # ## Redirects
53
56
  #
54
57
  # Redirects are used to move from one action to another. You can use the
55
- # <tt>redirect_to</tt> method in your controllers in the same way as in
58
+ # `redirect_to` method in your controllers in the same way as in
56
59
  # ActionController::Base. For example:
57
60
  #
58
- # def create
59
- # redirect_to root_url and return if not_authorized?
60
- # # do stuff here
61
- # end
61
+ # def create
62
+ # redirect_to root_url and return if not_authorized?
63
+ # # do stuff here
64
+ # end
62
65
  #
63
- # == Adding New Behavior
66
+ # ## Adding New Behavior
64
67
  #
65
68
  # In some scenarios you may want to add back some functionality provided by
66
69
  # ActionController::Base that is not present by default in
67
- # +ActionController::API+, for instance <tt>MimeResponds</tt>. This
68
- # module gives you the <tt>respond_to</tt> method. Adding it is quite simple,
69
- # you just need to include the module in a specific controller or in
70
- # +ApplicationController+ in case you want it available in your entire
71
- # application:
72
- #
73
- # class ApplicationController < ActionController::API
74
- # include ActionController::MimeResponds
75
- # end
76
- #
77
- # class PostsController < ApplicationController
78
- # def index
79
- # posts = Post.all
80
- #
81
- # respond_to do |format|
82
- # format.json { render json: posts }
83
- # format.xml { render xml: posts }
70
+ # `ActionController::API`, for instance `MimeResponds`. This module gives you
71
+ # the `respond_to` method. Adding it is quite simple, you just need to include
72
+ # the module in a specific controller or in `ApplicationController` in case you
73
+ # want it available in your entire application:
74
+ #
75
+ # class ApplicationController < ActionController::API
76
+ # include ActionController::MimeResponds
77
+ # end
78
+ #
79
+ # class PostsController < ApplicationController
80
+ # def index
81
+ # posts = Post.all
82
+ #
83
+ # respond_to do |format|
84
+ # format.json { render json: posts }
85
+ # format.xml { render xml: posts }
86
+ # end
84
87
  # end
85
88
  # end
86
- # end
87
89
  #
88
- # Make sure to check the modules included in ActionController::Base
89
- # if you want to use any other functionality that is not provided
90
- # by +ActionController::API+ out of the box.
90
+ # Make sure to check the modules included in ActionController::Base if you want
91
+ # to use any other functionality that is not provided by `ActionController::API`
92
+ # out of the box.
91
93
  class API < Metal
92
94
  abstract!
93
95
 
94
- # Shortcut helper that returns all the ActionController::API modules except
95
- # the ones passed as arguments:
96
+ # Shortcut helper that returns all the ActionController::API modules except the
97
+ # ones passed as arguments:
96
98
  #
97
- # class MyAPIBaseController < ActionController::Metal
98
- # ActionController::API.without_modules(:UrlFor).each do |left|
99
- # include left
99
+ # class MyAPIBaseController < ActionController::Metal
100
+ # ActionController::API.without_modules(:UrlFor).each do |left|
101
+ # include left
102
+ # end
100
103
  # end
101
- # end
102
104
  #
103
- # This gives better control over what you want to exclude and makes it easier
104
- # to create an API controller class, instead of listing the modules required
105
+ # This gives better control over what you want to exclude and makes it easier to
106
+ # create an API controller class, instead of listing the modules required
105
107
  # manually.
106
108
  def self.without_modules(*modules)
107
109
  modules = modules.map do |m|
@@ -121,24 +123,26 @@ module ActionController
121
123
  ConditionalGet,
122
124
  BasicImplicitRender,
123
125
  StrongParameters,
126
+ RateLimiting,
127
+ Caching,
124
128
 
125
129
  DataStreaming,
126
130
  DefaultHeaders,
127
131
  Logging,
128
132
 
129
- # Before callbacks should also be executed as early as possible, so
130
- # also include them at the bottom.
133
+ # Before callbacks should also be executed as early as possible, so also include
134
+ # them at the bottom.
131
135
  AbstractController::Callbacks,
132
136
 
133
137
  # Append rescue at the bottom to wrap as much as possible.
134
138
  Rescue,
135
139
 
136
- # Add instrumentations hooks at the bottom, to ensure they instrument
137
- # all the methods properly.
140
+ # Add instrumentations hooks at the bottom, to ensure they instrument all the
141
+ # methods properly.
138
142
  Instrumentation,
139
143
 
140
- # Params wrapper should come before instrumentation so they are
141
- # properly showed in logs
144
+ # Params wrapper should come before instrumentation so they are properly showed
145
+ # in logs
142
146
  ParamsWrapper
143
147
  ]
144
148