From 9fe657351b1a4ecb91e00156e60164f1867acf94 Mon Sep 17 00:00:00 2001 From: Cory Lown Date: Tue, 17 Mar 2020 12:32:54 -0400 Subject: [PATCH] rubocop apeasement --- app/helpers/request_digitization_helper.rb | 6 +----- lib/dul_argon_skin/version.rb | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/app/helpers/request_digitization_helper.rb b/app/helpers/request_digitization_helper.rb index 02608ff..ac500e5 100644 --- a/app/helpers/request_digitization_helper.rb +++ b/app/helpers/request_digitization_helper.rb @@ -1,9 +1,7 @@ # frozen_string_literal: true module RequestDigitizationHelper - # rubocop:disable Metrics/CyclomaticComplexity - # rubocop:disable Metrics/PerceivedComplexity - def show_request_digitization_link?(document) + def show_request_digitization_link?(_document) # Temporarily disable request digitization link. false # DulArgonSkin.request_digitization_url.present? && @@ -15,8 +13,6 @@ def show_request_digitization_link?(document) # meets_location_requirement?(document) && # meets_physical_media_requirement?(document) end - # rubocop:enable Metrics/CyclomaticComplexity - # rubocop:enable Metrics/PerceivedComplexity def request_digitization_url(document) request_digitization_url_template.expand( diff --git a/lib/dul_argon_skin/version.rb b/lib/dul_argon_skin/version.rb index 76ef18f..ac1f92d 100644 --- a/lib/dul_argon_skin/version.rb +++ b/lib/dul_argon_skin/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module DulArgonSkin - VERSION = '1.6.7' + VERSION = '1.6.8' end