app-info 2.6.3 → 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9eef87bb332f9254d735c87fee5c1b97fe52f46c2a170330dfb2e97b0da53820
4
- data.tar.gz: dd9ca88176f686024e9df28db23912a3e417973872d8a8641ba308dec0310828
3
+ metadata.gz: f97c42670196b47aacccbaf9fcee52b7bd4a8e3f21cd2f1f8c8ccfb5fdd7f3dc
4
+ data.tar.gz: 6f6a3dad1fdf80548e9d65a6ca84df7ac5a2123081e08912546202b8c03ef026
5
5
  SHA512:
6
- metadata.gz: 63f890a680ec379ea50865884350b26b974db6ab90e093543f03383d9cbf6387cdf22265373d50178fd529bd7b069aeb87618b81c63a7274d2c1f25f69a3a577
7
- data.tar.gz: 027331c8ed5da50e17aae317c800cc8418c8a1453e5422778b4d8a2cd3467ef6fac89e2045faa6a5becff9aaf25617e04b711011589e92801b22c051d628b1c4
6
+ metadata.gz: f11aea895a604a5cd9452e923a028514dfa36853c4ec7448b7d0dade327a63815c326aff4aa5532514c0b2f90dd966a688feef2f01c709b5d98a182ce81dbadd
7
+ data.tar.gz: 54be915b94a47906df35e4149b99136a1bc82da6549890b01a5dd60320208ebd2ccd35fc70b32620a7a2f56f6f6f1566411dca27f9d7aac09d4512051f713d24
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.4] (2021-09-10)
13
+
14
+ ### Fixed
15
+
16
+ - Error on extract dSYM zipped file occasionally
17
+
12
18
  ## [2.6.3] (2021-08-27)
13
19
 
14
20
  ### Fixed
@@ -173,7 +179,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
173
179
 
174
180
  - Updated dependency of CFPropertly list be a range between 2.3.4. (thanks @[cschroed](https://github.com/cschroed))
175
181
 
176
- [Unreleased]: https://github.com/icyleaf/app-info/compare/v2.6.3..HEAD
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
177
184
  [2.6.3]: https://github.com/icyleaf/app-info/compare/v2.6.1...v2.6.3
178
185
  [2.6.1]: https://github.com/icyleaf/app-info/compare/v2.6.0...v2.6.1
179
186
  [2.6.0]: https://github.com/icyleaf/app-info/compare/v2.5.4...v2.6.0
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
- dsym_dir = dsym_dir.split('/')[0] # fix filename is xxx.app.dSYM/Contents
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
- zip_file.extract(f, f_path) unless File.exist?(f_path)
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
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module AppInfo
4
- VERSION = '2.6.3'
4
+ VERSION = '2.6.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: 2.6.3
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-08-27 00:00:00.000000000 Z
11
+ date: 2021-09-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: CFPropertyList