boxt_rubocop 2.13.0 → 2.14.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
- data/lib/rubocop/cop/boxt/api_type_parameters.rb +1 -1
- metadata +10 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 71e8e2ed924e7dbdf9399bce18affcae43125de33d5e07d3f97f395895a68747
|
4
|
+
data.tar.gz: 910183ce861e4170942c5f5a15edfbe16d88d2d2d999b06c7bd2be6b3799bf85
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0c39a33abfde393c731ed10bbe5ea86057745bed728942cf8b8ac28aa00a3f64173fd4d6e90877beed65c249a65534e027e8e838975426727063ace8f3dd52f6
|
7
|
+
data.tar.gz: f641599031bf78150f0483070933ee356acecfa6c7038768f37c147eae85bf02186c499354533460838c8288d70d27d80360af0988585083887d75453c4c599c
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.
|
1
|
+
2.14.1
|
@@ -23,7 +23,7 @@ module RuboCop
|
|
23
23
|
# get "/installation-days"
|
24
24
|
# namespace "password-resets"
|
25
25
|
#
|
26
|
-
class ApiPathFormat < Base
|
26
|
+
class ApiPathFormat < RuboCop::Cop::Base
|
27
27
|
def_node_matcher :path_defining_method_with_string_path, <<~PATTERN
|
28
28
|
(send nil? {:post | :get | :namespace} (:str $_))
|
29
29
|
PATTERN
|
@@ -14,7 +14,7 @@ module RuboCop
|
|
14
14
|
# requires :name, type: String
|
15
15
|
# optional :age, type: Integer
|
16
16
|
#
|
17
|
-
class ApiTypeParameters < Cop
|
17
|
+
class ApiTypeParameters < RuboCop::Cop::Base
|
18
18
|
API_MESSAGE = "Ensure each parameter has a type specified, e.g., `type: String`."
|
19
19
|
ENTITY_MESSAGE = "Ensure each parameter has a type specified, e.g., `documentation: { type: String }`."
|
20
20
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: boxt_rubocop
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.14.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Boxt
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-11-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.
|
19
|
+
version: 1.68.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 1.
|
26
|
+
version: 1.68.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rubocop-factory_bot
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -44,14 +44,14 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - '='
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 1.
|
47
|
+
version: 1.2.0
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - '='
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 1.
|
54
|
+
version: 1.2.0
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rubocop-performance
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -72,14 +72,14 @@ dependencies:
|
|
72
72
|
requirements:
|
73
73
|
- - '='
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 2.
|
75
|
+
version: 2.27.0
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - '='
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: 2.
|
82
|
+
version: 2.27.0
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: rubocop-rake
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -100,14 +100,14 @@ dependencies:
|
|
100
100
|
requirements:
|
101
101
|
- - '='
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: 3.
|
103
|
+
version: 3.2.0
|
104
104
|
type: :runtime
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
108
|
- - '='
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: 3.
|
110
|
+
version: 3.2.0
|
111
111
|
description: Base Rubocop settings for all Boxt Ruby projects
|
112
112
|
email:
|
113
113
|
- developers@boxt.co.uk
|