From 1bde67fba3c46cbde5ae0a4f4c4f79ce2efbf80b Mon Sep 17 00:00:00 2001 From: anniel-stripe <97691964+anniel-stripe@users.noreply.github.com> Date: Mon, 5 Feb 2024 10:24:06 -0800 Subject: [PATCH 1/3] Remove internal usages of _search (#1320) --- lib/stripe/search_result_object.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/stripe/search_result_object.rb b/lib/stripe/search_result_object.rb index 81e10ca0f..5ad682818 100644 --- a/lib/stripe/search_result_object.rb +++ b/lib/stripe/search_result_object.rb @@ -80,7 +80,7 @@ def next_search_result_page(params = {}, opts = {}) params = filters.merge(page: next_page).merge(params) - _search(url, params, opts) + request_stripe_object(method: :get, path: url, params: params, opts: opts) end end end From 32681000bfa48e889b6e9646cae5bdb62381c192 Mon Sep 17 00:00:00 2001 From: Annie Li Date: Mon, 5 Feb 2024 10:30:16 -0800 Subject: [PATCH 2/3] Bump version to 10.7.1 --- CHANGELOG.md | 3 +++ VERSION | 2 +- lib/stripe/version.rb | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cee80fa81..32eba15d9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,7 @@ # Changelog +## 10.7.1 - 2024-02-05 +* [#1320](https://github.com/stripe/stripe-ruby/pull/1320) Remove spurious _search deprecation messages (https://github.com/stripe/stripe-ruby/issues/1319) + ## 10.7.0 - 2024-02-01 * [#1317](https://github.com/stripe/stripe-ruby/pull/1317) Remove list method in child resources * Removes list method mixin from child resources, as these methods always return `InvalidRequestError` and never succeed diff --git a/VERSION b/VERSION index 1bcdaf5fe..17dfec889 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -10.7.0 +10.7.1 diff --git a/lib/stripe/version.rb b/lib/stripe/version.rb index 122b8c1c7..08ed8b92c 100644 --- a/lib/stripe/version.rb +++ b/lib/stripe/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Stripe - VERSION = "10.7.0" + VERSION = "10.7.1" end From b56a9b6c76de028db46b7322bd38837fb1d49c44 Mon Sep 17 00:00:00 2001 From: helenye-stripe <111009531+helenye-stripe@users.noreply.github.com> Date: Mon, 5 Feb 2024 12:10:11 -0800 Subject: [PATCH 3/3] Update mocha gem to 1.16 (#1314) * attempt to update mocha to 2.0 * try 1.16 instead --- Gemfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index c25a22f55..a217895d8 100644 --- a/Gemfile +++ b/Gemfile @@ -6,7 +6,7 @@ gemspec group :development do gem "coveralls_reborn", "~> 0.25.0" if RUBY_VERSION >= "3.1" - gem "mocha", "~> 0.13.2" + gem "mocha", "~> 1.16.0" gem "rack", ">= 2.0.6" gem "rake"