firim 0.2.6 → 0.2.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +16 -7
- data/lib/firim/runner.rb +6 -0
- data/lib/firim/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 820fd1cd175fbd30167d2fc1ea6b595f87fe1bf8b270397df6aad4a000e9eb46
|
4
|
+
data.tar.gz: 7a7a443df5dbd1d219b3c62864e1a9363a25410dc3b34e755e31f8701e3a8f29
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 07dee067a7052c72816afa97c1a9b77758ce088d9536f2c153410eee35fea66e9e2f8d491be909f86b229de466ebfa4f30829a16c28347424fec4f4642aee2b7
|
7
|
+
data.tar.gz: 38a894a90d75e20bf3ace028b3dbe7f40ee0103da217681618b9c56e3b1cc93ccbff1deb72f8bdc13fb3093cf77b9bc570b1de0a8b62519a105ecb1d4f93f5b4
|
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 `
|
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 `
|
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](
|
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,15 @@ 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
|
+
## Export environments
|
50
|
+
|
51
|
+
After upload app to fir.im, firim will export some environment variables.
|
52
|
+
|
53
|
+
* `FIRIM_APP_SHORT` app's short path
|
54
|
+
* `FIRIM_APP_NAME` app's name
|
55
|
+
* `FIRIM_MASTER_RELEASE_ID` app's master_release_id
|
56
|
+
* `FIRIM_APP_URL` the download page of the app
|
57
|
+
|
48
58
|
# Assign API Token
|
49
59
|
|
50
60
|
There are three ways to assign Firim API Token
|
@@ -72,7 +82,6 @@ The gem is available as open source under the terms of the [MIT License](http://
|
|
72
82
|
|
73
83
|
# TODO
|
74
84
|
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
* force reset icon
|
85
|
+
- [ ] Generate a web page show all the app's link and infomations
|
86
|
+
- [x] Show the app list, and export all app infomations to a file
|
87
|
+
- [ ] force reset icon
|
data/lib/firim/runner.rb
CHANGED
@@ -64,6 +64,12 @@ 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"]
|
70
|
+
ENV["FIRIM_MASTER_RELEASE_ID"] = options["master_release_id"]
|
71
|
+
options.each { |key, value| ENV["FIRIM_#{key}"] = "#{value}" }
|
72
|
+
print ENV.to_h
|
67
73
|
FastlaneCore::PrintTable.print_values(config: options, title: "#{@app_info["name"]}'s' App Info")
|
68
74
|
end
|
69
75
|
|
data/lib/firim/version.rb
CHANGED
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.
|
4
|
+
version: 0.2.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- whlsxl
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-06-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fastlane
|
@@ -97,7 +97,7 @@ homepage: https://github.com/whlsxl/firim
|
|
97
97
|
licenses:
|
98
98
|
- MIT
|
99
99
|
metadata: {}
|
100
|
-
post_install_message:
|
100
|
+
post_install_message:
|
101
101
|
rdoc_options: []
|
102
102
|
require_paths:
|
103
103
|
- lib
|
@@ -112,8 +112,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
112
112
|
- !ruby/object:Gem::Version
|
113
113
|
version: '0'
|
114
114
|
requirements: []
|
115
|
-
rubygems_version: 3.
|
116
|
-
signing_key:
|
115
|
+
rubygems_version: 3.3.11
|
116
|
+
signing_key:
|
117
117
|
specification_version: 4
|
118
118
|
summary: fir.im command tool
|
119
119
|
test_files: []
|