Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 0 additions & 16 deletions .idea/csv-editor.xml

This file was deleted.

1 change: 1 addition & 0 deletions .rubocop
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
--config .rubocop.yml
7 changes: 7 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@ plugins: rubocop-on-rbs
RBS:
Enabled: true

# This tells RuboCop to add the exclusions in this file
# to the default exclusions (and those from other inherited files),
# rather than overwriting them.
inherit_mode:
merge:
- Exclude

AllCops:
DisplayCopNames: true # Display the name of the failing cops
Exclude:
Expand Down
81 changes: 8 additions & 73 deletions .rubocop_gradual.lock
Original file line number Diff line number Diff line change
@@ -1,92 +1,27 @@
{
"bin/bundle:3976421676": [
[66, 5, 20, "ThreadSafety/ClassInstanceVariable: Avoid class instance variables.", 2485198147],
[78, 5, 74, "Style/InvertibleUnlessCondition: Prefer `if Gem.rubygems_version >= Gem::Version.new(\"2.7.0\")` over `unless Gem.rubygems_version < Gem::Version.new(\"2.7.0\")`.", 2453573257]
"bin/bundle:872096170": [
[66, 5, 20, "ThreadSafety/ClassInstanceVariable: Avoid class instance variables.", 2485198147]
],
"lib/oauth2.rb:2435263975": [
[73, 11, 7, "ThreadSafety/ClassInstanceVariable: Avoid class instance variables.", 651502127]
"lib/oauth2.rb:3283430588": [
[57, 7, 7, "ThreadSafety/ClassInstanceVariable: Avoid class instance variables.", 651502127]
],
"lib/oauth2/access_token.rb:1962777363": [
[64, 13, 5, "Style/IdenticalConditionalBranches: Move `t_key` out of the conditional.", 183811513],
[70, 13, 5, "Style/IdenticalConditionalBranches: Move `t_key` out of the conditional.", 183811513]
"lib/oauth2/filtered_attributes.rb:3925029601": [
[13, 5, 63, "Style/ClassMethodsDefinitions: Use `class << self` to define a class method.", 2901108034]
],
"lib/oauth2/authenticator.rb:158201238": [
[59, 5, 113, "Style/ClassMethodsDefinitions: Use `class << self` to define a class method.", 734523108]
],
"lib/oauth2/filtered_attributes.rb:321265140": [
[13, 5, 63, "Style/ClassMethodsDefinitions: Use `class << self` to define a class method.", 2901108034],
[24, 9, 25, "ThreadSafety/ClassInstanceVariable: Avoid class instance variables.", 2012823020],
[31, 9, 25, "ThreadSafety/ClassInstanceVariable: Avoid class instance variables.", 2012823020]
],
"lib/oauth2/response.rb:2054901929": [
[53, 5, 204, "Style/ClassMethodsDefinitions: Use `class << self` to define a class method.", 996912427]
],
"spec/oauth2/access_token_spec.rb:3152504592": [
[3, 1, 34, "RSpec/SpecFilePathFormat: Spec path should end with `o_auth2/access_token*_spec.rb`.", 1972107547],
[854, 13, 25, "RSpec/ContextWording: Context description should match /^when\\b/, /^with\\b/, or /^without\\b/.", 770233088],
[924, 9, 101, "Style/ClassMethodsDefinitions: Use `class << self` to define a class method.", 3022740639],
[928, 9, 79, "Style/ClassMethodsDefinitions: Use `class << self` to define a class method.", 2507338967]
],
"spec/oauth2/authenticator_spec.rb:853320290": [
[3, 1, 36, "RSpec/SpecFilePathFormat: Spec path should end with `o_auth2/authenticator*_spec.rb`.", 819808017],
[51, 15, 20, "RSpec/ContextWording: Context description should match /^when\\b/, /^with\\b/, or /^without\\b/.", 482779785],
[60, 15, 33, "RSpec/ContextWording: Context description should match /^when\\b/, /^with\\b/, or /^without\\b/.", 297534737],
[69, 15, 38, "RSpec/ContextWording: Context description should match /^when\\b/, /^with\\b/, or /^without\\b/.", 1480816240],
[79, 13, 23, "RSpec/ContextWording: Context description should match /^when\\b/, /^with\\b/, or /^without\\b/.", 2314399065]
],
"spec/oauth2/client_spec.rb:2143306493": [
[6, 1, 29, "RSpec/SpecFilePathFormat: Spec path should end with `o_auth2/client*_spec.rb`.", 439549885],
[175, 7, 492, "RSpec/NoExpectationExample: No expectation found in this example.", 1272021224],
[194, 7, 592, "RSpec/NoExpectationExample: No expectation found in this example.", 3428877205],
"spec/oauth2/client_spec.rb:1785648507": [
[207, 15, 20, "RSpec/ContextWording: Context description should match /^when\\b/, /^with\\b/, or /^without\\b/.", 2320605227],
[222, 15, 20, "RSpec/ContextWording: Context description should match /^when\\b/, /^with\\b/, or /^without\\b/.", 1276531672],
[237, 15, 43, "RSpec/ContextWording: Context description should match /^when\\b/, /^with\\b/, or /^without\\b/.", 1383956904],
[252, 15, 43, "RSpec/ContextWording: Context description should match /^when\\b/, /^with\\b/, or /^without\\b/.", 3376202107],
[839, 5, 360, "RSpec/NoExpectationExample: No expectation found in this example.", 536201463],
[848, 5, 461, "RSpec/NoExpectationExample: No expectation found in this example.", 3392600621],
[859, 5, 340, "RSpec/NoExpectationExample: No expectation found in this example.", 244592251],
[987, 11, 99, "Style/ClassMethodsDefinitions: Use `class << self` to define a class method.", 3084776886],
[991, 11, 82, "Style/ClassMethodsDefinitions: Use `class << self` to define a class method.", 1524553529],
[999, 7, 89, "RSpec/NoExpectationExample: No expectation found in this example.", 4609419],
[1087, 11, 99, "Style/ClassMethodsDefinitions: Use `class << self` to define a class method.", 3084776886],
[1091, 11, 82, "Style/ClassMethodsDefinitions: Use `class << self` to define a class method.", 1524553529],
[1171, 17, 12, "RSpec/ContextWording: Context description should match /^when\\b/, /^with\\b/, or /^without\\b/.", 664794325]
[1175, 17, 12, "RSpec/ContextWording: Context description should match /^when\\b/, /^with\\b/, or /^without\\b/.", 664794325]
],
"spec/oauth2/error_spec.rb:1692696277": [
[23, 1, 28, "RSpec/SpecFilePathFormat: Spec path should end with `o_auth2/error*_spec.rb`.", 3385870076],
[93, 11, 460, "RSpec/NoExpectationExample: No expectation found in this example.", 3630511675],
[108, 11, 210, "RSpec/NoExpectationExample: No expectation found in this example.", 3948582233],
[240, 11, 534, "RSpec/NoExpectationExample: No expectation found in this example.", 3347340910],
[256, 11, 210, "RSpec/NoExpectationExample: No expectation found in this example.", 3948582233],
[314, 11, 534, "RSpec/NoExpectationExample: No expectation found in this example.", 3347340910],
[375, 11, 534, "RSpec/NoExpectationExample: No expectation found in this example.", 3347340910],
[391, 11, 210, "RSpec/NoExpectationExample: No expectation found in this example.", 3948582233]
],
"spec/oauth2/response_spec.rb:4032173622": [
[3, 1, 31, "RSpec/SpecFilePathFormat: Spec path should end with `o_auth2/response*_spec.rb`.", 3190869319]
],
"spec/oauth2/strategy/assertion_spec.rb:3524328522": [
[6, 1, 42, "RSpec/SpecFilePathFormat: Spec path should end with `o_auth2/strategy/assertion*_spec.rb`.", 3665690869]
],
"spec/oauth2/strategy/auth_code_spec.rb:142083698": [
[4, 1, 41, "RSpec/SpecFilePathFormat: Spec path should end with `o_auth2/strategy/auth_code*_spec.rb`.", 1553708922]
],
"spec/oauth2/strategy/base_spec.rb:2524881749": [
[3, 1, 37, "RSpec/SpecFilePathFormat: Spec path should end with `o_auth2/strategy/base*_spec.rb`.", 1951594922]
],
"spec/oauth2/strategy/client_credentials_spec.rb:2609739899": [
[3, 1, 50, "RSpec/SpecFilePathFormat: Spec path should end with `o_auth2/strategy/client_credentials*_spec.rb`.", 690311422]
],
"spec/oauth2/strategy/implicit_spec.rb:1595799281": [
[3, 1, 41, "RSpec/SpecFilePathFormat: Spec path should end with `o_auth2/strategy/implicit*_spec.rb`.", 3731171632]
],
"spec/oauth2/strategy/password_spec.rb:331601826": [
[3, 1, 41, "RSpec/SpecFilePathFormat: Spec path should end with `o_auth2/strategy/password*_spec.rb`.", 3463323840]
],
"spec/oauth2/version_spec.rb:1001406821": [
[3, 1, 30, "RSpec/SpecFilePathFormat: Spec path should end with `o_auth2/version*_spec.rb`.", 1099517182]
],
"spec/oauth2_spec.rb:4211477230": [
[3, 1, 21, "RSpec/SpecFilePathFormat: Spec path should end with `o_auth2*_spec.rb`.", 3359091140]
]
}
5 changes: 4 additions & 1 deletion .rubocop_rspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,7 @@ RSpec/MultipleMemoizedHelpers:

RSpec/SpecFilePathFormat:
CustomTransform:
"OAuth": "oauth"
"OAuth2": "oauth2"

RSpec/Output:
Enabled: false
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
direnv 2.32.2
ruby 3.4.7
ruby 4.0.1
Loading
Loading