lib/app_info/proguard.rb in app-info-2.6.5 vs lib/app_info/proguard.rb in app-info-2.7.0.beta1

- old
+ new

@@ -4,20 +4,22 @@ require 'rexml/document' module AppInfo # Proguard parser class Proguard + include Helper::Archive + NAMESPACE = UUIDTools::UUID.sha1_create(UUIDTools::UUID_DNS_NAMESPACE, 'icyleaf.com') attr_reader :file def initialize(file) @file = file end def file_type - AppInfo::Platform::PROGUARD + Platform::PROGUARD end def uuid # Similar to https://docs.sentry.io/workflow/debug-files/#proguard-uuids UUIDTools::UUID.sha1_create(NAMESPACE, File.read(mapping_path)).to_s @@ -81,10 +83,10 @@ @symbol_path ||= File.join(contents, 'R.txt') end alias resource_path symbol_path def contents - @contents ||= Util.unarchive(@file, path: 'proguard') + @contents ||= unarchive(@file, path: 'proguard') end def clear! return unless @contents