pkgpurge 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/pkgpurge/cli.rb +1 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 84db3604b51eb412a873a9380d0e3ffdabf8bce64fa7093cc5a9092daaa9e30d
4
- data.tar.gz: ab120e734432aa782fa740acda52a75e865f88e97358578468e8af95161b52f9
3
+ metadata.gz: 0355e90ba986eb91079edf55712889ed302ad975279ef1a98fcc4157b1f7f892
4
+ data.tar.gz: bf9c5cb2802d2abc9ed03d77636786019df095a7ccb558bb4b497d1a5e25fcc6
5
5
  SHA512:
6
- metadata.gz: 1b92ead2cd7de32a14a6e9ff6a6b3c92facbf56dbe0ecd0a612315617806c559e8b1c314acb789ced3f7e5bb0befdf35a6cf10db6fc12775821197796034c8e4
7
- data.tar.gz: afd5866cb4bd255baf34e8385c01da8fa9c6bc4dbbd55ada43efa4099784220a1c611828f89c3bfdcfe35854c334dd70703688274e2347567c7cea0c99b71c6b
6
+ metadata.gz: 5f344569d473bef8598ca5a33e9a4124ec111a237599cf5deeebc26185970e7cfa86e9d905b3d9ac50824adedb53c5234b3e15a5c6f6714e9753b6c86a27b4f0
7
+ data.tar.gz: 60f794319d6e3e804236fdd3a93438678f48cce7b8f905ae5fc3ce7303109e236c397cd74ac179a6d863c397050dff80e7e3115385606bf572094fbaa7a4cf48
data/lib/pkgpurge/cli.rb CHANGED
@@ -62,7 +62,7 @@ module Pkgpurge
62
62
  end
63
63
  end
64
64
 
65
- if children.sort == empty_children.sort
65
+ if (children - empty_children).empty?
66
66
  # All children are empty, so we can purge this path
67
67
  yield(entry, path)
68
68
  else
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pkgpurge
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yoshimasa Niwa