We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8030a9 commit 16052e5Copy full SHA for 16052e5
lib/rack/test/utils.rb
@@ -6,7 +6,7 @@ module Utils # :nodoc:
6
include Rack::Utils
7
extend self
8
9
- if Rack.release < '3.1.0'
+ if Gem::Version.new(Rack.release) < Gem::Version.new("3.1")
10
# Build a query string for the given value and prefix. The value
11
# can be an array or hash of parameters.
12
def build_nested_query(value, prefix = nil)
0 commit comments