webmock 3.25.0 → 3.25.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a71743bb6d5f304d032ba24c918ac45b07426f28b170068c5fbd5c7c0757fcb6
4
- data.tar.gz: ad25d2f20543df2419e74378c2f072824347d37587a7a8fd00dccca40aaa07e5
3
+ metadata.gz: 4471c79f7254ad167ce3c961c4304c8e59e2301afd7932a55f752948a9df4a68
4
+ data.tar.gz: d369c322527d0497c124b9782637098e787211ac1c86b237557fb1cb0043aad5
5
5
  SHA512:
6
- metadata.gz: 00f2b6475d6845de134311b47cd545c674b750f6b270579bc3124664f40ce60d7b56b26c531d0e968d72fa53d1c902f105d7e52d274330336c30c504cbcd83e3
7
- data.tar.gz: 163df74a3e2c219ee42c8d591acd9042e605427433129a7c421dc4d25671ca8073757409fb105740601add8284d52b2a464ed59500829dc9a97eeceb99b2545c
6
+ metadata.gz: b0d6e23baead2656c34e64af8c6e7fa3d6b751283af3337e2bb19a09267919639995cd8f66ff5fe8eb84a629d12ed772ef678628832a8a10c069fd1b7bb035ba
7
+ data.tar.gz: eeba044f07023a9e1b285f992726046c8f47ec6602ee47b9334403660a2c88703a41acf4f8ad605d20c05be362ed79b312929c1d2a3db223f98790900ee9c737
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ # 3.25.1
4
+
5
+ * Fix FrozenError in Typhoeus streaming response body
6
+
7
+ Thanks to [Patrick Jaberg](https://github.com/patrickjaberg)
8
+
3
9
  # 3.25.0
4
10
 
5
11
  * Resolve net-http adapter deprecation Ruby 3.4
data/README.md CHANGED
@@ -1207,6 +1207,7 @@ People who submitted patches and new features or suggested improvements. Many th
1207
1207
  * Jacob Frautschi
1208
1208
  * Christian Schmidt
1209
1209
  * Rodrigo Argumedo
1210
+ * Patrick Jaberg
1210
1211
 
1211
1212
  For a full list of contributors you can visit the
1212
1213
  [contributors](https://github.com/bblimke/webmock/contributors) page.
@@ -172,7 +172,7 @@ if defined?(Typhoeus)
172
172
  request.execute_headers_callbacks(response)
173
173
  end
174
174
  if request.respond_to?(:streaming?) && request.streaming?
175
- response.options[:response_body] = ""
175
+ response.options[:response_body] = "".dup
176
176
  request.on_body.each { |callback| callback.call(webmock_response.body, response) }
177
177
  end
178
178
  request.finish(response)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module WebMock
4
- VERSION = '3.25.0' unless defined?(::WebMock::VERSION)
4
+ VERSION = '3.25.1' unless defined?(::WebMock::VERSION)
5
5
  end
metadata CHANGED
@@ -1,13 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: webmock
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.25.0
4
+ version: 3.25.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bartosz Blimke
8
+ autorequire:
8
9
  bindir: bin
9
10
  cert_chain: []
10
- date: 2025-02-06 00:00:00.000000000 Z
11
+ date: 2025-03-08 00:00:00.000000000 Z
11
12
  dependencies:
12
13
  - !ruby/object:Gem::Dependency
13
14
  name: addressable
@@ -372,10 +373,11 @@ licenses:
372
373
  - MIT
373
374
  metadata:
374
375
  bug_tracker_uri: https://github.com/bblimke/webmock/issues
375
- changelog_uri: https://github.com/bblimke/webmock/blob/v3.25.0/CHANGELOG.md
376
- documentation_uri: https://www.rubydoc.info/gems/webmock/3.25.0
377
- source_code_uri: https://github.com/bblimke/webmock/tree/v3.25.0
376
+ changelog_uri: https://github.com/bblimke/webmock/blob/v3.25.1/CHANGELOG.md
377
+ documentation_uri: https://www.rubydoc.info/gems/webmock/3.25.1
378
+ source_code_uri: https://github.com/bblimke/webmock/tree/v3.25.1
378
379
  wiki_uri: https://github.com/bblimke/webmock/wiki
380
+ post_install_message:
379
381
  rdoc_options: []
380
382
  require_paths:
381
383
  - lib
@@ -383,14 +385,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
383
385
  requirements:
384
386
  - - ">="
385
387
  - !ruby/object:Gem::Version
386
- version: '2.5'
388
+ version: '2.6'
387
389
  required_rubygems_version: !ruby/object:Gem::Requirement
388
390
  requirements:
389
391
  - - ">="
390
392
  - !ruby/object:Gem::Version
391
393
  version: '0'
392
394
  requirements: []
393
- rubygems_version: 3.7.0.dev
395
+ rubygems_version: 3.2.3
396
+ signing_key:
394
397
  specification_version: 4
395
398
  summary: Library for stubbing HTTP requests in Ruby.
396
399
  test_files: []