app-info 2.8.2 → 2.8.3

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: a3da34af686efd6aacd4b80fbb8b49a9c1dd38f101075a4950214ef3bc83314b
4
- data.tar.gz: 0c0359085eca517924e26b89e649ce6ae42683532676dc0f14613daccab3686b
3
+ metadata.gz: bdaf1f27e2e99bcb2f956e47cec30e4b24f22222e592e253a1a35329ae09ddb1
4
+ data.tar.gz: deee5130996188ef10b5d61277b434b4abfcec1739f519332576610e6ab9f3ef
5
5
  SHA512:
6
- metadata.gz: d9fa46b089aae06843662fd5f5780012f34b0913a231183e18a7a8bdec227012069c1e0d11ae613460f7b5b73cd76c7039e46e85215b6d103360be9d05391bd6
7
- data.tar.gz: a2f9e51a8180b6baac585fd5f5e02528ddd46063477e1fcb3738967e0738b56aab902096694483c834473f17cf3e229d4241a62351297c76243383979b61da4b
6
+ metadata.gz: a4a25969b08c4badb8120341af2596f3bf5e0ef9170298e182ef8536ad14d843bf8469019ce3cd2753b5c4c5b8ba215b5ea1eb85b1b8922309788637e83d62e6
7
+ data.tar.gz: 126e88b55bcb3bfa091d96993a1dd18f919dd75f4e77b3927313b26b587892e1eae7317f54ad22c0ad54ffefc6efdb3f142b525b0708497a2a818fd4b4e4be64
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
+ ## [2.8.3] (2022-06-27)
13
+
14
+ ### Fixed
15
+
16
+ - Fix properties in `AndroidManifest.xml` of aab file with null state prediction.
17
+
12
18
  ## [2.8.2] (2022-02-13)
13
19
 
14
20
  ### Fixed
@@ -228,7 +234,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
228
234
 
229
235
  - Updated dependency of CFPropertly list be a range between 2.3.4. (thanks @[cschroed](https://github.com/cschroed))
230
236
 
231
- [Unreleased]: https://github.com/icyleaf/app-info/compare/v2.8.2..HEAD
237
+ [Unreleased]: https://github.com/icyleaf/app-info/compare/v2.8.3..HEAD
238
+ [2.8.3]: https://github.com/icyleaf/app-info/compare/v2.8.2...v2.8.3
232
239
  [2.8.2]: https://github.com/icyleaf/app-info/compare/v2.8.1...v2.8.2
233
240
  [2.8.1]: https://github.com/icyleaf/app-info/compare/v2.8.0...v2.8.1
234
241
  [2.8.0]: https://github.com/icyleaf/app-info/compare/v2.7.0...v2.8.0
data/Gemfile CHANGED
@@ -5,8 +5,7 @@ source 'https://rubygems.org'
5
5
  # Specify your gem's dependencies in app-info.gemspec
6
6
  gemspec
7
7
 
8
- # group :development do
9
- # gem 'awesome_print'
10
- # gem 'debase'
11
- # gem 'ruby-debug-ide'
12
- # end
8
+ group :development do
9
+ gem 'awesome_print'
10
+ gem 'debug' # For ruby 3.0+
11
+ end
data/app_info.gemspec CHANGED
@@ -27,7 +27,7 @@ Gem::Specification.new do |spec|
27
27
  spec.add_dependency 'rubyzip', '>= 1.2', '< 3.0'
28
28
  spec.add_dependency 'uuidtools', '>= 2.1.5', '< 2.3.0'
29
29
  spec.add_dependency 'icns', '~> 0.2.0'
30
- spec.add_dependency 'google-protobuf', '~> 3.19.4'
30
+ spec.add_dependency 'google-protobuf', '>= 3.19.4', '< 3.22.0'
31
31
 
32
32
  spec.add_development_dependency 'bundler', '>= 1.12'
33
33
  spec.add_development_dependency 'rake', '>= 10.0'
data/lib/app_info/aab.rb CHANGED
@@ -79,15 +79,15 @@ module AppInfo
79
79
  # end
80
80
 
81
81
  def wear?
82
- use_features.include?('android.hardware.type.watch')
82
+ use_features&.include?('android.hardware.type.watch')
83
83
  end
84
84
 
85
85
  def tv?
86
- use_features.include?('android.software.leanback')
86
+ use_features&.include?('android.software.leanback')
87
87
  end
88
88
 
89
89
  def automotive?
90
- use_features.include?('android.hardware.type.automotive')
90
+ use_features&.include?('android.hardware.type.automotive')
91
91
  end
92
92
 
93
93
  def min_sdk_version
@@ -100,10 +100,14 @@ module AppInfo
100
100
  end
101
101
 
102
102
  def use_features
103
+ return [] unless manifest.respond_to?(:uses_feature)
104
+
103
105
  @use_features ||= manifest&.uses_feature&.map(&:name)
104
106
  end
105
107
 
106
108
  def use_permissions
109
+ return [] unless manifest.respond_to?(:uses_permission)
110
+
107
111
  @use_permissions ||= manifest&.uses_permission&.map(&:name)
108
112
  end
109
113
 
@@ -153,7 +153,7 @@ module AppInfo
153
153
  def intent_filters(search: nil)
154
154
  activities.each_with_object([]) do |activity, obj|
155
155
  intent_filters = activity.intent_filter
156
- next if intent_filters&.empty?
156
+ next if intent_filters.nil? || intent_filters&.empty?
157
157
 
158
158
  if search.nil? || search.empty?
159
159
  obj << intent_filters
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module AppInfo
4
- VERSION = '2.8.2'
4
+ VERSION = '2.8.3'
5
5
  end
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: 2.8.2
4
+ version: 2.8.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - icyleaf
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-02-13 00:00:00.000000000 Z
11
+ date: 2022-06-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: CFPropertyList
@@ -142,16 +142,22 @@ dependencies:
142
142
  name: google-protobuf
143
143
  requirement: !ruby/object:Gem::Requirement
144
144
  requirements:
145
- - - "~>"
145
+ - - ">="
146
146
  - !ruby/object:Gem::Version
147
147
  version: 3.19.4
148
+ - - "<"
149
+ - !ruby/object:Gem::Version
150
+ version: 3.22.0
148
151
  type: :runtime
149
152
  prerelease: false
150
153
  version_requirements: !ruby/object:Gem::Requirement
151
154
  requirements:
152
- - - "~>"
155
+ - - ">="
153
156
  - !ruby/object:Gem::Version
154
157
  version: 3.19.4
158
+ - - "<"
159
+ - !ruby/object:Gem::Version
160
+ version: 3.22.0
155
161
  - !ruby/object:Gem::Dependency
156
162
  name: bundler
157
163
  requirement: !ruby/object:Gem::Requirement
@@ -276,7 +282,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
276
282
  - !ruby/object:Gem::Version
277
283
  version: '0'
278
284
  requirements: []
279
- rubygems_version: 3.1.4
285
+ rubygems_version: 3.2.32
280
286
  signing_key:
281
287
  specification_version: 4
282
288
  summary: Teardown tool for mobile app(ipa/apk) and dSYM file, analysis metedata like