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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/server/mock_response.rb +1 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e7f45ff1548ff88142cc5db82d0545896ec91da9
4
- data.tar.gz: d1235abb16ee1d6527fdef5c6b8c798737dc9ad1
3
+ metadata.gz: 50bcf605e3374afe59ec1b2be22653369896d4be
4
+ data.tar.gz: 13a198c558c1c29bc7fe46108243a4bd1fc0f170
5
5
  SHA512:
6
- metadata.gz: ec5e1640ac38dff251e71e8b9c04851cc205a29223eed996b45292c8b2e565146c5be566b9dbcdb0220e7b8e661a6b4fca7c6a8f195fcb668ecc57eaf68ed457
7
- data.tar.gz: a2408dfa686b47d46a9432493401b85f0f7b6ef0a76548e07ac9302613ca248ca556aa66e962092d29eed87c307a5cd4570e0d32a84323eb4da459e0d66e819f
6
+ metadata.gz: 2dacb34cb36454410853fe7a199cb28588e3914b3bf1cff0a76785f5c922d69ca8a7429582fc4d59521236103d35c27f6b9b40deedfac95ef5b18b1d3b8c058b
7
+ data.tar.gz: 50e561d322773aab49bbeacf29103eb72b708e0b922a1c57fda29bf6d9c2e6821eac0d6e00aca65cd26cb03f00749f8b96fb57ae70a7ca22cc85195188fb2892
@@ -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.alpha3
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: 2017-11-21 00:00:00.000000000 Z
11
+ date: 2018-01-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sinatra