webmock 1.24.4 → 1.24.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.24.5
4
+
5
+ * Fixed issue with RUBY_VERSION comparison using old RubyGems.
6
+
7
+ Thanks to [Chris Griego](https://github.com/cgriego).
8
+
3
9
  ## 1.24.4
4
10
 
5
11
  * Fixed the issue with parsing query to a hash with nested array i.e. `a[][b][]=one&a[][c][]=two`
data/README.md CHANGED
@@ -1043,6 +1043,7 @@ People who submitted patches and new features or suggested improvements. Many th
1043
1043
  * Manfred Stienstra
1044
1044
  * Tim Diggins
1045
1045
  * Gabriel Chaney
1046
+ * Chris Griego
1046
1047
 
1047
1048
  For a full list of contributors you can visit the
1048
1049
  [contributors](https://github.com/bblimke/webmock/contributors) page.
@@ -1,3 +1,3 @@
1
1
  module WebMock
2
- VERSION = '1.24.4' unless defined?(::WebMock::VERSION)
2
+ VERSION = '1.24.5' unless defined?(::WebMock::VERSION)
3
3
  end
@@ -132,7 +132,7 @@ describe "Net:HTTP" do
132
132
  end
133
133
  end
134
134
 
135
- if Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.3.0')
135
+ if Gem::Version.new(RUBY_VERSION.dup) < Gem::Version.new('2.3.0')
136
136
  expect do
137
137
  http.request(request)
138
138
  end.to raise_error ArgumentError, "Net:HTTP does not accept headers as symbols"
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: webmock
3
3
  version: !ruby/object:Gem::Version
4
- hash: 127
4
+ hash: 125
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 24
9
- - 4
10
- version: 1.24.4
9
+ - 5
10
+ version: 1.24.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Bartosz Blimke
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2016-04-20 00:00:00 +02:00
18
+ date: 2016-04-21 00:00:00 +02:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency