app-info 2.4.1 → 2.4.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: aa6b8e87ba8dc7e9e7717d1e3c4885c5748c3aac3079780ff1262ab9ab62ea1d
4
- data.tar.gz: 1d4b0f573c2b875b7347ceb5a161560e1453db0b891cc2b7c28cddea9ba6fdbf
3
+ metadata.gz: fa6ab3f0095cdaf689b80cf62592f60d346fa390f9c70a8b2beef12ae5f97052
4
+ data.tar.gz: 81fa946c1b95c0f5893acfa9f58eb1bfe5a4171cc22cc4e75e3c1d13455c5b12
5
5
  SHA512:
6
- metadata.gz: 300a98a543b36cee225ca5252f9f2883b5641f778f287c76e964a0a6c4c08054597e6de01e6ad023859f852d952d714c29d7ba47689f93355bd6c688bbf43102
7
- data.tar.gz: e21a5002f708006fc0233034ecb5cecb40139ca7d9aefdc92e9004b9bd0b1e3ad10f94278959b1a4c5bd42d24ec416a1cf7e0f76736f777603f94431f4201ded
6
+ metadata.gz: 5b4995b8249c46de8f7f08226c6de54f2f06279868dfaae8a6d92e86a4c7025f08df1a1859bd8f24c85ace1f24e3cb8708db6a901e3ee48982a8c95aa80410e9
7
+ data.tar.gz: 2e22de4ac9bfd8dd012a4ff494703b302fa9c2ce0d3b745b033645fdacba0f70266aa5192a92c19cb25a4e3cf34a7e103fec581f47f53a85cac0019c039ee445
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.4.2] (2021-04-06)
13
+
14
+ ### Changed
15
+
16
+ - Remove [pngdefry](https://github.com/soffes/pngdefry) gem, install it to decode iOS png file if needs.
17
+
12
18
  ## [2.4.1] (2021-03-08)
13
19
 
14
20
  ### Changed
@@ -102,8 +108,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
102
108
 
103
109
  - Updated dependency of CFPropertly list be a range between 2.3.4. (thanks @[cschroed](https://github.com/cschroed))
104
110
 
105
- [Unreleased]: https://github.com/icyleaf/app-info/compare/v2.3.0..HEAD
106
- [2.2.0]: https://github.com/icyleaf/app-info/compare/v2.2.0...v2.3.0
111
+ [Unreleased]: https://github.com/icyleaf/app-info/compare/v2.4.2..HEAD
112
+ [2.4.2]: https://github.com/icyleaf/app-info/compare/v2.4.1...v2.4.2
113
+ [2.4.1]: https://github.com/icyleaf/app-info/compare/v2.3.0...v2.4.1
114
+ [2.3.0]: https://github.com/icyleaf/app-info/compare/v2.2.0...v2.3.0
107
115
  [2.2.0]: https://github.com/icyleaf/app-info/compare/v2.1.4...v2.2.0
108
116
  [2.1.4]: https://github.com/icyleaf/app-info/compare/v2.1.3...v2.1.4
109
117
  [2.1.3]: https://github.com/icyleaf/app-info/compare/v2.1.2...v2.1.3
data/app_info.gemspec CHANGED
@@ -21,7 +21,6 @@ Gem::Specification.new do |spec|
21
21
 
22
22
  spec.add_dependency 'CFPropertyList', ['< 3.1.0', '>= 2.3.4']
23
23
  spec.add_dependency 'image_size', '>= 1.5', '< 2.2'
24
- spec.add_dependency 'pngdefry', '~> 0.1.2'
25
24
  spec.add_dependency 'ruby-macho', '~> 2.2.0'
26
25
  spec.add_dependency 'ruby_android', '~> 0.7.7'
27
26
  spec.add_dependency 'rubyzip', '>= 1.2', '< 3.0'
data/lib/app_info/ipa.rb CHANGED
@@ -1,7 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require 'macho'
4
- require 'pngdefry'
5
4
  require 'fileutils'
6
5
  require 'forwardable'
7
6
  require 'cfpropertylist'
@@ -1,5 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require 'image_size'
3
4
  require 'cfpropertylist'
4
5
  require 'app_info/util'
5
6
 
@@ -58,7 +59,7 @@ module AppInfo
58
59
  dict = {
59
60
  name: File.basename(file),
60
61
  file: file,
61
- dimensions: Pngdefry.dimensions(file)
62
+ dimensions: ImageSize.path(file).size
62
63
  }
63
64
 
64
65
  @icons.push(dict)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module AppInfo
4
- VERSION = '2.4.1'
4
+ VERSION = '2.4.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.4.1
4
+ version: 2.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - icyleaf
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-03-08 00:00:00.000000000 Z
11
+ date: 2021-04-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: CFPropertyList
@@ -50,20 +50,6 @@ dependencies:
50
50
  - - "<"
51
51
  - !ruby/object:Gem::Version
52
52
  version: '2.2'
53
- - !ruby/object:Gem::Dependency
54
- name: pngdefry
55
- requirement: !ruby/object:Gem::Requirement
56
- requirements:
57
- - - "~>"
58
- - !ruby/object:Gem::Version
59
- version: 0.1.2
60
- type: :runtime
61
- prerelease: false
62
- version_requirements: !ruby/object:Gem::Requirement
63
- requirements:
64
- - - "~>"
65
- - !ruby/object:Gem::Version
66
- version: 0.1.2
67
53
  - !ruby/object:Gem::Dependency
68
54
  name: ruby-macho
69
55
  requirement: !ruby/object:Gem::Requirement