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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/rubocop/cop/sevencop/rspec_describe_http_endpoint.rb +3 -3
- data/lib/sevencop/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ddb1ab8850e168dd10c98cf0954d8e9df26cf1b0d43c1019780c2ce76d84d8d6
|
4
|
+
data.tar.gz: d159188fae4618097806c22ef26825993b821f2277671011f9c89997056fb364
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 449aff2e37cf2abd954b38db5ee587401657f261b584097d4390ab23a76df991505561e7462e8683d950a126fb7675a2b0445a868fc0802ab7711d9a10cc9d2d
|
7
|
+
data.tar.gz: 5171d0b62826dd0d85371a7b81fcae4917a49a3cf1de2f4d19ed7e61f38e670c8bacc0e7afd2934aac060e889a44d7475013d031eaaed68d9d7006ab0b85f03f
|
data/Gemfile.lock
CHANGED
@@ -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
|
59
|
+
node&.str_type? && node.value.match?(DESCRIPTION_PATTERN)
|
60
60
|
end
|
61
61
|
end
|
62
62
|
end
|
data/lib/sevencop/version.rb
CHANGED
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.
|
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-
|
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: []
|