fir-cli 1.4.7 → 1.4.8
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/fir-cli.gemspec +2 -3
- data/lib/fir/cli.rb +7 -3
- data/lib/fir/util/build_apk.rb +1 -1
- data/lib/fir/util/build_common.rb +2 -5
- data/lib/fir/util/build_ipa.rb +1 -1
- data/lib/fir/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 27473f4f09804d0df210c601facda8cc44b863d7
|
4
|
+
data.tar.gz: ba0632fd67774815f55b92b82396d4cb818c4aa5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4e84960a168d32128f468e984e2814ede6a75187edff1698bc66907fe7aba142a9cb0b746c1b12b41c3bc1067834e4f7c0dcf8f6c9e8bd68986c224fd5290e09
|
7
|
+
data.tar.gz: 75f5ed37ff32aaf5c94926db800c20cb0ff9efecf733acd70076a6faae2bdd3c8fab6e8e993fd43e0c7cf8d026925ce19ec639d2b99228b0a0932548518fcbe8
|
data/CHANGELOG
CHANGED
data/fir-cli.gemspec
CHANGED
@@ -27,10 +27,9 @@ Gem::Specification.new do |spec|
|
|
27
27
|
/_/ /___/_/ |_| \____/_____/___/
|
28
28
|
|
29
29
|
## 更新记录
|
30
|
-
### fir-cli 1.4.
|
30
|
+
### fir-cli 1.4.8
|
31
|
+
- 修正 build 后直接 -p 发布的权限错误
|
31
32
|
- 增加上传时候设置密码及公开访问权限
|
32
|
-
- 增加 Android flavor 打包(感谢 [msdx](https://github.com/msdx) 的热心帮助)
|
33
|
-
- `$ fir ba <project dir> -f <flavor>`
|
34
33
|
- 增加 build_ipa 中的 destination 参数
|
35
34
|
- 详细更新记录, 请查看: https://github.com/FIRHQ/fir-cli/blob/master/CHANGELOG
|
36
35
|
- [fir-cli](https://github.com/FIRHQ/fir-cli) 已经开源
|
data/lib/fir/cli.rb
CHANGED
@@ -40,6 +40,8 @@ module FIR
|
|
40
40
|
method_option :qrcode, type: :boolean, aliases: '-Q', desc: 'Generate qrcode'
|
41
41
|
method_option :mapping, type: :boolean, aliases: '-M', desc: 'true/false if upload app mapping file to BugHD.com'
|
42
42
|
method_option :proj, type: :string, aliases: '-P', desc: 'Project id in BugHD.com if upload app mapping file'
|
43
|
+
method_option :open, type: :boolean, desc: 'true/false if open for everyone, the default is: true', default: true
|
44
|
+
method_option :password, type: :string, desc: 'Set password for app'
|
43
45
|
def build_ipa(*args)
|
44
46
|
prepare :build_ipa
|
45
47
|
|
@@ -69,6 +71,8 @@ module FIR
|
|
69
71
|
method_option :name, type: :string, aliases: '-n', desc: 'Set custom apk name when builded'
|
70
72
|
method_option :changelog, type: :string, aliases: '-c', desc: 'Set changelog if publish to fir.im, support string/file'
|
71
73
|
method_option :qrcode, type: :boolean, aliases: '-Q', desc: 'Generate qrcode'
|
74
|
+
method_option :open, type: :boolean, desc: 'true/false if open for everyone, the default is: true', default: true
|
75
|
+
method_option :password, type: :string, desc: 'Set password for app'
|
72
76
|
def build_apk(*args)
|
73
77
|
prepare :build_apk
|
74
78
|
|
@@ -92,18 +96,18 @@ module FIR
|
|
92
96
|
|
93
97
|
$ fir p <app file path> [-c <changelog> -s <custom short link> -Q -T <your api token>]
|
94
98
|
|
95
|
-
$ fir p <app file path> [-c <changelog> -s <custom short link> --password=123456
|
99
|
+
$ fir p <app file path> [-c <changelog> -s <custom short link> --password=123456 --open=false -Q -T <your api token>]
|
96
100
|
|
97
101
|
$ fir p <app file path> [-c <changelog> -s <custom short link> -m <mapping file path> -P <bughd project id> -Q -T <your api token>]
|
98
102
|
LONGDESC
|
99
103
|
map 'p' => :publish
|
100
104
|
method_option :short, type: :string, aliases: '-s', desc: 'Set custom short link'
|
101
105
|
method_option :changelog, type: :string, aliases: '-c', desc: 'Set changelog'
|
102
|
-
method_option :password, type: :string, aliases: '-p', desc: 'Set password for app'
|
103
|
-
method_option :open, type: :boolean, aliases: '-o', desc: 'true/false if open for everyone, the default is: true', default: true
|
104
106
|
method_option :qrcode, type: :boolean, aliases: '-Q', desc: 'Generate qrcode'
|
105
107
|
method_option :mappingfile, type: :string, aliases: '-m', desc: 'App mapping file'
|
106
108
|
method_option :proj, type: :string, aliases: '-P', desc: 'Project id in BugHD.com if upload app mapping file'
|
109
|
+
method_option :open, type: :boolean, desc: 'true/false if open for everyone, the default is: true', default: true
|
110
|
+
method_option :password, type: :string, desc: 'Set password for app'
|
107
111
|
def publish(*args)
|
108
112
|
prepare :publish
|
109
113
|
|
data/lib/fir/util/build_apk.rb
CHANGED
@@ -51,12 +51,9 @@ module FIR
|
|
51
51
|
end
|
52
52
|
end
|
53
53
|
|
54
|
-
def publish_build_app
|
54
|
+
def publish_build_app(options)
|
55
55
|
logger_info_blank_line
|
56
|
-
publish @builded_app_path,
|
57
|
-
changelog: @changelog,
|
58
|
-
token: @token,
|
59
|
-
qrcode: @export_qrcode
|
56
|
+
publish @builded_app_path, options
|
60
57
|
end
|
61
58
|
|
62
59
|
def logger_info_and_run_build_command
|
data/lib/fir/util/build_ipa.rb
CHANGED
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.4.
|
4
|
+
version: 1.4.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- NaixSpirit
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-02-
|
11
|
+
date: 2016-02-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -206,8 +206,7 @@ metadata: {}
|
|
206
206
|
post_install_message: "\n ______________ ________ ____\n /
|
207
207
|
____/ _/ __ \\ / ____/ / / _/\n / /_ / // /_/ /_____/ / / / /
|
208
208
|
/\n / __/ _/ // _, _/_____/ /___/ /____/ /\n /_/ /___/_/ |_| \\____/_____/___/\n\n
|
209
|
-
\ ## 更新记录\n ### fir-cli 1.4.
|
210
|
-
[msdx](https://github.com/msdx) 的热心帮助)\n - `$ fir ba <project dir> -f <flavor>`\n
|
209
|
+
\ ## 更新记录\n ### fir-cli 1.4.8\n - 修正 build 后直接 -p 发布的权限错误\n - 增加上传时候设置密码及公开访问权限\n
|
211
210
|
\ - 增加 build_ipa 中的 destination 参数\n - 详细更新记录, 请查看: https://github.com/FIRHQ/fir-cli/blob/master/CHANGELOG\n
|
212
211
|
\ - [fir-cli](https://github.com/FIRHQ/fir-cli) 已经开源\n - 欢迎 fork, issue 和 pull
|
213
212
|
request\n "
|