webmock 3.2.0 → 3.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.travis.yml +2 -1
- data/CHANGELOG.md +7 -0
- data/README.md +2 -0
- data/lib/webmock/util/json.rb +1 -2
- data/lib/webmock/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 179133602a27a9b18e133abc3ed4f2cdc0dd40b654584328ece6a78c0158abd5
|
4
|
+
data.tar.gz: c32e65dbc8de6903fc1074fc705d0484a2029d5c78bf55d8a67606867040f642
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 047c1a68dc3afcb1eb74ab1b4aa0f77edf0f7d17972b15abdde404d8305ad1fafa7a2915e0c82ed7337af935ca7740e4c9cc9d6ea8b83071b484b51c3da3624f
|
7
|
+
data.tar.gz: 3aa1f21106c10505bc565455c9c7db69f70ae70a0e4cf61e57545f56db997f3363ec6479f789df31b688b7586aa727ef6f9332851f7edeb0a572eec18a410091
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -35,6 +35,7 @@ Supported Ruby Interpreters
|
|
35
35
|
* MRI 2.2
|
36
36
|
* MRI 2.3
|
37
37
|
* MRI 2.4
|
38
|
+
* MRI 2.5
|
38
39
|
* JRuby
|
39
40
|
* Rubinius
|
40
41
|
|
@@ -1051,6 +1052,7 @@ People who submitted patches and new features or suggested improvements. Many th
|
|
1051
1052
|
* Piotr Boniecki
|
1052
1053
|
* Olia Kremmyda
|
1053
1054
|
* Michał Matyas
|
1055
|
+
* Matt Brictson
|
1054
1056
|
|
1055
1057
|
For a full list of contributors you can visit the
|
1056
1058
|
[contributors](https://github.com/bblimke/webmock/contributors) page.
|
data/lib/webmock/util/json.rb
CHANGED
@@ -24,13 +24,12 @@ module WebMock
|
|
24
24
|
|
25
25
|
# Ensure that ":" and "," are always followed by a space
|
26
26
|
def self.convert_json_to_yaml(json) #:nodoc:
|
27
|
-
scanner, quoting, marks,
|
27
|
+
scanner, quoting, marks, times = StringScanner.new(json), false, [], []
|
28
28
|
while scanner.scan_until(/(\\['"]|['":,\\]|\\.)/)
|
29
29
|
case char = scanner[1]
|
30
30
|
when '"', "'"
|
31
31
|
if !quoting
|
32
32
|
quoting = char
|
33
|
-
pos = scanner.pos
|
34
33
|
elsif quoting == char
|
35
34
|
quoting = false
|
36
35
|
end
|
data/lib/webmock/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: webmock
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.2.
|
4
|
+
version: 3.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bartosz Blimke
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-01-
|
11
|
+
date: 2018-01-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|
@@ -398,7 +398,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
398
398
|
version: '0'
|
399
399
|
requirements: []
|
400
400
|
rubyforge_project: webmock
|
401
|
-
rubygems_version: 2.
|
401
|
+
rubygems_version: 2.7.3
|
402
402
|
signing_key:
|
403
403
|
specification_version: 4
|
404
404
|
summary: Library for stubbing HTTP requests in Ruby.
|