Skip to content

Commit

Permalink
Merge pull request #1371 from issyl0/bump-prawn-dev-and-fix-rubocop
Browse files Browse the repository at this point in the history
Bump `prawn-dev` and fix RuboCop offenses
  • Loading branch information
pointlessone authored Jan 13, 2025
2 parents aaea7f6 + cf0f203 commit 6b91b63
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 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=
module_function :debug, :debug= # rubocop:disable Style/AccessModifierDeclarations

module_function

Expand Down
2 changes: 1 addition & 1 deletion prawn.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,6 @@ Gem::Specification.new do |spec|

spec.add_development_dependency('pdf-inspector', '>= 1.2.1', '< 2.0.a')
spec.add_development_dependency('pdf-reader', '~> 1.4', '>= 1.4.1')
spec.add_development_dependency('prawn-dev', '~> 0.4.0')
spec.add_development_dependency('prawn-dev', '~> 0.5.0')
spec.add_development_dependency('prawn-manual_builder', '~> 0.4.0')
end
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
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 6b91b63

Please sign in to comment.