fir-cli-xsl 2.0.1 → 2.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/fir-cli.gemspec +1 -0
- data/lib/fir/cli.rb +6 -0
- data/lib/fir/util/publish.rb +20 -1
- data/lib/fir/version.rb +1 -1
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 8470b2eac1f2d31afcd895a595dfdf681b2af502
|
4
|
+
data.tar.gz: 2be1a84161a970d693858f3fd5041fce4a53e5c0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9bbe5b17495cad7f59ea4336398648060e9dbf49a8caa81ca907d15a3a12c99ebbf9f51b83e4d00e70e2396736c410bcd1dc351ee40949ec511ca7abdc676bec
|
7
|
+
data.tar.gz: a96a8fdbbcc6f6cc37c27b7bf4a7ce4ec7b9c3c8a0e6ae6c478cf81ba0b5ec665230e05125d8f0ac8d9a60834cd247eec87dfe8ddf79d88e9d38e439fbe6d0db
|
data/fir-cli.gemspec
CHANGED
data/lib/fir/cli.rb
CHANGED
@@ -135,6 +135,12 @@ module FIR
|
|
135
135
|
FIR.dingtalk(*args, options)
|
136
136
|
end
|
137
137
|
|
138
|
+
# desc 'turn_off_history', 'turn off history fir.im (aliases: `toh`).'
|
139
|
+
# def turn_off_history
|
140
|
+
# prepare :turn_off_history
|
141
|
+
# FIR.turn_off_history(options)
|
142
|
+
# end
|
143
|
+
|
138
144
|
desc 'login', 'Login fir.im (aliases: `l`).'
|
139
145
|
map 'l' => :login
|
140
146
|
def login(*args)
|
data/lib/fir/util/publish.rb
CHANGED
@@ -15,6 +15,23 @@ module FIR
|
|
15
15
|
end
|
16
16
|
end
|
17
17
|
|
18
|
+
def turn_off_history
|
19
|
+
# @file_type = "ipa"
|
20
|
+
# @token = options[:token] || current_token
|
21
|
+
# # @app_info = {"type": 'ipa', "identifier": 'com.sudiyi.appCourier', "name":'速递易快递', "version":'3.1.1', "build": 'haha'}
|
22
|
+
# # @user_info = fetch_user_info(@token)
|
23
|
+
# # logger.info ">>>> #{@user_info}"
|
24
|
+
# # @uploading_info = fetch_uploading_info
|
25
|
+
# # logger.info ">>>> uploading_info #{@uploading_info}"
|
26
|
+
# @app_id = '5be4f90f959d69333dd5ab5a'
|
27
|
+
|
28
|
+
release_info = get(fir_api[:app_url] + "/#{@app_id}" + "/releases", api_token: @token, page: 1)
|
29
|
+
for temp_obj in release_info[:datas]
|
30
|
+
temp_id = temp_obj[:id]
|
31
|
+
patch fir_api[:app_url] + "/#{@app_id}" + "/releases" + "/#{temp_id}", api_token: @token, is_history: false
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
18
35
|
def initialize_dtalk_options(args, options)
|
19
36
|
@token = options[:token] || current_token
|
20
37
|
@content = options[:content].to_s
|
@@ -25,12 +42,12 @@ module FIR
|
|
25
42
|
check_supported_file_and_token
|
26
43
|
|
27
44
|
logger_info_publishing_message
|
28
|
-
|
29
45
|
@app_info = send("#{@file_type}_info", @file_path, full_info: true)
|
30
46
|
@user_info = fetch_user_info(@token)
|
31
47
|
@uploading_info = fetch_uploading_info
|
32
48
|
@app_id = @uploading_info[:id]
|
33
49
|
|
50
|
+
turn_off_history
|
34
51
|
upload_app
|
35
52
|
|
36
53
|
logger_info_dividing_line
|
@@ -207,6 +224,8 @@ module FIR
|
|
207
224
|
if nil != @release_id
|
208
225
|
patch fir_api[:app_url] + "/#{@app_id}" + "/releases" + "/#{@release_id}", api_token: @token, is_history: true
|
209
226
|
end
|
227
|
+
|
228
|
+
|
210
229
|
end
|
211
230
|
|
212
231
|
def upload_mapping_file_with_publish(options)
|
data/lib/fir/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fir-cli-xsl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.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: 2019-
|
12
|
+
date: 2019-11-28 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -234,11 +234,11 @@ metadata: {}
|
|
234
234
|
post_install_message: "\n ______________ ________ ____\n /
|
235
235
|
____/ _/ __ \\ / ____/ / / _/\n / /_ / // /_/ /_____/ / / / /
|
236
236
|
/\n / __/ _/ // _, _/_____/ /___/ /____/ /\n /_/ /___/_/ |_| \\____/_____/___/\n\n
|
237
|
-
\ ## 更新记录\n - (1.7.
|
238
|
-
|
239
|
-
|
240
|
-
\ - [fir-cli](https://github.com/iamjia/fir-cli)
|
241
|
-
request\n - xiangshaolong 专用\n "
|
237
|
+
\ ## 更新记录\n - (1.7.3) 添加一键关闭历史显示记录功能\n - (1.7.2) 修正了无论是否加参数都固定出现二维码图片的bug\n -
|
238
|
+
(1.7.1) 增加了 钉钉推送 , 增加了返回指定版本下载地址\n - (1.7.0) 过期了ipa_build 功能, 增加了对 android manifest
|
239
|
+
instant run 的兼容\n - (1.6.13) 上传图标逻辑修改\n - (1.6.12) 修复了部分机器没有默认安装 byebug 的问题\n
|
240
|
+
\ - (1.6.11) 变化了 ruby gem 仓库地址\n - [fir-cli](https://github.com/iamjia/fir-cli)
|
241
|
+
已经开源\n - 欢迎 fork, issue 和 pull request\n - xiangshaolong 专用\n "
|
242
242
|
rdoc_options: []
|
243
243
|
require_paths:
|
244
244
|
- lib
|
@@ -254,7 +254,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
254
254
|
version: '0'
|
255
255
|
requirements: []
|
256
256
|
rubyforge_project:
|
257
|
-
rubygems_version: 2.
|
257
|
+
rubygems_version: 2.5.2.3
|
258
258
|
signing_key:
|
259
259
|
specification_version: 4
|
260
260
|
summary: fir.im command tool
|