boxt_rubocop 2.14.0 → 2.14.1

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: 702774bb9a4357a65f4029fe7c890f03b59db019760c66ab4bcbf2daa20d7bd4
4
- data.tar.gz: 2a0d6ec4978b4779d8966039263f0e60154b6a4ff5ab6dd118a3dc15eff4df32
3
+ metadata.gz: 71e8e2ed924e7dbdf9399bce18affcae43125de33d5e07d3f97f395895a68747
4
+ data.tar.gz: 910183ce861e4170942c5f5a15edfbe16d88d2d2d999b06c7bd2be6b3799bf85
5
5
  SHA512:
6
- metadata.gz: a89decdb1291d254b0414fe4cf6795b57b43c0f0c0506218b25fd3dab282664d30275d026809eca1c8c6d75940be094e1bf6c78856cbe6d2494150ee070c56d5
7
- data.tar.gz: 5f6ef1426a85684a5ae3c302c0b990bb91e38fe8998e49ca541d198a3c016cabd9313dac7f6d4c76e7dfb446d131a2948bd30e6698684d8a3e122a67de320174
6
+ metadata.gz: 0c39a33abfde393c731ed10bbe5ea86057745bed728942cf8b8ac28aa00a3f64173fd4d6e90877beed65c249a65534e027e8e838975426727063ace8f3dd52f6
7
+ data.tar.gz: f641599031bf78150f0483070933ee356acecfa6c7038768f37c147eae85bf02186c499354533460838c8288d70d27d80360af0988585083887d75453c4c599c
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.14.0
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,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: boxt_rubocop
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.14.0
4
+ version: 2.14.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Boxt