fastlane-plugin-app_info 0.3.0 → 0.4.0

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: acab563c3a2013d4ee100335c1ce2d4005d5f6887322fcd53581f72869ddd942
4
- data.tar.gz: 345bcad4c2d60afcc4a3255621c89158df5a51e4010a381e350524e2b2a0a597
3
+ metadata.gz: 8fe12631a08bc2a7cbc262f834371c76769e228c9e4af99feb57b254429e6b34
4
+ data.tar.gz: fb316ba21061c73177a0716225acf89e05d983dc89aa54c63e8ba4f8b38bef85
5
5
  SHA512:
6
- metadata.gz: 0ad3c2bdb1f411f2057005ce9b094dc20c4d3c2d1e3ad1a514ee49d82f06893b17302a32ba0a5d93ca95d7f75b2490e5dcb910ad7f3c36cfe2d5008d59702f81
7
- data.tar.gz: ebb881feb0881ae550613bca2f35870eaa55698e007af152e2500e66130ba232619b81c364c1c2f84082ab1fdfdb9a5382716dfa92c98e3d483f6275f85d262e
6
+ metadata.gz: 4c831c7737422d7ab2def5427a1290b50fca76a37bb91a4dffd38538b3289385c499194d0deb16824d72f680dbf1af4b3adcf2b6ef4827fe59fc985bcc7bd51f
7
+ data.tar.gz: 2c3f01a31c8acbb40ac914935549e2469bcb55900e404f4abed6d1f0aae2a0122b9db183bcae29e9913c8b86e623c0a6d5d70cad06a3a9fe2f4c9fa11470408d
data/README.md CHANGED
@@ -16,7 +16,8 @@ Teardown tool for mobile app(ipa/apk), analysis metedata like version, name, ico
16
16
 
17
17
  ## Configure
18
18
 
19
- ```+----------------------------------------------------------------------------------------+
19
+ ```
20
+ +----------------------------------------------------------------------------------------+
20
21
  | app_info |
21
22
  +----------------------------------------------------------------------------------------+
22
23
  | Parse and dump mobile app(ipa/apk) metedata. |
@@ -26,14 +27,17 @@ Teardown tool for mobile app(ipa/apk), analysis metedata like version, name, ico
26
27
  | Created by icyleaf <icyleaf.cn@gmail.com> |
27
28
  +----------------------------------------------------------------------------------------+
28
29
 
29
- +------+-------------------------------------------------+---------------+---------+
30
- | app_info Options |
31
- +------+-------------------------------------------------+---------------+---------+
32
- | Key | Description | Env Var | Default |
33
- +------+-------------------------------------------------+---------------+---------+
34
- | file | Path to your ipa/apk file. Optional if you use | APP_INFO_FILE | |
35
- | | the `gym`, `ipa` or `xcodebuild` action. | | |
36
- +------+-------------------------------------------------+---------------+---------+
30
+ +-------+---------------------------------+----------------+---------+
31
+ | app_info Options |
32
+ +-------+---------------------------------+----------------+---------+
33
+ | Key | Description | Env Var(s) | Default |
34
+ +-------+---------------------------------+----------------+---------+
35
+ | file | Path to your ipa/apk file. | APP_INFO_FILE | |
36
+ | | Optional if you use the `gym`, | | |
37
+ | | `ipa` or `xcodebuild` action. | | |
38
+ | clean | Clean cache files to reduce | APP_INFO_CLEAN | true |
39
+ | | disk size | | |
40
+ +-------+---------------------------------+----------------+---------+
37
41
 
38
42
  +----------+---------------------------------+
39
43
  | app_info Output Variables |
@@ -53,10 +57,9 @@ Check out the [example `Fastfile`](fastlane/Fastfile) to see how to use this plu
53
57
 
54
58
  ### iOS
55
59
 
56
- ```bash
57
- $ bundle exec fastlane action app_info
60
+ ```text
58
61
  +-----------------------------+-------------------------------------------------+
59
- | Summary for app_info 0.1.0 |
62
+ | Summary for app_info 0.4.0 |
60
63
  +-----------------------------+-------------------------------------------------+
61
64
  | Name | iOS Team Provisioning Profile: * |
62
65
  | ReleaseVersion | 1.2.3 |
@@ -84,16 +87,24 @@ $ bundle exec fastlane action app_info
84
87
 
85
88
  ### Android
86
89
 
87
- ```bash
88
- +----------------+-------------------------+
89
- | Summary for app_info 0.1.0 |
90
- +----------------+-------------------------+
91
- | Name | AppInfoDemo |
92
- | ReleaseVersion | 1.2.3 |
93
- | BuildVersion | 5 |
94
- | Identifier | com.icyleaf.appinfodemo |
95
- | Os | Android |
96
- +----------------+-------------------------+
90
+ ```text
91
+ +--------------------+------------------------------+
92
+ | Summary for app_info 0.4.0 |
93
+ +--------------------+------------------------------+
94
+ | Name | AppInfoDemo |
95
+ | ReleaseVersion | 1.2.3 |
96
+ | BuildVersion | 5 |
97
+ | Identifier | com.icyleaf.appinfodemo |
98
+ | OS | Android |
99
+ | Size | 2.93 MB |
100
+ | MinSDKVersion | 14 |
101
+ | TargetSDKVersion | 29 |
102
+ | Signatures | META-INF/CERT.RSA |
103
+ | CertificateIssuers | CN:Android Debug O:Android |
104
+ | UsePermissions (2) | android.permission.BLUETOOTH |
105
+ | | android.permission.CAMERA |
106
+ | UseFeatures (0) | |
107
+ +--------------------+------------------------------+
97
108
  ```
98
109
 
99
110
  ## Run tests for this plugin
@@ -16,6 +16,8 @@ module Fastlane
16
16
 
17
17
  print_table!
18
18
 
19
+ @app.clear! if params.fetch(:clean)
20
+
19
21
  # Store shared value
20
22
  Helper::AppInfoHelper.store_sharedvalue(:APP_INFO, Helper::AppInfoHelper.app_to_json(@app))
21
23
  end
@@ -98,7 +100,12 @@ module Fastlane
98
100
  optional: true,
99
101
  verify_block: proc do |value|
100
102
  raise "Couldn't find app file".red unless File.exist?(value)
101
- end)
103
+ end),
104
+ FastlaneCore::ConfigItem.new(key: :clean,
105
+ env_name: 'APP_INFO_CLEAN',
106
+ description: 'Clean cache files to reduce disk size',
107
+ default_value: true,
108
+ optional: true)
102
109
  ]
103
110
  end
104
111
 
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module AppInfo
3
- VERSION = '0.3.0'.freeze
3
+ VERSION = '0.4.0'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-app_info
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - icyleaf
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-06-18 00:00:00.000000000 Z
11
+ date: 2021-04-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: app-info
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 1.1.0
19
+ version: 2.4.2
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 1.1.0
26
+ version: 2.4.2
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -108,7 +108,7 @@ dependencies:
108
108
  - - ">="
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
- description:
111
+ description:
112
112
  email: icyleaf.cn@gmail.com
113
113
  executables: []
114
114
  extensions: []
@@ -124,7 +124,7 @@ homepage: https://github.com/icyleaf/fastlane-plugin-app_info
124
124
  licenses:
125
125
  - MIT
126
126
  metadata: {}
127
- post_install_message:
127
+ post_install_message:
128
128
  rdoc_options: []
129
129
  require_paths:
130
130
  - lib
@@ -139,8 +139,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
139
139
  - !ruby/object:Gem::Version
140
140
  version: '0'
141
141
  requirements: []
142
- rubygems_version: 3.0.3
143
- signing_key:
142
+ rubygems_version: 3.1.4
143
+ signing_key:
144
144
  specification_version: 4
145
145
  summary: Teardown tool for mobile app(ipa/apk), analysis metedata like version, name,
146
146
  icon etc.