app-info 2.6.1 → 2.6.2

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: 1f0644a1100741657230cca3410801cd08868c090365cc8936d49e807f371d0e
4
- data.tar.gz: 2ad92963f8ee13e6c317004d0d6dc06db15d733b5ea0ee4a66c1e40371ffa888
3
+ metadata.gz: f7f7e727564d15f13cd4ef2c3a8901f78402067892c0d633c38026744fc08b26
4
+ data.tar.gz: 3bb384bb2ebfc94d757ca3a005dcf0b36daaddff40814809a6a329d422f51de9
5
5
  SHA512:
6
- metadata.gz: f35d629c0de8cb02fe4e1bf54bacc709f5dc24ab2d21e735be2b6f24b8ed029cc4618eb5cd2bece2e785b951538973040f768408a5472b1a691976345c320956
7
- data.tar.gz: e8f63e044ae4ff07b493968eac64913d9cbb286c41a54f9b2338c6b95070e3c24e1bd55074b0aa650fc988e5a83f67e3d279dcd71dbf575d12de3d1fbac87c77
6
+ metadata.gz: 70e3550ea8788652e1da6e63a0c87b23bfde92e29458a83816a25723f7ce0e2a72e4aa68092fef06ee38d9bde0bb36c513fd82b2f35fecb7baed3c952a6eb067
7
+ data.tar.gz: 77d9f91f18730b9cc071a7c0cab9860130ab79dc804e5cf05f254b1896aaa60ce743d4f66fb2624b5ce501e0f6bf118aad98efe131b4494a924b505af50d2f95
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.6.2] (2021-08-27)
13
+
14
+ ### Fixed
15
+
16
+ - Force write all icon data with `ASCII-8BIT`
17
+
12
18
  ## [2.6.1] (2021-08-26)
13
19
 
14
20
  ### Fixed
@@ -167,7 +173,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
167
173
 
168
174
  - Updated dependency of CFPropertly list be a range between 2.3.4. (thanks @[cschroed](https://github.com/cschroed))
169
175
 
170
- [Unreleased]: https://github.com/icyleaf/app-info/compare/v2.6.0..HEAD
176
+ [Unreleased]: https://github.com/icyleaf/app-info/compare/v2.6.1..HEAD
177
+ [2.6.2]: https://github.com/icyleaf/app-info/compare/v2.6.1...v2.6.2
178
+ [2.6.1]: https://github.com/icyleaf/app-info/compare/v2.6.0...v2.6.1
171
179
  [2.6.0]: https://github.com/icyleaf/app-info/compare/v2.5.4...v2.6.0
172
180
  [2.5.4]: https://github.com/icyleaf/app-info/compare/v2.5.3...v2.5.4
173
181
  [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.open(icon_file, 'wb') { |f| f.write(data) }
122
+ File.write(icon_file, data, encoding: Encoding::BINARY)
122
123
 
123
124
  obj << {
124
125
  name: icon_name,
@@ -125,10 +125,7 @@ module AppInfo
125
125
  end
126
126
 
127
127
  def write_file(path, content)
128
- File.open(path, 'wb') do |file|
129
- file.puts content
130
- end
131
-
128
+ File.write(path, content, encoding: Encoding::BINARY)
132
129
  true
133
130
  end
134
131
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module AppInfo
4
- VERSION = '2.6.1'
4
+ VERSION = '2.6.2'
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.6.1
4
+ version: 2.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - icyleaf
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-08-26 00:00:00.000000000 Z
11
+ date: 2021-08-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: CFPropertyList