rubocop-graphql 1.5.3 → 1.5.4
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e0d8efee42cd1c4f7443f6d83ffcf7f0aeb030de07573486bbf12bc9f758e0a2
|
4
|
+
data.tar.gz: 4bc42c5823b8dceca37a2ca48b086478c7fa360817f864ce4ee2c420e103fba0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: addcc849a825b94134f1d19743a10a7c6784d984831b41f3b9e0292c2aca6a2ab1d055bd97fae7fed9a918d4edf865f8c4d81684f43d0b9b981dab782669b476
|
7
|
+
data.tar.gz: c7958b6e456137e98f4116954b6982d417eab63202ce4da778fd154a70620159e44ce69da7cac078a25d983a917ebfbc02f9acfcf11681f90399be911307df2b
|
@@ -8,7 +8,6 @@ module RuboCop
|
|
8
8
|
#
|
9
9
|
# The maximum allowed length is configurable using the Max option.
|
10
10
|
class ResolverMethodLength < Base
|
11
|
-
include RuboCop::Cop::ConfigurableMax
|
12
11
|
include RuboCop::Cop::CodeLength
|
13
12
|
|
14
13
|
MSG = "ResolverMethod has too many lines. [%<total>d/%<max>d]"
|
@@ -156,7 +156,7 @@ module RuboCop
|
|
156
156
|
.sub(/([^s])$/, "\\1s")
|
157
157
|
.to_sym
|
158
158
|
else
|
159
|
-
|
159
|
+
name_as_string.to_sym
|
160
160
|
end
|
161
161
|
end
|
162
162
|
|
@@ -186,8 +186,7 @@ module RuboCop
|
|
186
186
|
|
187
187
|
# @!method resolve_method_definition(node)
|
188
188
|
def_node_search :resolve_method_definition, <<~PATTERN
|
189
|
-
(def {:resolve | :authorized?}
|
190
|
-
(args ...) ...)
|
189
|
+
(def {:resolve | :authorized?} (args ...) ...)
|
191
190
|
PATTERN
|
192
191
|
end
|
193
192
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop-graphql
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dmitry Tsepelev
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-08-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|