mirage 4.0.0.alpha3 → 4.0.0.alpha4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/server/mock_response.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 50bcf605e3374afe59ec1b2be22653369896d4be
|
4
|
+
data.tar.gz: 13a198c558c1c29bc7fe46108243a4bd1fc0f170
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2dacb34cb36454410853fe7a199cb28588e3914b3bf1cff0a76785f5c922d69ca8a7429582fc4d59521236103d35c27f6b9b40deedfac95ef5b18b1d3b8c058b
|
7
|
+
data.tar.gz: 50e561d322773aab49bbeacf29103eb72b708e0b922a1c57fda29bf6d9c2e6821eac0d6e00aca65cd26cb03f00749f8b96fb57ae70a7ca22cc85195188fb2892
|
data/server/mock_response.rb
CHANGED
@@ -209,7 +209,7 @@ module Mirage
|
|
209
209
|
value = value.gsub("${#{pattern}}", parameter_match)
|
210
210
|
end
|
211
211
|
|
212
|
-
[request_body, query_string].each do |string|
|
212
|
+
[request_body, query_string, request_parameters.url].each do |string|
|
213
213
|
if (string_match = find_match(string, pattern))
|
214
214
|
value = value.gsub("${#{pattern}}", string_match)
|
215
215
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mirage
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0.0.
|
4
|
+
version: 4.0.0.alpha4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Leon Davis
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-01-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sinatra
|