app-info 2.6.0 → 2.6.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +22 -1
- data/lib/app_info/apk.rb +2 -1
- data/lib/app_info/dsym.rb +4 -2
- data/lib/app_info/macos.rb +1 -1
- data/lib/app_info/mobile_provision.rb +1 -1
- data/lib/app_info/png_uncrush.rb +1 -4
- data/lib/app_info/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f97c42670196b47aacccbaf9fcee52b7bd4a8e3f21cd2f1f8c8ccfb5fdd7f3dc
|
4
|
+
data.tar.gz: 6f6a3dad1fdf80548e9d65a6ca84df7ac5a2123081e08912546202b8c03ef026
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f11aea895a604a5cd9452e923a028514dfa36853c4ec7448b7d0dade327a63815c326aff4aa5532514c0b2f90dd966a688feef2f01c709b5d98a182ce81dbadd
|
7
|
+
data.tar.gz: 54be915b94a47906df35e4149b99136a1bc82da6549890b01a5dd60320208ebd2ccd35fc70b32620a7a2f56f6f6f1566411dca27f9d7aac09d4512051f713d24
|
data/CHANGELOG.md
CHANGED
@@ -9,6 +9,24 @@ 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.6.4] (2021-09-10)
|
13
|
+
|
14
|
+
### Fixed
|
15
|
+
|
16
|
+
- Error on extract dSYM zipped file occasionally
|
17
|
+
|
18
|
+
## [2.6.3] (2021-08-27)
|
19
|
+
|
20
|
+
### Fixed
|
21
|
+
|
22
|
+
- Force write all icon data with `ASCII-8BIT`
|
23
|
+
- Force convert developer cert name to `UTF-8`
|
24
|
+
## [2.6.1] (2021-08-26)
|
25
|
+
|
26
|
+
### Fixed
|
27
|
+
|
28
|
+
- Force write macOS icon data with `ASCII-8BIT`
|
29
|
+
|
12
30
|
## [2.6.0] (2021-08-24)
|
13
31
|
|
14
32
|
### Changed
|
@@ -161,7 +179,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|
161
179
|
|
162
180
|
- Updated dependency of CFPropertly list be a range between 2.3.4. (thanks @[cschroed](https://github.com/cschroed))
|
163
181
|
|
164
|
-
[Unreleased]: https://github.com/icyleaf/app-info/compare/v2.6.
|
182
|
+
[Unreleased]: https://github.com/icyleaf/app-info/compare/v2.6.4..HEAD
|
183
|
+
[2.6.4]: https://github.com/icyleaf/app-info/compare/v2.6.3...v2.6.4
|
184
|
+
[2.6.3]: https://github.com/icyleaf/app-info/compare/v2.6.1...v2.6.3
|
185
|
+
[2.6.1]: https://github.com/icyleaf/app-info/compare/v2.6.0...v2.6.1
|
165
186
|
[2.6.0]: https://github.com/icyleaf/app-info/compare/v2.5.4...v2.6.0
|
166
187
|
[2.5.4]: https://github.com/icyleaf/app-info/compare/v2.5.3...v2.5.4
|
167
188
|
[2.5.3]: https://github.com/icyleaf/app-info/compare/v2.5.2...v2.5.3
|
data/lib/app_info/apk.rb
CHANGED
@@ -76,6 +76,7 @@ module AppInfo
|
|
76
76
|
def min_sdk_version
|
77
77
|
manifest.min_sdk_ver
|
78
78
|
end
|
79
|
+
alias min_os_version min_sdk_version
|
79
80
|
|
80
81
|
def target_sdk_version
|
81
82
|
manifest.doc
|
@@ -118,7 +119,7 @@ module AppInfo
|
|
118
119
|
icon_path = File.join(contents, File.dirname(path))
|
119
120
|
icon_file = File.join(icon_path, icon_name)
|
120
121
|
FileUtils.mkdir_p icon_path
|
121
|
-
File.
|
122
|
+
File.write(icon_file, data, encoding: Encoding::BINARY)
|
122
123
|
|
123
124
|
obj << {
|
124
125
|
name: icon_name,
|
data/lib/app_info/dsym.rb
CHANGED
@@ -95,11 +95,13 @@ module AppInfo
|
|
95
95
|
zip_file.each do |f|
|
96
96
|
unless dsym_dir
|
97
97
|
dsym_dir = f.name
|
98
|
-
|
98
|
+
# fix filename is xxx.app.dSYM/Contents
|
99
|
+
dsym_dir = dsym_dir.split('/')[0] if dsym_dir.include?('/')
|
99
100
|
end
|
100
101
|
|
101
102
|
f_path = File.join(path, f.name)
|
102
|
-
|
103
|
+
FileUtils.mkdir_p(File.dirname(f_path))
|
104
|
+
f.extract(f_path) unless File.exist?(f_path)
|
103
105
|
end
|
104
106
|
end
|
105
107
|
|
data/lib/app_info/macos.rb
CHANGED
@@ -175,7 +175,7 @@ module AppInfo
|
|
175
175
|
dest_file = Util.tempdir(File.join(File.dirname(file), dest_filename), prefix: 'converted')
|
176
176
|
next unless icon_data = reader.image(size: size)
|
177
177
|
|
178
|
-
File.write(dest_file, icon_data)
|
178
|
+
File.write(dest_file, icon_data, encoding: Encoding::BINARY)
|
179
179
|
|
180
180
|
data[:sets] << {
|
181
181
|
name: File.basename(dest_filename),
|
data/lib/app_info/png_uncrush.rb
CHANGED
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: 2.6.
|
4
|
+
version: 2.6.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- icyleaf
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-09-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: CFPropertyList
|