Skip to content

Commit

Permalink
Make the RuboCop todos into disables.
Browse files Browse the repository at this point in the history
- These are public APIs and not going to change soon.
  • Loading branch information
issyl0 authored Jan 13, 2025
1 parent 7821f32 commit cf0f203
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/prawn.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ module Prawn
# @return [Boolean]
attr_accessor :debug

module_function :debug, :debug= # rubocop:todo Style/AccessModifierDeclarations
module_function :debug, :debug= # rubocop:disable Style/AccessModifierDeclarations

module_function

Expand Down
2 changes: 1 addition & 1 deletion spec/prawn/document/security_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def doc_with_permissions(permissions)
let(:pdf) do
Prawn::Document.new do |pdf|
class << pdf
public :owner_password_hash, :user_password_hash, :user_encryption_key # rubocop:todo Style/AccessModifierDeclarations
public :owner_password_hash, :user_password_hash, :user_encryption_key # rubocop:disable Style/AccessModifierDeclarations
end
pdf.encrypt_document(
user_password: 'foo',
Expand Down

0 comments on commit cf0f203

Please sign in to comment.