fir-cli 2.0.0.beta → 2.0.0.beta2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/fir/util/publish.rb +12 -10
- data/lib/fir/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8f13a043c4d041e028d11b0c35aeb29f05732834f9121a7d3927084ce46bd710
|
4
|
+
data.tar.gz: 10050897eee65529a03d9c377e7004f36e9f0b7404a7317e2c88534e26fdde38
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5b437008a68205b9e17e4f20fc222eb7fb879132e1240ce9a3d2f357581e8811d2c020fcea699ff1ca8f0599d8e360f0d23f60492d139ddb080b784c161bb332
|
7
|
+
data.tar.gz: 8caae649e99fa4dcc24daa99e3fcfbec8a1a83d2f9e5c03725cef31488d57ed0e2fea6ccff7be7f2aaa08826a55dc9e3fadeead2e2bd3bdf99a75665a6d0befe
|
data/README.md
CHANGED
@@ -14,7 +14,7 @@ fir.im-cli 可以通过指令查看, 上传, iOS/Android 应用.
|
|
14
14
|
|
15
15
|
|
16
16
|
# 最近更新
|
17
|
-
- (2.0.0) publish 使用更快的存储商, 加速上传速度, 若感觉没以前可使用 switch_to_qiniu 恢复
|
17
|
+
- (2.0.0.beta2 beta 版本, `gem install fir-cli -v 2.0.0.beta2` 进行安装) publish 使用更快的存储商, 加速上传速度, 若感觉没以前可使用 switch_to_qiniu 恢复
|
18
18
|
- 支持了在fastlane 直接调用, 具体请参见 [https://github.com/FIRHQ/fastlane-plugin-fir_cli](https://github.com/FIRHQ/fastlane-plugin-fir_cli)
|
19
19
|
- publish 支持 新参数 force_pin_history, 可以 将上传的版本, 固定在下载页面上(当大于最大固定版本数后, 会挤掉最老的固定版本) [2019年11月18日]
|
20
20
|
- publish 支持 新参数 specify_icon_file_path, 可以直接指定 app 的 icon 图标文件 [2019年11月18日]
|
data/lib/fir/util/publish.rb
CHANGED
@@ -38,6 +38,16 @@ module FIR
|
|
38
38
|
}
|
39
39
|
end
|
40
40
|
|
41
|
+
def fetch_app_info
|
42
|
+
logger.info 'Fetch app info from fir.im'
|
43
|
+
|
44
|
+
fir_app_info = get(fir_api[:app_url] + "/#{@app_id}", api_token: @token)
|
45
|
+
write_app_info(id: fir_app_info[:id],
|
46
|
+
short: fir_app_info[:short],
|
47
|
+
name: fir_app_info[:name])
|
48
|
+
fir_app_info
|
49
|
+
end
|
50
|
+
|
41
51
|
protected
|
42
52
|
|
43
53
|
def logger_info_publishing_message
|
@@ -76,8 +86,8 @@ module FIR
|
|
76
86
|
return if @app_info[:devices].blank?
|
77
87
|
|
78
88
|
logger.info 'Updating devices info......'
|
79
|
-
|
80
|
-
post fir_api[:udids_url], key:
|
89
|
+
key = @uploading_info[:cert][:binary][:key]
|
90
|
+
post fir_api[:udids_url], key: key,
|
81
91
|
udids: @app_info[:devices].join(','),
|
82
92
|
api_token: @token
|
83
93
|
end
|
@@ -111,15 +121,7 @@ module FIR
|
|
111
121
|
}
|
112
122
|
end
|
113
123
|
|
114
|
-
def fetch_app_info
|
115
|
-
logger.info 'Fetch app info from fir.im'
|
116
124
|
|
117
|
-
fir_app_info = get(fir_api[:app_url] + "/#{@app_id}", api_token: @token)
|
118
|
-
write_app_info(id: fir_app_info[:id],
|
119
|
-
short: fir_app_info[:short],
|
120
|
-
name: fir_app_info[:name])
|
121
|
-
fir_app_info
|
122
|
-
end
|
123
125
|
|
124
126
|
def upload_mapping_file_with_publish
|
125
127
|
return if !options[:mappingfile] || !options[:proj]
|
data/lib/fir/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fir-cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.0.
|
4
|
+
version: 2.0.0.beta2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- NaixSpirit
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2019-11-
|
12
|
+
date: 2019-11-22 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|