fir-cli 1.3.8 → 1.3.9
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/README.md +4 -4
- data/fir-cli.gemspec +2 -4
- data/lib/fir/util/build_ipa.rb +7 -5
- 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: 2bbf912845641a3bba9b65e347dc09b761030f09
|
4
|
+
data.tar.gz: 60f99d26c0763c0d3f64bdf366b4795128615a1f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 43abbdf9dbf21e34c4e2ff54a5e423ea00d01adb76589dffdb5fdf9a915aca472b30f90450da47f868cf10a7e5a7c10c3d974c583e70d695c23ff3403c43a6c6
|
7
|
+
data.tar.gz: 9fed8105fb31773f7dc54e282276a6fa295ac449028784ee97e4a3cdf46d24e8b9ba0ba27ca764108484b49a2c0d0e06a38f060da21fcaf8b193fa83bbadc43f
|
data/CHANGELOG
CHANGED
data/README.md
CHANGED
@@ -7,13 +7,13 @@
|
|
7
7
|
[![Gem Version](https://badge.fury.io/rb/fir-cli.svg)](http://badge.fury.io/rb/fir-cli)
|
8
8
|
[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/FIRHQ/fir-cli?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
|
9
9
|
|
10
|
-
fir.im-cli 可以通过指令查看, 上传, 编译
|
10
|
+
fir.im-cli 可以通过指令查看, 上传, 编译 iOS/Android 应用.
|
11
11
|
|
12
12
|
## 安装
|
13
13
|
|
14
|
-
###
|
14
|
+
### OS X 安装
|
15
15
|
|
16
|
-
在安装前需要确保 **
|
16
|
+
在安装前需要确保 **OS X command line tools** 已经被提前安装好:
|
17
17
|
|
18
18
|
```sh
|
19
19
|
$ xcode-select --install
|
@@ -25,7 +25,7 @@ fir.im-cli 使用 Ruby 构建, 无需编译, 只要安装相应 ruby gem 即可(
|
|
25
25
|
$ gem install fir-cli
|
26
26
|
```
|
27
27
|
|
28
|
-
**注意: 如果你的系统是
|
28
|
+
**注意: 如果你的系统是 Mac OS X 10.11 以后的版本, 由于10.11引入了 `rootless`, 无法直接安装 fir-cli, 有以下三种解决办法:**
|
29
29
|
|
30
30
|
1\. 使用 [RVM](https://rvm.io/) 安装 Ruby, 再安装 fir-cli(推荐)
|
31
31
|
|
data/fir-cli.gemspec
CHANGED
@@ -27,10 +27,8 @@ Gem::Specification.new do |spec|
|
|
27
27
|
/_/ /___/_/ |_| \____/_____/___/
|
28
28
|
|
29
29
|
## 更新记录
|
30
|
-
### fir-cli 1.3.
|
31
|
-
-
|
32
|
-
- 支持直接从文件读取 changelog
|
33
|
-
- 增加 -n 参数自定义 build 后 ipa, apk 的 name
|
30
|
+
### fir-cli 1.3.9
|
31
|
+
- 修正 build 后生成多个 dsym 文件导致上传 bughd 失败的 bug
|
34
32
|
- 详细更新记录, 请查看: https://github.com/FIRHQ/fir-cli/blob/master/CHANGELOG
|
35
33
|
- [fir-cli](https://github.com/FIRHQ/fir-cli) 已经开源
|
36
34
|
- 欢迎 fork, issue 和 pull request
|
data/lib/fir/util/build_ipa.rb
CHANGED
@@ -54,6 +54,8 @@ module FIR
|
|
54
54
|
check_archived_ipa_is_exist
|
55
55
|
rename_ipa_and_dsym
|
56
56
|
|
57
|
+
FileUtils.rm_rf(@build_tmp_dir) unless $DEBUG
|
58
|
+
|
57
59
|
logger.info 'Build Success'
|
58
60
|
end
|
59
61
|
|
@@ -78,16 +80,16 @@ module FIR
|
|
78
80
|
dsym_name = "#{@output_path}/#{ipa_info[:name]}.app.dSYM"
|
79
81
|
|
80
82
|
if @name.blank?
|
81
|
-
ipa_name = "#{ipa_info[:name]}-#{ipa_info[:version]}-build-#{ipa_info[:build]}"
|
83
|
+
@ipa_name = "#{ipa_info[:name]}-#{ipa_info[:version]}-build-#{ipa_info[:build]}"
|
82
84
|
else
|
83
|
-
ipa_name = @name
|
85
|
+
@ipa_name = @name
|
84
86
|
end
|
85
87
|
|
86
|
-
@builded_app_path = "#{@output_path}/#{ipa_name}.ipa"
|
88
|
+
@builded_app_path = "#{@output_path}/#{@ipa_name}.ipa"
|
87
89
|
|
88
90
|
FileUtils.mv(@temp_ipa, @builded_app_path, force: true)
|
89
91
|
if File.exist?(dsym_name)
|
90
|
-
FileUtils.mv(dsym_name, "#{@output_path}/#{ipa_name}.app.dSYM", force: true)
|
92
|
+
FileUtils.mv(dsym_name, "#{@output_path}/#{@ipa_name}.app.dSYM", force: true)
|
91
93
|
end
|
92
94
|
end
|
93
95
|
|
@@ -95,7 +97,7 @@ module FIR
|
|
95
97
|
logger_info_blank_line
|
96
98
|
|
97
99
|
@app_info = ipa_info(@builded_app_path)
|
98
|
-
@mapping_file = Dir["#{@output_path}
|
100
|
+
@mapping_file = Dir["#{@output_path}/#{@ipa_name}.app.dSYM/Contents/Resources/DWARF/*"].first
|
99
101
|
|
100
102
|
mapping @mapping_file, proj: @proj,
|
101
103
|
build: @app_info[:build],
|
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.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- NaixSpirit
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-11-
|
11
|
+
date: 2015-11-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -199,10 +199,9 @@ metadata: {}
|
|
199
199
|
post_install_message: "\n ______________ ________ ____\n /
|
200
200
|
____/ _/ __ \\ / ____/ / / _/\n / /_ / // /_/ /_____/ / / / /
|
201
201
|
/\n / __/ _/ // _, _/_____/ /___/ /____/ /\n /_/ /___/_/ |_| \\____/_____/___/\n\n
|
202
|
-
\ ## 更新记录\n ### fir-cli 1.3.
|
203
|
-
|
204
|
-
|
205
|
-
request\n "
|
202
|
+
\ ## 更新记录\n ### fir-cli 1.3.9\n - 修正 build 后生成多个 dsym 文件导致上传 bughd 失败的 bug\n -
|
203
|
+
详细更新记录, 请查看: https://github.com/FIRHQ/fir-cli/blob/master/CHANGELOG\n - [fir-cli](https://github.com/FIRHQ/fir-cli)
|
204
|
+
已经开源\n - 欢迎 fork, issue 和 pull request\n "
|
206
205
|
rdoc_options: []
|
207
206
|
require_paths:
|
208
207
|
- lib
|