fir-cli 2.0.3.1 → 2.0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -1
- data/lib/fir/api.yml +5 -5
- data/lib/fir/util/publish.rb +4 -3
- 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: b14544079d7f5a72d825d004445c4ff5cc6fb479875142d7a6885449644d43d0
|
4
|
+
data.tar.gz: 8457599ac5bfd4194aacc27365478019feccf90a22bf4f916fd24fdeded1b46a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 378d1d0a22fa1c25d748c834887cd200982bba5e46cbe7ecd3d071f5fdfef6c2d1c4a39eaead261dc1b52bc91e6b1f99e8c7968701b087b9b23018959992e053
|
7
|
+
data.tar.gz: c83632a660a369aaef236a0249423b8ccae460f0e5da96df5141dc26bd6f92f8566514ff9a963d7921218d02bfe0bede0ac736d8686b194e50d2406104449588
|
data/README.md
CHANGED
@@ -14,7 +14,8 @@ fir.im-cli 可以通过指令查看, 上传, iOS/Android 应用.
|
|
14
14
|
|
15
15
|
|
16
16
|
# 最近更新
|
17
|
-
- (2.0.3.
|
17
|
+
- (2.0.3.2) 将返回下载地址转化为了绑定的域名
|
18
|
+
- (2.0.3.1) 因为域名问题, fir-cli切换到了备用域名上. 老版本用户 运行 `gem update fir-cli` 即可
|
18
19
|
- (2.0.3) 增加 dingtalk_at_phones, 钉钉通知可 at 用户手机号, 以逗号,分割. 此命令需配合 `dingtalk_access_token` 使用
|
19
20
|
- (2.0.3) 增加 dingtalk_at_all, 钉钉通知可 at 所有人, 此命令需配合 `dingtalk_access_token` 使用
|
20
21
|
- (2.0.3) 增加海外加速参数 --oversea_turbo, 需要使用该功能的小伙伴请微信联系我, 我来开通
|
data/lib/fir/api.yml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
fir:
|
2
|
-
domain: '
|
3
|
-
base_url: '
|
4
|
-
user_url: '
|
5
|
-
app_url: '
|
6
|
-
udids_url: '
|
2
|
+
domain: 'http://www.betaqr.com'
|
3
|
+
base_url: 'http://api.bq04.com'
|
4
|
+
user_url: 'http://api.bq04.com/user'
|
5
|
+
app_url: 'http://api.bq04.com/apps'
|
6
|
+
udids_url: 'http://api.bq04.com/devices/multi_udid'
|
7
7
|
|
data/lib/fir/util/publish.rb
CHANGED
@@ -15,13 +15,14 @@ module FIR
|
|
15
15
|
received_app_info = upload_app
|
16
16
|
|
17
17
|
short = received_app_info[:short]
|
18
|
+
download_domain = received_app_info[:download_domain]
|
18
19
|
release_id = received_app_info[:release_id]
|
19
20
|
|
20
21
|
logger.info 'end upload'
|
21
22
|
|
22
23
|
logger_info_dividing_line
|
23
24
|
|
24
|
-
download_url = build_download_url(short, release_id)
|
25
|
+
download_url = build_download_url(download_domain, short, release_id)
|
25
26
|
logger.info "Published succeed: #{download_url}"
|
26
27
|
|
27
28
|
qrcode_path = build_qrcode download_url
|
@@ -168,8 +169,8 @@ module FIR
|
|
168
169
|
qrcode_path
|
169
170
|
end
|
170
171
|
|
171
|
-
def build_download_url(short, release_id)
|
172
|
-
url = "
|
172
|
+
def build_download_url(download_domain, short, release_id)
|
173
|
+
url = "http://#{download_domain}/#{short}"
|
173
174
|
url += "?release_id=#{release_id}" if options[:need_release_id]
|
174
175
|
url
|
175
176
|
end
|
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.3.
|
4
|
+
version: 2.0.3.2
|
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: 2020-
|
12
|
+
date: 2020-03-03 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|