twirbet 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (124) hide show
  1. checksums.yaml +4 -4
  2. data/lib/twirbet/version.rb +1 -1
  3. metadata +1 -122
  4. data/.rspec +0 -3
  5. data/.rubocop.yml +0 -20
  6. data/CHANGELOG.md +0 -5
  7. data/Gemfile +0 -28
  8. data/Gemfile.lock +0 -127
  9. data/Rakefile +0 -17
  10. data/examples/clientcompat/client +0 -28
  11. data/examples/clientcompat/clientcompat.proto +0 -29
  12. data/examples/clientcompat/clientcompat_pb.rb +0 -36
  13. data/examples/clientcompat/clientcompat_twirbet.rb +0 -57
  14. data/examples/ping/Gemfile +0 -11
  15. data/examples/ping/Gemfile.lock +0 -69
  16. data/examples/ping/bin/puma +0 -27
  17. data/examples/ping/bin/pumactl +0 -27
  18. data/examples/ping/bin/srb +0 -27
  19. data/examples/ping/bin/srb-rbi +0 -27
  20. data/examples/ping/bin/tapioca +0 -27
  21. data/examples/ping/client.rb +0 -14
  22. data/examples/ping/config/application.rb +0 -13
  23. data/examples/ping/config/environment.rb +0 -6
  24. data/examples/ping/config.ru +0 -8
  25. data/examples/ping/proto/ping.proto +0 -15
  26. data/examples/ping/proto/ping_pb.rb +0 -20
  27. data/examples/ping/proto/ping_twirbet.rb +0 -47
  28. data/examples/ping/sorbet/config +0 -4
  29. data/examples/ping/sorbet/rbi/dsl/google/protobuf/descriptor_proto/extension_range.rbi +0 -34
  30. data/examples/ping/sorbet/rbi/dsl/google/protobuf/descriptor_proto/reserved_range.rbi +0 -22
  31. data/examples/ping/sorbet/rbi/dsl/google/protobuf/descriptor_proto.rbi +0 -83
  32. data/examples/ping/sorbet/rbi/dsl/google/protobuf/enum_descriptor_proto/enum_reserved_range.rbi +0 -22
  33. data/examples/ping/sorbet/rbi/dsl/google/protobuf/enum_descriptor_proto.rbi +0 -48
  34. data/examples/ping/sorbet/rbi/dsl/google/protobuf/enum_options.rbi +0 -34
  35. data/examples/ping/sorbet/rbi/dsl/google/protobuf/enum_value_descriptor_proto.rbi +0 -34
  36. data/examples/ping/sorbet/rbi/dsl/google/protobuf/enum_value_options.rbi +0 -27
  37. data/examples/ping/sorbet/rbi/dsl/google/protobuf/extension_range_options.rbi +0 -20
  38. data/examples/ping/sorbet/rbi/dsl/google/protobuf/field_descriptor_proto/label.rbi +0 -22
  39. data/examples/ping/sorbet/rbi/dsl/google/protobuf/field_descriptor_proto/type.rbi +0 -37
  40. data/examples/ping/sorbet/rbi/dsl/google/protobuf/field_descriptor_proto.rbi +0 -90
  41. data/examples/ping/sorbet/rbi/dsl/google/protobuf/field_options/c_type.rbi +0 -22
  42. data/examples/ping/sorbet/rbi/dsl/google/protobuf/field_options/js_type.rbi +0 -22
  43. data/examples/ping/sorbet/rbi/dsl/google/protobuf/field_options.rbi +0 -69
  44. data/examples/ping/sorbet/rbi/dsl/google/protobuf/file_descriptor_proto.rbi +0 -97
  45. data/examples/ping/sorbet/rbi/dsl/google/protobuf/file_descriptor_set.rbi +0 -20
  46. data/examples/ping/sorbet/rbi/dsl/google/protobuf/file_options/optimize_mode.rbi +0 -22
  47. data/examples/ping/sorbet/rbi/dsl/google/protobuf/file_options.rbi +0 -160
  48. data/examples/ping/sorbet/rbi/dsl/google/protobuf/generated_code_info/annotation.rbi +0 -41
  49. data/examples/ping/sorbet/rbi/dsl/google/protobuf/generated_code_info.rbi +0 -20
  50. data/examples/ping/sorbet/rbi/dsl/google/protobuf/map.rbi +0 -12
  51. data/examples/ping/sorbet/rbi/dsl/google/protobuf/message_options.rbi +0 -48
  52. data/examples/ping/sorbet/rbi/dsl/google/protobuf/method_descriptor_proto.rbi +0 -55
  53. data/examples/ping/sorbet/rbi/dsl/google/protobuf/method_options/idempotency_level.rbi +0 -22
  54. data/examples/ping/sorbet/rbi/dsl/google/protobuf/method_options.rbi +0 -34
  55. data/examples/ping/sorbet/rbi/dsl/google/protobuf/oneof_descriptor_proto.rbi +0 -22
  56. data/examples/ping/sorbet/rbi/dsl/google/protobuf/oneof_options.rbi +0 -20
  57. data/examples/ping/sorbet/rbi/dsl/google/protobuf/repeated_field.rbi +0 -11
  58. data/examples/ping/sorbet/rbi/dsl/google/protobuf/service_descriptor_proto.rbi +0 -34
  59. data/examples/ping/sorbet/rbi/dsl/google/protobuf/service_options.rbi +0 -27
  60. data/examples/ping/sorbet/rbi/dsl/google/protobuf/source_code_info/location.rbi +0 -48
  61. data/examples/ping/sorbet/rbi/dsl/google/protobuf/source_code_info.rbi +0 -20
  62. data/examples/ping/sorbet/rbi/dsl/google/protobuf/uninterpreted_option/name_part.rbi +0 -22
  63. data/examples/ping/sorbet/rbi/dsl/google/protobuf/uninterpreted_option.rbi +0 -62
  64. data/examples/ping/sorbet/rbi/dsl/ping/ping_request.rbi +0 -16
  65. data/examples/ping/sorbet/rbi/dsl/ping/ping_response.rbi +0 -16
  66. data/examples/ping/sorbet/rbi/gems/ast@2.4.2.rbi +0 -584
  67. data/examples/ping/sorbet/rbi/gems/diff-lcs@1.5.0.rbi +0 -8
  68. data/examples/ping/sorbet/rbi/gems/google-protobuf@3.21.12.rbi +0 -1645
  69. data/examples/ping/sorbet/rbi/gems/netrc@0.11.0.rbi +0 -158
  70. data/examples/ping/sorbet/rbi/gems/nio4r@2.5.8.rbi +0 -8
  71. data/examples/ping/sorbet/rbi/gems/parallel@1.22.1.rbi +0 -277
  72. data/examples/ping/sorbet/rbi/gems/parser@3.1.3.0.rbi +0 -5076
  73. data/examples/ping/sorbet/rbi/gems/puma@6.0.0.rbi +0 -4177
  74. data/examples/ping/sorbet/rbi/gems/rack@3.0.2.rbi +0 -5016
  75. data/examples/ping/sorbet/rbi/gems/rbi@0.0.16.rbi +0 -3008
  76. data/examples/ping/sorbet/rbi/gems/spoom@1.1.15.rbi +0 -2383
  77. data/examples/ping/sorbet/rbi/gems/tapioca@0.10.3.rbi +0 -3032
  78. data/examples/ping/sorbet/rbi/gems/thor@1.2.1.rbi +0 -3919
  79. data/examples/ping/sorbet/rbi/gems/twirbet@0.1.0.rbi +0 -528
  80. data/examples/ping/sorbet/rbi/gems/unparser@0.6.5.rbi +0 -8
  81. data/examples/ping/sorbet/rbi/gems/webrick@1.7.0.rbi +0 -2498
  82. data/examples/ping/sorbet/rbi/gems/yard-sorbet@0.7.0.rbi +0 -391
  83. data/examples/ping/sorbet/rbi/gems/yard@0.9.28.rbi +0 -17022
  84. data/examples/ping/sorbet/tapioca/config.yml +0 -13
  85. data/examples/ping/sorbet/tapioca/require.rb +0 -5
  86. data/sorbet/config +0 -5
  87. data/sorbet/rbi/annotations/rainbow.rbi +0 -269
  88. data/sorbet/rbi/custom/ping.rbi +0 -23
  89. data/sorbet/rbi/gems/ast@2.4.2.rbi +0 -584
  90. data/sorbet/rbi/gems/diff-lcs@1.5.0.rbi +0 -1064
  91. data/sorbet/rbi/gems/google-protobuf@3.21.12.rbi +0 -1645
  92. data/sorbet/rbi/gems/json@2.6.3.rbi +0 -1541
  93. data/sorbet/rbi/gems/netrc@0.11.0.rbi +0 -158
  94. data/sorbet/rbi/gems/parallel@1.22.1.rbi +0 -277
  95. data/sorbet/rbi/gems/parser@3.1.3.0.rbi +0 -6878
  96. data/sorbet/rbi/gems/rack@3.0.2.rbi +0 -5163
  97. data/sorbet/rbi/gems/rainbow@3.1.1.rbi +0 -397
  98. data/sorbet/rbi/gems/rake@13.0.6.rbi +0 -2946
  99. data/sorbet/rbi/gems/rbi@0.0.16.rbi +0 -3008
  100. data/sorbet/rbi/gems/regexp_parser@2.6.1.rbi +0 -3126
  101. data/sorbet/rbi/gems/rexml@3.2.5.rbi +0 -4660
  102. data/sorbet/rbi/gems/rspec-core@3.12.0.rbi +0 -10492
  103. data/sorbet/rbi/gems/rspec-expectations@3.12.1.rbi +0 -7817
  104. data/sorbet/rbi/gems/rspec-mocks@3.12.1.rbi +0 -4994
  105. data/sorbet/rbi/gems/rspec-support@3.12.0.rbi +0 -1477
  106. data/sorbet/rbi/gems/rspec@3.12.0.rbi +0 -10
  107. data/sorbet/rbi/gems/rubocop-ast@1.24.0.rbi +0 -6790
  108. data/sorbet/rbi/gems/rubocop-rake@0.6.0.rbi +0 -354
  109. data/sorbet/rbi/gems/rubocop-rspec@2.16.0.rbi +0 -7650
  110. data/sorbet/rbi/gems/rubocop-shopify@2.10.1.rbi +0 -8
  111. data/sorbet/rbi/gems/rubocop-sorbet@0.6.11.rbi +0 -1014
  112. data/sorbet/rbi/gems/rubocop@1.40.0.rbi +0 -51560
  113. data/sorbet/rbi/gems/ruby-progressbar@1.11.0.rbi +0 -1212
  114. data/sorbet/rbi/gems/spoom@1.1.15.rbi +0 -2383
  115. data/sorbet/rbi/gems/tapioca@0.10.3.rbi +0 -3032
  116. data/sorbet/rbi/gems/thor@1.2.1.rbi +0 -3950
  117. data/sorbet/rbi/gems/unicode-display_width@2.3.0.rbi +0 -46
  118. data/sorbet/rbi/gems/unparser@0.6.5.rbi +0 -4265
  119. data/sorbet/rbi/gems/webrick@1.7.0.rbi +0 -2498
  120. data/sorbet/rbi/gems/yard-sorbet@0.7.0.rbi +0 -391
  121. data/sorbet/rbi/gems/yard@0.9.28.rbi +0 -17033
  122. data/sorbet/tapioca/config.yml +0 -13
  123. data/sorbet/tapioca/require.rb +0 -4
  124. data/twirbet.gemspec +0 -36
@@ -1,397 +0,0 @@
1
- # typed: true
2
-
3
- # DO NOT EDIT MANUALLY
4
- # This is an autogenerated file for types exported from the `rainbow` gem.
5
- # Please instead update this file by running `bin/tapioca gem rainbow`.
6
-
7
- # source://yard/0.9.28/lib/yard.rb#61
8
- ::RUBY18 = T.let(T.unsafe(nil), FalseClass)
9
-
10
- # source://yard/0.9.28/lib/yard.rb#62
11
- ::RUBY19 = T.let(T.unsafe(nil), TrueClass)
12
-
13
- class Object < ::BasicObject
14
- include ::Kernel
15
- include ::PP::ObjectMixin
16
-
17
- private
18
-
19
- # source://rainbow//lib/rainbow/global.rb#23
20
- def Rainbow(string); end
21
- end
22
-
23
- module Rainbow
24
- class << self
25
- # source://rainbow//lib/rainbow/global.rb#10
26
- def enabled; end
27
-
28
- # source://rainbow//lib/rainbow/global.rb#14
29
- def enabled=(value); end
30
-
31
- # source://rainbow//lib/rainbow/global.rb#6
32
- def global; end
33
-
34
- # source://rainbow//lib/rainbow.rb#6
35
- def new; end
36
-
37
- # source://rainbow//lib/rainbow/global.rb#18
38
- def uncolor(string); end
39
- end
40
- end
41
-
42
- class Rainbow::Color
43
- # Returns the value of attribute ground.
44
- #
45
- # source://rainbow//lib/rainbow/color.rb#5
46
- def ground; end
47
-
48
- class << self
49
- # source://rainbow//lib/rainbow/color.rb#7
50
- def build(ground, values); end
51
-
52
- # source://rainbow//lib/rainbow/color.rb#40
53
- def parse_hex_color(hex); end
54
- end
55
- end
56
-
57
- class Rainbow::Color::Indexed < ::Rainbow::Color
58
- # @return [Indexed] a new instance of Indexed
59
- #
60
- # source://rainbow//lib/rainbow/color.rb#57
61
- def initialize(ground, num); end
62
-
63
- # source://rainbow//lib/rainbow/color.rb#62
64
- def codes; end
65
-
66
- # Returns the value of attribute num.
67
- #
68
- # source://rainbow//lib/rainbow/color.rb#55
69
- def num; end
70
- end
71
-
72
- class Rainbow::Color::Named < ::Rainbow::Color::Indexed
73
- # @return [Named] a new instance of Named
74
- #
75
- # source://rainbow//lib/rainbow/color.rb#90
76
- def initialize(ground, name); end
77
-
78
- class << self
79
- # source://rainbow//lib/rainbow/color.rb#82
80
- def color_names; end
81
-
82
- # source://rainbow//lib/rainbow/color.rb#86
83
- def valid_names; end
84
- end
85
- end
86
-
87
- # source://rainbow//lib/rainbow/color.rb#70
88
- Rainbow::Color::Named::NAMES = T.let(T.unsafe(nil), Hash)
89
-
90
- class Rainbow::Color::RGB < ::Rainbow::Color::Indexed
91
- # @return [RGB] a new instance of RGB
92
- #
93
- # source://rainbow//lib/rainbow/color.rb#107
94
- def initialize(ground, *values); end
95
-
96
- # Returns the value of attribute b.
97
- #
98
- # source://rainbow//lib/rainbow/color.rb#101
99
- def b; end
100
-
101
- # source://rainbow//lib/rainbow/color.rb#116
102
- def codes; end
103
-
104
- # Returns the value of attribute g.
105
- #
106
- # source://rainbow//lib/rainbow/color.rb#101
107
- def g; end
108
-
109
- # Returns the value of attribute r.
110
- #
111
- # source://rainbow//lib/rainbow/color.rb#101
112
- def r; end
113
-
114
- private
115
-
116
- # source://rainbow//lib/rainbow/color.rb#122
117
- def code_from_rgb; end
118
-
119
- class << self
120
- # source://rainbow//lib/rainbow/color.rb#103
121
- def to_ansi_domain(value); end
122
- end
123
- end
124
-
125
- class Rainbow::Color::X11Named < ::Rainbow::Color::RGB
126
- include ::Rainbow::X11ColorNames
127
-
128
- # @return [X11Named] a new instance of X11Named
129
- #
130
- # source://rainbow//lib/rainbow/color.rb#140
131
- def initialize(ground, name); end
132
-
133
- class << self
134
- # source://rainbow//lib/rainbow/color.rb#132
135
- def color_names; end
136
-
137
- # source://rainbow//lib/rainbow/color.rb#136
138
- def valid_names; end
139
- end
140
- end
141
-
142
- class Rainbow::NullPresenter < ::String
143
- # source://rainbow//lib/rainbow/null_presenter.rb#9
144
- def background(*_values); end
145
-
146
- # source://rainbow//lib/rainbow/null_presenter.rb#9
147
- def bg(*_values); end
148
-
149
- # source://rainbow//lib/rainbow/null_presenter.rb#49
150
- def black; end
151
-
152
- # source://rainbow//lib/rainbow/null_presenter.rb#33
153
- def blink; end
154
-
155
- # source://rainbow//lib/rainbow/null_presenter.rb#65
156
- def blue; end
157
-
158
- # source://rainbow//lib/rainbow/null_presenter.rb#17
159
- def bold; end
160
-
161
- # source://rainbow//lib/rainbow/null_presenter.rb#17
162
- def bright; end
163
-
164
- # source://rainbow//lib/rainbow/null_presenter.rb#5
165
- def color(*_values); end
166
-
167
- # source://rainbow//lib/rainbow/null_presenter.rb#45
168
- def cross_out; end
169
-
170
- # source://rainbow//lib/rainbow/null_presenter.rb#73
171
- def cyan; end
172
-
173
- # source://rainbow//lib/rainbow/null_presenter.rb#21
174
- def dark; end
175
-
176
- # source://rainbow//lib/rainbow/null_presenter.rb#21
177
- def faint; end
178
-
179
- # source://rainbow//lib/rainbow/null_presenter.rb#5
180
- def fg(*_values); end
181
-
182
- # source://rainbow//lib/rainbow/null_presenter.rb#5
183
- def foreground(*_values); end
184
-
185
- # source://rainbow//lib/rainbow/null_presenter.rb#57
186
- def green; end
187
-
188
- # source://rainbow//lib/rainbow/null_presenter.rb#41
189
- def hide; end
190
-
191
- # source://rainbow//lib/rainbow/null_presenter.rb#37
192
- def inverse; end
193
-
194
- # source://rainbow//lib/rainbow/null_presenter.rb#25
195
- def italic; end
196
-
197
- # source://rainbow//lib/rainbow/null_presenter.rb#69
198
- def magenta; end
199
-
200
- # source://rainbow//lib/rainbow/null_presenter.rb#81
201
- def method_missing(method_name, *args); end
202
-
203
- # source://rainbow//lib/rainbow/null_presenter.rb#53
204
- def red; end
205
-
206
- # source://rainbow//lib/rainbow/null_presenter.rb#13
207
- def reset; end
208
-
209
- # source://rainbow//lib/rainbow/null_presenter.rb#45
210
- def strike; end
211
-
212
- # source://rainbow//lib/rainbow/null_presenter.rb#29
213
- def underline; end
214
-
215
- # source://rainbow//lib/rainbow/null_presenter.rb#77
216
- def white; end
217
-
218
- # source://rainbow//lib/rainbow/null_presenter.rb#61
219
- def yellow; end
220
-
221
- private
222
-
223
- # @return [Boolean]
224
- #
225
- # source://rainbow//lib/rainbow/null_presenter.rb#89
226
- def respond_to_missing?(method_name, *args); end
227
- end
228
-
229
- class Rainbow::Presenter < ::String
230
- # Sets background color of this text.
231
- #
232
- # source://rainbow//lib/rainbow/presenter.rb#30
233
- def background(*values); end
234
-
235
- # Sets background color of this text.
236
- #
237
- # source://rainbow//lib/rainbow/presenter.rb#30
238
- def bg(*values); end
239
-
240
- # source://rainbow//lib/rainbow/presenter.rb#92
241
- def black; end
242
-
243
- # Turns on blinking attribute for this text (not well supported by terminal
244
- # emulators).
245
- #
246
- # source://rainbow//lib/rainbow/presenter.rb#72
247
- def blink; end
248
-
249
- # source://rainbow//lib/rainbow/presenter.rb#108
250
- def blue; end
251
-
252
- # Turns on bright/bold for this text.
253
- #
254
- # source://rainbow//lib/rainbow/presenter.rb#45
255
- def bold; end
256
-
257
- # Turns on bright/bold for this text.
258
- #
259
- # source://rainbow//lib/rainbow/presenter.rb#45
260
- def bright; end
261
-
262
- # Sets color of this text.
263
- #
264
- # source://rainbow//lib/rainbow/presenter.rb#22
265
- def color(*values); end
266
-
267
- # source://rainbow//lib/rainbow/presenter.rb#86
268
- def cross_out; end
269
-
270
- # source://rainbow//lib/rainbow/presenter.rb#116
271
- def cyan; end
272
-
273
- # Turns on faint/dark for this text (not well supported by terminal
274
- # emulators).
275
- #
276
- # source://rainbow//lib/rainbow/presenter.rb#53
277
- def dark; end
278
-
279
- # Turns on faint/dark for this text (not well supported by terminal
280
- # emulators).
281
- #
282
- # source://rainbow//lib/rainbow/presenter.rb#53
283
- def faint; end
284
-
285
- # Sets color of this text.
286
- #
287
- # source://rainbow//lib/rainbow/presenter.rb#22
288
- def fg(*values); end
289
-
290
- # Sets color of this text.
291
- #
292
- # source://rainbow//lib/rainbow/presenter.rb#22
293
- def foreground(*values); end
294
-
295
- # source://rainbow//lib/rainbow/presenter.rb#100
296
- def green; end
297
-
298
- # Hides this text (set its color to the same as background).
299
- #
300
- # source://rainbow//lib/rainbow/presenter.rb#82
301
- def hide; end
302
-
303
- # Inverses current foreground/background colors.
304
- #
305
- # source://rainbow//lib/rainbow/presenter.rb#77
306
- def inverse; end
307
-
308
- # Turns on italic style for this text (not well supported by terminal
309
- # emulators).
310
- #
311
- # source://rainbow//lib/rainbow/presenter.rb#61
312
- def italic; end
313
-
314
- # source://rainbow//lib/rainbow/presenter.rb#112
315
- def magenta; end
316
-
317
- # We take care of X11 color method call here.
318
- # Such as #aqua, #ghostwhite.
319
- #
320
- # source://rainbow//lib/rainbow/presenter.rb#126
321
- def method_missing(method_name, *args); end
322
-
323
- # source://rainbow//lib/rainbow/presenter.rb#96
324
- def red; end
325
-
326
- # Resets terminal to default colors/backgrounds.
327
- #
328
- # It shouldn't be needed to use this method because all methods
329
- # append terminal reset code to end of string.
330
- #
331
- # source://rainbow//lib/rainbow/presenter.rb#40
332
- def reset; end
333
-
334
- # source://rainbow//lib/rainbow/presenter.rb#86
335
- def strike; end
336
-
337
- # Turns on underline decoration for this text.
338
- #
339
- # source://rainbow//lib/rainbow/presenter.rb#66
340
- def underline; end
341
-
342
- # source://rainbow//lib/rainbow/presenter.rb#120
343
- def white; end
344
-
345
- # source://rainbow//lib/rainbow/presenter.rb#104
346
- def yellow; end
347
-
348
- private
349
-
350
- # @return [Boolean]
351
- #
352
- # source://rainbow//lib/rainbow/presenter.rb#134
353
- def respond_to_missing?(method_name, *args); end
354
-
355
- # source://rainbow//lib/rainbow/presenter.rb#140
356
- def wrap_with_sgr(codes); end
357
- end
358
-
359
- # source://rainbow//lib/rainbow/presenter.rb#9
360
- Rainbow::Presenter::TERM_EFFECTS = T.let(T.unsafe(nil), Hash)
361
-
362
- class Rainbow::StringUtils
363
- class << self
364
- # source://rainbow//lib/rainbow/string_utils.rb#17
365
- def uncolor(string); end
366
-
367
- # source://rainbow//lib/rainbow/string_utils.rb#5
368
- def wrap_with_sgr(string, codes); end
369
- end
370
- end
371
-
372
- class Rainbow::Wrapper
373
- # @return [Wrapper] a new instance of Wrapper
374
- #
375
- # source://rainbow//lib/rainbow/wrapper.rb#10
376
- def initialize(enabled = T.unsafe(nil)); end
377
-
378
- # Returns the value of attribute enabled.
379
- #
380
- # source://rainbow//lib/rainbow/wrapper.rb#8
381
- def enabled; end
382
-
383
- # Sets the attribute enabled
384
- #
385
- # @param value the value to set the attribute enabled to.
386
- #
387
- # source://rainbow//lib/rainbow/wrapper.rb#8
388
- def enabled=(_arg0); end
389
-
390
- # source://rainbow//lib/rainbow/wrapper.rb#14
391
- def wrap(string); end
392
- end
393
-
394
- module Rainbow::X11ColorNames; end
395
-
396
- # source://rainbow//lib/rainbow/x11_color_names.rb#5
397
- Rainbow::X11ColorNames::NAMES = T.let(T.unsafe(nil), Hash)