Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency webmock to v3.23.1 - autoclosed #33

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 29, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
webmock (changelog) '3.18.1' -> '3.23.1' age adoption passing confidence

Release Notes

bblimke/webmock (webmock)

v3.23.1

Compare Source

v3.23.0

Compare Source

  • Fixed HTTP.rb adapter to support streaming real responses when WebMock is enabled.

    Thanks to Viacheslav Nepomniashchikh for reporting and investigating this issue.

v3.22.0

Compare Source

  • Addressed an issue in the HTTPClient adapter where memoized stubbed responses and memoized request_signatures were incorrectly persisted between subsequent requests (#​1019). The implementation of a more robust thread-safety solution by Tom Beauvais in PR #​300 not only resolved the memoization problem but also enhanced the overall thread safety of the adapter. This update ensures that stubbed responses and request signatures are correctly isolated to individual requests, improving both consistency and thread safety.

v3.21.2

Compare Source

  • Corrected type checking in WebMock::Response#assert_valid_body! to accurately recognize Hash objects. Additionally, improved the clarity of the error message for unsupported body types, guiding users towards proper usage.

    Thanks to Jake Robb for reporting.

v3.21.1

Compare Source

  • The stubbed Net::HTTPResponse#uri now returns request.uri, aligning it with the behavior of an actual Net::HTTPResponse.

    Thanks to Abe Voelker for reporting and to Victor Maslov and Gio Lodi for the suggested solution.

v3.21.0

Compare Source

  • Don't use deprecated Rack::VERSION for Rack >= 3

    Thanks to Étienne Barrié

    • Updated HTTPClient adapter, to build request signature using the URI after filters have been applied.

      Thanks to Matt Brown

v3.20.0

Compare Source

  • Optimised EmHttpRequestAdapter performance.

    Thanks to Ricardo Trindade

    • Removed runtime dependency on base64.

      Thanks to Earlopain

    • Typhoeus::Response objects constructed from stubbed responses now have all timing attributes set to 0.0.

      Thanks to James Brown

    • Optimised WebMock::Util::Headers by removing redundant freeze invocations.

      Thanks to Kazuhiro NISHIYAMA

    • The default stubbed response body, which is an empty String, is unfrozen.

    • When building signatures of requests made by http.rb, the request body encoding is now preserved.

v3.19.1

Compare Source

  • When passing a Proc or lambda as response body to to_return_json, the body is evaluated at the time of request and not at the time of to_return_json method invocation.

    Thanks to [Jason Karns](https://togithub.com/jasonkarns) for reporting.
    

v3.19.0

Compare Source

  • Do not alter real (non-stubbed) request headers when handling em-http-request requests.

    Thanks to [Yoann Lecuyer](https://togithub.com/ylecuyer)
    
    • Fix matching stubs with HashExcludingMatcher

      Thanks to Lucas Arnaud

    • Remove development and test files from the gem package

      Thanks to Orien Madgwick

    • Fix supported http client gem version checks.

      Thanks to Marc Rohloff and Roman Stražanec

    • Non-string body passed to #to_return_json is now converted to JSON string.

      Thanks to inkstak

    • [::1] is recognised as localhost e.g when passing allow_localhost option to disable_net_connect!

      Thanks to Yuki Inoue

    • Optimized normalize_headers for performance

      Thanks to Brandon Weaver

    • Added Frozen string literal to files to optimise memory usage

      Thanks to Josh Nichols


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@0crat
Copy link

0crat commented Aug 29, 2023

@renovate/z[bot] this pull request is too small, just 2 lines changed (less than 10), there will be no formal code review, see §53 and §28; in the future, try to make sure your pull requests are not too small; @yegor256/z please review this and merge or reject

@yegor256
Copy link
Contributor

@rultor please, try to merge, since 6 checks have passed

@rultor
Copy link
Collaborator

rultor commented Aug 29, 2023

@rultor please, try to merge, since 6 checks have passed

@yegor256 OK, I'll try to merge now. You can check the progress of the merge here

@rultor
Copy link
Collaborator

rultor commented Aug 29, 2023

@rultor please, try to merge, since 6 checks have passed

@renovate[bot] @yegor256 Oops, I failed. You can see the full log here (spent 2min)

+ trap - EXIT HUP INT QUIT TERM
+ [[ -n '' ]]
+ ((  rvm_bash_nounset == 1  ))
+ unset rvm_bash_nounset
+ [[ -n '' ]]
+ [[ -n 0002 ]]
+ umask 0002
+ unset rvm_stored_umask
+ builtin command -v __rvm_cleanup_download
+ [[ '' == \1 ]]
+ __variables_definition unset
+ typeset -a __variables_list __array_list
+ typeset __method
+ __method=unset
+ __variables_list=(rvm_head_flag rvm_ruby_selected_flag rvm_user_install_flag rvm_path_flag rvm_cron_flag rvm_static_flag rvm_default_flag rvm_loaded_flag rvm_llvm_flag rvm_skip_autoreconf_flag rvm_dynamic_extensions_flag rvm_18_flag rvm_19_flag rvm_20_flag rvm_21_flag rvm_force_autoconf_flag rvm_dump_environment_flag rvm_curl_flags rvm_rubygems_version rvm_verbose_flag rvm_debug_flag rvm_trace_flag __array_start rvm_skip_pristine_flag rvm_create_flag rvm_remove_flag rvm_movable_flag rvm_archive_flag rvm_gemdir_flag rvm_reload_flag rvm_auto_reload_flag rvm_disable_binary_flag rvm_ignore_gemsets_flag rvm_skip_gemsets_flag rvm_install_on_use_flag rvm_remote_flag rvm_verify_downloads_flag rvm_skip_openssl_flag rvm_gems_cache_path rvm_gems_path rvm_man_path rvm_ruby_gem_path rvm_ruby_log_path rvm_gems_cache_path rvm_archives_path rvm_docs_path rvm_environments_path rvm_examples_path rvm_gems_path rvm_gemsets_path rvm_help_path rvm_hooks_path rvm_lib_path rvm_log_path rvm_patches_path rvm_repos_path rvm_rubies_path rvm_scripts_path rvm_src_path rvm_tmp_path rvm_user_path rvm_usr_path rvm_wrappers_path rvm_stored_errexit rvm_ruby_strings rvm_ruby_binary rvm_ruby_gem_home rvm_ruby_home rvm_ruby_interpreter rvm_ruby_irbrc rvm_ruby_major_version rvm_ruby_minor_version rvm_ruby_package_name rvm_ruby_patch_level rvm_ruby_release_version rvm_ruby_repo_url rvm_ruby_repo_branch rvm_ruby_revision rvm_ruby_tag rvm_ruby_sha rvm_ruby_repo_tag rvm_ruby_version rvm_ruby_package_file rvm_ruby_name rvm_ruby_name rvm_ruby_args rvm_ruby_user_tag rvm_ruby_patch detected_rvm_ruby_name __rvm_env_loaded next_token rvm_error_message rvm_gemset_name rvm_parse_break rvm_token rvm_action rvm_export_args rvm_gemset_separator rvm_expanding_aliases rvm_tar_command rvm_tar_options rvm_patch_original_pwd rvm_project_rvmrc rvm_archive_extension rvm_autoinstall_bundler_flag rvm_codesign_identity rvm_expected_gemset_name rvm_without_gems rvm_with_gems rvm_with_default_gems rvm_ignore_dotfiles_flag rvm_fuzzy_flag rvm_autolibs_flag rvm_autolibs_flag_number rvm_autolibs_flag_runner rvm_quiet_curl_flag rvm_max_time_flag rvm_error_clr rvm_warn_clr rvm_debug_clr rvm_notify_clr rvm_code_clr rvm_comment_clr rvm_reset_clr rvm_error_color rvm_warn_color rvm_debug_color rvm_notify_color rvm_code_color rvm_comment_color rvm_reset_color rvm_log_timestamp rvm_log_filesystem rvm_log_namelen rvm_show_log_lines_on_error)
+ __array_list=(rvm_patch_names rvm_ree_options rvm_autoconf_flags rvm_architectures)
+ case "${__method}" in
+ unset rvm_patch_names rvm_ree_options rvm_autoconf_flags rvm_architectures
+ unset rvm_head_flag rvm_ruby_selected_flag rvm_user_install_flag rvm_path_flag rvm_cron_flag rvm_static_flag rvm_default_flag rvm_loaded_flag rvm_llvm_flag rvm_skip_autoreconf_flag rvm_dynamic_extensions_flag rvm_18_flag rvm_19_flag rvm_20_flag rvm_21_flag rvm_force_autoconf_flag rvm_dump_environment_flag rvm_curl_flags rvm_rubygems_version rvm_verbose_flag rvm_debug_flag rvm_trace_flag __array_start rvm_skip_pristine_flag rvm_create_flag rvm_remove_flag rvm_movable_flag rvm_archive_flag rvm_gemdir_flag rvm_reload_flag rvm_auto_reload_flag rvm_disable_binary_flag rvm_ignore_gemsets_flag rvm_skip_gemsets_flag rvm_install_on_use_flag rvm_remote_flag rvm_verify_downloads_flag rvm_skip_openssl_flag rvm_gems_cache_path rvm_gems_path rvm_man_path rvm_ruby_gem_path rvm_ruby_log_path rvm_gems_cache_path rvm_archives_path rvm_docs_path rvm_environments_path rvm_examples_path rvm_gems_path rvm_gemsets_path rvm_help_path rvm_hooks_path rvm_lib_path rvm_log_path rvm_patches_path rvm_repos_path rvm_rubies_path rvm_scripts_path rvm_src_path rvm_tmp_path rvm_user_path rvm_usr_path rvm_wrappers_path rvm_stored_errexit rvm_ruby_strings rvm_ruby_binary rvm_ruby_gem_home rvm_ruby_home rvm_ruby_interpreter rvm_ruby_irbrc rvm_ruby_major_version rvm_ruby_minor_version rvm_ruby_package_name rvm_ruby_patch_level rvm_ruby_release_version rvm_ruby_repo_url rvm_ruby_repo_branch rvm_ruby_revision rvm_ruby_tag rvm_ruby_sha rvm_ruby_repo_tag rvm_ruby_version rvm_ruby_package_file rvm_ruby_name rvm_ruby_name rvm_ruby_args rvm_ruby_user_tag rvm_ruby_patch detected_rvm_ruby_name __rvm_env_loaded next_token rvm_error_message rvm_gemset_name rvm_parse_break rvm_token rvm_action rvm_export_args rvm_gemset_separator rvm_expanding_aliases rvm_tar_command rvm_tar_options rvm_patch_original_pwd rvm_project_rvmrc rvm_archive_extension rvm_autoinstall_bundler_flag rvm_codesign_identity rvm_expected_gemset_name rvm_without_gems rvm_with_gems rvm_with_default_gems rvm_ignore_dotfiles_flag rvm_fuzzy_flag rvm_autolibs_flag rvm_autolibs_flag_number rvm_autolibs_flag_runner rvm_quiet_curl_flag rvm_max_time_flag rvm_error_clr rvm_warn_clr rvm_debug_clr rvm_notify_clr rvm_code_clr rvm_comment_clr rvm_reset_clr rvm_error_color rvm_warn_color rvm_debug_color rvm_notify_color rvm_code_color rvm_comment_color rvm_reset_color rvm_log_timestamp rvm_log_filesystem rvm_log_namelen rvm_show_log_lines_on_error
+ [[ -n 5.1.16(1)-release ]]
+ export -fn __rvm_select_version_variables __rvm_ruby_string_parse_ __rvm_rm_rf_verbose __rvm_parse_args __rvm_ruby_string_find __rvm_file_load_env __rvm_remove_without_gems
+ unset _system_arch _system_name _system_type _system_version
+ return 0
+ return 0
+ true
+ export [email protected]:zold-io/zold-ruby-sdk.git
+ [email protected]:zold-io/zold-ruby-sdk.git
+ export pull_id=33
+ pull_id=33
+ export [email protected]:zold-io/zold-ruby-sdk.git
+ [email protected]:zold-io/zold-ruby-sdk.git
+ export fork_branch=renovate/webmock-3.x
+ fork_branch=renovate/webmock-3.x
+ export head_branch=master
+ head_branch=master
+ export 'pull_title=Update dependency webmock to v3.19.1'
+ pull_title='Update dependency webmock to v3.19.1'
+ export author=yegor256
+ author=yegor256
+ sudo -i apt-get install -y libcurl4-gnutls-dev
Using /usr/local/rvm/gems/ruby-3.0.1
Using /usr/local/rvm/gems/ruby-3.0.1

Reading package lists... 0%

Reading package lists... 0%

Reading package lists... 0%

Reading package lists... 7%

Reading package lists... 7%

Reading package lists... 8%

Reading package lists... 8%

Reading package lists... 76%

Reading package lists... 76%

Reading package lists... 77%

Reading package lists... 77%

Reading package lists... 79%

Reading package lists... 80%

Reading package lists... 80%

Reading package lists... 82%

Reading package lists... 82%

Reading package lists... 88%

Reading package lists... 88%

Reading package lists... 88%

Reading package lists... 88%

Reading package lists... 88%

Reading package lists... 88%

Reading package lists... 89%

Reading package lists... 89%

Reading package lists... 91%

Reading package lists... 91%

Reading package lists... 93%

Reading package lists... 93%

Reading package lists... 98%

Reading package lists... 98%

Reading package lists... 98%

Reading package lists... 98%

Reading package lists... 98%

Reading package lists... 98%

Reading package lists... 98%

Reading package lists... 98%

Reading package lists... 98%

Reading package lists... 98%

Reading package lists... 99%

Reading package lists... 99%

Reading package lists... Done


Building dependency tree... 0%

Building dependency tree... 0%

Building dependency tree... 50%

Building dependency tree... 50%

Building dependency tree... Done


Reading state information... 0% 

Reading state information... 0%

Reading state information... Done

Suggested packages:
  libcurl4-doc libgnutls28-dev libidn11-dev libkrb5-dev libldap2-dev
  librtmp-dev libssh2-1-dev
The following NEW packages will be installed:
  libcurl4-gnutls-dev
0 upgraded, 1 newly installed, 0 to remove and 91 not upgraded.
Need to get 379 kB of archives.
After this operation, 1,671 kB of additional disk space will be used.

0% [Working]
            
Ign:1 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libcurl4-gnutls-dev amd64 7.81.0-1ubuntu1.10

0% [Working]
            
Err:1 http://security.ubuntu.com/ubuntu jammy-updates/main amd64 libcurl4-gnutls-dev amd64 7.81.0-1ubuntu1.10
  404  Not Found [IP: 91.189.91.82 80]

0% [Working]
            
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/c/curl/libcurl4-gnutls-dev_7.81.0-1ubuntu1.10_amd64.deb  404  Not Found [IP: 91.189.91.82 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
container 90b5a6af002a28320379fdb0bc7f4dbe89fe5d1c981d85eef7fbaed7fd723fbf is dead
Wed 30 Aug 2023 12:35:44 AM CEST

@renovate renovate bot changed the title Update dependency webmock to v3.19.1 Update dependency webmock to v3.20.0 Feb 6, 2024
@renovate renovate bot changed the title Update dependency webmock to v3.20.0 Update dependency webmock to v3.21.0 Feb 19, 2024
@renovate renovate bot changed the title Update dependency webmock to v3.21.0 Update dependency webmock to v3.21.2 Feb 20, 2024
@renovate renovate bot changed the title Update dependency webmock to v3.21.2 Update dependency webmock to v3.22.0 Feb 21, 2024
@renovate renovate bot changed the title Update dependency webmock to v3.22.0 Update dependency webmock to v3.23.0 Feb 26, 2024
@renovate renovate bot changed the title Update dependency webmock to v3.23.0 Update dependency webmock to v3.23.1 May 24, 2024
@renovate renovate bot changed the title Update dependency webmock to v3.23.1 Update dependency webmock to v3.23.1 - autoclosed Aug 14, 2024
@renovate renovate bot closed this Aug 14, 2024
@renovate renovate bot deleted the renovate/webmock-3.x branch August 14, 2024 20:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants