lib/roda/plugins/backtracking_array.rb in roda-2.27.0 vs lib/roda/plugins/backtracking_array.rb in roda-2.28.0
- old
+ new
@@ -25,10 +25,12 @@
# matches the path fully, the terminal matcher also matches,
# and the match block yields.
module BacktrackingArray
module RequestMethods
PATH_INFO = "PATH_INFO".freeze
+ RodaPlugins.deprecate_constant(self, :PATH_INFO)
SCRIPT_NAME = "SCRIPT_NAME".freeze
+ RodaPlugins.deprecate_constant(self, :SCRIPT_NAME)
private
# When matching for a single array, after a successful
# array element match, attempt to match all remaining