fir-cli 1.3.0 → 1.3.1

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: 326c112e30856cfa7e8b51acceb9540717a8af76
4
- data.tar.gz: e74f4803296b340830e02274b87e6e6490eeb4db
3
+ metadata.gz: 950b4ea3196bb693db53fc7ca7fdc00c74aa2b71
4
+ data.tar.gz: 4004385a955dfc2679db2383a5e9f8060619de89
5
5
  SHA512:
6
- metadata.gz: 28f35efce82bb923c0455066e167a695dfb5ebe2aff4c3bd844e5d1591d59efddb8b9dd460eab8358411155476a36b6ff164557fc22e481f26ac552ea401911e
7
- data.tar.gz: dc0dfd3287aafbde124c1680ec8a96731b556d5653afb9ac34fb33590e1cb399f1504955d65f0b6c4daa867ddc9fb3331660fb10d196a12d6219de511fb76761
6
+ metadata.gz: 6fa36221d880aa52c85f20f68abffa8041207ce02c9db4ba589c575454bb5a17c1bfc9de139ec42faef61e5b4a99ebb603831107557bd296f68ca5d1b0fb1ac1
7
+ data.tar.gz: 3a8811213616a2c9d7868ef8de12c8345d7ed367e3606f3792e99566f357cdca9ff30f14053b4c5fb6755766f3ae7bef72603c1adb7e6cf084e348dc723f9dc5
data/CHANGELOG CHANGED
@@ -1,5 +1,8 @@
1
1
  ## 更新记录
2
2
 
3
+ ### fir-cli 1.3.1
4
+ - 暂时修复多个 target 的 build 打包 app 的 bug
5
+
3
6
  ### fir-cli 1.3.0
4
7
  - 去掉 build multi apps 的限制
5
8
 
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.0
31
- - 修复指定 output_path 后, publish 默认查找第一个 app 的 bug
30
+ ### fir-cli 1.3.1
31
+ - 暂时修复多个 target build 打包 app 的 bug
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
@@ -46,9 +46,8 @@ module FIR
46
46
 
47
47
  def output_ipa_and_dsym
48
48
  Dir.chdir(@build_tmp_dir) do
49
- apps = Dir['*.app']
49
+ apps = Dir['*.app'].sort_by(&:size)
50
50
  check_no_output_app(apps)
51
- check_multi_apps(apps)
52
51
 
53
52
  temp_ipa = zip_app2ipa(File.join(@build_tmp_dir, apps.first))
54
53
  ipa_info = FIR.ipa_info(temp_ipa)
@@ -126,14 +125,6 @@ module FIR
126
125
  end
127
126
  end
128
127
 
129
- def check_multi_apps(apps)
130
- if apps.length > 1
131
- logger.warn '!' * 50
132
- logger.warn 'Builded multi apps! Only package the first one!'
133
- logger.warn '!' * 50
134
- end
135
- end
136
-
137
128
  def zip_app2ipa(app_path)
138
129
  ipa_path = Tempfile.new(['temp', '.ipa']).path
139
130
 
data/lib/fir/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  module FIR
4
- VERSION = '1.3.0'
4
+ VERSION = '1.3.1'
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.3.0
4
+ version: 1.3.1
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-14 00:00:00.000000000 Z
11
+ date: 2015-10-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -196,8 +196,8 @@ metadata: {}
196
196
  post_install_message: "\n ______________ ________ ____\n /
197
197
  ____/ _/ __ \\ / ____/ / / _/\n / /_ / // /_/ /_____/ / / / /
198
198
  /\n / __/ _/ // _, _/_____/ /___/ /____/ /\n /_/ /___/_/ |_| \\____/_____/___/\n\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)
199
+ \ ## 更新记录\n ### fir-cli 1.3.1\n - 暂时修复多个 target build 打包 app 的 bug\n - 详细更新记录,
200
+ 请查看: https://github.com/FIRHQ/fir-cli/blob/master/CHANGELOG\n - [fir-cli](https://github.com/FIRHQ/fir-cli)
201
201
  已经开源\n - 欢迎 fork, issue 和 pull request\n "
202
202
  rdoc_options: []
203
203
  require_paths: