app-info 3.2.0.beta1 → 3.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -1
- data/README.md +29 -1
- data/app_info.gemspec +2 -12
- data/lib/app_info/const.rb +50 -0
- data/lib/app_info/version.rb +1 -1
- metadata +7 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 114f4899c399d6a4b8091b798a6089538b157eccba40c428ae36e445f79191d6
|
4
|
+
data.tar.gz: 872061f173786d61f2dbad70a25405b71fc2b054ea023fb375394aed52febeeb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 435e4ce4855c42b94a5ef6a9bd12e208765691ad4d2ba1f0da92eb251e6fe12ed9f9aaa95ec8ba5fd3f53b1b4ff664fb8e8a1764b32992c5c0be220e51344ce1
|
7
|
+
data.tar.gz: 376b5e7ac14d0fa8a95d0bd0a6d2861532e937317ed3c6a1cea07bc3ebc7a4ac2b84b8648180a9ae298768e3b7e90335a055bf344a2a2f933a2106b2f853bb31
|
data/CHANGELOG.md
CHANGED
@@ -9,6 +9,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|
9
9
|
|
10
10
|
> List all changes before release a new version.
|
11
11
|
|
12
|
+
## [3.2.0] (2024-09-09)
|
13
|
+
|
14
|
+
### Added
|
15
|
+
|
16
|
+
- Add HarmonyOS app support (basic). #[76](https://github.com/icyleaf/app-info/pull/76) Many thanks to @[InjoyDeng](https://github.com/InjoyDeng)
|
17
|
+
|
12
18
|
## [3.1.4] (2024-06-27)
|
13
19
|
|
14
20
|
### Added
|
@@ -355,7 +361,8 @@ Dropped Ruby 2.5 ~ 3.0 support (no changes required.).
|
|
355
361
|
|
356
362
|
- Updated dependency of CFPropertly list be a range between 2.3.4. (thanks @[cschroed](https://github.com/cschroed))
|
357
363
|
|
358
|
-
[Unreleased]: https://github.com/icyleaf/app-info/compare/v3.
|
364
|
+
[Unreleased]: https://github.com/icyleaf/app-info/compare/v3.2.0..HEAD
|
365
|
+
[3.2.0]: https://github.com/icyleaf/app-info/compare/v3.1.4...v3.2.0
|
359
366
|
[3.1.4]: https://github.com/icyleaf/app-info/compare/v3.1.2...v3.1.4
|
360
367
|
[3.1.2]: https://github.com/icyleaf/app-info/compare/v3.1.0...v3.1.2
|
361
368
|
[3.1.0]: https://github.com/icyleaf/app-info/compare/v3.0.0...v3.1.0
|
data/README.md
CHANGED
@@ -5,7 +5,8 @@
|
|
5
5
|
[![Build Status](https://img.shields.io/github/actions/workflow/status/icyleaf/app_info/ci.yml)](https://github.com/icyleaf/app_info/actions/workflows/ci.yml)
|
6
6
|
[![License](https://img.shields.io/github/license/icyleaf/app-info)](LICENSE)
|
7
7
|
|
8
|
-
Teardown tool for mobile app (ipa, apk
|
8
|
+
Teardown tool for mobile app (iOS: ipa, Android: apk/aab, HarmonyOS: .hap/.app file), macOS app, dSYM.zip file and Windows PE file.
|
9
|
+
|
9
10
|
Analysis metedata like version, name, icon etc.
|
10
11
|
|
11
12
|
## Support
|
@@ -17,6 +18,9 @@ Analysis metedata like version, name, icon etc.
|
|
17
18
|
- `.ipa`
|
18
19
|
- `Info.plist` file
|
19
20
|
- `.mobileprovision`/`.provisionprofile` file
|
21
|
+
- HarmonyOS file (basic)
|
22
|
+
- `.hap`
|
23
|
+
- `.app`
|
20
24
|
- macOS App file (archived by starnd pkzip format)
|
21
25
|
- `.app.zip`
|
22
26
|
- dSYMs file (archived by starnd pkzip format)
|
@@ -246,6 +250,30 @@ android.signatures
|
|
246
250
|
# => [...]
|
247
251
|
```
|
248
252
|
|
253
|
+
### HarmonyOS
|
254
|
+
|
255
|
+
Accept `.hap` and `.app` HarmonyOS file. Only metabase, except resources mapping.
|
256
|
+
|
257
|
+
```ruby
|
258
|
+
hap = AppInfo.parse('app.hap')
|
259
|
+
|
260
|
+
# get app file size
|
261
|
+
android.size
|
262
|
+
# => 2013213
|
263
|
+
|
264
|
+
# get app file size in human reable.
|
265
|
+
android.size(human_size: true)
|
266
|
+
# => 21 MB
|
267
|
+
|
268
|
+
# get app release version
|
269
|
+
android.release_version
|
270
|
+
# => 1.0
|
271
|
+
|
272
|
+
# get app package name
|
273
|
+
android.bundle_id
|
274
|
+
# => com.icyleaf.AppInfoDemo
|
275
|
+
```
|
276
|
+
|
249
277
|
### macOS
|
250
278
|
|
251
279
|
Only accept zipped macOS file.
|
data/app_info.gemspec
CHANGED
@@ -10,8 +10,8 @@ Gem::Specification.new do |spec|
|
|
10
10
|
spec.authors = ['icyleaf']
|
11
11
|
spec.email = ['icyleaf.cn@gmail.com']
|
12
12
|
|
13
|
-
spec.summary = 'Teardown tool for
|
14
|
-
spec.description = 'Teardown tool for ipa
|
13
|
+
spec.summary = 'Teardown tool for all most app, analysis metedata like version, name, icon'
|
14
|
+
spec.description = 'Teardown tool for ipa, apk, aab, hap mobile files and Windows, macOS and dSYM file, even support for info.plist and .mobileprovision files'
|
15
15
|
spec.homepage = 'http://github.com/icyleaf/app-info'
|
16
16
|
spec.license = 'MIT'
|
17
17
|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
@@ -34,14 +34,4 @@ Gem::Specification.new do |spec|
|
|
34
34
|
|
35
35
|
spec.add_development_dependency 'bundler', '>= 1.12'
|
36
36
|
spec.add_development_dependency 'rake', '>= 10.0'
|
37
|
-
|
38
|
-
spec.post_install_message = <<~ENDBANNER
|
39
|
-
AppInfo 3.0 was out!
|
40
|
-
**********************
|
41
|
-
The public API of some AppInfo classes has been changed.
|
42
|
-
|
43
|
-
Please ensure that your Gemfiles and .gemspecs are suitably restrictive
|
44
|
-
to avoid an unexpected breakage when 3.0 is released (e.g. ~> 2.8.5).
|
45
|
-
See https://github.com/icyleaf/app_info for details.
|
46
|
-
ENDBANNER
|
47
37
|
end
|
data/lib/app_info/const.rb
CHANGED
@@ -105,5 +105,55 @@ module AppInfo
|
|
105
105
|
# Windows
|
106
106
|
WINDOWS = :windows
|
107
107
|
end
|
108
|
+
|
109
|
+
# legacy consts
|
110
|
+
|
111
|
+
# macOS
|
112
|
+
# @deprecated Use {Device::Apple#MACOS} instead, this method will remove in 3.3.0.
|
113
|
+
MACOS = :macos
|
114
|
+
|
115
|
+
# Apple iPhone
|
116
|
+
# @deprecated Use {Device::Apple#IPHONE} instead, this method will remove in 3.3.0.
|
117
|
+
IPHONE = :iphone
|
118
|
+
|
119
|
+
# Apple iPad
|
120
|
+
# @deprecated Use {Device::Apple#IPAD} instead, this method will remove in 3.3.0.
|
121
|
+
IPAD = :ipad
|
122
|
+
|
123
|
+
# Apple Universal (iPhone and iPad)
|
124
|
+
# @deprecated Use {Device::Apple#UNIVERSAL} instead, this method will remove in 3.3.0.
|
125
|
+
UNIVERSAL = :universal
|
126
|
+
|
127
|
+
# Apple TV
|
128
|
+
# @deprecated Use {Device::Apple#APPLETV} instead, this method will remove in 3.3.0.
|
129
|
+
APPLETV = :appletv
|
130
|
+
|
131
|
+
# Apple Watch (TODO: not implemented yet)
|
132
|
+
# @deprecated Use {Device::Apple#IWATCH} instead, this method will remove in 3.3.0.
|
133
|
+
IWATCH = :iwatch
|
134
|
+
|
135
|
+
# Android Phone
|
136
|
+
# @deprecated Use {Device::Google#PHONE} instead, this method will remove in 3.3.0.
|
137
|
+
PHONE = :phone
|
138
|
+
|
139
|
+
# Android Tablet (TODO: not implemented yet)
|
140
|
+
# @deprecated Use {Device::Google#TABLET} instead, this method will remove in 3.3.0.
|
141
|
+
TABLET = :tablet
|
142
|
+
|
143
|
+
# Android Watch
|
144
|
+
# @deprecated Use {Device::Google#WATCH} instead, this method will remove in 3.3.0.
|
145
|
+
WATCH = :watch
|
146
|
+
|
147
|
+
# Android TV
|
148
|
+
# @deprecated Use {Device::Google#TELEVISION} instead, this method will remove in 3.3.0.
|
149
|
+
TELEVISION = :television
|
150
|
+
|
151
|
+
# Android Car Automotive
|
152
|
+
# @deprecated Use {Device::Google#AUTOMOTIVE} instead, this method will remove in 3.3.0.
|
153
|
+
AUTOMOTIVE = :automotive
|
154
|
+
|
155
|
+
# Windows
|
156
|
+
# @deprecated Use {Device::Microsoft#WINDOWS} instead, this method will remove in 3.3.0.
|
157
|
+
WINDOWS = :windows
|
108
158
|
end
|
109
159
|
end
|
data/lib/app_info/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: app-info
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.2.0
|
4
|
+
version: 3.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- icyleaf
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-09-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: CFPropertyList
|
@@ -234,8 +234,8 @@ dependencies:
|
|
234
234
|
- - ">="
|
235
235
|
- !ruby/object:Gem::Version
|
236
236
|
version: '10.0'
|
237
|
-
description: Teardown tool for ipa
|
238
|
-
and .mobileprovision files
|
237
|
+
description: Teardown tool for ipa, apk, aab, hap mobile files and Windows, macOS
|
238
|
+
and dSYM file, even support for info.plist and .mobileprovision files
|
239
239
|
email:
|
240
240
|
- icyleaf.cn@gmail.com
|
241
241
|
executables:
|
@@ -313,14 +313,7 @@ homepage: http://github.com/icyleaf/app-info
|
|
313
313
|
licenses:
|
314
314
|
- MIT
|
315
315
|
metadata: {}
|
316
|
-
post_install_message:
|
317
|
-
AppInfo 3.0 was out!
|
318
|
-
**********************
|
319
|
-
The public API of some AppInfo classes has been changed.
|
320
|
-
|
321
|
-
Please ensure that your Gemfiles and .gemspecs are suitably restrictive
|
322
|
-
to avoid an unexpected breakage when 3.0 is released (e.g. ~> 2.8.5).
|
323
|
-
See https://github.com/icyleaf/app_info for details.
|
316
|
+
post_install_message:
|
324
317
|
rdoc_options: []
|
325
318
|
require_paths:
|
326
319
|
- lib
|
@@ -335,9 +328,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
335
328
|
- !ruby/object:Gem::Version
|
336
329
|
version: '0'
|
337
330
|
requirements: []
|
338
|
-
rubygems_version: 3.5.
|
331
|
+
rubygems_version: 3.5.9
|
339
332
|
signing_key:
|
340
333
|
specification_version: 4
|
341
|
-
summary: Teardown tool for
|
342
|
-
version, name, icon
|
334
|
+
summary: Teardown tool for all most app, analysis metedata like version, name, icon
|
343
335
|
test_files: []
|