Skip to content

Commit 3cd7557

Browse files
committed
🚨 Linting rules update
1 parent 26e232a commit 3cd7557

File tree

2 files changed

+11
-22
lines changed

2 files changed

+11
-22
lines changed

.rubocop_gradual.lock

Lines changed: 6 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@
4747
[6, 16, 29, "RSpec/DescribeClass: The first argument to describe should be the class or module being tested.", 694297794]
4848
],
4949
"spec/oauth/consumer_spec.rb:3729402719": [
50-
[5, 1, 30, "RSpec/SpecFilePathFormat: Spec path should end with `o_auth/consumer*_spec.rb`.", 22845032],
5150
[91, 40, 16, "RSpec/VerifiedDoubleReference: Use a constant class reference for verified doubles. String references are not verifying unless the class is loaded.", 1274889684],
5251
[92, 7, 22, "RSpec/StubbedMock: Prefer `allow` over `expect` when configuring a response.", 190162250],
5352
[95, 7, 16, "RSpec/StubbedMock: Prefer `allow` over `expect` when configuring a response.", 3492346277],
@@ -61,52 +60,38 @@
6160
[212, 7, 83, "RSpec/ReceiveMessages: Use `receive_messages` instead of multiple stubs on lines [214].", 4182076280],
6261
[214, 7, 96, "RSpec/ReceiveMessages: Use `receive_messages` instead of multiple stubs on lines [212].", 3226867591]
6362
],
64-
"spec/oauth/helper_spec.rb:3023999608": [
65-
[3, 1, 28, "RSpec/SpecFilePathFormat: Spec path should end with `o_auth/helper*_spec.rb`.", 2306013808]
66-
],
6763
"spec/oauth/net_http_client_spec.rb:797264696": [
6864
[5, 16, 32, "RSpec/DescribeClass: The first argument to describe should be the class or module being tested.", 1925154217]
6965
],
7066
"spec/oauth/request_proxy/net_http_spec.rb:3313532290": [
71-
[6, 1, 58, "RSpec/SpecFilePathFormat: Spec path should end with `o_auth/request_proxy/net/http/http_request*_spec.rb`.", 3090491845]
72-
],
73-
"spec/oauth/server_spec.rb:3208154506": [
74-
[6, 1, 28, "RSpec/SpecFilePathFormat: Spec path should end with `o_auth/server*_spec.rb`.", 1397279123]
67+
[6, 1, 58, "RSpec/SpecFilePathFormat: Spec path should end with `oauth/request_proxy/net/http/http_request*_spec.rb`.", 3090491845]
7568
],
7669
"spec/oauth/server_token_spec.rb:492172103": [
77-
[6, 1, 33, "RSpec/SpecFilePathFormat: Spec path should end with `o_auth/server_token*_spec.rb`.", 3471371816],
7870
[9, 7, 38, "RSpec/AnyInstance: Avoid stubbing using `allow_any_instance_of`.", 3627954156],
7971
[10, 7, 38, "RSpec/AnyInstance: Avoid stubbing using `allow_any_instance_of`.", 3627954156],
8072
[19, 7, 38, "RSpec/AnyInstance: Avoid stubbing using `allow_any_instance_of`.", 3627954156],
8173
[20, 7, 38, "RSpec/AnyInstance: Avoid stubbing using `allow_any_instance_of`.", 3627954156]
8274
],
83-
"spec/oauth/signature/base_spec.rb:535433": [
84-
[6, 1, 37, "RSpec/SpecFilePathFormat: Spec path should end with `o_auth/signature/base*_spec.rb`.", 2859754759]
85-
],
8675
"spec/oauth/signature/hmac_sha1_spec.rb:820294695": [
87-
[5, 1, 43, "RSpec/SpecFilePathFormat: Spec path should end with `o_auth/signature/hmac/sha1*_spec.rb`.", 2640418270]
76+
[5, 1, 43, "RSpec/SpecFilePathFormat: Spec path should end with `oauth/signature/hmac/sha1*_spec.rb`.", 2640418270]
8877
],
8978
"spec/oauth/signature/hmac_sha256_spec.rb:1041219499": [
90-
[5, 1, 45, "RSpec/SpecFilePathFormat: Spec path should end with `o_auth/signature/hmac/sha256*_spec.rb`.", 2082372222]
79+
[5, 1, 45, "RSpec/SpecFilePathFormat: Spec path should end with `oauth/signature/hmac/sha256*_spec.rb`.", 2082372222]
9180
],
9281
"spec/oauth/signature/plaintext_spec.rb:1285578452": [
9382
[5, 16, 28, "RSpec/DescribeClass: The first argument to describe should be the class or module being tested.", 2918247297]
9483
],
9584
"spec/oauth/signature/rsa_sha1_spec.rb:1684897149": [
96-
[9, 1, 42, "RSpec/SpecFilePathFormat: Spec path should end with `o_auth/signature/rsa/sha1*_spec.rb`.", 3568722713]
97-
],
98-
"spec/oauth/token_spec.rb:3199047269": [
99-
[5, 1, 27, "RSpec/SpecFilePathFormat: Spec path should end with `o_auth/token*_spec.rb`.", 3290795373]
85+
[9, 1, 42, "RSpec/SpecFilePathFormat: Spec path should end with `oauth/signature/rsa/sha1*_spec.rb`.", 3568722713]
10086
],
10187
"spec/oauth/tokens/access_token_spec.rb:893947951": [
102-
[6, 1, 33, "RSpec/SpecFilePathFormat: Spec path should end with `o_auth/access_token*_spec.rb`.", 3410051945]
88+
[6, 1, 33, "RSpec/SpecFilePathFormat: Spec path should end with `oauth/access_token*_spec.rb`.", 3410051945]
10389
],
10490
"spec/oauth/tokens/request_token_spec.rb:4004144261": [
105-
[6, 1, 34, "RSpec/SpecFilePathFormat: Spec path should end with `o_auth/request_token*_spec.rb`.", 2527248508],
91+
[6, 1, 34, "RSpec/SpecFilePathFormat: Spec path should end with `oauth/request_token*_spec.rb`.", 2527248508],
10692
[59, 5, 147, "RSpec/LeakyConstantDeclaration: Stub class constant instead of declaring explicitly.", 455072902]
10793
],
10894
"spec/oauth/tty/cli_spec.rb:3404752772": [
109-
[3, 1, 30, "RSpec/SpecFilePathFormat: Spec path should end with `o_auth/tty/cli*_spec.rb`.", 2849860169],
11095
[111, 34, 17, "RSpec/VerifiedDoubleReference: Use a constant class reference for verified doubles. String references are not verifying unless the class is loaded.", 285748316],
11196
[112, 38, 20, "RSpec/VerifiedDoubleReference: Use a constant class reference for verified doubles. String references are not verifying unless the class is loaded.", 1228090493],
11297
[113, 34, 10, "RSpec/VerifiedDoubleReference: Use a constant class reference for verified doubles. String references are not verifying unless the class is loaded.", 4294324198],

.rubocop_rspec.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ RSpec/InstanceVariable:
1818

1919
RSpec/NestedGroups:
2020
Enabled: false
21-
21+
2222
RSpec/ExpectInHook:
2323
Enabled: false
2424

@@ -28,3 +28,7 @@ RSpec/DescribeClass:
2828

2929
RSpec/MultipleMemoizedHelpers:
3030
Enabled: false
31+
32+
RSpec/SpecFilePathFormat:
33+
CustomTransform:
34+
"OAuth": "oauth"

0 commit comments

Comments
 (0)