lib/headdesk/check.rb in headdesk-0.15.1 vs lib/headdesk/check.rb in headdesk-0.16.0
- old
+ new
@@ -9,14 +9,14 @@
# :reek:ModuleInitialize
module Check
attr_reader :report, :status, :apk, :ipa
def self.for_apk
- APK.all
+ APK.all || []
end
def self.for_ipa
- IPA.all
+ IPA.all || []
end
def self.included(klass)
klass.extend(ClassMethods)
end