lib/headdesk/checks/teak/api21_icon.rb in headdesk-0.3.0 vs lib/headdesk/checks/teak/api21_icon.rb in headdesk-0.4.0
- old
+ new
@@ -7,9 +7,10 @@
# Check to make sure that an APK, which uses Teak, has an API 21+ icon.
#
class Api21Icon
include Checks::Teak::APK
+ check_name 'api21_icon'
describe 'Check for API 21+ Teak icons'
# :reek:UncommunicativeVariableName { accept: ['icon_v21'] }
def call
skip_check if: -> { apk.min_sdk 21 }