Sha256: b632009ca94bb969700338ce2de98b231e26eb02fc2b857696cd739bcf964b41
Contents?: true
Size: 563 Bytes
Versions: 2
Compression:
Stored size: 563 Bytes
Contents
require 'cfpropertylist' require 'lagunitas' module Lagunitas class App def name @info['CFBundleName'] end def mobileprovision @mobileprovision = CFPropertyList.native_types CFPropertyList::List.new(:data => `security cms -D -i #{File.join @path, 'embedded.mobileprovision'}`).value end def devices mobileprovision['ProvisionedDevices'] end def distribution_name mobileprovision['DeveloperCertificates'] end def release_type if devices == nil 'inhouse' else 'adhoc' end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
fir-cli-0.0.4 | lib/lagunitas.ext.rb |
fir-cli-0.0.3 | lib/lagunitas.ext.rb |