lib/app_info/ipa.rb in app-info-2.2.0 vs lib/app_info/ipa.rb in app-info-2.3.0

- old
+ new

@@ -16,13 +16,15 @@ # iOS Export types module ExportType DEBUG = 'Debug' ADHOC = 'AdHoc' - INHOUSE = 'inHouse' + ENTERPRISE = 'Enterprise' RELEASE = 'Release' UNKOWN = nil + + INHOUSE = 'Enterprise' # Rename and Alias to enterprise end def initialize(file) @file = file end @@ -58,11 +60,11 @@ def build_type if mobileprovision? if devices ExportType::ADHOC else - ExportType::INHOUSE + ExportType::ENTERPRISE end else ExportType::DEBUG end end @@ -82,9 +84,17 @@ end alias architectures archs def stored? metadata? ? true : false + end + + def plugins + @plugins ||= Plugin.parse(app_path) + end + + def frameworks + @frameworks ||= Framework.parse(app_path) end def hide_developer_certificates mobileprovision.delete('DeveloperCertificates') if mobileprovision? end