app-info 2.1.1 → 2.1.2
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/lib/app_info/apk.rb +2 -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: 52ef8fe809311ff9d63351e44fbe764f2160d14c5634e06306e3c92c35d4aa94
|
4
|
+
data.tar.gz: 7f7a7a9f302d6f0c5a9a088aaed496134f07000feda646801f708277736459ce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a94f533ae1e9af400ccb46a0c7a03a951050b5a76ea49d37a7d45601cd97caeab53f3ffa4514cc8cb3ff1a69c0049a78d1f7898753f16a84702cd15cc8e03555
|
7
|
+
data.tar.gz: 0e88aef01907033da2be21326c5ced3b6eae2420ab5220268c519b6af52e2c9b6b42ac95d2106af5b4735e4a91d034c5a0373a119361133b056de93846f34384
|
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.1.2] (2020-01-11)
|
13
|
+
|
14
|
+
### Fixed
|
15
|
+
|
16
|
+
- Correct Android icon temporary path.
|
17
|
+
- Store Android icon force encoding with BINARY.
|
12
18
|
|
13
19
|
## [2.1.1] (2019-12-28)
|
14
20
|
|
@@ -57,7 +63,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|
57
63
|
|
58
64
|
- Updated dependency of CFPropertly list be a range between 2.3.4. (thanks @[cschroed](https://github.com/cschroed))
|
59
65
|
|
60
|
-
[Unreleased]: https://github.com/icyleaf/app-info/compare/v2.1.
|
66
|
+
[Unreleased]: https://github.com/icyleaf/app-info/compare/v2.1.2..HEAD
|
67
|
+
[2.1.2]: https://github.com/icyleaf/app-info/compare/v2.1.1...v2.1.2
|
61
68
|
[2.1.1]: https://github.com/icyleaf/app-info/compare/v2.1.0...v2.1.1
|
62
69
|
[2.1.0]: https://github.com/icyleaf/app-info/compare/v2.0.0...v2.1.0
|
63
70
|
[2.0.0]: https://github.com/icyleaf/app-info/compare/v1.1.2...v2.0.0
|
data/lib/app_info/apk.rb
CHANGED
@@ -54,8 +54,6 @@ module AppInfo
|
|
54
54
|
resource.find('@string/app_name')
|
55
55
|
end
|
56
56
|
|
57
|
-
|
58
|
-
|
59
57
|
def device_type
|
60
58
|
if wear?
|
61
59
|
Device::WATCH
|
@@ -120,11 +118,11 @@ module AppInfo
|
|
120
118
|
|
121
119
|
@icons = @apk.icon.each_with_object([]) do |(path, data), obj|
|
122
120
|
icon_name = File.basename(path)
|
123
|
-
icon_path = File.join(tmp_path, File.
|
121
|
+
icon_path = File.join(tmp_path, File.dirname(path))
|
124
122
|
icon_file = File.join(icon_path, icon_name)
|
125
123
|
FileUtils.mkdir_p icon_path
|
126
124
|
File.open(icon_file, 'w') do |f|
|
127
|
-
f.write
|
125
|
+
f.write(data.force_encoding('BINARY'))
|
128
126
|
end
|
129
127
|
|
130
128
|
obj << {
|
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.1.
|
4
|
+
version: 2.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- icyleaf
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-01-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: CFPropertyList
|