fir-cli 1.0.5 → 1.0.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2a810efffff6485a0647a7938dc1c949655f2a69
4
- data.tar.gz: 3adfbb9cd084d327bd6666db48a8022afd202ed2
3
+ metadata.gz: d4ad38b91c08e4e82c815d84c37207e8e11674c6
4
+ data.tar.gz: 88cb7dd5579c5819cff7106716bd23315d3c9bc4
5
5
  SHA512:
6
- metadata.gz: c1749c3780ab54b092664ad140ec4b39d81a93001ebaaa3056e6546362bd4f30120564b4032829338fac03849f8ac1113dba83cf554e84b12326033e880b615e
7
- data.tar.gz: 3c6d69c224d60d6baf52c240dc1b834cc5ab957fbd16c211b3928f33a2cd8aa17b6a2397b20b57911ae2c383d63c81f7a466dd84045f3170a2dc071920f2d477
6
+ metadata.gz: 4e06637471e2d682b3f4cb140bb52e9aa21ca3ff763bc291ccb6fa02f9296558c67e27309f32a013746705a6c1aa54f1132cb2b2da6a9f56044f7b8d4d0bfdc4
7
+ data.tar.gz: 09d29b2061ce21d1a7da5464f9de91d4f21bcbc37129b1e3a646b7a7921d37c274c604e25fb1c32d3018ad61933f89f2c03380347cdb1d072249e553e1479b90
@@ -121,7 +121,11 @@ module Parser
121
121
  return @mobileprovision if @mobileprovision
122
122
 
123
123
  cmd = "security cms -D -i \"#{mobileprovision_path}\""
124
- @mobileprovision = CFPropertyList.native_types(CFPropertyList::List.new(data: `#{cmd}`).value)
124
+ begin
125
+ @mobileprovision = CFPropertyList.native_types(CFPropertyList::List.new(data: `#{cmd}`).value)
126
+ rescue CFFormatError
127
+ @mobileprovision = {}
128
+ end
125
129
  end
126
130
 
127
131
  def has_mobileprovision?
data/lib/fir/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  module FIR
4
- VERSION = "1.0.5"
4
+ VERSION = "1.0.6"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fir-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.5
4
+ version: 1.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - FIR.im
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-16 00:00:00.000000000 Z
11
+ date: 2015-04-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler