colinpetruno/portunus

View on GitHub

Showing 1 of 5 total issues

Method rotate has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

      def rotate
        encryptable = data_encryption_key.encryptable

        if encryptable.blank?
          Rails.logger.debug("Dek id: #{data_encryption_key.id} is missing it's encryptable... deleting")
Severity: Minor
Found in lib/portunus/rotators/dek.rb - About 1 hr to fix
    Severity
    Category
    Status
    Source
    Language