lib/app_info/ipa/mobile_provision.rb in app-info-2.2.0 vs lib/app_info/ipa/mobile_provision.rb in app-info-2.3.0
- old
+ new
@@ -21,11 +21,11 @@
def type
return :development if development?
return :adhoc if adhoc?
return :appstore if appstore?
- return :inhouse if inhouse?
+ return :enterprise if enterprise?
end
def platforms
return unless platforms = mobileprovision.try(:[], 'Platform')
@@ -108,14 +108,15 @@
return false if platform == :macos # macOS no need adhoc
!development? && !devices.nil?
end
- def inhouse?
+ def enterprise?
return false if platform == :macos # macOS no need adhoc
!development? && !adhoc? && !appstore?
end
+ alias inhouse? enterprise?
# Enabled Capabilites
#
# Related link: https://developer.apple.com/support/app-capabilities/
def enabled_capabilities