fir-cli 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1f5d2beedaa3955abe679d71ccdae111fcdbe595
4
- data.tar.gz: 86c4a61744d18c11768ea6c23a0b291187752be2
3
+ metadata.gz: f2e65e8b7eda87b18f47ea4c270a93fe5d2c3606
4
+ data.tar.gz: 514d801da747957bd1b38b667f8f1db9ee6fdf46
5
5
  SHA512:
6
- metadata.gz: 523e663b825492d85a365b092850e1611b9009ee7932785c33e9029f8341a7bb649ee2dcc2cf9b3ff90bb7d989fc4a9638b8a98a42293715266a9bea08f3eb16
7
- data.tar.gz: bc436021c8798abd0115c385f8ad87d8093af4e90814954f74bfd940088dab1f925c5052c3d9897276274dfd82d61cfaa379db5307292233fb9b863bc061cdc9
6
+ metadata.gz: e2ab0122beb751a842c07de988c4ca23b2533618628bc85ea4c0062a9e433ec2497aa0b79c1f5f1a36cc482a00b6c9ad473faec66cdf7e7f51b84a1ec0d332fb
7
+ data.tar.gz: 33fc0b89c59881e64aa94cc9fd1c23954249aaab4d2e34fcd0a673f7131b7d93ea70eacd6dcfd39b4afe7eca469ba06cb02fdfc0568eb77188c0a30ecfe6a319
data/CHANGELOG CHANGED
@@ -1,4 +1,7 @@
1
1
  ## 更新记录
2
+ ### FIR-CLI 1.1.1
3
+ - android app 不转换 icon
4
+
2
5
  ### FIR-CLI 1.1.0
3
6
  - 完全兼容新版 API
4
7
  - 请使用新版 API Token
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/2014/fir_cli"
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.0
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: "Set true/false if build workspace"
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"
@@ -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
- Parser.uncrush_icon(origin_path, output_path)
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
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  module FIR
4
- VERSION = "1.1.0"
4
+ VERSION = "1.1.1"
5
5
  end
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.0
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-05 00:00:00.000000000 Z
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/2014/fir_cli
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.0\n - 完全兼容新版 API ✔\n - 请使用新版 API Token\n - 新版 API
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: