boxt_rubocop 2.14.0 → 2.14.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 702774bb9a4357a65f4029fe7c890f03b59db019760c66ab4bcbf2daa20d7bd4
4
- data.tar.gz: 2a0d6ec4978b4779d8966039263f0e60154b6a4ff5ab6dd118a3dc15eff4df32
3
+ metadata.gz: a6c7992d588a507c18bf762566d186c3c07b4459e8dfb423297a56cc2c4bbee6
4
+ data.tar.gz: 663baf6bca5fd8745bd127fe202d335adffa2a2d37cefb79fc9d37f37208ff09
5
5
  SHA512:
6
- metadata.gz: a89decdb1291d254b0414fe4cf6795b57b43c0f0c0506218b25fd3dab282664d30275d026809eca1c8c6d75940be094e1bf6c78856cbe6d2494150ee070c56d5
7
- data.tar.gz: 5f6ef1426a85684a5ae3c302c0b990bb91e38fe8998e49ca541d198a3c016cabd9313dac7f6d4c76e7dfb446d131a2948bd30e6698684d8a3e122a67de320174
6
+ metadata.gz: 4ee989a4efdb748875b4fecc50a7070b2e99a7be0e81eabae6ca397f67f91c756f529f33b2b78ce5879652b77c0cb42d1629ac4197df22ce654af8bc41828efb
7
+ data.tar.gz: 956a3d80168f925800b91d4371d2cc90a6842037da56f9a6fad5cfd7d54227540144aa60ee40dbd11093718876456c661fda0f3c80119f36f42ba674cb7bab27
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.14.0
1
+ 2.14.2
@@ -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.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Boxt