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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: dcc2534597446961ba1489ab97892043fde75a6f
4
- data.tar.gz: 1ef34b8d183d56935d2991b73cfa183d172f1df5
2
+ SHA256:
3
+ metadata.gz: 179133602a27a9b18e133abc3ed4f2cdc0dd40b654584328ece6a78c0158abd5
4
+ data.tar.gz: c32e65dbc8de6903fc1074fc705d0484a2029d5c78bf55d8a67606867040f642
5
5
  SHA512:
6
- metadata.gz: f5ed61bb690ad3b649b944d2fbfe5d6c636303befe3ef378a3096dc17aa087fbb19ea36f73623400ae97bf20a30decb864ff32ba3fd9c0e452ef4dbf5b75e060
7
- data.tar.gz: e6d8db01788d4f7684cece257af0efa5ae975c2f194cf72c907883a212e35534a6e281d5ef8fa14cf6dc44d5e6b719464941592fa9cbbd86752124569e27774f
6
+ metadata.gz: 047c1a68dc3afcb1eb74ab1b4aa0f77edf0f7d17972b15abdde404d8305ad1fafa7a2915e0c82ed7337af935ca7740e4c9cc9d6ea8b83071b484b51c3da3624f
7
+ data.tar.gz: 3aa1f21106c10505bc565455c9c7db69f70ae70a0e4cf61e57545f56db997f3363ec6479f789df31b688b7586aa727ef6f9332851f7edeb0a572eec18a410091
@@ -1,10 +1,11 @@
1
1
  before_install:
2
+ - gem update --system
2
3
  - gem update bundler
3
-
4
4
  rvm:
5
5
  - 2.2.8
6
6
  - 2.3.5
7
7
  - 2.4.2
8
+ - 2.5.0
8
9
  - rbx-2
9
10
  - ruby-head
10
11
  - jruby-9.0.5.0
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## 3.2.1
4
+
5
+ * Fixed Ruby warning under Ruby 2.5
6
+
7
+ Thanks to [Matt Brictson](https://github.com/mattbrictson)
8
+
9
+
3
10
  ## 3.2.0
4
11
 
5
12
  * Automatically disable WebMock after Rspec suite
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.
@@ -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, pos, times = StringScanner.new(json), false, [], nil, []
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
@@ -1,3 +1,3 @@
1
1
  module WebMock
2
- VERSION = '3.2.0' unless defined?(::WebMock::VERSION)
2
+ VERSION = '3.2.1' unless defined?(::WebMock::VERSION)
3
3
  end
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.0
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-03 00:00:00.000000000 Z
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.6.13
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.