app-info 3.1.0 → 3.1.4

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: 0f0d48c631471efcf9aad2bf89dcb171433cea5babd6e90be71e839c924449d7
4
- data.tar.gz: 36cdb280cb149defbd1171713c33dc268b5eb371aeeaff9009b8bd1f3b90ca7d
3
+ metadata.gz: 678ea8ec8c58efc66f4937194709f72b81221613ba7da6c4db367e8e619b4fa9
4
+ data.tar.gz: c8dffdd539e078ebc81de5f7335f9858a28a6373b3603cb47301174de69feb30
5
5
  SHA512:
6
- metadata.gz: 35120ee87f3b97cf1fc808f9960a0e1082558ca101e78c00082e883446263422eb6694e591602941f004e6cf1674a4f5c1b47752418ae78eff6a37f22c5bcf4c
7
- data.tar.gz: eede9fef6333ead33d4a4ffd550ca6525ace8e94f6beaab9d66f06af0a65a6ce220ab8dcf9f40dedf1660b0bbacba9408ed8bda11d177a9a1a1ad491a9d3be0b
6
+ metadata.gz: d270d7c5fb948109da2aca484479cfaf6d4acc629598dc9199b794286a600235dba5bcbb5205c52671dbecabe8ee0b9917f8dbf1389903ff9951baf673836ec3
7
+ data.tar.gz: b91a9932a126c6af47db8310df78c0c3d1f9c4ff3224c4764b54e1b29cd59b4286fe2533c03499bf814227cd528b0b00ffdc739282f4605829bf23d71029e27e
data/CHANGELOG.md CHANGED
@@ -9,6 +9,25 @@ 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.1.4] (2024-06-27)
13
+
14
+ ### Added
15
+
16
+ - Android(apk): Add fetch locales support.
17
+ - Android(apk): Add architectures support.
18
+ - Android(apk): Add detect universal apk.
19
+
20
+ ### Fixed
21
+
22
+ - Android(apk): Fix Unknown chunk type 0x0203. #[icyleaf/android_parser#6](https://github.com/icyleaf/android_parser/issues/6)
23
+ - Android(apk): Fix 3bits of lang and country in locales.
24
+
25
+ ## [3.1.2] (2024-06-25)
26
+
27
+ ### Fixed
28
+
29
+ - Detect tvos for mobile provision.
30
+
12
31
  ## [3.1.0] (2024-06-24)
13
32
 
14
33
  Dropped Ruby 2.5 ~ 3.0 support (no changes required.).
@@ -336,7 +355,9 @@ Dropped Ruby 2.5 ~ 3.0 support (no changes required.).
336
355
 
337
356
  - Updated dependency of CFPropertly list be a range between 2.3.4. (thanks @[cschroed](https://github.com/cschroed))
338
357
 
339
- [Unreleased]: https://github.com/icyleaf/app-info/compare/v3.1.0..HEAD
358
+ [Unreleased]: https://github.com/icyleaf/app-info/compare/v3.1.4..HEAD
359
+ [3.1.4]: https://github.com/icyleaf/app-info/compare/v3.1.2...v3.1.4
360
+ [3.1.2]: https://github.com/icyleaf/app-info/compare/v3.1.0...v3.1.2
340
361
  [3.1.0]: https://github.com/icyleaf/app-info/compare/v3.0.0...v3.1.0
341
362
  [3.0.0]: https://github.com/icyleaf/app-info/compare/v2.8.5...v3.0.0
342
363
  [3.0.0.beta4]: https://github.com/icyleaf/app-info/compare/v3.0.0.beta3...v3.0.0.beta4
data/app_info.gemspec CHANGED
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
25
25
  spec.add_dependency 'base64', '~> 0.2.0'
26
26
  spec.add_dependency 'image_size', '>= 1.5', '< 3.5'
27
27
  spec.add_dependency 'ruby-macho', '>= 1.4', '< 5'
28
- spec.add_dependency 'android_parser', '~> 2.6.0'
28
+ spec.add_dependency 'android_parser', '>= 2.7', '< 3.0'
29
29
  spec.add_dependency 'rubyzip', '>= 1.2', '< 3.0'
30
30
  spec.add_dependency 'uuidtools', '>= 2.1.5', '< 2.3.0'
31
31
  spec.add_dependency 'icns', '~> 0.2.0'
@@ -36,7 +36,7 @@ Gem::Specification.new do |spec|
36
36
  spec.add_development_dependency 'rake', '>= 10.0'
37
37
 
38
38
  spec.post_install_message = <<~ENDBANNER
39
- AppInfo 3.0 is coming!
39
+ AppInfo 3.0 was out!
40
40
  **********************
41
41
  The public API of some AppInfo classes has been changed.
42
42
 
data/lib/app_info/apk.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'ruby_apk'
3
+ require 'android_parser'
4
4
 
5
5
  module AppInfo
6
6
  # Parse APK file parser, wrapper for {https://github.com/icyleaf/android_parser android_parser}.
@@ -19,6 +19,8 @@ module AppInfo
19
19
  Platform::MACOS
20
20
  when :ios
21
21
  Platform::IOS
22
+ when :tvos
23
+ Platform::APPLETV
22
24
  else
23
25
  raise NotImplementedError, "Unkonwn platform: #{platforms[0]}"
24
26
  end
@@ -113,7 +115,7 @@ module AppInfo
113
115
  # @return [Boolea]
114
116
  def development?
115
117
  case platform
116
- when Platform::IOS
118
+ when Platform::IOS, Platform::APPLETV
117
119
  entitlements['get-task-allow'] == true
118
120
  when Platform::MACOS
119
121
  !devices.nil?
@@ -128,7 +130,7 @@ module AppInfo
128
130
  # @return [Boolea]
129
131
  def appstore?
130
132
  case platform
131
- when Platform::IOS
133
+ when Platform::IOS, Platform::APPLETV
132
134
  !development? && entitlements.key?('beta-reports-active')
133
135
  when Platform::MACOS
134
136
  !development?
@@ -183,7 +185,9 @@ module AppInfo
183
185
  capabilities << 'HealthKit' unless capabilities.include?('HealthKit')
184
186
  when 'com.apple.developer.icloud-services',
185
187
  'com.apple.developer.icloud-container-identifiers'
186
- capabilities << 'iCloud' unless capabilities.include?('iCloud')
188
+ capabilities << 'iCloud: CloudKit' unless capabilities.include?('iCloud: CloudKit')
189
+ when 'com.apple.developer.ubiquity-kvstore-identifier'
190
+ capabilities << 'iCloud: iCloud key-value storage'
187
191
  when 'com.apple.developer.in-app-payments'
188
192
  capabilities << 'Apple Pay'
189
193
  when 'com.apple.developer.homekit'
@@ -216,6 +220,12 @@ module AppInfo
216
220
  capabilities << 'Low Latency HLS'
217
221
  when 'com.apple.developer.associated-domains.mdm-managed'
218
222
  capabilities << 'MDM Managed Associated Domains'
223
+ when 'keychain-access-groups'
224
+ capabilities << 'Keychain Sharing'
225
+ when 'com.apple.developer.usernotifications.time-sensitive'
226
+ capabilities << 'Time Sensitive Notifications'
227
+ when 'com.apple.developer.game-center'
228
+ capabilities << 'Game Center'
219
229
  # macOS Only
220
230
  when 'com.apple.developer.maps'
221
231
  capabilities << 'Maps'
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module AppInfo
4
- VERSION = '3.1.0'
4
+ VERSION = '3.1.4'
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: 3.1.0
4
+ version: 3.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - icyleaf
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-06-24 00:00:00.000000000 Z
11
+ date: 2024-06-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: CFPropertyList
@@ -102,16 +102,22 @@ dependencies:
102
102
  name: android_parser
103
103
  requirement: !ruby/object:Gem::Requirement
104
104
  requirements:
105
- - - "~>"
105
+ - - ">="
106
106
  - !ruby/object:Gem::Version
107
- version: 2.6.0
107
+ version: '2.7'
108
+ - - "<"
109
+ - !ruby/object:Gem::Version
110
+ version: '3.0'
108
111
  type: :runtime
109
112
  prerelease: false
110
113
  version_requirements: !ruby/object:Gem::Requirement
111
114
  requirements:
112
- - - "~>"
115
+ - - ">="
113
116
  - !ruby/object:Gem::Version
114
- version: 2.6.0
117
+ version: '2.7'
118
+ - - "<"
119
+ - !ruby/object:Gem::Version
120
+ version: '3.0'
115
121
  - !ruby/object:Gem::Dependency
116
122
  name: rubyzip
117
123
  requirement: !ruby/object:Gem::Requirement
@@ -303,7 +309,7 @@ licenses:
303
309
  - MIT
304
310
  metadata: {}
305
311
  post_install_message: |
306
- AppInfo 3.0 is coming!
312
+ AppInfo 3.0 was out!
307
313
  **********************
308
314
  The public API of some AppInfo classes has been changed.
309
315