mockserver-client-2 5.3.1 → 5.3.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/code-generation-config.json +1 -1
- data/lib/mockserver-client/api_client.rb +1 -1
- data/lib/mockserver-client/configuration.rb +5 -1
- data/lib/mockserver-client/version.rb +1 -1
- data/mockserver-client-2-5.3.1.gem +0 -0
- data/mockserver-client-2-5.3.2.gem +0 -0
- data/mockserver-client-2-5.3.3.gem +0 -0
- metadata +5 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8d62d604b407ffef9b635aef4bb460b325a9561eea21cb337e8179ffaacd4255
|
4
|
+
data.tar.gz: 153e3210b2d18335b3e232a566fde315869c096d52cf52b67512cbd48124c51b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5f6e152f80deb9c5a8450b4cd7b81fe5b01a57a846c9a16216578d19c63adb8ec9587548b403801f4615d71a0ef5ebde1c5ef99fe82a422b2967354acbe6c596
|
7
|
+
data.tar.gz: 58aecf3d2bf22578b0b22e82953297fb2c4e0f10d8687b4f7d7b1f2ace36a91f10a0a73ef4c17e5e0c16e47b1f626de7f4d38edc832c750696c59ae8d4be272c
|
data/code-generation-config.json
CHANGED
@@ -263,7 +263,7 @@ module MockServer
|
|
263
263
|
def build_request_url(path)
|
264
264
|
# Add leading and trailing slashes to path
|
265
265
|
path = "/#{path}".gsub(/\/+/, '/')
|
266
|
-
|
266
|
+
ERB::Util.url_encode(@config.base_url + path)
|
267
267
|
end
|
268
268
|
|
269
269
|
# Builds the HTTP request body
|
@@ -175,7 +175,11 @@ module MockServer
|
|
175
175
|
|
176
176
|
def base_url
|
177
177
|
url = "#{scheme}://#{[host, base_path].join('/').gsub(/\/+/, '/')}".sub(/\/+\z/, '')
|
178
|
-
|
178
|
+
puts url
|
179
|
+
puts ERB::Util.url_encode(url)
|
180
|
+
puts CGI.escape(url)
|
181
|
+
puts "TEST TEST TEST TEST"
|
182
|
+
ERB::Util.url_encode(url)
|
179
183
|
end
|
180
184
|
|
181
185
|
# Gets API key (with prefix if set).
|
Binary file
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mockserver-client-2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.3.
|
4
|
+
version: 5.3.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- George bowers
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-03-
|
11
|
+
date: 2022-03-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -264,6 +264,9 @@ files:
|
|
264
264
|
- lib/mockserver-client/models/verification_sequence.rb
|
265
265
|
- lib/mockserver-client/models/verification_times.rb
|
266
266
|
- lib/mockserver-client/version.rb
|
267
|
+
- mockserver-client-2-5.3.1.gem
|
268
|
+
- mockserver-client-2-5.3.2.gem
|
269
|
+
- mockserver-client-2-5.3.3.gem
|
267
270
|
- mockserver-client.gemspec
|
268
271
|
- spec/api/control_api_spec.rb
|
269
272
|
- spec/api/expectation_api_spec.rb
|