tsumanne 0.0.2 → 0.0.4
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 +4 -4
- data/.dockerignore +8 -0
- data/.mdlrc +6 -0
- data/.rubocop.yml +20 -12
- data/Dockerfile +24 -0
- data/README.md +0 -4
- data/Rakefile +19 -16
- data/exe/tsumanne +2 -1
- data/lib/tsumanne/api.rb +22 -21
- data/lib/tsumanne/cli.rb +153 -2
- data/lib/tsumanne/models/get_threads.rb +8 -3
- data/lib/tsumanne/models/register_thread.rb +5 -1
- data/lib/tsumanne/models/search_indexes.rb +7 -2
- data/lib/tsumanne/models/search_thread_from_uri.rb +14 -2
- data/lib/tsumanne/version.rb +1 -1
- data/mise.toml +42 -0
- data/sorbet/rbi/gems/.gitattributes +1 -0
- data/sorbet/rbi/gems/{ast@2.4.2.rbi → ast@2.4.3.rbi} +45 -79
- data/sorbet/rbi/gems/benchmark@0.5.0.rbi +621 -0
- data/sorbet/rbi/gems/{chef-utils@18.2.7.rbi → chef-utils@18.8.54.rbi} +1 -0
- data/sorbet/rbi/gems/{concurrent-ruby@1.2.2.rbi → concurrent-ruby@1.3.5.rbi} +1 -0
- data/sorbet/rbi/gems/{diff-lcs@1.5.0.rbi → diff-lcs@1.6.2.rbi} +183 -199
- data/sorbet/rbi/gems/docile@1.4.0.rbi +147 -147
- data/sorbet/rbi/gems/{erubi@1.12.0.rbi → erubi@1.13.1.rbi} +36 -26
- data/sorbet/rbi/gems/{json@2.6.3.rbi → json@2.19.4.rbi} +920 -251
- data/sorbet/rbi/gems/kramdown-parser-gfm@1.1.0.rbi +32 -63
- data/sorbet/rbi/gems/{kramdown@2.4.0.rbi → kramdown@2.5.1.rbi} +896 -711
- data/sorbet/rbi/gems/language_server-protocol@3.17.0.5.rbi +9 -0
- data/sorbet/rbi/gems/lint_roller@1.1.0.rbi +189 -0
- data/sorbet/rbi/gems/logger@1.7.0.rbi +896 -0
- data/sorbet/rbi/gems/{mdl@0.12.0.rbi → mdl@0.15.0.rbi} +109 -113
- data/sorbet/rbi/gems/mixlib-cli@2.1.8.rbi +35 -41
- data/sorbet/rbi/gems/mixlib-config@3.0.27.rbi +147 -142
- data/sorbet/rbi/gems/{mixlib-shellout@3.2.7.rbi → mixlib-shellout@3.3.9.rbi} +127 -150
- data/sorbet/rbi/gems/netrc@0.11.0.rbi +45 -56
- data/sorbet/rbi/gems/optimist@3.2.1.rbi +895 -0
- data/sorbet/rbi/gems/parallel@1.28.0.rbi +270 -0
- data/sorbet/rbi/gems/parser@3.3.11.1.rbi +5229 -0
- data/sorbet/rbi/gems/prism@1.9.0.rbi +42224 -0
- data/sorbet/rbi/gems/{racc@1.7.1.rbi → racc@1.8.1.rbi} +48 -44
- data/sorbet/rbi/gems/rainbow@3.1.1.rbi +101 -141
- data/sorbet/rbi/gems/{rake@13.0.6.rbi → rake@13.4.2.rbi} +867 -761
- data/sorbet/rbi/gems/rbi@0.3.10.rbi +5520 -0
- data/sorbet/rbi/gems/rbs@4.0.2.rbi +6908 -0
- data/sorbet/rbi/gems/regexp_parser@2.12.0.rbi +3398 -0
- data/sorbet/rbi/gems/require-hooks@0.4.0.rbi +152 -0
- data/sorbet/rbi/gems/{rexml@3.2.6.rbi → rexml@3.4.4.rbi} +1032 -908
- data/sorbet/rbi/gems/{rspec-core@3.12.2.rbi → rspec-core@3.13.6.rbi} +2860 -4206
- data/sorbet/rbi/gems/rspec-expectations@3.13.5.rbi +6108 -0
- data/sorbet/rbi/gems/{rspec-mocks@3.12.6.rbi → rspec-mocks@3.13.7.rbi} +1264 -1787
- data/sorbet/rbi/gems/rspec-support@3.13.6.rbi +1274 -0
- data/sorbet/rbi/gems/rspec@3.13.2.rbi +15 -0
- data/sorbet/rbi/gems/rubocop-ast@1.49.1.rbi +7212 -0
- data/sorbet/rbi/gems/rubocop-performance@1.26.1.rbi +3403 -0
- data/sorbet/rbi/gems/{rubocop-rake@0.6.0.rbi → rubocop-rake@0.7.1.rbi} +89 -103
- data/sorbet/rbi/gems/rubocop-rspec@3.9.0.rbi +7606 -0
- data/sorbet/rbi/gems/rubocop-sorbet@0.12.0.rbi +2448 -0
- data/sorbet/rbi/gems/rubocop@1.86.1.rbi +62232 -0
- data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +326 -655
- data/sorbet/rbi/gems/rubydex@0.1.0.beta14.rbi +655 -0
- data/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +24 -158
- data/sorbet/rbi/gems/simplecov@0.22.0.rbi +450 -606
- data/sorbet/rbi/gems/simplecov_json_formatter@0.1.4.rbi +32 -166
- data/sorbet/rbi/gems/spoom@1.7.13.rbi +6151 -0
- data/sorbet/rbi/gems/{tapioca@0.11.8.rbi → tapioca@0.19.1.rbi} +1609 -1379
- data/sorbet/rbi/gems/{thor@1.2.2.rbi → thor@1.5.0.rbi} +1075 -1170
- data/sorbet/rbi/gems/tomlrb@2.0.3.rbi +1 -0
- data/sorbet/rbi/gems/tsort@0.2.0.rbi +389 -0
- data/sorbet/rbi/gems/unicode-display_width@3.2.0.rbi +130 -0
- data/sorbet/rbi/gems/unicode-emoji@4.2.0.rbi +332 -0
- metadata +69 -66
- data/.ruby-version +0 -1
- data/sorbet/rbi/gems/base64@0.1.1.rbi +0 -172
- data/sorbet/rbi/gems/ffi-compiler@1.0.1.rbi +0 -206
- data/sorbet/rbi/gems/ffi@1.15.5.rbi +0 -1994
- data/sorbet/rbi/gems/http-parser@1.2.3.rbi +0 -422
- data/sorbet/rbi/gems/language_server-protocol@3.17.0.3.rbi +0 -14237
- data/sorbet/rbi/gems/mhtml@0.1.6.rbi +0 -353
- data/sorbet/rbi/gems/parallel@1.23.0.rbi +0 -273
- data/sorbet/rbi/gems/parser@3.2.2.3.rbi +0 -7253
- data/sorbet/rbi/gems/prettier_print@1.2.1.rbi +0 -951
- data/sorbet/rbi/gems/rbi@0.0.17.rbi +0 -2967
- data/sorbet/rbi/gems/regexp_parser@2.8.1.rbi +0 -3749
- data/sorbet/rbi/gems/rspec-expectations@3.12.3.rbi +0 -8100
- data/sorbet/rbi/gems/rspec-support@3.12.1.rbi +0 -1609
- data/sorbet/rbi/gems/rspec@3.12.0.rbi +0 -82
- data/sorbet/rbi/gems/rubocop-ast@1.29.0.rbi +0 -7144
- data/sorbet/rbi/gems/rubocop-capybara@2.18.0.rbi +0 -827
- data/sorbet/rbi/gems/rubocop-factory_bot@2.23.1.rbi +0 -812
- data/sorbet/rbi/gems/rubocop-performance@1.19.0.rbi +0 -3157
- data/sorbet/rbi/gems/rubocop-rspec@2.23.2.rbi +0 -7691
- data/sorbet/rbi/gems/rubocop-sorbet@0.7.3.rbi +0 -1226
- data/sorbet/rbi/gems/rubocop@1.56.2.rbi +0 -56541
- data/sorbet/rbi/gems/spoom@1.2.3.rbi +0 -3199
- data/sorbet/rbi/gems/syntax_tree@6.1.1.rbi +0 -22855
- data/sorbet/rbi/gems/unicode-display_width@2.4.2.rbi +0 -65
- data/sorbet/rbi/gems/unparser@0.6.8.rbi +0 -4525
- data/sorbet/rbi/gems/yard-sorbet@0.8.1.rbi +0 -425
- data/sorbet/rbi/gems/yard@0.9.34.rbi +0 -18219
|
@@ -4,7 +4,8 @@
|
|
|
4
4
|
# This is an autogenerated file for types exported from the `mixlib-cli` gem.
|
|
5
5
|
# Please instead update this file by running `bin/tapioca gem mixlib-cli`.
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
|
|
8
|
+
# pkg:gem/mixlib-cli#lib/mixlib/cli/formatter.rb:2
|
|
8
9
|
module Mixlib; end
|
|
9
10
|
|
|
10
11
|
# == Mixlib::CLI
|
|
@@ -26,7 +27,7 @@ module Mixlib; end
|
|
|
26
27
|
# #parse_options. After calling this method, the attribute #config will
|
|
27
28
|
# contain a hash of `:option_name => value` pairs.
|
|
28
29
|
#
|
|
29
|
-
#
|
|
30
|
+
# pkg:gem/mixlib-cli#lib/mixlib/cli/formatter.rb:3
|
|
30
31
|
module Mixlib::CLI
|
|
31
32
|
mixes_in_class_methods ::Mixlib::CLI::ClassMethods
|
|
32
33
|
mixes_in_class_methods ::Mixlib::CLI::InheritMethods
|
|
@@ -39,32 +40,32 @@ module Mixlib::CLI
|
|
|
39
40
|
# === Returns
|
|
40
41
|
# object<Mixlib::Config>:: Returns an instance of whatever you wanted :)
|
|
41
42
|
#
|
|
42
|
-
#
|
|
43
|
+
# pkg:gem/mixlib-cli#lib/mixlib/cli.rb:260
|
|
43
44
|
def initialize(*args); end
|
|
44
45
|
|
|
45
46
|
# Banner for the option parser. If the option parser is printed, e.g., by
|
|
46
47
|
# `puts opt_parser`, this string will be used as the first line.
|
|
47
48
|
#
|
|
48
|
-
#
|
|
49
|
+
# pkg:gem/mixlib-cli#lib/mixlib/cli.rb:251
|
|
49
50
|
def banner; end
|
|
50
51
|
|
|
51
52
|
# Banner for the option parser. If the option parser is printed, e.g., by
|
|
52
53
|
# `puts opt_parser`, this string will be used as the first line.
|
|
53
54
|
#
|
|
54
|
-
#
|
|
55
|
+
# pkg:gem/mixlib-cli#lib/mixlib/cli.rb:251
|
|
55
56
|
def banner=(_arg0); end
|
|
56
57
|
|
|
57
|
-
#
|
|
58
|
+
# pkg:gem/mixlib-cli#lib/mixlib/cli.rb:432
|
|
58
59
|
def build_option_arguments(opt_setting); end
|
|
59
60
|
|
|
60
61
|
# Any arguments which were not parsed and placed in "config"--the leftovers.
|
|
61
62
|
#
|
|
62
|
-
#
|
|
63
|
+
# pkg:gem/mixlib-cli#lib/mixlib/cli.rb:247
|
|
63
64
|
def cli_arguments; end
|
|
64
65
|
|
|
65
66
|
# Any arguments which were not parsed and placed in "config"--the leftovers.
|
|
66
67
|
#
|
|
67
|
-
#
|
|
68
|
+
# pkg:gem/mixlib-cli#lib/mixlib/cli.rb:247
|
|
68
69
|
def cli_arguments=(_arg0); end
|
|
69
70
|
|
|
70
71
|
# A Hash containing the values supplied by command line options.
|
|
@@ -79,7 +80,7 @@ module Mixlib::CLI
|
|
|
79
80
|
# After initialization, this will be an empty hash. When #parse_options is
|
|
80
81
|
# called, +config+ is populated *only* with user-supplied values.
|
|
81
82
|
#
|
|
82
|
-
#
|
|
83
|
+
# pkg:gem/mixlib-cli#lib/mixlib/cli.rb:236
|
|
83
84
|
def config; end
|
|
84
85
|
|
|
85
86
|
# A Hash containing the values supplied by command line options.
|
|
@@ -94,7 +95,7 @@ module Mixlib::CLI
|
|
|
94
95
|
# After initialization, this will be an empty hash. When #parse_options is
|
|
95
96
|
# called, +config+ is populated *only* with user-supplied values.
|
|
96
97
|
#
|
|
97
|
-
#
|
|
98
|
+
# pkg:gem/mixlib-cli#lib/mixlib/cli.rb:236
|
|
98
99
|
def config=(_arg0); end
|
|
99
100
|
|
|
100
101
|
# If ClassMethods#use_separate_default_options is enabled, this will be a
|
|
@@ -104,7 +105,7 @@ module Mixlib::CLI
|
|
|
104
105
|
# If use_separate_default_options is disabled, it will always be an empty
|
|
105
106
|
# hash.
|
|
106
107
|
#
|
|
107
|
-
#
|
|
108
|
+
# pkg:gem/mixlib-cli#lib/mixlib/cli.rb:244
|
|
108
109
|
def default_config; end
|
|
109
110
|
|
|
110
111
|
# If ClassMethods#use_separate_default_options is enabled, this will be a
|
|
@@ -114,7 +115,7 @@ module Mixlib::CLI
|
|
|
114
115
|
# If use_separate_default_options is disabled, it will always be an empty
|
|
115
116
|
# hash.
|
|
116
117
|
#
|
|
117
|
-
#
|
|
118
|
+
# pkg:gem/mixlib-cli#lib/mixlib/cli.rb:244
|
|
118
119
|
def default_config=(_arg0); end
|
|
119
120
|
|
|
120
121
|
# Iterates through options declared as deprecated,
|
|
@@ -123,7 +124,7 @@ module Mixlib::CLI
|
|
|
123
124
|
#
|
|
124
125
|
# @return NilClass
|
|
125
126
|
#
|
|
126
|
-
#
|
|
127
|
+
# pkg:gem/mixlib-cli#lib/mixlib/cli.rb:394
|
|
127
128
|
def handle_deprecated_options(show_deprecations); end
|
|
128
129
|
|
|
129
130
|
# The option parser generated from the mixlib-cli DSL. +opt_parser+ can be
|
|
@@ -132,21 +133,21 @@ module Mixlib::CLI
|
|
|
132
133
|
# === Returns
|
|
133
134
|
# opt_parser<OptionParser>:: The option parser object.
|
|
134
135
|
#
|
|
135
|
-
#
|
|
136
|
+
# pkg:gem/mixlib-cli#lib/mixlib/cli.rb:344
|
|
136
137
|
def opt_parser; end
|
|
137
138
|
|
|
138
139
|
# Gives the command line options definition as configured in the DSL. These
|
|
139
140
|
# are used by #parse_options to generate the option parsing code. To get
|
|
140
141
|
# the values supplied by the user, see #config.
|
|
141
142
|
#
|
|
142
|
-
#
|
|
143
|
+
# pkg:gem/mixlib-cli#lib/mixlib/cli.rb:223
|
|
143
144
|
def options; end
|
|
144
145
|
|
|
145
146
|
# Gives the command line options definition as configured in the DSL. These
|
|
146
147
|
# are used by #parse_options to generate the option parsing code. To get
|
|
147
148
|
# the values supplied by the user, see #config.
|
|
148
149
|
#
|
|
149
|
-
#
|
|
150
|
+
# pkg:gem/mixlib-cli#lib/mixlib/cli.rb:223
|
|
150
151
|
def options=(_arg0); end
|
|
151
152
|
|
|
152
153
|
# Parses an array, by default ARGV, for command line options (as configured at
|
|
@@ -157,18 +158,16 @@ module Mixlib::CLI
|
|
|
157
158
|
# === Returns
|
|
158
159
|
# argv<Array>:: Returns any un-parsed elements.
|
|
159
160
|
#
|
|
160
|
-
#
|
|
161
|
+
# pkg:gem/mixlib-cli#lib/mixlib/cli.rb:304
|
|
161
162
|
def parse_options(argv = T.unsafe(nil), show_deprecations: T.unsafe(nil)); end
|
|
162
163
|
|
|
163
164
|
class << self
|
|
164
|
-
#
|
|
165
|
-
#
|
|
166
|
-
# source://mixlib-cli//lib/mixlib/cli.rb#448
|
|
165
|
+
# pkg:gem/mixlib-cli#lib/mixlib/cli.rb:448
|
|
167
166
|
def included(receiver); end
|
|
168
167
|
end
|
|
169
168
|
end
|
|
170
169
|
|
|
171
|
-
#
|
|
170
|
+
# pkg:gem/mixlib-cli#lib/mixlib/cli.rb:81
|
|
172
171
|
module Mixlib::CLI::ClassMethods
|
|
173
172
|
# Change the banner. Defaults to:
|
|
174
173
|
# Usage: #{0} (options)
|
|
@@ -179,7 +178,7 @@ module Mixlib::CLI::ClassMethods
|
|
|
179
178
|
# === Returns
|
|
180
179
|
# @banner<String>:: The current banner
|
|
181
180
|
#
|
|
182
|
-
#
|
|
181
|
+
# pkg:gem/mixlib-cli#lib/mixlib/cli.rb:210
|
|
183
182
|
def banner(bstring = T.unsafe(nil)); end
|
|
184
183
|
|
|
185
184
|
# Declare a deprecated option
|
|
@@ -204,7 +203,7 @@ module Mixlib::CLI::ClassMethods
|
|
|
204
203
|
# === Returns
|
|
205
204
|
# <Hash> :: The config hash for the created option.
|
|
206
205
|
#
|
|
207
|
-
#
|
|
206
|
+
# pkg:gem/mixlib-cli#lib/mixlib/cli.rb:151
|
|
208
207
|
def deprecated_option(name, replacement: T.unsafe(nil), long: T.unsafe(nil), short: T.unsafe(nil), boolean: T.unsafe(nil), value_mapper: T.unsafe(nil), keep: T.unsafe(nil)); end
|
|
209
208
|
|
|
210
209
|
# Add a command line option.
|
|
@@ -236,12 +235,10 @@ module Mixlib::CLI::ClassMethods
|
|
|
236
235
|
# :on :head OR :tail - force this option to display at the beginning or end of the
|
|
237
236
|
# option list, respectively
|
|
238
237
|
# =
|
|
238
|
+
# @return <Hash> :: the config hash for the created option
|
|
239
239
|
# i
|
|
240
240
|
#
|
|
241
|
-
#
|
|
242
|
-
# @return [Hash] :: the config hash for the created option
|
|
243
|
-
#
|
|
244
|
-
# source://mixlib-cli//lib/mixlib/cli.rb#123
|
|
241
|
+
# pkg:gem/mixlib-cli#lib/mixlib/cli.rb:123
|
|
245
242
|
def option(name, args); end
|
|
246
243
|
|
|
247
244
|
# Get the hash of current options.
|
|
@@ -249,7 +246,7 @@ module Mixlib::CLI::ClassMethods
|
|
|
249
246
|
# === Returns
|
|
250
247
|
# @options<Hash>:: The current options hash.
|
|
251
248
|
#
|
|
252
|
-
#
|
|
249
|
+
# pkg:gem/mixlib-cli#lib/mixlib/cli.rb:184
|
|
253
250
|
def options; end
|
|
254
251
|
|
|
255
252
|
# Set the current options hash
|
|
@@ -260,24 +257,20 @@ module Mixlib::CLI::ClassMethods
|
|
|
260
257
|
# === Returns
|
|
261
258
|
# @options<Hash>:: The current options hash.
|
|
262
259
|
#
|
|
263
|
-
#
|
|
264
|
-
#
|
|
265
|
-
# source://mixlib-cli//lib/mixlib/cli.rb#196
|
|
260
|
+
# pkg:gem/mixlib-cli#lib/mixlib/cli.rb:196
|
|
266
261
|
def options=(val); end
|
|
267
262
|
|
|
268
263
|
# When this setting is set to +true+, default values supplied to the
|
|
269
264
|
# mixlib-cli DSL will be stored in a separate Hash
|
|
270
265
|
#
|
|
271
|
-
#
|
|
266
|
+
# pkg:gem/mixlib-cli#lib/mixlib/cli.rb:84
|
|
272
267
|
def use_separate_default_options(true_or_false); end
|
|
273
268
|
|
|
274
|
-
#
|
|
275
|
-
#
|
|
276
|
-
# source://mixlib-cli//lib/mixlib/cli.rb#88
|
|
269
|
+
# pkg:gem/mixlib-cli#lib/mixlib/cli.rb:88
|
|
277
270
|
def use_separate_defaults?; end
|
|
278
271
|
end
|
|
279
272
|
|
|
280
|
-
#
|
|
273
|
+
# pkg:gem/mixlib-cli#lib/mixlib/cli/formatter.rb:4
|
|
281
274
|
class Mixlib::CLI::Formatter
|
|
282
275
|
class << self
|
|
283
276
|
# Create a string that includes both versions (short/long) of a flag name
|
|
@@ -287,27 +280,28 @@ class Mixlib::CLI::Formatter
|
|
|
287
280
|
# @param long [String] the long name of the option. Can be nil.
|
|
288
281
|
# @return [String] the formatted flag name as described above
|
|
289
282
|
#
|
|
290
|
-
#
|
|
283
|
+
# pkg:gem/mixlib-cli#lib/mixlib/cli/formatter.rb:11
|
|
291
284
|
def combined_option_display_name(short, long); end
|
|
292
285
|
|
|
293
286
|
# @param opt_array [Array]
|
|
287
|
+
#
|
|
294
288
|
# @return [String] a friendly quoted list of items complete with "or"
|
|
295
289
|
#
|
|
296
|
-
#
|
|
290
|
+
# pkg:gem/mixlib-cli#lib/mixlib/cli/formatter.rb:25
|
|
297
291
|
def friendly_opt_list(opt_array); end
|
|
298
292
|
end
|
|
299
293
|
end
|
|
300
294
|
|
|
301
|
-
#
|
|
295
|
+
# pkg:gem/mixlib-cli#lib/mixlib/cli.rb:43
|
|
302
296
|
module Mixlib::CLI::InheritMethods
|
|
303
297
|
# object:: Instance to clone
|
|
304
298
|
# This method will return a "deep clone" of the provided
|
|
305
299
|
# `object`. If the provided `object` is an enumerable type the
|
|
306
300
|
# contents will be iterated and cloned as well.
|
|
307
301
|
#
|
|
308
|
-
#
|
|
302
|
+
# pkg:gem/mixlib-cli#lib/mixlib/cli.rb:53
|
|
309
303
|
def deep_dup(object); end
|
|
310
304
|
|
|
311
|
-
#
|
|
305
|
+
# pkg:gem/mixlib-cli#lib/mixlib/cli.rb:44
|
|
312
306
|
def inherited(receiver); end
|
|
313
307
|
end
|