fir-cli 1.1.0 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG +3 -0
- data/fir-cli.gemspec +2 -2
- data/lib/fir/cli.rb +1 -1
- data/lib/fir/util/publish.rb +3 -1
- data/lib/fir/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f2e65e8b7eda87b18f47ea4c270a93fe5d2c3606
|
|
4
|
+
data.tar.gz: 514d801da747957bd1b38b667f8f1db9ee6fdf46
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e2ab0122beb751a842c07de988c4ca23b2533618628bc85ea4c0062a9e433ec2497aa0b79c1f5f1a36cc482a00b6c9ad473faec66cdf7e7f51b84a1ec0d332fb
|
|
7
|
+
data.tar.gz: 33fc0b89c59881e64aa94cc9fd1c23954249aaab4d2e34fcd0a673f7131b7d93ea70eacd6dcfd39b4afe7eca469ba06cb02fdfc0568eb77188c0a30ecfe6a319
|
data/CHANGELOG
CHANGED
data/fir-cli.gemspec
CHANGED
|
@@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
|
|
|
12
12
|
spec.date = Time.now.strftime("%Y-%m-%d")
|
|
13
13
|
spec.summary = %q{FIR.im command tool}
|
|
14
14
|
spec.description = %q{FIR.im command tool, support iOS and Android}
|
|
15
|
-
spec.homepage = "http://blog.fir.im/
|
|
15
|
+
spec.homepage = "http://blog.fir.im/fir_cli"
|
|
16
16
|
spec.license = "MIT"
|
|
17
17
|
|
|
18
18
|
spec.files = `git ls-files -z`.split("\x0")
|
|
@@ -28,7 +28,7 @@ Gem::Specification.new do |spec|
|
|
|
28
28
|
/_/ /___/_/ |_| \____/_____/___/
|
|
29
29
|
|
|
30
30
|
## 更新记录
|
|
31
|
-
### FIR-CLI 1.1.
|
|
31
|
+
### FIR-CLI 1.1.1
|
|
32
32
|
- 完全兼容新版 API ✔
|
|
33
33
|
- 请使用新版 API Token
|
|
34
34
|
- 新版 API Token 查看地址: `http://fir.im/user/info`
|
data/lib/fir/cli.rb
CHANGED
|
@@ -21,7 +21,7 @@ module FIR
|
|
|
21
21
|
$ fir b <workspace dir> -w -S <scheme name> [-C <configuration>] [-t <target name>] [-o <ipa output dir>] [settings] [-c <changelog>] [-p -T <your token>]
|
|
22
22
|
LONGDESC
|
|
23
23
|
map ["b", "build"] => :build_ipa
|
|
24
|
-
method_option :workspace, type: :boolean, aliases: "-w", desc: "
|
|
24
|
+
method_option :workspace, type: :boolean, aliases: "-w", desc: "true/false if build workspace"
|
|
25
25
|
method_option :scheme, type: :string, aliases: "-S", desc: "Set the scheme NAME if build workspace"
|
|
26
26
|
method_option :configuration, type: :string, aliases: "-C", desc: "Use the build configuration NAME for building each target"
|
|
27
27
|
method_option :target, type: :string, aliases: "-t", desc: "Build the target specified by targetname"
|
data/lib/fir/util/publish.rb
CHANGED
|
@@ -57,7 +57,9 @@ module FIR
|
|
|
57
57
|
def convert_icon origin_path
|
|
58
58
|
logger.info "Converting app's icon......"
|
|
59
59
|
output_path = Tempfile.new("uncrushed_icon.png").path
|
|
60
|
-
|
|
60
|
+
|
|
61
|
+
Parser.uncrush_icon(origin_path, output_path) if @app_info[:type] == 'ios'
|
|
62
|
+
|
|
61
63
|
File.size(output_path) == 0 ? origin_path : output_path
|
|
62
64
|
end
|
|
63
65
|
|
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: 1.1.
|
|
4
|
+
version: 1.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- FIR.im
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2015-07-
|
|
12
|
+
date: 2015-07-08 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: bundler
|
|
@@ -141,14 +141,14 @@ files:
|
|
|
141
141
|
- lib/fir/util/publish.rb
|
|
142
142
|
- lib/fir/version.rb
|
|
143
143
|
- lib/fir_cli.rb
|
|
144
|
-
homepage: http://blog.fir.im/
|
|
144
|
+
homepage: http://blog.fir.im/fir_cli
|
|
145
145
|
licenses:
|
|
146
146
|
- MIT
|
|
147
147
|
metadata: {}
|
|
148
148
|
post_install_message: "\n ______________ ________ ____\n /
|
|
149
149
|
____/ _/ __ \\ / ____/ / / _/\n / /_ / // /_/ /_____/ / / / /
|
|
150
150
|
/\n / __/ _/ // _, _/_____/ /___/ /____/ /\n /_/ /___/_/ |_| \\____/_____/___/\n\n
|
|
151
|
-
\ ## 更新记录\n ### FIR-CLI 1.1.
|
|
151
|
+
\ ## 更新记录\n ### FIR-CLI 1.1.1\n - 完全兼容新版 API ✔\n - 请使用新版 API Token\n - 新版 API
|
|
152
152
|
Token 查看地址: `http://fir.im/user/info`\n - https://github.com/FIRHQ/fir-cli\n "
|
|
153
153
|
rdoc_options: []
|
|
154
154
|
require_paths:
|