firim 0.2.6 → 0.2.7

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
  SHA256:
3
- metadata.gz: 99d4a5e75424bb3b1bbfdccf40ccaf363ad04a2bdccc92912da706716a63119c
4
- data.tar.gz: 5a185dc631b20f68dc485c6d877c153568e175be7e4e99ab0cb0518de3a0b728
3
+ metadata.gz: 339e2d1d86ea02e446677222594455558c3fa6876d9f823e69adb6928956fa72
4
+ data.tar.gz: 42e5e8010082ec75f884e22b2a1104b84de14b5c5ec2dacd6481df8e0cfd21d0
5
5
  SHA512:
6
- metadata.gz: 6f9d2e3d57c1b69f97ba74e26a2e27fe21754c897eb01d9ac07540293d0dff486cbbc8dbe7671c70c2b5020701bc33aabd3f03bc977a426b07b51841e7cb5cde
7
- data.tar.gz: ce37927d5f4dea8127b5fc3c04e386252d6f5aa24c0d40432c64a14ddd19f2c5d1cbf9be120bc6d05654c2def91d19fd85303fba571f0ff11db09a11784a268f
6
+ metadata.gz: f0caec2a42a9f3fc5554d365dadb5ddd3630f760a37b3ab9aa7bed1b00bb7348a194d35c16104081d20f846326d8954a9a12b274880dbfaa9a994bdf6f160150
7
+ data.tar.gz: 9eab57e4111869ca0396fc7d64b843c90472698f4bb4504550fa0ec40eec61a940c6f54a52bd130e24a6c0a4953933d270535d82496ca4b367ab21304bb5a745
data/README.md CHANGED
@@ -1,9 +1,10 @@
1
1
  ***Important***
2
2
 
3
- ***For the reason of fir.im had changed the Base URL, pls set `firim_api_url` to `http://fir-api.fircli.cn/` or `http://api.bq04.com`.*** [issue](https://github.com/whlsxl/firim/issues/26)
3
+ ***For the reason of fir.im had changed the Base URL, pls set `firim_api_url` to `https://fir-api.fircli.cn/` or `https://api.bq04.com`.*** [issue](https://github.com/whlsxl/firim/issues/26)
4
4
 
5
- From v0.2.5, the default `firim_api_url` set to `http://api.bq04.com`.
5
+ From v0.2.5, the default `firim_api_url` set to `https://api.bq04.com`.
6
6
 
7
+ From firim v0.2.6, add show download url in terminal. [issue](https://github.com/whlsxl/firim/issues/32)
7
8
  # Firim
8
9
 
9
10
  Firim is a command tool to directly upload ipa and change app infomation on fir.im. fir.im is a Beta APP host website, you can upload ipa for AdHoc or InHouse distribution for testing.
@@ -28,7 +29,7 @@ Or install it yourself as:
28
29
 
29
30
  * `cd [your_project_folder]`
30
31
  * `firim init`
31
- * Enter your fir.im API Token (From [Fir.im](http://fir.im/apps))
32
+ * Enter your fir.im API Token (From [Fir.im](https://fir.im/apps))
32
33
  * `firim -i [your_ipa_path]`
33
34
 
34
35
  # Usage
@@ -45,6 +46,12 @@ Upload with icon ***NOTICE: Icon must be jpg format***
45
46
 
46
47
  Use `firim_api_url` to set API URL, if `fir.im` change the Base URL. default is `https://api.fir.im`.
47
48
 
49
+ After upload app to fir.im, firim will export some environment variables.
50
+
51
+ * `FIRIM_APP_SHORT` app's short path
52
+ * `FIRIM_APP_NAME` app's name
53
+ * `FIRIM_APP_URL` the download page of the app
54
+
48
55
  # Assign API Token
49
56
 
50
57
  There are three ways to assign Firim API Token
@@ -72,7 +79,6 @@ The gem is available as open source under the terms of the [MIT License](http://
72
79
 
73
80
  # TODO
74
81
 
75
- * Export all app infomation to a file
76
- * Generate a web page show all the app's link and infomations
77
- * Show the app list, and export all app infomations to a file
78
- * force reset icon
82
+ - [ ] Generate a web page show all the app's link and infomations
83
+ - [x] Show the app list, and export all app infomations to a file
84
+ - [ ] force reset icon
data/lib/firim/runner.rb CHANGED
@@ -64,6 +64,9 @@ module Firim
64
64
  write_app_info_to_file
65
65
  options = @app_info
66
66
  options[:download_page_url] = download_url
67
+ ENV["FIRIM_APP_URL"] = download_url
68
+ ENV["FIRIM_APP_NAME"] = options["name"]
69
+ ENV["FIRIM_APP_SHORT"] = options["short"]
67
70
  FastlaneCore::PrintTable.print_values(config: options, title: "#{@app_info["name"]}'s' App Info")
68
71
  end
69
72
 
data/lib/firim/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Firim
2
- VERSION = "0.2.6"
2
+ VERSION = "0.2.7"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: firim
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - whlsxl
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-12-23 00:00:00.000000000 Z
11
+ date: 2021-09-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fastlane