lib/headdesk/checks/facebook.rb in headdesk-0.3.0 vs lib/headdesk/checks/facebook.rb in headdesk-0.4.0
- old
+ new
@@ -8,9 +8,10 @@
# Facebook deprecates SDKs 2 years after they are released.
#
class FacebookSDK
include Check::APK
+ check_name 'facebook'
describe 'Facebook SDK version'
def call
skip_check unless: -> { apk.class?('com/facebook/FacebookSdk') }
facebook_sdk = apk.find_class('com/facebook/FacebookSdk')