lib/app_info/const.rb in app-info-3.0.0.beta1 vs lib/app_info/const.rb in app-info-3.0.0.beta2

- old
+ new

@@ -1,41 +1,75 @@ # frozen_string_literal: true module AppInfo # Full Format module Format - # iOS - IPA = :ipa + # Apple + INFOPLIST = :infoplist MOBILEPROVISION = :mobileprovision DSYM = :dsym + # macOS + + MACOS = :macos + + # iOS + + IPA = :ipa + # Android + APK = :apk AAB = :aab PROGUARD = :proguard - # macOS - MACOS = :macos - # Windows + PE = :pe UNKNOWN = :unknown end # Platform module Platform - WINDOWS = 'Windows' - MACOS = 'macOS' - IOS = 'iOS' - ANDROID = 'Android' + APPLE = :apple + GOOGLE = :google + WINDOWS = :windows end + module OperaSystem + MACOS = :macos + IOS = :ios + ANDROID = :android + WINDOWS = :windows + end + # Apple Device Type module Device - MACOS = 'macOS' - IPHONE = 'iPhone' - IPAD = 'iPad' - UNIVERSAL = 'Universal' + # macOS + MACOS = :macos + + # Apple iPhone + IPHONE = :iphone + # Apple iPad + IPAD = :ipad + # Apple Watch + IWATCH = :iwatch # not implemented yet + # Apple Universal (iPhone and iPad) + UNIVERSAL = :universal + + # Android Phone + PHONE = :phone + # Android Tablet (not implemented yet) + TABLET = :tablet + # Android Watch + WATCH = :watch + # Android TV + TELEVISION = :television + # Android Car Automotive + AUTOMOTIVE = :automotive + + # Windows + WINDOWS = :windows end end