reaver 0.11.0 → 0.11.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: 0fa3014398fc15a35e20032c065846bff2a3e9046ee13ebfec9e2c618f6d5a1e
4
- data.tar.gz: 88d073275dcc5e1908c1156876722580bc7123995a9ddac1d7ef32104219517f
3
+ metadata.gz: 383dabbf4efb260aab57ed47fd941e745e3b41e96e091256d617f761aec8caaf
4
+ data.tar.gz: 144a702aa351e1e6e20b77aa6f203f1f8bf12db13d5007c7b668703ef29be93c
5
5
  SHA512:
6
- metadata.gz: 6333e552024a93186a22fc87be8500027117091796ffcb1c44a791d2e899fe29485c65f51340519bd7fed0f59ad44f8a9b59b3b84074357e76cf5f41c9beb1ff
7
- data.tar.gz: b148922de512faebf56e415facbc10c84bc0f6bb2af0a84e966e4feb528b39c9d62d72fb9aea97e95c36252593193e7f2b90f40a9e43825b43caefc6f0795eae
6
+ metadata.gz: 3d1e21da7de1424b899405afe9e34c131fda1107670ce8c68f1146bee46210ec43083b5aa990b66ee712bd6efdd82c04e576a503d6dce788491028a7a8425e8f
7
+ data.tar.gz: 6c21d4d8a493ec66d0429719299731a5814d1ded064e514335d4dbb64c6eaa349763bbf5be50017168aad240a862374fc4b1d092432d7d2b9f1bede4588e3a35
checksums.yaml.gz.sig CHANGED
Binary file
data/CHANGELOG.md CHANGED
@@ -1,3 +1,5 @@
1
+ - add `--strip-components=1` to tar
2
+
1
3
  ## 0.11.0, release 10/2024
2
4
  - can extract tar.xz archive.
3
5
 
data/README.md CHANGED
@@ -6,7 +6,7 @@ move things to the right spot.
6
6
 
7
7
  ## Dependencies
8
8
 
9
- Reaver need only `unzip` and `tar`.
9
+ Reaver need only `unzip`, `xz` and `tar`.
10
10
 
11
11
  ## Collections
12
12
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Reaver
4
- VERSION = '0.11.0'
4
+ VERSION = '0.11.1'
5
5
  end
data/lib/reaver/walk.rb CHANGED
@@ -63,7 +63,7 @@ module Reaver
63
63
  ext = @extension.split('/').last
64
64
  puts "Extracting #{ext} archive #{@filename} at #{@final_dest}..."
65
65
  FileUtils.mkdir_p @final_dest
66
- `tar x -f #{@filename} --one-top-level=#{@final_dest}`
66
+ `tar x --strip-components=1 -f #{@filename} --one-top-level=#{@final_dest}`
67
67
  end
68
68
  end
69
69
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: reaver
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.11.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - szorfein
metadata.gz.sig CHANGED
Binary file