From 0f04faab6df14b0528d31663417f6b8a94951a80 Mon Sep 17 00:00:00 2001 From: Ramya Rao <100975018+ramya-stripe@users.noreply.github.com> Date: Wed, 17 Aug 2022 14:06:15 -0700 Subject: [PATCH 1/2] Add a support section to the readme (#1115) We have user feedback on the lack of clarity around whether or not we maintain and improve older major versions of the SDK. This PR adds a support section clarifying this --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 1f8c848b..fb22ace6 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,10 @@ The library also provides other features. For example: - Built-in mechanisms for the serialization of parameters according to the expectations of Stripe's API. +## Support + +New features and bug fixes are released on the latest major version of the Stripe Ruby library. If you are on an older major version, we recommend that you upgrade to the latest in order to use the new features and bug fixes including those for security vulnerabilities. Older major versions of the package will continue to be available for use, but will not be receiving any updates. + ## Documentation See the [Ruby API docs](https://stripe.com/docs/api?lang=ruby). From be2efb7d250433cff112f09a9e8f4fdc965aea5d Mon Sep 17 00:00:00 2001 From: Dominic Charley-Roy <78050200+dcr-stripe@users.noreply.github.com> Date: Thu, 18 Aug 2022 17:47:20 -0400 Subject: [PATCH 2/2] Refresh rubocop config. (#1117) --- .rubocop.yml | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index b7b0f37f..2c4970fd 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -4,12 +4,6 @@ AllCops: DisplayCopNames: true TargetRubyVersion: 2.3 - Exclude: - # brandur: Exclude ephmeral script-like files that I use to try and - # reproduce problems with the library. If you know of a better way of doing - # this (e.g. exclude files not tracked by Git), feel free to change it. - - "example_*" - Layout/CaseIndentation: EnforcedStyle: end @@ -19,12 +13,6 @@ Layout/FirstArrayElementIndentation: Layout/FirstHashElementIndentation: EnforcedStyle: consistent -# This can be re-enabled once we're 2.3+ only and can use the squiggly heredoc -# operator. Prior to that, Rubocop recommended bringing in a library like -# ActiveSupport to get heredoc indentation, which is just terrible. -Layout/HeredocIndentation: - Enabled: false - Layout/LineLength: Exclude: - "lib/stripe/object_types.rb"