fir-cli 1.2.6 → 1.2.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/CHANGELOG +3 -0
- data/fir-cli.gemspec +2 -1
- data/lib/fir/util/publish.rb +11 -2
- data/lib/fir/version.rb +1 -1
- data/test/publish_test.rb +2 -1
- metadata +6 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aae37560a32f8148019401781f25a6178eb42928
|
4
|
+
data.tar.gz: 9d7ea5da155442ecb9dbb3d403d6fd92d8df2dd5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 450db2d41ecb6a4387b98da3ff8cd8d7d940dc7dbddb5c8d83a30a9eaf529fd23b4b3d216b4923a24cd23507357f56bf97c1b019f6bcd42bdc41d3d7ceba7cb4
|
7
|
+
data.tar.gz: 1f80cf0bf64c316b23a1fbc2b069333caff25b638bd3984e41413e02aa6c605208499914f726533e45c7419c620b1074664391e58c1f18f30136c068495ccf3a
|
data/.gitignore
CHANGED
data/CHANGELOG
CHANGED
data/fir-cli.gemspec
CHANGED
data/lib/fir/util/publish.rb
CHANGED
@@ -7,8 +7,7 @@ module FIR
|
|
7
7
|
initialize_publish_options(args, options)
|
8
8
|
check_supported_file_and_token
|
9
9
|
|
10
|
-
|
11
|
-
logger_info_dividing_line
|
10
|
+
logger_info_publishing_message
|
12
11
|
|
13
12
|
@app_info = send("#{@file_type}_info", @file_path, full_info: true)
|
14
13
|
@uploading_info = fetch_uploading_info
|
@@ -23,6 +22,16 @@ module FIR
|
|
23
22
|
logger_info_blank_line
|
24
23
|
end
|
25
24
|
|
25
|
+
def logger_info_publishing_message
|
26
|
+
user_info = fetch_user_info(@token)
|
27
|
+
|
28
|
+
email = user_info.fetch(:email, '')
|
29
|
+
name = user_info.fetch(:name, '')
|
30
|
+
|
31
|
+
logger.info "Publishing app via #{name}<#{email}>......."
|
32
|
+
logger_info_dividing_line
|
33
|
+
end
|
34
|
+
|
26
35
|
def upload_app
|
27
36
|
@icon_cert = @uploading_info[:cert][:icon]
|
28
37
|
@binary_cert = @uploading_info[:cert][:binary]
|
data/lib/fir/version.rb
CHANGED
data/test/publish_test.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.2.
|
4
|
+
version: 1.2.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- NaixSpirit
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-09-
|
11
|
+
date: 2015-09-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -196,9 +196,10 @@ metadata: {}
|
|
196
196
|
post_install_message: "\n ______________ ________ ____\n /
|
197
197
|
____/ _/ __ \\ / ____/ / / _/\n / /_ / // /_/ /_____/ / / / /
|
198
198
|
/\n / __/ _/ // _, _/_____/ /___/ /____/ /\n /_/ /___/_/ |_| \\____/_____/___/\n\n
|
199
|
-
\ ## 更新记录\n ### fir-cli 1.2.
|
200
|
-
|
201
|
-
已经开源\n - 欢迎 fork, issue 和 pull
|
199
|
+
\ ## 更新记录\n ### fir-cli 1.2.7\n - publish 时增加更多信息\n - 增加导出二维码功能\n - 使用 `fir
|
200
|
+
p <app file path> -Q`\n - 或者 `fir bi(ba) <project dir> -p -Q` 即可导出当前 app 的二维码图片\n
|
201
|
+
\ - [fir-cli](https://github.com/FIRHQ/fir-cli) 已经开源\n - 欢迎 fork, issue 和 pull
|
202
|
+
request\n "
|
202
203
|
rdoc_options: []
|
203
204
|
require_paths:
|
204
205
|
- lib
|