10 Commits

Author SHA1 Message Date
Prathmesh Ranaut
e4f361c292 Update 2024-09-24 14:42:02 -04:00
Prathmesh Ranaut
fe7d1df2ab Ruby infra changes 2024-09-24 10:34:12 -04:00
Richard Marmorstein
2d6249fbd2 Autocorrect 2023-11-27 17:02:33 -08:00
Richard Marmorstein
ee60e66936
stripe-ruby v9 release (#1253)
* wip

* Pin to latest API version

* Empty commit

---------

Co-authored-by: anniel-stripe <97691964+anniel-stripe@users.noreply.github.com>
2023-08-16 15:03:29 -07:00
anniel-stripe
3ba3e10ec8
Update log level error (#1238) 2023-06-23 07:40:34 -07:00
Ivan Marynych
6dce6c1240
remove unnecessary log level from available (#1235)
* remove unnecessary log level from available

* Update stripe_configuration.rb
2023-06-23 06:49:11 -07:00
Brandur
3e26570fcd
On config change, only clear connection managers for changed config (#971)
Follows up #968.

As a relic from when we had global configuration, anytime any config
value is changed on any client, we still clear all connection managers
everywhere on every thread, even though this is not necessary. This
means that we lose all open connections, etc.

Here, we make changes so that if a configuration is changed, we only
clear the configuration managers pertaining to that one particular
configuration, thus conserving resources globally.

Co-authored-by: Brandur <brandur@brandur.org>
2021-04-02 13:13:26 -07:00
Joel Taylor
21643f0716
Allow StripeClient to be configured per instance (#968)
This changes allows for each instance of StripeClient to have its own
configuration object instead of relying on the global config. Each
instance can be configured to override any global config values
previously set.
2021-04-01 14:19:38 -07:00
Bart de Water
085e08142d
Allow setting write_timeout for connections on Ruby 2.6+ (#950) 2020-10-14 11:43:32 -07:00
Joel Taylor
23a0ee2dbe
Extract configurations into separate object (#939)
Adds a `Stripe::StripeConfiguration` object to manage internal and user
supplied configuration options.

This is primarily motivated by #921 in order to provide a way to set
options on for an instance of `StripeClient`.
2020-08-26 12:58:59 -07:00