ronin-repos 0.2.0.rc1 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/ChangeLog.md +1 -1
- data/data/completions/ronin-repos +41 -41
- data/gemspec.yml +1 -1
- data/lib/ronin/repos/cli.rb +2 -0
- data/lib/ronin/repos/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 506280f739b7331d473f038402701c458ed835599cd43ecb51069a5e9d58b37d
|
4
|
+
data.tar.gz: 74c164693b1c4be5e2f72391f7a1ce37d16d530159696647ead8adf794dee157
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6180207390d36dd0b008bf0f10eca93d0eb050828571cf2684ede0a600e03ac35c8b05620cfaadb216b9ba3980e685def62326ddca764d32c8ee42552d8a86aa
|
7
|
+
data.tar.gz: e65b9ce25305ecf572b7149c8a903550516728c62d478a35989edd65ee87186ea8a1cee01ec40c2c698b82a5dbe79156356c432e137612156e0641ab1618b09b
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
ruby-3.
|
1
|
+
ruby-3.3
|
data/ChangeLog.md
CHANGED
@@ -11,7 +11,7 @@ _ronin-repos_completions_filter() {
|
|
11
11
|
|
12
12
|
if [[ "${cur:0:1}" == "-" ]]; then
|
13
13
|
echo "$words"
|
14
|
-
|
14
|
+
|
15
15
|
else
|
16
16
|
for word in $words; do
|
17
17
|
[[ "${word:0:1}" != "-" ]] && result+=("$word")
|
@@ -29,111 +29,111 @@ _ronin-repos_completions() {
|
|
29
29
|
|
30
30
|
case "$compline" in
|
31
31
|
'install'*'--cache-dir')
|
32
|
-
while read -r; do COMPREPLY+=(
|
32
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A directory -- "$cur")
|
33
33
|
;;
|
34
34
|
|
35
|
-
'
|
36
|
-
while read -r; do COMPREPLY+=(
|
35
|
+
'update'*'--cache-dir')
|
36
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A directory -- "$cur")
|
37
37
|
;;
|
38
38
|
|
39
|
-
'
|
40
|
-
while read -r; do COMPREPLY+=(
|
39
|
+
'remove'*'--cache-dir')
|
40
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A directory -- "$cur")
|
41
41
|
;;
|
42
42
|
|
43
43
|
'purge'*'--cache-dir')
|
44
|
-
while read -r; do COMPREPLY+=(
|
44
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A directory -- "$cur")
|
45
45
|
;;
|
46
46
|
|
47
47
|
'list'*'--cache-dir')
|
48
|
-
while read -r; do COMPREPLY+=(
|
48
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A directory -- "$cur")
|
49
49
|
;;
|
50
50
|
|
51
51
|
'show'*'--cache-dir')
|
52
|
-
while read -r; do COMPREPLY+=(
|
52
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A directory -- "$cur")
|
53
53
|
;;
|
54
54
|
|
55
55
|
'new'*'--cache-dir')
|
56
|
-
while read -r; do COMPREPLY+=(
|
56
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A directory -- "$cur")
|
57
57
|
;;
|
58
58
|
|
59
59
|
'completion'*)
|
60
|
-
while read -r; do COMPREPLY+=(
|
60
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin-repos_completions_filter "--print --install --uninstall")" -- "$cur")
|
61
61
|
;;
|
62
62
|
|
63
63
|
'install'*'-C')
|
64
|
-
while read -r; do COMPREPLY+=(
|
64
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A directory -- "$cur")
|
65
65
|
;;
|
66
66
|
|
67
|
-
'
|
68
|
-
while read -r; do COMPREPLY+=(
|
67
|
+
'update'*'-C')
|
68
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A directory -- "$cur")
|
69
69
|
;;
|
70
70
|
|
71
|
-
'
|
72
|
-
while read -r; do COMPREPLY+=(
|
71
|
+
'remove'*'-C')
|
72
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A directory -- "$cur")
|
73
73
|
;;
|
74
74
|
|
75
75
|
'purge'*'-C')
|
76
|
-
while read -r; do COMPREPLY+=(
|
76
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A directory -- "$cur")
|
77
77
|
;;
|
78
78
|
|
79
|
-
'
|
80
|
-
while read -r; do COMPREPLY+=(
|
79
|
+
'show'*'-C')
|
80
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A directory -- "$cur")
|
81
81
|
;;
|
82
82
|
|
83
|
-
'
|
84
|
-
while read -r; do COMPREPLY+=(
|
83
|
+
'install'*)
|
84
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin-repos_completions_filter "--cache-dir -C")" -- "$cur")
|
85
85
|
;;
|
86
86
|
|
87
|
-
'
|
88
|
-
while read -r; do COMPREPLY+=(
|
87
|
+
'list'*'-C')
|
88
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A directory -- "$cur")
|
89
89
|
;;
|
90
90
|
|
91
|
-
'
|
92
|
-
while read -r; do COMPREPLY+=(
|
91
|
+
'update'*)
|
92
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin-repos_completions_filter "--cache-dir -C $(ronin-repos list)")" -- "$cur")
|
93
93
|
;;
|
94
94
|
|
95
95
|
'remove'*)
|
96
|
-
while read -r; do COMPREPLY+=(
|
96
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin-repos_completions_filter "--cache-dir -C $(ronin-repos list)")" -- "$cur")
|
97
97
|
;;
|
98
98
|
|
99
|
-
'
|
100
|
-
while read -r; do COMPREPLY+=(
|
99
|
+
'new'*'-C')
|
100
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A directory -- "$cur")
|
101
101
|
;;
|
102
102
|
|
103
103
|
'purge'*)
|
104
|
-
while read -r; do COMPREPLY+=(
|
104
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin-repos_completions_filter "--cache-dir -C")" -- "$cur")
|
105
105
|
;;
|
106
106
|
|
107
|
-
'
|
108
|
-
while read -r; do COMPREPLY+=(
|
107
|
+
'info'*)
|
108
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin-repos_completions_filter "$(ronin-repos list)")" -- "$cur")
|
109
109
|
;;
|
110
110
|
|
111
111
|
'show'*)
|
112
|
-
while read -r; do COMPREPLY+=(
|
112
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin-repos_completions_filter "--cache-dir -C $(ronin-repos list)")" -- "$cur")
|
113
113
|
;;
|
114
114
|
|
115
|
-
'
|
116
|
-
while read -r; do COMPREPLY+=(
|
115
|
+
'list'*)
|
116
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin-repos_completions_filter "--cache-dir -C")" -- "$cur")
|
117
117
|
;;
|
118
118
|
|
119
119
|
'new'*)
|
120
|
-
while read -r; do COMPREPLY+=(
|
120
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin-repos_completions_filter "--cache-dir -C")" -- "$cur")
|
121
121
|
;;
|
122
122
|
|
123
|
-
'
|
124
|
-
while read -r; do COMPREPLY+=(
|
123
|
+
'up'*)
|
124
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin-repos_completions_filter "$(ronin-repos list)")" -- "$cur")
|
125
125
|
;;
|
126
126
|
|
127
|
-
'
|
128
|
-
while read -r; do COMPREPLY+=(
|
127
|
+
'rm'*)
|
128
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin-repos_completions_filter "$(ronin-repos list)")" -- "$cur")
|
129
129
|
;;
|
130
130
|
|
131
131
|
*)
|
132
|
-
while read -r; do COMPREPLY+=(
|
132
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin-repos_completions_filter "--version -V help completion install list new purge remove show update ls up rm info")" -- "$cur")
|
133
133
|
;;
|
134
134
|
|
135
135
|
esac
|
136
136
|
} &&
|
137
|
-
complete -F _ronin-repos_completions ronin-repos
|
137
|
+
complete -F _ronin-repos_completions ronin-repos
|
138
138
|
|
139
139
|
# ex: filetype=sh
|
data/gemspec.yml
CHANGED
data/lib/ronin/repos/cli.rb
CHANGED
@@ -17,6 +17,7 @@
|
|
17
17
|
#
|
18
18
|
|
19
19
|
require 'ronin/repos/version'
|
20
|
+
require 'ronin/core/cli/help/banner'
|
20
21
|
|
21
22
|
require 'command_kit/commands'
|
22
23
|
require 'command_kit/commands/auto_load'
|
@@ -37,6 +38,7 @@ module Ronin
|
|
37
38
|
namespace: "#{self}::Commands"
|
38
39
|
)
|
39
40
|
include CommandKit::Options::Version
|
41
|
+
include Core::CLI::Help::Banner
|
40
42
|
|
41
43
|
command_name 'ronin-repos'
|
42
44
|
version Ronin::Repos::VERSION
|
data/lib/ronin/repos/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ronin-repos
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.0
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Postmodern
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-07-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ronin-core
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.2
|
19
|
+
version: '0.2'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.2
|
26
|
+
version: '0.2'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -128,7 +128,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
128
128
|
- !ruby/object:Gem::Version
|
129
129
|
version: '0'
|
130
130
|
requirements: []
|
131
|
-
rubygems_version: 3.
|
131
|
+
rubygems_version: 3.5.11
|
132
132
|
signing_key:
|
133
133
|
specification_version: 4
|
134
134
|
summary: Third-party git repository support for ronin.
|