rspec-http_helpers 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rspec/http_helpers/http_querystring_matcher.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2dbfe99463353fc603b1235ddc40431fdb999e089b0e22b5c9faec6ebea2a9a2
|
4
|
+
data.tar.gz: c223fd1d9160f67afb64a3d6bf4d51b8e1441f33100939cb1120d5bf24530fe1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a316deb92019f4b5565f1987dbb41289ec71ccad18e83a8ee7b86994c301e1e70a4c70e6a2b4545714dbd9626d14d38a711c712806d813901aededad36788927
|
7
|
+
data.tar.gz: fa82303ea0f64fdb4e8f3c0ff95f36b14e944380da19135ecb7c7dca2351f6c6effe3e4cdc7fc1d4c0d9acc444d3ac3effb06211c6a12c8126cb28170a3e2186
|
@@ -40,7 +40,7 @@ module RSpec
|
|
40
40
|
def uri_from(value)
|
41
41
|
case value
|
42
42
|
when nil then URI.parse('')
|
43
|
-
when /^
|
43
|
+
when /^https:/ then URI.parse(value)
|
44
44
|
when /\?/ then URI.parse(value)
|
45
45
|
when String then URI.parse("?#{value}")
|
46
46
|
when URI::Generic then value
|