Skip to content

Commit c5f6dd6

Browse files
committed
🚨 Linting
1 parent e688f2b commit c5f6dd6

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

.rubocop_gradual.lock

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,20 @@
33
[66, 5, 20, "ThreadSafety/ClassInstanceVariable: Avoid class instance variables.", 2485198147],
44
[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]
55
],
6-
"lib/oauth2.rb:65351186": [
7-
[38, 11, 7, "ThreadSafety/ClassInstanceVariable: Avoid class instance variables.", 651502127]
6+
"lib/oauth2.rb:2435263975": [
7+
[73, 11, 7, "ThreadSafety/ClassInstanceVariable: Avoid class instance variables.", 651502127]
88
],
99
"lib/oauth2/access_token.rb:558937598": [
1010
[64, 13, 5, "Style/IdenticalConditionalBranches: Move `t_key` out of the conditional.", 183811513],
1111
[70, 13, 5, "Style/IdenticalConditionalBranches: Move `t_key` out of the conditional.", 183811513]
1212
],
13-
"lib/oauth2/authenticator.rb:63639854": [
14-
[42, 5, 113, "Style/ClassMethodsDefinitions: Use `class << self` to define a class method.", 734523108]
13+
"lib/oauth2/authenticator.rb:158201238": [
14+
[59, 5, 113, "Style/ClassMethodsDefinitions: Use `class << self` to define a class method.", 734523108]
1515
],
16-
"lib/oauth2/filtered_attributes.rb:1202323815": [
17-
[3, 5, 63, "Style/ClassMethodsDefinitions: Use `class << self` to define a class method.", 2901108034],
18-
[9, 9, 25, "ThreadSafety/ClassInstanceVariable: Avoid class instance variables.", 2012823020],
19-
[13, 9, 25, "ThreadSafety/ClassInstanceVariable: Avoid class instance variables.", 2012823020]
16+
"lib/oauth2/filtered_attributes.rb:321265140": [
17+
[13, 5, 63, "Style/ClassMethodsDefinitions: Use `class << self` to define a class method.", 2901108034],
18+
[24, 9, 25, "ThreadSafety/ClassInstanceVariable: Avoid class instance variables.", 2012823020],
19+
[31, 9, 25, "ThreadSafety/ClassInstanceVariable: Avoid class instance variables.", 2012823020]
2020
],
2121
"lib/oauth2/response.rb:2054901929": [
2222
[53, 5, 204, "Style/ClassMethodsDefinitions: Use `class << self` to define a class method.", 996912427]

sig/oauth2/response.rbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ module OAuth2
44

55
def self.register_parser: (Symbol key, (Array[String] | String) mime_types) { (String) -> untyped } -> void
66

7-
def initialize: (untyped response, parse: Symbol?, snaky: bool?, snaky_hash_klass: untyped? **untyped) -> void
7+
def initialize: (untyped response, parse: Symbol?, snaky: bool?, snaky_hash_klass: untyped?, options: Hash[Symbol, untyped]?) -> void
88
def headers: () -> Hash[untyped, untyped]
99
def status: () -> Integer
1010
def body: () -> String

0 commit comments

Comments
 (0)