ronin-repos 0.2.0.rc1 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b43c676948f9c9db4f57ccea422578e0704a9d7fb1514753b7493fa6e199c27f
4
- data.tar.gz: 5fb086f975e9f32d318ecffea62277b925637e7cb1ae5a0489bee86be5fcc052
3
+ metadata.gz: 506280f739b7331d473f038402701c458ed835599cd43ecb51069a5e9d58b37d
4
+ data.tar.gz: 74c164693b1c4be5e2f72391f7a1ce37d16d530159696647ead8adf794dee157
5
5
  SHA512:
6
- metadata.gz: 6a91bc01c3266d23b53f27270537fafe9d2c71db686f83e13aac733ac8fc5ee23a18c2c5c4b736ca42297baff252fe376ef5560c9eae1f99c6a41a024213f8ea
7
- data.tar.gz: 85450d4e6c41a38b7272d440f95d0fad05bb8cd3bad14e7ded9e10f6348f22d789c86abc562febb6b63bc008669debf497c150d16cccc725f65c331f9de4becc
6
+ metadata.gz: 6180207390d36dd0b008bf0f10eca93d0eb050828571cf2684ede0a600e03ac35c8b05620cfaadb216b9ba3980e685def62326ddca764d32c8ee42552d8a86aa
7
+ data.tar.gz: e65b9ce25305ecf572b7149c8a903550516728c62d478a35989edd65ee87186ea8a1cee01ec40c2c698b82a5dbe79156356c432e137612156e0641ab1618b09b
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- ruby-3.1
1
+ ruby-3.3
data/ChangeLog.md CHANGED
@@ -1,4 +1,4 @@
1
- ### 0.2.0 / 2024-XX-XX
1
+ ### 0.2.0 / 2024-07-22
2
2
 
3
3
  * Added {Ronin::Repos::Repository#url}.
4
4
  * Added {Ronin::Repos::Repository#last_updated_at}.
@@ -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+=( "$REPLY" ); done < <( compgen -A directory -- "$cur" )
32
+ while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A directory -- "$cur")
33
33
  ;;
34
34
 
35
- 'remove'*'--cache-dir')
36
- while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A directory -- "$cur" )
35
+ 'update'*'--cache-dir')
36
+ while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A directory -- "$cur")
37
37
  ;;
38
38
 
39
- 'update'*'--cache-dir')
40
- while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A directory -- "$cur" )
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+=( "$REPLY" ); done < <( compgen -A directory -- "$cur" )
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+=( "$REPLY" ); done < <( compgen -A directory -- "$cur" )
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+=( "$REPLY" ); done < <( compgen -A directory -- "$cur" )
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+=( "$REPLY" ); done < <( compgen -A directory -- "$cur" )
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+=( "$REPLY" ); done < <( compgen -W "$(_ronin-repos_completions_filter "--print --install --uninstall")" -- "$cur" )
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+=( "$REPLY" ); done < <( compgen -A directory -- "$cur" )
64
+ while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A directory -- "$cur")
65
65
  ;;
66
66
 
67
- 'remove'*'-C')
68
- while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A directory -- "$cur" )
67
+ 'update'*'-C')
68
+ while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A directory -- "$cur")
69
69
  ;;
70
70
 
71
- 'update'*'-C')
72
- while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A directory -- "$cur" )
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+=( "$REPLY" ); done < <( compgen -A directory -- "$cur" )
76
+ while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A directory -- "$cur")
77
77
  ;;
78
78
 
79
- 'install'*)
80
- while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_ronin-repos_completions_filter "--cache-dir -C")" -- "$cur" )
79
+ 'show'*'-C')
80
+ while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A directory -- "$cur")
81
81
  ;;
82
82
 
83
- 'list'*'-C')
84
- while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A directory -- "$cur" )
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
- 'show'*'-C')
88
- while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A directory -- "$cur" )
87
+ 'list'*'-C')
88
+ while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A directory -- "$cur")
89
89
  ;;
90
90
 
91
- 'new'*'-C')
92
- while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A directory -- "$cur" )
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+=( "$REPLY" ); done < <( compgen -W "$(_ronin-repos_completions_filter "--cache-dir -C $(ronin-repos list)")" -- "$cur" )
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
- 'update'*)
100
- while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_ronin-repos_completions_filter "--cache-dir -C $(ronin-repos list)")" -- "$cur" )
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+=( "$REPLY" ); done < <( compgen -W "$(_ronin-repos_completions_filter "--cache-dir -C")" -- "$cur" )
104
+ while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin-repos_completions_filter "--cache-dir -C")" -- "$cur")
105
105
  ;;
106
106
 
107
- 'list'*)
108
- while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_ronin-repos_completions_filter "--cache-dir -C")" -- "$cur" )
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+=( "$REPLY" ); done < <( compgen -W "$(_ronin-repos_completions_filter "--cache-dir -C $(ronin-repos list)")" -- "$cur" )
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
- 'info'*)
116
- while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_ronin-repos_completions_filter "$(ronin-repos list)")" -- "$cur" )
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+=( "$REPLY" ); done < <( compgen -W "$(_ronin-repos_completions_filter "--cache-dir -C")" -- "$cur" )
120
+ while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin-repos_completions_filter "--cache-dir -C")" -- "$cur")
121
121
  ;;
122
122
 
123
- 'rm'*)
124
- while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_ronin-repos_completions_filter "$(ronin-repos list)")" -- "$cur" )
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
- 'up'*)
128
- while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_ronin-repos_completions_filter "$(ronin-repos list)")" -- "$cur" )
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+=( "$REPLY" ); done < <( compgen -W "$(_ronin-repos_completions_filter "--version -V help completion install list new purge remove show update ls up rm info")" -- "$cur" )
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
@@ -39,7 +39,7 @@ required_ruby_version: ">= 3.0.0"
39
39
 
40
40
  dependencies:
41
41
  # Library dependencies:
42
- ronin-core: ~> 0.2.0.rc1
42
+ ronin-core: ~> 0.2
43
43
 
44
44
  development_dependencies:
45
45
  bundler: ~> 2.0
@@ -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
@@ -19,6 +19,6 @@
19
19
  module Ronin
20
20
  module Repos
21
21
  # ronin-repos version
22
- VERSION = '0.2.0.rc1'
22
+ VERSION = '0.2.0'
23
23
  end
24
24
  end
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.rc1
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-06-23 00:00:00.000000000 Z
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.0.rc1
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.0.rc1
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.3.27
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.