lib/headdesk/checks/api26.rb in headdesk-0.3.0 vs lib/headdesk/checks/api26.rb in headdesk-0.4.0
- old
+ new
@@ -7,9 +7,10 @@
#
# :reek:UncommunicativeModuleName
class Api26
include Check::APK
+ check_name 'api26'
describe 'targetSdkVersion must be at least 26'
def call
fail_check unless: -> { apk.targets_sdk 26 }
klass_def = 'android/support/v4/app/NotificationCompat$Builder'