-
Notifications
You must be signed in to change notification settings - Fork 552
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master' into beta
- Loading branch information
Showing
120 changed files
with
542 additions
and
376 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,82 @@ | ||
# This configuration was generated by | ||
# `rubocop --auto-gen-config` | ||
# on 2019-07-30 09:56:31 +0800 using RuboCop version 0.73.0. | ||
# on 2023-11-29 18:39:02 UTC using RuboCop version 1.57.2. | ||
# The point is for the user to remove these configuration records | ||
# one by one as the offenses are removed from the code base. | ||
# Note that changes in the inspected code, or installation of new | ||
# versions of RuboCop, may require this file to be generated again. | ||
|
||
# Offense count: 23 | ||
# Offense count: 2 | ||
Lint/HashCompareByIdentity: | ||
Exclude: | ||
- 'lib/stripe/stripe_client.rb' | ||
|
||
# Offense count: 27 | ||
# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes. | ||
Metrics/AbcSize: | ||
Max: 51 | ||
Max: 55 | ||
|
||
# Offense count: 12 | ||
# Configuration parameters: CountComments. | ||
# Offense count: 10 | ||
# Configuration parameters: CountComments, CountAsOne. | ||
Metrics/ClassLength: | ||
Max: 694 | ||
Max: 618 | ||
|
||
# Offense count: 12 | ||
# Configuration parameters: AllowedMethods, AllowedPatterns. | ||
Metrics/CyclomaticComplexity: | ||
Max: 15 | ||
Max: 12 | ||
|
||
# Offense count: 6 | ||
# Configuration parameters: CountKeywordArgs. | ||
Metrics/ParameterLists: | ||
Max: 7 | ||
|
||
# Offense count: 8 | ||
# Offense count: 9 | ||
# Configuration parameters: AllowedMethods, AllowedPatterns. | ||
Metrics/PerceivedComplexity: | ||
Max: 17 | ||
Max: 13 | ||
|
||
# Offense count: 1 | ||
# This cop supports unsafe autocorrection (--autocorrect-all). | ||
# Configuration parameters: MinBranchesCount. | ||
Style/CaseLikeIf: | ||
Exclude: | ||
- 'lib/stripe/stripe_configuration.rb' | ||
|
||
# Offense count: 86 | ||
# Offense count: 1 | ||
# This cop supports unsafe autocorrection (--autocorrect-all). | ||
Style/CombinableLoops: | ||
Exclude: | ||
- 'lib/stripe/stripe_client.rb' | ||
|
||
# Offense count: 44 | ||
# Configuration parameters: AllowedConstants. | ||
Style/Documentation: | ||
Enabled: false | ||
|
||
# Offense count: 1 | ||
# This cop supports unsafe autocorrection (--autocorrect-all). | ||
# Configuration parameters: AllowSplatArgument. | ||
Style/HashConversion: | ||
Exclude: | ||
- 'lib/stripe/stripe_client.rb' | ||
|
||
# Offense count: 3 | ||
# This cop supports unsafe autocorrection (--autocorrect-all). | ||
# Configuration parameters: ConvertCodeThatCanStartToReturnNil, AllowedMethods, MaxChainLength. | ||
# AllowedMethods: present?, blank?, presence, try, try! | ||
Style/SafeNavigation: | ||
Exclude: | ||
- 'lib/stripe/instrumentation.rb' | ||
- 'lib/stripe/stripe_response.rb' | ||
|
||
# Offense count: 15 | ||
# This cop supports unsafe autocorrection (--autocorrect-all). | ||
# Configuration parameters: Mode. | ||
Style/StringConcatenation: | ||
Exclude: | ||
- 'lib/stripe.rb' | ||
- 'lib/stripe/connection_manager.rb' | ||
- 'lib/stripe/multipart_encoder.rb' | ||
- 'lib/stripe/oauth.rb' | ||
- 'lib/stripe/resources/bank_account.rb' | ||
- 'lib/stripe/resources/source.rb' | ||
- 'lib/stripe/stripe_client.rb' | ||
- 'test/stripe/api_resource_test.rb' | ||
- 'test/stripe/stripe_client_test.rb' | ||
- 'test/stripe/webhook_test.rb' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
v645 | ||
v645 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.