pkgpurge 0.1.0 → 0.1.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
  SHA256:
3
- metadata.gz: b45d7148c766962be92c49e134e3b910af1b86994f3918a18be3fb7779256e4d
4
- data.tar.gz: 10f4b4cc4c9163d9afc3519f2e8cc50b91036f9918c10adfe50ece85e590953f
3
+ metadata.gz: 84db3604b51eb412a873a9380d0e3ffdabf8bce64fa7093cc5a9092daaa9e30d
4
+ data.tar.gz: ab120e734432aa782fa740acda52a75e865f88e97358578468e8af95161b52f9
5
5
  SHA512:
6
- metadata.gz: a4949cde5ab1aac508265d49735f0f49154e26be5001fd250e75f5cacbc7cd858dc7cea50e8c23f79d9b6d79ac64942c90a3bd1d2228c861050af5bb10682251
7
- data.tar.gz: 640543ed8133e7dd3b08d82dfe2d977711ec1ca778170e86e6762ea2dffea9a10e486c49a942c29fd9b7beb5dd7dbfe907b3fb4d8b20d4b25799d7b5166f0afd
6
+ metadata.gz: 1b92ead2cd7de32a14a6e9ff6a6b3c92facbf56dbe0ecd0a612315617806c559e8b1c314acb789ced3f7e5bb0befdf35a6cf10db6fc12775821197796034c8e4
7
+ data.tar.gz: afd5866cb4bd255baf34e8385c01da8fa9c6bc4dbbd55ada43efa4099784220a1c611828f89c3bfdcfe35854c334dd70703688274e2347567c7cea0c99b71c6b
data/lib/pkgpurge/cli.rb CHANGED
@@ -50,7 +50,7 @@ module Pkgpurge
50
50
  end
51
51
 
52
52
  children = if !File.symlink?(path) && File.directory?(path)
53
- Dir.children(path)
53
+ Dir.entries(path) - [".", ".."]
54
54
  else
55
55
  []
56
56
  end
@@ -15,7 +15,7 @@ module Pkgpurge
15
15
  private
16
16
 
17
17
  def parse!
18
- relative_install_prefix_path = Pathname.new(install_prefix_path).relative_path_from("/").to_s
18
+ relative_install_prefix_path = Pathname.new(install_prefix_path).relative_path_from(Pathname.new("/")).to_s
19
19
 
20
20
  root = nil
21
21
  lsbom.lines.each do |line|
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.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yoshimasa Niwa