fir-cli 1.3.7 → 1.3.8

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: 3e561175c5a335be3b135439097dd39bdc66c726
4
- data.tar.gz: e2f77fc9e7bfab9a328da190567aa105d7c10c82
3
+ metadata.gz: 2e2c702901af33ae95e937596f5fbb3eceb60947
4
+ data.tar.gz: 27dd74482daa52b3f9a6ab5a0625a31ec9426b7c
5
5
  SHA512:
6
- metadata.gz: ef8e450345f05f761c977bf32781e06b4d294b7e39283ba2fbac5e82b1fa4e0fb53266970a8187fc4672d004669e55414fe8f3747a311d999fe595f15c77feb9
7
- data.tar.gz: cd7f47ce2b285e89f6a25f1e2439d21770f2d7e05b0048623638ff1af3093ce3a04287e8b4f546b1f2b3beb3cd8d96e4d6ac0ba49fa08b0a587d3745cc9d5a09
6
+ metadata.gz: 94fb5b9c9ac3cbfe6688efc9a443a35495aad30a72925bf259665a2ba1fd4bc2a4206ab0570c0cf440dee323269883148ab7c607d8cd838a708ec26c4947bcc7
7
+ data.tar.gz: e06bba2f4e30197cfa5facafd93cc638706a1d78d3509fc7719fed6c8cc581734e2f0113d8c0d9f87081aa6fcae1520bb4cbd6e8188d70429401915b7282f8c2
data/CHANGELOG CHANGED
@@ -1,5 +1,8 @@
1
1
  ## 更新记录
2
2
 
3
+ ### fir-cli 1.3.8
4
+ - 增加安卓打包生成路径
5
+
3
6
  ### fir-cli 1.3.7
4
7
  - 支持直接从文件读取 changelog
5
8
 
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 = 'fir.im command tool'
14
14
  spec.description = 'fir.im command tool, support iOS and Android'
15
- spec.homepage = 'http://blog.fir.im/fir_cli'
15
+ spec.homepage = 'https://github.com/FIRHQ/fir-cli'
16
16
  spec.license = 'MIT'
17
17
  spec.files = `git ls-files -z`.split("\x0")
18
18
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
@@ -27,7 +27,8 @@ Gem::Specification.new do |spec|
27
27
  /_/ /___/_/ |_| \____/_____/___/
28
28
 
29
29
  ## 更新记录
30
- ### fir-cli 1.3.7
30
+ ### fir-cli 1.3.8
31
+ - 增加安卓打包生成路径
31
32
  - 支持直接从文件读取 changelog
32
33
  - 增加 -n 参数自定义 build 后 ipa, apk 的 name
33
34
  - 详细更新记录, 请查看: https://github.com/FIRHQ/fir-cli/blob/master/CHANGELOG
@@ -33,8 +33,13 @@ module FIR
33
33
  "#{@build_dir}/build/outputs/apk"
34
34
  end
35
35
 
36
+ def prefix_gradle_build_path
37
+ "#{@build_dir}/app/build/outputs/apk"
38
+ end
39
+
36
40
  def output_apk
37
41
  @builded_apk ||= Dir["#{gradle_build_path}/*.apk"].find { |i| i =~ /release/ }
42
+ @builded_apk ||= Dir["#{prefix_gradle_build_path}/*.apk"].find { |i| i =~ /release/ }
38
43
  @builded_apk ||= Dir["#{@build_dir}/*.apk"].find { |i| i =~ /release/ }
39
44
 
40
45
  check_no_output_apk
data/lib/fir/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  module FIR
4
- VERSION = '1.3.7'
4
+ VERSION = '1.3.8'
5
5
  end
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.3.7
4
+ version: 1.3.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - NaixSpirit
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-11-03 00:00:00.000000000 Z
11
+ date: 2015-11-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -192,15 +192,15 @@ files:
192
192
  - test/me_test.rb
193
193
  - test/publish_test.rb
194
194
  - test/test_helper.rb
195
- homepage: http://blog.fir.im/fir_cli
195
+ homepage: https://github.com/FIRHQ/fir-cli
196
196
  licenses:
197
197
  - MIT
198
198
  metadata: {}
199
199
  post_install_message: "\n ______________ ________ ____\n /
200
200
  ____/ _/ __ \\ / ____/ / / _/\n / /_ / // /_/ /_____/ / / / /
201
201
  /\n / __/ _/ // _, _/_____/ /___/ /____/ /\n /_/ /___/_/ |_| \\____/_____/___/\n\n
202
- \ ## 更新记录\n ### fir-cli 1.3.7\n - 支持直接从文件读取 changelog\n - 增加 -n 参数自定义 build 后
203
- ipa, apk 的 name\n - 详细更新记录, 请查看: https://github.com/FIRHQ/fir-cli/blob/master/CHANGELOG\n
202
+ \ ## 更新记录\n ### fir-cli 1.3.8\n - 增加安卓打包生成路径\n - 支持直接从文件读取 changelog\n - 增加
203
+ -n 参数自定义 build 后 ipa, apk 的 name\n - 详细更新记录, 请查看: https://github.com/FIRHQ/fir-cli/blob/master/CHANGELOG\n
204
204
  \ - [fir-cli](https://github.com/FIRHQ/fir-cli) 已经开源\n - 欢迎 fork, issue 和 pull
205
205
  request\n "
206
206
  rdoc_options: []
@@ -218,7 +218,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
218
218
  version: '0'
219
219
  requirements: []
220
220
  rubyforge_project:
221
- rubygems_version: 2.4.7
221
+ rubygems_version: 2.4.8
222
222
  signing_key:
223
223
  specification_version: 4
224
224
  summary: fir.im command tool