cfbundle 0.2.0 → 0.2.1

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
  SHA1:
3
- metadata.gz: cb47f6e2b1fd4c7f0b652e8553ddb2ee9feac678
4
- data.tar.gz: 6eebb9c7b2ecd6a01befe1bf2cd115a2947aa8ac
3
+ metadata.gz: 3f16e3d2efd09474b84de78953ebe736859ecad2
4
+ data.tar.gz: cdb73bed933efd9a3ae0ad1648354eed14f104bb
5
5
  SHA512:
6
- metadata.gz: b13a0b2c376174803a397f94b9a6264c46680e0d50f0234c0335fd5f3858d357c5105ab42f85623cf4dde6e808c70181cacf0a9a2884b40c96f9473db42afa96
7
- data.tar.gz: 1ce00b3e0ded6e48dfee03d50cf8d7b7a15832be5ceaa369fcaf23c0ed37105349a63714e0cbbffb290e9cf36028f99db5b7f3ec5b62096ab1edaab4ba7631a3
6
+ metadata.gz: 6ed47abda281fc8ba40c337504226b93e2cd05952418892699135c8c5d569ffb0512e0ea4b1a5bdeab1f06408744d8b88bb5336a76db76805354aca10739515b
7
+ data.tar.gz: 3f878a953002dcf55920628a2d506404a582478ffad62da7156d22813f987598abc916c112066ad3856bfd6e85d425b9a4ce8cb4dc81ebe68f2a14918fd24851
@@ -35,7 +35,7 @@ module CFBundle
35
35
  # (see Base#foreach)
36
36
  def foreach(path)
37
37
  Enumerator.new do |y|
38
- base = Dir.foreach find!(path)
38
+ base = Dir.entries(find!(path)).sort.each
39
39
  loop do
40
40
  entry = base.next
41
41
  y << PathUtils.join(path, entry) unless ['.', '..'].include?(entry)
@@ -41,7 +41,7 @@ module CFBundle
41
41
  def foreach(path)
42
42
  Enumerator.new do |y|
43
43
  directory = find! path
44
- base = @zip.entries.each
44
+ base = @zip.entries.sort.each
45
45
  loop do
46
46
  entry = base.next
47
47
  next unless entry.parent_as_string == directory.name
@@ -1,3 +1,3 @@
1
1
  module CFBundle
2
- VERSION = '0.2.0'.freeze
2
+ VERSION = '0.2.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cfbundle
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nicolas Bachschmidt
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-11-13 00:00:00.000000000 Z
11
+ date: 2017-12-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: CFPropertyList
@@ -88,7 +88,7 @@ dependencies:
88
88
  version: 0.15.1
89
89
  description: CFBundle is a module for reading macOS and iOS bundles (including zipped
90
90
  bundles and .ipa files).
91
- email: nicolas@h2g.io
91
+ email: hello@h2g.io
92
92
  executables: []
93
93
  extensions: []
94
94
  extra_rdoc_files: []