reaver 0.10.1 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/CHANGELOG.md +3 -0
- data/lib/reaver/version.rb +1 -1
- data/lib/reaver/walk.rb +5 -4
- data.tar.gz.sig +0 -0
- metadata +1 -1
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0fa3014398fc15a35e20032c065846bff2a3e9046ee13ebfec9e2c618f6d5a1e
|
4
|
+
data.tar.gz: 88d073275dcc5e1908c1156876722580bc7123995a9ddac1d7ef32104219517f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6333e552024a93186a22fc87be8500027117091796ffcb1c44a791d2e899fe29485c65f51340519bd7fed0f59ad44f8a9b59b3b84074357e76cf5f41c9beb1ff
|
7
|
+
data.tar.gz: b148922de512faebf56e415facbc10c84bc0f6bb2af0a84e966e4feb528b39c9d62d72fb9aea97e95c36252593193e7f2b90f40a9e43825b43caefc6f0795eae
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/CHANGELOG.md
CHANGED
data/lib/reaver/version.rb
CHANGED
data/lib/reaver/walk.rb
CHANGED
@@ -17,11 +17,11 @@ module Reaver
|
|
17
17
|
|
18
18
|
def x
|
19
19
|
case @extension
|
20
|
-
when %r{^image/jpeg
|
20
|
+
when %r{^image/(jpeg|png)}
|
21
21
|
copy_file
|
22
22
|
when %r{^application/zip}
|
23
23
|
extract_zip
|
24
|
-
when %r{^application/gzip}
|
24
|
+
when %r{^application/(gzip|x-xz)}
|
25
25
|
extract_gzip
|
26
26
|
when %r{^font/ttf}
|
27
27
|
copy_file
|
@@ -60,9 +60,10 @@ module Reaver
|
|
60
60
|
end
|
61
61
|
|
62
62
|
def extract_gzip
|
63
|
-
|
63
|
+
ext = @extension.split('/').last
|
64
|
+
puts "Extracting #{ext} archive #{@filename} at #{@final_dest}..."
|
64
65
|
FileUtils.mkdir_p @final_dest
|
65
|
-
`tar
|
66
|
+
`tar x -f #{@filename} --one-top-level=#{@final_dest}`
|
66
67
|
end
|
67
68
|
end
|
68
69
|
end
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
metadata.gz.sig
CHANGED
Binary file
|