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: dcfe45f266ed034043a0d696144d81221322a9a6a68128e192fbac769ac696e7
4
- data.tar.gz: 2f9a5060ffa601ba91b05fe3351029453d48da27a16a2b3512319fc4360bddc9
3
+ metadata.gz: e0d8efee42cd1c4f7443f6d83ffcf7f0aeb030de07573486bbf12bc9f758e0a2
4
+ data.tar.gz: 4bc42c5823b8dceca37a2ca48b086478c7fa360817f864ce4ee2c420e103fba0
5
5
  SHA512:
6
- metadata.gz: ba60c5712c2c6c5445e4ef26ca320bc55e9e83a563389162cad75bfac2fbdb6f20ff3c947fd75eda284367fca751a0f053429b2acc84255b403d04cd42e2bfec
7
- data.tar.gz: 3e60c89cfaea9ed2e281f7cb6a62f77776c4ab816bd20051ac7e1f0acb5061fdf494de2928777c8fd67568d314e0cb3cf7109eb2bc0b78c8c1b292ac58948be1
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
- name
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
@@ -1,5 +1,5 @@
1
1
  module RuboCop
2
2
  module GraphQL
3
- VERSION = "1.5.3".freeze
3
+ VERSION = "1.5.4".freeze
4
4
  end
5
5
  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.3
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-07-05 00:00:00.000000000 Z
11
+ date: 2024-08-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler