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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4fc5945edb1033b86201eb7434cac5800f2f1460bfa77182eb63dce07327d165
4
- data.tar.gz: 3570a137ad228f6c31a13d8c6639c7aba6d8f48a305f291a461774f11ac89a41
3
+ metadata.gz: 8d62d604b407ffef9b635aef4bb460b325a9561eea21cb337e8179ffaacd4255
4
+ data.tar.gz: 153e3210b2d18335b3e232a566fde315869c096d52cf52b67512cbd48124c51b
5
5
  SHA512:
6
- metadata.gz: 3f458ea524edb3bf6d1714d3584817211c75f57ef4064fca638e29f7fd8cae8ca39ab1c79bfa41ca2e5276196d36280bd2608cbcc1b0e27ee0eef8f491027505
7
- data.tar.gz: b19729faeaceca8986ebc735313d83a5e445aa93dba8c9d33957f750ef49eee6a037749dea585dc1281e213331ecef40fbad690dd66b1c248f4c5203048e24fc
6
+ metadata.gz: 5f6e152f80deb9c5a8450b4cd7b81fe5b01a57a846c9a16216578d19c63adb8ec9587548b403801f4615d71a0ef5ebde1c5ef99fe82a422b2967354acbe6c596
7
+ data.tar.gz: 58aecf3d2bf22578b0b22e82953297fb2c4e0f10d8687b4f7d7b1f2ace36a91f10a0a73ef4c17e5e0c16e47b1f626de7f4d38edc832c750696c59ae8d4be272c
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "gemName": "mockserver-client",
3
3
  "moduleName": "MockServer",
4
- "gemVersion": "5.3.0",
4
+ "gemVersion": "5.3.1",
5
5
  "gemLicense": "Apache-2.0",
6
6
  "gemRequiredRubyVersion": ">= 2.0",
7
7
  "gemHomepage": "https://www.mock-server.com",
@@ -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
- CGI.escape(@config.base_url + path)
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
- CGI.escape(url)
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).
@@ -11,5 +11,5 @@ OpenAPI Generator version: 3.3.1
11
11
  =end
12
12
 
13
13
  module MockServer
14
- VERSION = '5.3.1'
14
+ VERSION = '5.3.4'
15
15
  end
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.1
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-01 00:00:00.000000000 Z
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