sevencop 0.18.0 → 0.18.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: 4a5c6bd0519b94116517f840ad8b192901dc75c15ebe65abc448f5eb5bb35a5b
4
- data.tar.gz: db75fc90b34060eb00308bb14182e3513465243ab9f24739f7baa7f90f374abe
3
+ metadata.gz: ddb1ab8850e168dd10c98cf0954d8e9df26cf1b0d43c1019780c2ce76d84d8d6
4
+ data.tar.gz: d159188fae4618097806c22ef26825993b821f2277671011f9c89997056fb364
5
5
  SHA512:
6
- metadata.gz: 4c1fa9ec76954f0f2fb8a7db9fb3ed328ef6dfbd9a7e98997abfbc2fe277af1771453ea954df373e42600e629eda7561b74ec21a73fc7e783742e32aff3f2be8
7
- data.tar.gz: bf3f45bf67ccdd187355c81c586eb46903696c89d3234eabb1009938cbc62a7866a4158aec3ff91f1cdf7d4c4fcc59171c8f9e5f7c316ffdf8fe76a8d93dc7f9
6
+ metadata.gz: 449aff2e37cf2abd954b38db5ee587401657f261b584097d4390ab23a76df991505561e7462e8683d950a126fb7675a2b0445a868fc0802ab7711d9a10cc9d2d
7
+ data.tar.gz: 5171d0b62826dd0d85371a7b81fcae4917a49a3cf1de2f4d19ed7e61f38e670c8bacc0e7afd2934aac060e889a44d7475013d031eaaed68d9d7006ab0b85f03f
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- sevencop (0.18.0)
4
+ sevencop (0.18.4)
5
5
  rubocop
6
6
 
7
7
  GEM
@@ -49,14 +49,14 @@ module RuboCop
49
49
  (send
50
50
  (const nil? :RSpec)
51
51
  :describe
52
- _
52
+ ...
53
53
  )
54
54
  PATTERN
55
55
 
56
- # @param node [RuboCop::AST::Node]
56
+ # @param node [RuboCop::AST::Node, nil]
57
57
  # @return [Boolean]
58
58
  def http_endpoint_identifier?(node)
59
- node.is_a?(::RuboCop::AST::StrNode) && node.value.match?(DESCRIPTION_PATTERN)
59
+ node&.str_type? && node.value.match?(DESCRIPTION_PATTERN)
60
60
  end
61
61
  end
62
62
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Sevencop
4
- VERSION = '0.18.0'
4
+ VERSION = '0.18.4'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sevencop
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.18.0
4
+ version: 0.18.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryo Nakamura
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-10-09 00:00:00.000000000 Z
11
+ date: 2022-10-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -24,7 +24,7 @@ dependencies:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
- description:
27
+ description:
28
28
  email:
29
29
  - r7kamura@gmail.com
30
30
  executables: []
@@ -68,7 +68,7 @@ metadata:
68
68
  homepage_uri: https://github.com/r7kamura/sevencop
69
69
  source_code_uri: https://github.com/r7kamura/sevencop
70
70
  changelog_uri: https://github.com/r7kamura/sevencop/releases
71
- post_install_message:
71
+ post_install_message:
72
72
  rdoc_options: []
73
73
  require_paths:
74
74
  - lib
@@ -84,7 +84,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
84
84
  version: '0'
85
85
  requirements: []
86
86
  rubygems_version: 3.3.7
87
- signing_key:
87
+ signing_key:
88
88
  specification_version: 4
89
89
  summary: Opinionated custom cops for RuboCop.
90
90
  test_files: []