fir-cli 1.2.9 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +2 -0
- data/CHANGELOG +3 -0
- data/fir-cli.gemspec +1 -2
- data/lib/fir/util/build_ipa.rb +8 -4
- data/lib/fir/version.rb +1 -1
- metadata +5 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 326c112e30856cfa7e8b51acceb9540717a8af76
|
4
|
+
data.tar.gz: e74f4803296b340830e02274b87e6e6490eeb4db
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 28f35efce82bb923c0455066e167a695dfb5ebe2aff4c3bd844e5d1591d59efddb8b9dd460eab8358411155476a36b6ff164557fc22e481f26ac552ea401911e
|
7
|
+
data.tar.gz: dc0dfd3287aafbde124c1680ec8a96731b556d5653afb9ac34fb33590e1cb399f1504955d65f0b6c4daa867ddc9fb3331660fb10d196a12d6219de511fb76761
|
data/.travis.yml
CHANGED
data/CHANGELOG
CHANGED
data/fir-cli.gemspec
CHANGED
@@ -27,9 +27,8 @@ Gem::Specification.new do |spec|
|
|
27
27
|
/_/ /___/_/ |_| \____/_____/___/
|
28
28
|
|
29
29
|
## 更新记录
|
30
|
-
### fir-cli 1.
|
30
|
+
### fir-cli 1.3.0
|
31
31
|
- 修复指定 output_path 后, publish 默认查找第一个 app 的 bug
|
32
|
-
- 暂时不支持 build multi apps
|
33
32
|
- 详细更新记录, 请查看: https://github.com/FIRHQ/fir-cli/blob/master/CHANGELOG
|
34
33
|
- [fir-cli](https://github.com/FIRHQ/fir-cli) 已经开源
|
35
34
|
- 欢迎 fork, issue 和 pull request
|
data/lib/fir/util/build_ipa.rb
CHANGED
@@ -47,7 +47,8 @@ module FIR
|
|
47
47
|
def output_ipa_and_dsym
|
48
48
|
Dir.chdir(@build_tmp_dir) do
|
49
49
|
apps = Dir['*.app']
|
50
|
-
|
50
|
+
check_no_output_app(apps)
|
51
|
+
check_multi_apps(apps)
|
51
52
|
|
52
53
|
temp_ipa = zip_app2ipa(File.join(@build_tmp_dir, apps.first))
|
53
54
|
ipa_info = FIR.ipa_info(temp_ipa)
|
@@ -118,15 +119,18 @@ module FIR
|
|
118
119
|
end
|
119
120
|
end
|
120
121
|
|
121
|
-
def
|
122
|
+
def check_no_output_app(apps)
|
122
123
|
if apps.length == 0
|
123
124
|
logger.error 'Builded has no output app, Can not be packaged'
|
124
125
|
exit 1
|
125
126
|
end
|
127
|
+
end
|
126
128
|
|
129
|
+
def check_multi_apps(apps)
|
127
130
|
if apps.length > 1
|
128
|
-
logger.
|
129
|
-
|
131
|
+
logger.warn '!' * 50
|
132
|
+
logger.warn 'Builded multi apps! Only package the first one!'
|
133
|
+
logger.warn '!' * 50
|
130
134
|
end
|
131
135
|
end
|
132
136
|
|
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.
|
4
|
+
version: 1.3.0
|
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-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -196,10 +196,9 @@ metadata: {}
|
|
196
196
|
post_install_message: "\n ______________ ________ ____\n /
|
197
197
|
____/ _/ __ \\ / ____/ / / _/\n / /_ / // /_/ /_____/ / / / /
|
198
198
|
/\n / __/ _/ // _, _/_____/ /___/ /____/ /\n /_/ /___/_/ |_| \\____/_____/___/\n\n
|
199
|
-
\ ## 更新记录\n ### fir-cli 1.
|
200
|
-
\ -
|
201
|
-
|
202
|
-
request\n "
|
199
|
+
\ ## 更新记录\n ### fir-cli 1.3.0\n - 修复指定 output_path 后, publish 默认查找第一个 app 的 bug\n
|
200
|
+
\ - 详细更新记录, 请查看: https://github.com/FIRHQ/fir-cli/blob/master/CHANGELOG\n - [fir-cli](https://github.com/FIRHQ/fir-cli)
|
201
|
+
已经开源\n - 欢迎 fork, issue 和 pull request\n "
|
203
202
|
rdoc_options: []
|
204
203
|
require_paths:
|
205
204
|
- lib
|