webmock 3.15.1 → 3.15.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -6
- data/lib/webmock/request_signature.rb +2 -2
- data/lib/webmock/version.rb +1 -1
- data/webmock.gemspec +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 16b4c7cbd605852940cec98061211c0e61be7fe3508def1800076febade08cdd
|
|
4
|
+
data.tar.gz: 43a33f7993589931deea7860b11c4562a0c76ac9a0dda8cba3bc320c796e36ce
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a6d5f9bc87ef66d6700b9b989ea3c30cadd74e62cd67ef9477ab581cbfcc21444d66aa3570b7f9e62949e1be834233c302a887e9a4ae7682009c8f4ccea582c2
|
|
7
|
+
data.tar.gz: 137e6d7e95d18539d85b1a1aa53f290aaef74f50a08dcbc330e15bbc26446dadab03cae7cef7cb8c8cd586f942ff6e54123ab13b03d919dfb554663e4b74bb29
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
# 3.15.2
|
|
4
|
+
|
|
5
|
+
* Minimum required Ruby version is 2.0 again.
|
|
6
|
+
|
|
3
7
|
# 3.15.1
|
|
4
8
|
|
|
5
9
|
* Minimum required Ruby version is 2.3
|
|
@@ -7,19 +11,19 @@
|
|
|
7
11
|
# 3.15.0
|
|
8
12
|
|
|
9
13
|
* fixed async-http adapter on Windows
|
|
10
|
-
|
|
14
|
+
|
|
11
15
|
Tyanks to [Pavel Rosický](https://github.com/ahorek)
|
|
12
|
-
|
|
13
|
-
* Support for http.rb >= 5.0.2
|
|
14
|
-
|
|
16
|
+
|
|
17
|
+
* Support for http.rb >= 5.0.2
|
|
18
|
+
|
|
15
19
|
Thanks to [ojab](https://github.com/ojab)
|
|
16
20
|
|
|
17
21
|
* Curb adapter supports headers with `:` character in the header value
|
|
18
|
-
|
|
22
|
+
|
|
19
23
|
Thanks to [Giorgio Gambino](https://github.com/mrbuzz)
|
|
20
24
|
|
|
21
25
|
* Support for matching body of JSON or application/x-www-form-urlencoded requests with content type header including charset.
|
|
22
|
-
|
|
26
|
+
|
|
23
27
|
Thanks to [Timmitry](https://github.com/Timmitry)
|
|
24
28
|
|
|
25
29
|
* Prevent double-wrapping http.rb features on non-stubbed requests
|
|
@@ -35,11 +35,11 @@ module WebMock
|
|
|
35
35
|
alias == eql?
|
|
36
36
|
|
|
37
37
|
def url_encoded?
|
|
38
|
-
!!(headers
|
|
38
|
+
!!(headers && headers.fetch('Content-Type', "").start_with?('application/x-www-form-urlencoded'))
|
|
39
39
|
end
|
|
40
40
|
|
|
41
41
|
def json_headers?
|
|
42
|
-
!!(headers
|
|
42
|
+
!!(headers && headers.fetch('Content-Type', "").start_with?('application/json'))
|
|
43
43
|
end
|
|
44
44
|
|
|
45
45
|
private
|
data/lib/webmock/version.rb
CHANGED
data/webmock.gemspec
CHANGED
|
@@ -21,7 +21,7 @@ Gem::Specification.new do |s|
|
|
|
21
21
|
'wiki_uri' => 'https://github.com/bblimke/webmock/wiki'
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
s.required_ruby_version = '>= 2.
|
|
24
|
+
s.required_ruby_version = '>= 2.0'
|
|
25
25
|
|
|
26
26
|
s.add_dependency 'addressable', '>= 2.8.0'
|
|
27
27
|
s.add_dependency 'crack', '>= 0.3.2'
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: webmock
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.15.
|
|
4
|
+
version: 3.15.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Bartosz Blimke
|
|
@@ -421,9 +421,9 @@ licenses:
|
|
|
421
421
|
- MIT
|
|
422
422
|
metadata:
|
|
423
423
|
bug_tracker_uri: https://github.com/bblimke/webmock/issues
|
|
424
|
-
changelog_uri: https://github.com/bblimke/webmock/blob/v3.15.
|
|
425
|
-
documentation_uri: https://www.rubydoc.info/gems/webmock/3.15.
|
|
426
|
-
source_code_uri: https://github.com/bblimke/webmock/tree/v3.15.
|
|
424
|
+
changelog_uri: https://github.com/bblimke/webmock/blob/v3.15.2/CHANGELOG.md
|
|
425
|
+
documentation_uri: https://www.rubydoc.info/gems/webmock/3.15.2
|
|
426
|
+
source_code_uri: https://github.com/bblimke/webmock/tree/v3.15.2
|
|
427
427
|
wiki_uri: https://github.com/bblimke/webmock/wiki
|
|
428
428
|
post_install_message:
|
|
429
429
|
rdoc_options: []
|
|
@@ -433,7 +433,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
433
433
|
requirements:
|
|
434
434
|
- - ">="
|
|
435
435
|
- !ruby/object:Gem::Version
|
|
436
|
-
version: '2.
|
|
436
|
+
version: '2.0'
|
|
437
437
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
438
438
|
requirements:
|
|
439
439
|
- - ">="
|