Skip to content

Commit

Permalink
Fix RuboCop::Cop::Cop dep warning (#176)
Browse files Browse the repository at this point in the history
  • Loading branch information
schinery authored Nov 1, 2024
1 parent 784f282 commit 9c9997a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/rubocop/cop/boxt/api_path_format.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ module Boxt
# get "/installation-days"
# namespace "password-resets"
#
class ApiPathFormat < Base
class ApiPathFormat < RuboCop::Cop::Base
def_node_matcher :path_defining_method_with_string_path, <<~PATTERN
(send nil? {:post | :get | :namespace} (:str $_))
PATTERN
Expand Down
2 changes: 1 addition & 1 deletion lib/rubocop/cop/boxt/api_type_parameters.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ module Boxt
# requires :name, type: String
# optional :age, type: Integer
#
class ApiTypeParameters < Cop
class ApiTypeParameters < RuboCop::Cop::Base
API_MESSAGE = "Ensure each parameter has a type specified, e.g., `type: String`."
ENTITY_MESSAGE = "Ensure each parameter has a type specified, e.g., `documentation: { type: String }`."

Expand Down

0 comments on commit 9c9997a

Please sign in to comment.