fir-cli 1.1.1 → 1.1.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f2e65e8b7eda87b18f47ea4c270a93fe5d2c3606
4
- data.tar.gz: 514d801da747957bd1b38b667f8f1db9ee6fdf46
3
+ metadata.gz: e4dadc3c8317c2bfcccbf19e81602551715437e6
4
+ data.tar.gz: 55dd33294782a6e08832cff2e3b2cf6843c59be8
5
5
  SHA512:
6
- metadata.gz: e2ab0122beb751a842c07de988c4ca23b2533618628bc85ea4c0062a9e433ec2497aa0b79c1f5f1a36cc482a00b6c9ad473faec66cdf7e7f51b84a1ec0d332fb
7
- data.tar.gz: 33fc0b89c59881e64aa94cc9fd1c23954249aaab4d2e34fcd0a673f7131b7d93ea70eacd6dcfd39b4afe7eca469ba06cb02fdfc0568eb77188c0a30ecfe6a319
6
+ metadata.gz: 78523c9c30c19604b95ea0514a677c2297b78901561ea9323c6e7aa2c5bdad28cbd4f8f22b36aada563fcb949f8899c11d1a774f51dbd85c61b101670d5830e8
7
+ data.tar.gz: a5d4c2b47d02280ad3c67be1604bf4da70d194e119dffb08c98278fa25f413fdfebec0f0d78390ec9bdab7e7f50c22b0193428de75d19a3824f699e765b753da
data/fir-cli.gemspec CHANGED
@@ -28,7 +28,7 @@ Gem::Specification.new do |spec|
28
28
  /_/ /___/_/ |_| \____/_____/___/
29
29
 
30
30
  ## 更新记录
31
- ### FIR-CLI 1.1.1
31
+ ### FIR-CLI 1.1.2
32
32
  - 完全兼容新版 API ✔
33
33
  - 请使用新版 API Token
34
34
  - 新版 API Token 查看地址: `http://fir.im/user/info`
data/lib/fir/cli.rb CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  module FIR
4
4
  class CLI < Thor
5
- class_option :token, type: :string, aliases: "-T", desc: "User's token at FIR.im"
5
+ class_option :token, type: :string, aliases: "-T", desc: "User's api_token at FIR.im"
6
6
  class_option :logfile, type: :string, aliases: "-L", desc: "Path to writable logfile"
7
7
  class_option :verbose, type: :boolean, aliases: "-V", desc: "Show verbose", default: true
8
8
  class_option :quiet, type: :boolean, aliases: "-q", desc: "Silence commands"
@@ -27,7 +27,7 @@ module FIR
27
27
  method_option :target, type: :string, aliases: "-t", desc: "Build the target specified by targetname"
28
28
  method_option :output, type: :string, aliases: "-o", desc: "IPA output path, the default is: BUILD_DIR/build_ipa"
29
29
  method_option :name, type: :string, aliases: "-n", desc: "IPA name, the default is: YOUR PROJECT NAME"
30
- method_option :publish, type: :boolean, aliases: "-p", desc: "Set true/false if publish to FIR.im"
30
+ method_option :publish, type: :boolean, aliases: "-p", desc: "true/false if publish to FIR.im"
31
31
  method_option :short, type: :string, aliases: "-s", desc: "Set custom short link if publish to FIR.im"
32
32
  method_option :changelog, type: :string, aliases: "-c", desc: "Set changelog if publish to FIR.im"
33
33
  def build_ipa *args
@@ -58,7 +58,7 @@ module Parser
58
58
 
59
59
  def contents
60
60
  return if @contents
61
- @contents = "tmp/ipa_files-#{Time.now.to_i}"
61
+ @contents = "fir-cli_tmp/ipa_files-#{Time.now.to_i}"
62
62
 
63
63
  Zip::File.open(@path) do |zip_file|
64
64
  zip_file.each do |f|
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.1"
4
+ VERSION = "1.1.2"
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.1
4
+ version: 1.1.2
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-08 00:00:00.000000000 Z
12
+ date: 2015-07-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -148,7 +148,7 @@ metadata: {}
148
148
  post_install_message: "\n ______________ ________ ____\n /
149
149
  ____/ _/ __ \\ / ____/ / / _/\n / /_ / // /_/ /_____/ / / / /
150
150
  /\n / __/ _/ // _, _/_____/ /___/ /____/ /\n /_/ /___/_/ |_| \\____/_____/___/\n\n
151
- \ ## 更新记录\n ### FIR-CLI 1.1.1\n - 完全兼容新版 API ✔\n - 请使用新版 API Token\n - 新版 API
151
+ \ ## 更新记录\n ### FIR-CLI 1.1.2\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: