reaver 0.10.0 → 0.10.1
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 +5 -0
- data/README.md +4 -2
- data/lib/reaver/version.rb +1 -1
- data/lib/reaver/walk.rb +6 -2
- data.tar.gz.sig +0 -0
- metadata +2 -2
- metadata.gz.sig +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bdd577808ca0bae2cded787b089161dc9edf442705c2676ed89c8fb696a7190f
|
4
|
+
data.tar.gz: 9e83785bfffdc7a792ff630261cb39e30a165b0f3b58162015dc617f65d182b9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fd900ba9a85d977377b8ad011efcab4e1957b5a5334916e08245774ec8f6d15cff279e19a0fc0a35532fafceaa0acc47c67e1204f9019b67f171aa538ff4586e
|
7
|
+
data.tar.gz: 0dbf7794f0ae570ed6f742c77cbb417211dae02642951d27a77eab164859db62f8e1c7c3dcca9120aacaa8beacef54b3cbd7791d9b2135b2d1a99c1f056de62d
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,8 @@
|
|
1
|
+
## 0.10.1
|
2
|
+
- For `all_to_dir_path` or `things.dest_dir`, all paths are relative to `$HOME` (or
|
3
|
+
/home/<name>), so don't include shell variable `~` or `$HOME`.
|
4
|
+
- unzip not interactive with `-o`.
|
5
|
+
|
1
6
|
## 0.10.0, release 10/2024
|
2
7
|
- New variable for collections, all_into_dir, things.dest_dir, keep_name and
|
3
8
|
force_download.
|
data/README.md
CHANGED
@@ -35,7 +35,7 @@ things:
|
|
35
35
|
- name: nerdtree.tar.gz
|
36
36
|
url: https://github.com/preservim/nerdtree/archive/refs/heads/master.tar.gz
|
37
37
|
time: 86000
|
38
|
-
all_into_dir:
|
38
|
+
all_into_dir: .config/pack/myvimpluggins/start
|
39
39
|
keep_name: true
|
40
40
|
```
|
41
41
|
|
@@ -52,7 +52,9 @@ A collection can include:
|
|
52
52
|
- `things.url: <string>`
|
53
53
|
- `time: 86000` (in second) is for search every day ( 60 * 60 * 24 ).
|
54
54
|
|
55
|
-
If `all_into_dir` is defined, `things.dest_dir` is not used.
|
55
|
+
If `all_into_dir` is defined, `things.dest_dir` is not used.
|
56
|
+
All paths given are relative to `$HOME` so don't include `~` or any shell
|
57
|
+
variables.
|
56
58
|
|
57
59
|
And start reaver simply with:
|
58
60
|
|
data/lib/reaver/version.rb
CHANGED
data/lib/reaver/walk.rb
CHANGED
@@ -40,7 +40,11 @@ module Reaver
|
|
40
40
|
|
41
41
|
def check_name
|
42
42
|
name = @filename.split('.').first
|
43
|
-
@final_dest = @keep_name
|
43
|
+
@final_dest = if @keep_name
|
44
|
+
"#{ENV['HOME']}/#{@dest}/#{name}"
|
45
|
+
else
|
46
|
+
"#{ENV['HOME']}/#{@dest}"
|
47
|
+
end
|
44
48
|
end
|
45
49
|
|
46
50
|
def copy_file
|
@@ -52,7 +56,7 @@ module Reaver
|
|
52
56
|
def extract_zip
|
53
57
|
puts "Extracting zip archive #{@filename} at #{@final_dest}..."
|
54
58
|
FileUtils.mkdir_p @final_dest
|
55
|
-
`unzip -j #{@filename} -d #{@final_dest}`
|
59
|
+
`unzip -o -j #{@filename} -d #{@final_dest}`
|
56
60
|
end
|
57
61
|
|
58
62
|
def extract_gzip
|
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.10.
|
4
|
+
version: 0.10.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- szorfein
|
@@ -36,7 +36,7 @@ cert_chain:
|
|
36
36
|
urXgRIzALxd/xazPCnoLSXPzfJSI6Y77S1EBvhPd9RaSO8IyH9RhPDP9mnTvW2Kl
|
37
37
|
NAUnoL+txK5a
|
38
38
|
-----END CERTIFICATE-----
|
39
|
-
date: 2024-10-
|
39
|
+
date: 2024-10-07 00:00:00.000000000 Z
|
40
40
|
dependencies:
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: marcel
|
metadata.gz.sig
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
'�7��om�� �*��V�V���)�<:��y1�je�w�k��|FwB~+a�<.b?�q/qm�,ir��X���RH�
|