fir-cli 1.3.2 → 1.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG +3 -0
- data/fir-cli.gemspec +2 -2
- data/lib/fir/util/info.rb +1 -1
- data/lib/fir/util/parser/ipa.rb +15 -10
- data/lib/fir/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a56444da7328deec7e69223fece6eb2dc715d466
|
4
|
+
data.tar.gz: d9be4d37e529796ce52da8dd29a562fb715c8e27
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9d4f3e80372416a4e2bbe1585d1b82dd2c1f022f409b002e30ba4895618c0b4bfd6658d0253fca086ed47789e2ad8ab734fc907bf52e0b8833a5300a3514c183
|
7
|
+
data.tar.gz: 82757960380028c490fcc349ff69c6a19f86278d3f9c750647afeec08fd9aae4b486eef74d3574471e24cc6979338228f6f64122a75924ec6c76a5cf41d989a2
|
data/CHANGELOG
CHANGED
data/fir-cli.gemspec
CHANGED
@@ -27,8 +27,8 @@ Gem::Specification.new do |spec|
|
|
27
27
|
/_/ /___/_/ |_| \____/_____/___/
|
28
28
|
|
29
29
|
## 更新记录
|
30
|
-
### fir-cli 1.3.
|
31
|
-
-
|
30
|
+
### fir-cli 1.3.3
|
31
|
+
- 修正解析 inhouse 错误的现象
|
32
32
|
- 详细更新记录, 请查看: https://github.com/FIRHQ/fir-cli/blob/master/CHANGELOG
|
33
33
|
- [fir-cli](https://github.com/FIRHQ/fir-cli) 已经开源
|
34
34
|
- 欢迎 fork, issue 和 pull request
|
data/lib/fir/util/info.rb
CHANGED
data/lib/fir/util/parser/ipa.rb
CHANGED
@@ -12,7 +12,7 @@ module FIR
|
|
12
12
|
end
|
13
13
|
|
14
14
|
def app
|
15
|
-
@app ||= App.new(app_path)
|
15
|
+
@app ||= App.new(app_path, is_stored)
|
16
16
|
end
|
17
17
|
|
18
18
|
def app_path
|
@@ -38,8 +38,8 @@ module FIR
|
|
38
38
|
@metadata_path ||= File.join(@contents, 'iTunesMetadata.plist')
|
39
39
|
end
|
40
40
|
|
41
|
-
def
|
42
|
-
has_metadata? ?
|
41
|
+
def is_stored
|
42
|
+
has_metadata? ? true : false
|
43
43
|
end
|
44
44
|
|
45
45
|
def contents
|
@@ -60,8 +60,9 @@ module FIR
|
|
60
60
|
class App
|
61
61
|
include Parser::Common
|
62
62
|
|
63
|
-
def initialize(path)
|
64
|
-
@path
|
63
|
+
def initialize(path, is_stored = false)
|
64
|
+
@path = path
|
65
|
+
@is_stored = is_stored
|
65
66
|
end
|
66
67
|
|
67
68
|
def full_info(options)
|
@@ -161,11 +162,15 @@ module FIR
|
|
161
162
|
end
|
162
163
|
|
163
164
|
def release_type
|
164
|
-
if
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
165
|
+
if @is_stored
|
166
|
+
'store'
|
167
|
+
else
|
168
|
+
if has_mobileprovision?
|
169
|
+
if devices
|
170
|
+
'adhoc'
|
171
|
+
else
|
172
|
+
'inhouse'
|
173
|
+
end
|
169
174
|
end
|
170
175
|
end
|
171
176
|
end
|
data/lib/fir/version.rb
CHANGED
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.3.
|
4
|
+
version: 1.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- NaixSpirit
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-10-
|
11
|
+
date: 2015-10-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -196,7 +196,7 @@ metadata: {}
|
|
196
196
|
post_install_message: "\n ______________ ________ ____\n /
|
197
197
|
____/ _/ __ \\ / ____/ / / _/\n / /_ / // /_/ /_____/ / / / /
|
198
198
|
/\n / __/ _/ // _, _/_____/ /___/ /____/ /\n /_/ /___/_/ |_| \\____/_____/___/\n\n
|
199
|
-
\ ## 更新记录\n ### fir-cli 1.3.
|
199
|
+
\ ## 更新记录\n ### fir-cli 1.3.3\n - 修正解析 inhouse 错误的现象\n - 详细更新记录, 请查看: https://github.com/FIRHQ/fir-cli/blob/master/CHANGELOG\n
|
200
200
|
\ - [fir-cli](https://github.com/FIRHQ/fir-cli) 已经开源\n - 欢迎 fork, issue 和 pull
|
201
201
|
request\n "
|
202
202
|
rdoc_options: []
|