lib/app_info/parser.rb in app-info-1.1.2 vs lib/app_info/parser.rb in app-info-2.0.0.beta1
- old
+ new
@@ -1,19 +1,19 @@
+# frozen_string_literal: true
+
require 'app_info/parser/ipa'
require 'app_info/parser/ipa/info_plist'
require 'app_info/parser/ipa/mobile_provision'
require 'app_info/parser/apk'
+require 'app_info/parser/dsym'
module AppInfo
module Parser
# App Platform
module Platform
- IOS = 'iOS'.freeze
- ANDROID = 'Android'.freeze
- end
-
- def self.mac?
- RbConfig::CONFIG['host_os'] =~ /darwin/ ? true : false
+ IOS = 'iOS'
+ ANDROID = 'Android'
+ DSYM = 'dSYM'
end
module Util
FILE_SIZE_UNITS = %w[B KB MB GB TB].freeze