From c1c7b6ef9aa4c4f6a7eeec4ebd66f6b80232734e Mon Sep 17 00:00:00 2001 From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Thu, 16 Jul 2026 03:35:58 +0000 Subject: [PATCH] Update generated code for v2344 and eb1b3cc8c677e4b226561dfa74138352a6624190 --- CODEGEN_VERSION | 2 +- OPENAPI_VERSION | 2 +- test/stripe/telemetry_id_test.rb | 12 ++++++------ 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/CODEGEN_VERSION b/CODEGEN_VERSION index 983636f7b..b5fd5fa72 100644 --- a/CODEGEN_VERSION +++ b/CODEGEN_VERSION @@ -1 +1 @@ -6012b623b1c09ad54d466947da04511a042ee45a \ No newline at end of file +eb1b3cc8c677e4b226561dfa74138352a6624190 \ No newline at end of file diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index 83c68c9d1..7a0e017cf 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v2324 \ No newline at end of file +v2344 \ No newline at end of file diff --git a/test/stripe/telemetry_id_test.rb b/test/stripe/telemetry_id_test.rb index 8f61f6081..4bffd0be9 100644 --- a/test/stripe/telemetry_id_test.rb +++ b/test/stripe/telemetry_id_test.rb @@ -14,7 +14,12 @@ class TelemetryIdTest < Test::Unit::TestCase end context ".config_dir" do - if RUBY_PLATFORM !~ /mingw|mswin/ + if RUBY_PLATFORM =~ /mingw|mswin/ + should "return APPDATA/Stripe on Windows" do + refute_nil TelemetryId.config_dir + assert TelemetryId.config_dir.end_with?("Stripe") + end + else should "return XDG_CONFIG_HOME/stripe when XDG_CONFIG_HOME is set" do with_env("XDG_CONFIG_HOME" => "/tmp/xdg") do assert_equal "/tmp/xdg/stripe", TelemetryId.config_dir @@ -32,11 +37,6 @@ class TelemetryIdTest < Test::Unit::TestCase assert_equal ::File.expand_path("~/.config/stripe"), TelemetryId.config_dir end end - else - should "return APPDATA/Stripe on Windows" do - refute_nil TelemetryId.config_dir - assert TelemetryId.config_dir.end_with?("Stripe") - end end end