boxt_rubocop 2.17.0 → 2.17.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/rubocop/cop/boxt/api_path_format.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f3c1f44c9d8c1a4b9a60d9a23e3c5ab32dbb21ab4213dd0be6e8ae6f9f17e2cf
|
4
|
+
data.tar.gz: 9ebd233b419423089c09bc12919b2f564dee2e001765835871e38791f21f816c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c4735ae5809883c898cbcb767a2cf894e82231c4e76e2449b0d6196308f2846f1e98c58850947704f15cc2ea7752e397e70fb7371225166d2a1797cbd58d0dc8
|
7
|
+
data.tar.gz: 8217f44ac976ecfd59fb34373196d40ef43b99dfb8f5bee8231d99a3fdff8572d086d55a441193e98485973a9dbf556fee73cedf4c9c4786388e1fa34502d354
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.17.
|
1
|
+
2.17.1
|
@@ -25,7 +25,7 @@ module RuboCop
|
|
25
25
|
#
|
26
26
|
class ApiPathFormat < RuboCop::Cop::Base
|
27
27
|
def_node_matcher :path_defining_method_with_string_path, <<~PATTERN
|
28
|
-
(send nil? {:post | :
|
28
|
+
(send nil? {:get | :post | :put | :patch | :delete | :namespace} (:str $_))
|
29
29
|
PATTERN
|
30
30
|
|
31
31
|
def_node_matcher :namespace_with_symbol, <<~PATTERN
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: boxt_rubocop
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.17.
|
4
|
+
version: 2.17.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Boxt
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-01-
|
10
|
+
date: 2025-01-28 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: rubocop
|