mirror of
https://github.com/docusealco/docuseal
synced 2026-11-08 23:42:32 -05:00
fix rubocop
This commit is contained in:
1 parent
f9c12b9d78
commit
9bfa6f7f4a
25 files changed
+27
-52
No files matched your search
@@ -14,7 +14,7 @@ module Submissions
|
||||
|
||||
module_function
|
||||
|
||||
# rubocop:disable Metrics
|
||||
# rubocop:disable-next Metrics
|
||||
def call(submission, submitters = nil, params = {}, with_events: true, with_documents: true, with_values: true,
|
||||
expires_at: Accounts.link_expires_at(Account.new(id: submission.account_id)))
|
||||
submitters ||= submission.submitters.preload(documents_attachments: :blob, attachments_attachments: :blob)
|
||||
@@ -62,7 +62,6 @@ module Submissions
|
||||
|
||||
json
|
||||
end
|
||||
# rubocop:enable Metrics
|
||||
|
||||
def build_status(submission, submitters)
|
||||
if submitters.any?(&:declined_at?)
|
||||
|
||||
@@ -21,7 +21,7 @@ module Submissions
|
||||
signature[:SubFilter] = :'ETSI.RFC3161'
|
||||
end
|
||||
|
||||
# rubocop:disable Metrics
|
||||
# rubocop:disable-next Metrics
|
||||
def sign(io, byte_range)
|
||||
digest = OpenSSL::Digest.new(HASH_ALGORITHM)
|
||||
|
||||
@@ -59,7 +59,6 @@ module Submissions
|
||||
|
||||
OpenSSL::ASN1::GeneralizedTime.new(Time.now.utc).to_der
|
||||
end
|
||||
# rubocop:enable Metrics
|
||||
|
||||
def build_payload(digest)
|
||||
req = OpenSSL::Timestamp::Request.new
|
||||
|
||||
Reference in new issue
Block a user