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.
Files changed (99) hide show
  1. checksums.yaml +4 -4
  2. data/.dockerignore +8 -0
  3. data/.mdlrc +6 -0
  4. data/.rubocop.yml +20 -12
  5. data/Dockerfile +24 -0
  6. data/README.md +0 -4
  7. data/Rakefile +19 -16
  8. data/exe/tsumanne +2 -1
  9. data/lib/tsumanne/api.rb +22 -21
  10. data/lib/tsumanne/cli.rb +153 -2
  11. data/lib/tsumanne/models/get_threads.rb +8 -3
  12. data/lib/tsumanne/models/register_thread.rb +5 -1
  13. data/lib/tsumanne/models/search_indexes.rb +7 -2
  14. data/lib/tsumanne/models/search_thread_from_uri.rb +14 -2
  15. data/lib/tsumanne/version.rb +1 -1
  16. data/mise.toml +42 -0
  17. data/sorbet/rbi/gems/.gitattributes +1 -0
  18. data/sorbet/rbi/gems/{ast@2.4.2.rbi → ast@2.4.3.rbi} +45 -79
  19. data/sorbet/rbi/gems/benchmark@0.5.0.rbi +621 -0
  20. data/sorbet/rbi/gems/{chef-utils@18.2.7.rbi → chef-utils@18.8.54.rbi} +1 -0
  21. data/sorbet/rbi/gems/{concurrent-ruby@1.2.2.rbi → concurrent-ruby@1.3.5.rbi} +1 -0
  22. data/sorbet/rbi/gems/{diff-lcs@1.5.0.rbi → diff-lcs@1.6.2.rbi} +183 -199
  23. data/sorbet/rbi/gems/docile@1.4.0.rbi +147 -147
  24. data/sorbet/rbi/gems/{erubi@1.12.0.rbi → erubi@1.13.1.rbi} +36 -26
  25. data/sorbet/rbi/gems/{json@2.6.3.rbi → json@2.19.4.rbi} +920 -251
  26. data/sorbet/rbi/gems/kramdown-parser-gfm@1.1.0.rbi +32 -63
  27. data/sorbet/rbi/gems/{kramdown@2.4.0.rbi → kramdown@2.5.1.rbi} +896 -711
  28. data/sorbet/rbi/gems/language_server-protocol@3.17.0.5.rbi +9 -0
  29. data/sorbet/rbi/gems/lint_roller@1.1.0.rbi +189 -0
  30. data/sorbet/rbi/gems/logger@1.7.0.rbi +896 -0
  31. data/sorbet/rbi/gems/{mdl@0.12.0.rbi → mdl@0.15.0.rbi} +109 -113
  32. data/sorbet/rbi/gems/mixlib-cli@2.1.8.rbi +35 -41
  33. data/sorbet/rbi/gems/mixlib-config@3.0.27.rbi +147 -142
  34. data/sorbet/rbi/gems/{mixlib-shellout@3.2.7.rbi → mixlib-shellout@3.3.9.rbi} +127 -150
  35. data/sorbet/rbi/gems/netrc@0.11.0.rbi +45 -56
  36. data/sorbet/rbi/gems/optimist@3.2.1.rbi +895 -0
  37. data/sorbet/rbi/gems/parallel@1.28.0.rbi +270 -0
  38. data/sorbet/rbi/gems/parser@3.3.11.1.rbi +5229 -0
  39. data/sorbet/rbi/gems/prism@1.9.0.rbi +42224 -0
  40. data/sorbet/rbi/gems/{racc@1.7.1.rbi → racc@1.8.1.rbi} +48 -44
  41. data/sorbet/rbi/gems/rainbow@3.1.1.rbi +101 -141
  42. data/sorbet/rbi/gems/{rake@13.0.6.rbi → rake@13.4.2.rbi} +867 -761
  43. data/sorbet/rbi/gems/rbi@0.3.10.rbi +5520 -0
  44. data/sorbet/rbi/gems/rbs@4.0.2.rbi +6908 -0
  45. data/sorbet/rbi/gems/regexp_parser@2.12.0.rbi +3398 -0
  46. data/sorbet/rbi/gems/require-hooks@0.4.0.rbi +152 -0
  47. data/sorbet/rbi/gems/{rexml@3.2.6.rbi → rexml@3.4.4.rbi} +1032 -908
  48. data/sorbet/rbi/gems/{rspec-core@3.12.2.rbi → rspec-core@3.13.6.rbi} +2860 -4206
  49. data/sorbet/rbi/gems/rspec-expectations@3.13.5.rbi +6108 -0
  50. data/sorbet/rbi/gems/{rspec-mocks@3.12.6.rbi → rspec-mocks@3.13.7.rbi} +1264 -1787
  51. data/sorbet/rbi/gems/rspec-support@3.13.6.rbi +1274 -0
  52. data/sorbet/rbi/gems/rspec@3.13.2.rbi +15 -0
  53. data/sorbet/rbi/gems/rubocop-ast@1.49.1.rbi +7212 -0
  54. data/sorbet/rbi/gems/rubocop-performance@1.26.1.rbi +3403 -0
  55. data/sorbet/rbi/gems/{rubocop-rake@0.6.0.rbi → rubocop-rake@0.7.1.rbi} +89 -103
  56. data/sorbet/rbi/gems/rubocop-rspec@3.9.0.rbi +7606 -0
  57. data/sorbet/rbi/gems/rubocop-sorbet@0.12.0.rbi +2448 -0
  58. data/sorbet/rbi/gems/rubocop@1.86.1.rbi +62232 -0
  59. data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +326 -655
  60. data/sorbet/rbi/gems/rubydex@0.1.0.beta14.rbi +655 -0
  61. data/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +24 -158
  62. data/sorbet/rbi/gems/simplecov@0.22.0.rbi +450 -606
  63. data/sorbet/rbi/gems/simplecov_json_formatter@0.1.4.rbi +32 -166
  64. data/sorbet/rbi/gems/spoom@1.7.13.rbi +6151 -0
  65. data/sorbet/rbi/gems/{tapioca@0.11.8.rbi → tapioca@0.19.1.rbi} +1609 -1379
  66. data/sorbet/rbi/gems/{thor@1.2.2.rbi → thor@1.5.0.rbi} +1075 -1170
  67. data/sorbet/rbi/gems/tomlrb@2.0.3.rbi +1 -0
  68. data/sorbet/rbi/gems/tsort@0.2.0.rbi +389 -0
  69. data/sorbet/rbi/gems/unicode-display_width@3.2.0.rbi +130 -0
  70. data/sorbet/rbi/gems/unicode-emoji@4.2.0.rbi +332 -0
  71. metadata +69 -66
  72. data/.ruby-version +0 -1
  73. data/sorbet/rbi/gems/base64@0.1.1.rbi +0 -172
  74. data/sorbet/rbi/gems/ffi-compiler@1.0.1.rbi +0 -206
  75. data/sorbet/rbi/gems/ffi@1.15.5.rbi +0 -1994
  76. data/sorbet/rbi/gems/http-parser@1.2.3.rbi +0 -422
  77. data/sorbet/rbi/gems/language_server-protocol@3.17.0.3.rbi +0 -14237
  78. data/sorbet/rbi/gems/mhtml@0.1.6.rbi +0 -353
  79. data/sorbet/rbi/gems/parallel@1.23.0.rbi +0 -273
  80. data/sorbet/rbi/gems/parser@3.2.2.3.rbi +0 -7253
  81. data/sorbet/rbi/gems/prettier_print@1.2.1.rbi +0 -951
  82. data/sorbet/rbi/gems/rbi@0.0.17.rbi +0 -2967
  83. data/sorbet/rbi/gems/regexp_parser@2.8.1.rbi +0 -3749
  84. data/sorbet/rbi/gems/rspec-expectations@3.12.3.rbi +0 -8100
  85. data/sorbet/rbi/gems/rspec-support@3.12.1.rbi +0 -1609
  86. data/sorbet/rbi/gems/rspec@3.12.0.rbi +0 -82
  87. data/sorbet/rbi/gems/rubocop-ast@1.29.0.rbi +0 -7144
  88. data/sorbet/rbi/gems/rubocop-capybara@2.18.0.rbi +0 -827
  89. data/sorbet/rbi/gems/rubocop-factory_bot@2.23.1.rbi +0 -812
  90. data/sorbet/rbi/gems/rubocop-performance@1.19.0.rbi +0 -3157
  91. data/sorbet/rbi/gems/rubocop-rspec@2.23.2.rbi +0 -7691
  92. data/sorbet/rbi/gems/rubocop-sorbet@0.7.3.rbi +0 -1226
  93. data/sorbet/rbi/gems/rubocop@1.56.2.rbi +0 -56541
  94. data/sorbet/rbi/gems/spoom@1.2.3.rbi +0 -3199
  95. data/sorbet/rbi/gems/syntax_tree@6.1.1.rbi +0 -22855
  96. data/sorbet/rbi/gems/unicode-display_width@2.4.2.rbi +0 -65
  97. data/sorbet/rbi/gems/unparser@0.6.8.rbi +0 -4525
  98. data/sorbet/rbi/gems/yard-sorbet@0.8.1.rbi +0 -425
  99. data/sorbet/rbi/gems/yard@0.9.34.rbi +0 -18219
@@ -4,325 +4,295 @@
4
4
  # This is an autogenerated file for types exported from the `rainbow` gem.
5
5
  # Please instead update this file by running `bin/tapioca gem rainbow`.
6
6
 
7
+
7
8
  class Object < ::BasicObject
8
9
  include ::Kernel
9
10
  include ::PP::ObjectMixin
10
11
 
11
12
  private
12
13
 
13
- # source://rainbow//lib/rainbow/global.rb#23
14
+ # pkg:gem/rainbow#lib/rainbow/global.rb:23
14
15
  def Rainbow(string); end
15
16
  end
16
17
 
17
- # source://rainbow//lib/rainbow/string_utils.rb#3
18
+ # pkg:gem/rainbow#lib/rainbow/string_utils.rb:3
18
19
  module Rainbow
19
20
  class << self
20
- # source://rainbow//lib/rainbow/global.rb#10
21
+ # pkg:gem/rainbow#lib/rainbow/global.rb:10
21
22
  def enabled; end
22
23
 
23
- # source://rainbow//lib/rainbow/global.rb#14
24
+ # pkg:gem/rainbow#lib/rainbow/global.rb:14
24
25
  def enabled=(value); end
25
26
 
26
- # source://rainbow//lib/rainbow/global.rb#6
27
+ # pkg:gem/rainbow#lib/rainbow/global.rb:6
27
28
  def global; end
28
29
 
29
- # source://rainbow//lib/rainbow.rb#6
30
+ # pkg:gem/rainbow#lib/rainbow.rb:6
30
31
  def new; end
31
32
 
32
- # source://rainbow//lib/rainbow/global.rb#18
33
+ # pkg:gem/rainbow#lib/rainbow/global.rb:18
33
34
  def uncolor(string); end
34
35
  end
35
36
  end
36
37
 
37
- # source://rainbow//lib/rainbow/color.rb#4
38
+ # pkg:gem/rainbow#lib/rainbow/color.rb:4
38
39
  class Rainbow::Color
39
- # Returns the value of attribute ground.
40
- #
41
- # source://rainbow//lib/rainbow/color.rb#5
40
+ # pkg:gem/rainbow#lib/rainbow/color.rb:5
42
41
  def ground; end
43
42
 
44
43
  class << self
45
- # source://rainbow//lib/rainbow/color.rb#7
44
+ # pkg:gem/rainbow#lib/rainbow/color.rb:7
46
45
  def build(ground, values); end
47
46
 
48
- # source://rainbow//lib/rainbow/color.rb#40
47
+ # pkg:gem/rainbow#lib/rainbow/color.rb:40
49
48
  def parse_hex_color(hex); end
50
49
  end
51
50
  end
52
51
 
53
- # source://rainbow//lib/rainbow/color.rb#54
52
+ # pkg:gem/rainbow#lib/rainbow/color.rb:54
54
53
  class Rainbow::Color::Indexed < ::Rainbow::Color
55
- # @return [Indexed] a new instance of Indexed
56
- #
57
- # source://rainbow//lib/rainbow/color.rb#57
54
+ # pkg:gem/rainbow#lib/rainbow/color.rb:57
58
55
  def initialize(ground, num); end
59
56
 
60
- # source://rainbow//lib/rainbow/color.rb#62
57
+ # pkg:gem/rainbow#lib/rainbow/color.rb:62
61
58
  def codes; end
62
59
 
63
- # Returns the value of attribute num.
64
- #
65
- # source://rainbow//lib/rainbow/color.rb#55
60
+ # pkg:gem/rainbow#lib/rainbow/color.rb:55
66
61
  def num; end
67
62
  end
68
63
 
69
- # source://rainbow//lib/rainbow/color.rb#69
64
+ # pkg:gem/rainbow#lib/rainbow/color.rb:69
70
65
  class Rainbow::Color::Named < ::Rainbow::Color::Indexed
71
- # @return [Named] a new instance of Named
72
- #
73
- # source://rainbow//lib/rainbow/color.rb#90
66
+ # pkg:gem/rainbow#lib/rainbow/color.rb:90
74
67
  def initialize(ground, name); end
75
68
 
76
69
  class << self
77
- # source://rainbow//lib/rainbow/color.rb#82
70
+ # pkg:gem/rainbow#lib/rainbow/color.rb:82
78
71
  def color_names; end
79
72
 
80
- # source://rainbow//lib/rainbow/color.rb#86
73
+ # pkg:gem/rainbow#lib/rainbow/color.rb:86
81
74
  def valid_names; end
82
75
  end
83
76
  end
84
77
 
85
- # source://rainbow//lib/rainbow/color.rb#70
78
+ # pkg:gem/rainbow#lib/rainbow/color.rb:70
86
79
  Rainbow::Color::Named::NAMES = T.let(T.unsafe(nil), Hash)
87
80
 
88
- # source://rainbow//lib/rainbow/color.rb#100
81
+ # pkg:gem/rainbow#lib/rainbow/color.rb:100
89
82
  class Rainbow::Color::RGB < ::Rainbow::Color::Indexed
90
- # @return [RGB] a new instance of RGB
91
- #
92
- # source://rainbow//lib/rainbow/color.rb#107
83
+ # pkg:gem/rainbow#lib/rainbow/color.rb:107
93
84
  def initialize(ground, *values); end
94
85
 
95
- # Returns the value of attribute b.
96
- #
97
- # source://rainbow//lib/rainbow/color.rb#101
86
+ # pkg:gem/rainbow#lib/rainbow/color.rb:101
98
87
  def b; end
99
88
 
100
- # source://rainbow//lib/rainbow/color.rb#116
89
+ # pkg:gem/rainbow#lib/rainbow/color.rb:116
101
90
  def codes; end
102
91
 
103
- # Returns the value of attribute g.
104
- #
105
- # source://rainbow//lib/rainbow/color.rb#101
92
+ # pkg:gem/rainbow#lib/rainbow/color.rb:101
106
93
  def g; end
107
94
 
108
- # Returns the value of attribute r.
109
- #
110
- # source://rainbow//lib/rainbow/color.rb#101
95
+ # pkg:gem/rainbow#lib/rainbow/color.rb:101
111
96
  def r; end
112
97
 
113
98
  private
114
99
 
115
- # source://rainbow//lib/rainbow/color.rb#122
100
+ # pkg:gem/rainbow#lib/rainbow/color.rb:122
116
101
  def code_from_rgb; end
117
102
 
118
103
  class << self
119
- # source://rainbow//lib/rainbow/color.rb#103
104
+ # pkg:gem/rainbow#lib/rainbow/color.rb:103
120
105
  def to_ansi_domain(value); end
121
106
  end
122
107
  end
123
108
 
124
- # source://rainbow//lib/rainbow/color.rb#129
109
+ # pkg:gem/rainbow#lib/rainbow/color.rb:129
125
110
  class Rainbow::Color::X11Named < ::Rainbow::Color::RGB
126
111
  include ::Rainbow::X11ColorNames
127
112
 
128
- # @return [X11Named] a new instance of X11Named
129
- #
130
- # source://rainbow//lib/rainbow/color.rb#140
113
+ # pkg:gem/rainbow#lib/rainbow/color.rb:140
131
114
  def initialize(ground, name); end
132
115
 
133
116
  class << self
134
- # source://rainbow//lib/rainbow/color.rb#132
117
+ # pkg:gem/rainbow#lib/rainbow/color.rb:132
135
118
  def color_names; end
136
119
 
137
- # source://rainbow//lib/rainbow/color.rb#136
120
+ # pkg:gem/rainbow#lib/rainbow/color.rb:136
138
121
  def valid_names; end
139
122
  end
140
123
  end
141
124
 
142
- # source://rainbow//lib/rainbow/null_presenter.rb#4
125
+ # pkg:gem/rainbow#lib/rainbow/null_presenter.rb:4
143
126
  class Rainbow::NullPresenter < ::String
144
- # source://rainbow//lib/rainbow/null_presenter.rb#9
127
+ # pkg:gem/rainbow#lib/rainbow/null_presenter.rb:9
145
128
  def background(*_values); end
146
129
 
147
- # source://rainbow//lib/rainbow/null_presenter.rb#9
130
+ # pkg:gem/rainbow#lib/rainbow/null_presenter.rb:95
148
131
  def bg(*_values); end
149
132
 
150
- # source://rainbow//lib/rainbow/null_presenter.rb#49
133
+ # pkg:gem/rainbow#lib/rainbow/null_presenter.rb:49
151
134
  def black; end
152
135
 
153
- # source://rainbow//lib/rainbow/null_presenter.rb#33
136
+ # pkg:gem/rainbow#lib/rainbow/null_presenter.rb:33
154
137
  def blink; end
155
138
 
156
- # source://rainbow//lib/rainbow/null_presenter.rb#65
139
+ # pkg:gem/rainbow#lib/rainbow/null_presenter.rb:65
157
140
  def blue; end
158
141
 
159
- # source://rainbow//lib/rainbow/null_presenter.rb#17
142
+ # pkg:gem/rainbow#lib/rainbow/null_presenter.rb:96
160
143
  def bold; end
161
144
 
162
- # source://rainbow//lib/rainbow/null_presenter.rb#17
145
+ # pkg:gem/rainbow#lib/rainbow/null_presenter.rb:17
163
146
  def bright; end
164
147
 
165
- # source://rainbow//lib/rainbow/null_presenter.rb#5
148
+ # pkg:gem/rainbow#lib/rainbow/null_presenter.rb:5
166
149
  def color(*_values); end
167
150
 
168
- # source://rainbow//lib/rainbow/null_presenter.rb#45
151
+ # pkg:gem/rainbow#lib/rainbow/null_presenter.rb:45
169
152
  def cross_out; end
170
153
 
171
- # source://rainbow//lib/rainbow/null_presenter.rb#73
154
+ # pkg:gem/rainbow#lib/rainbow/null_presenter.rb:73
172
155
  def cyan; end
173
156
 
174
- # source://rainbow//lib/rainbow/null_presenter.rb#21
157
+ # pkg:gem/rainbow#lib/rainbow/null_presenter.rb:97
175
158
  def dark; end
176
159
 
177
- # source://rainbow//lib/rainbow/null_presenter.rb#21
160
+ # pkg:gem/rainbow#lib/rainbow/null_presenter.rb:21
178
161
  def faint; end
179
162
 
180
- # source://rainbow//lib/rainbow/null_presenter.rb#5
163
+ # pkg:gem/rainbow#lib/rainbow/null_presenter.rb:94
181
164
  def fg(*_values); end
182
165
 
183
- # source://rainbow//lib/rainbow/null_presenter.rb#5
166
+ # pkg:gem/rainbow#lib/rainbow/null_presenter.rb:93
184
167
  def foreground(*_values); end
185
168
 
186
- # source://rainbow//lib/rainbow/null_presenter.rb#57
169
+ # pkg:gem/rainbow#lib/rainbow/null_presenter.rb:57
187
170
  def green; end
188
171
 
189
- # source://rainbow//lib/rainbow/null_presenter.rb#41
172
+ # pkg:gem/rainbow#lib/rainbow/null_presenter.rb:41
190
173
  def hide; end
191
174
 
192
- # source://rainbow//lib/rainbow/null_presenter.rb#37
175
+ # pkg:gem/rainbow#lib/rainbow/null_presenter.rb:37
193
176
  def inverse; end
194
177
 
195
- # source://rainbow//lib/rainbow/null_presenter.rb#25
178
+ # pkg:gem/rainbow#lib/rainbow/null_presenter.rb:25
196
179
  def italic; end
197
180
 
198
- # source://rainbow//lib/rainbow/null_presenter.rb#69
181
+ # pkg:gem/rainbow#lib/rainbow/null_presenter.rb:69
199
182
  def magenta; end
200
183
 
201
- # source://rainbow//lib/rainbow/null_presenter.rb#81
184
+ # pkg:gem/rainbow#lib/rainbow/null_presenter.rb:81
202
185
  def method_missing(method_name, *args); end
203
186
 
204
- # source://rainbow//lib/rainbow/null_presenter.rb#53
187
+ # pkg:gem/rainbow#lib/rainbow/null_presenter.rb:53
205
188
  def red; end
206
189
 
207
- # source://rainbow//lib/rainbow/null_presenter.rb#13
190
+ # pkg:gem/rainbow#lib/rainbow/null_presenter.rb:13
208
191
  def reset; end
209
192
 
210
- # source://rainbow//lib/rainbow/null_presenter.rb#45
193
+ # pkg:gem/rainbow#lib/rainbow/null_presenter.rb:98
211
194
  def strike; end
212
195
 
213
- # source://rainbow//lib/rainbow/null_presenter.rb#29
196
+ # pkg:gem/rainbow#lib/rainbow/null_presenter.rb:29
214
197
  def underline; end
215
198
 
216
- # source://rainbow//lib/rainbow/null_presenter.rb#77
199
+ # pkg:gem/rainbow#lib/rainbow/null_presenter.rb:77
217
200
  def white; end
218
201
 
219
- # source://rainbow//lib/rainbow/null_presenter.rb#61
202
+ # pkg:gem/rainbow#lib/rainbow/null_presenter.rb:61
220
203
  def yellow; end
221
204
 
222
205
  private
223
206
 
224
- # @return [Boolean]
225
- #
226
- # source://rainbow//lib/rainbow/null_presenter.rb#89
207
+ # pkg:gem/rainbow#lib/rainbow/null_presenter.rb:89
227
208
  def respond_to_missing?(method_name, *args); end
228
209
  end
229
210
 
230
- # source://rainbow//lib/rainbow/presenter.rb#8
211
+ # pkg:gem/rainbow#lib/rainbow/presenter.rb:8
231
212
  class Rainbow::Presenter < ::String
232
213
  # Sets background color of this text.
233
214
  #
234
- # source://rainbow//lib/rainbow/presenter.rb#30
215
+ # pkg:gem/rainbow#lib/rainbow/presenter.rb:30
235
216
  def background(*values); end
236
217
 
237
- # Sets background color of this text.
238
- #
239
- # source://rainbow//lib/rainbow/presenter.rb#30
218
+ # pkg:gem/rainbow#lib/rainbow/presenter.rb:34
240
219
  def bg(*values); end
241
220
 
242
- # source://rainbow//lib/rainbow/presenter.rb#92
221
+ # pkg:gem/rainbow#lib/rainbow/presenter.rb:92
243
222
  def black; end
244
223
 
245
224
  # Turns on blinking attribute for this text (not well supported by terminal
246
225
  # emulators).
247
226
  #
248
- # source://rainbow//lib/rainbow/presenter.rb#72
227
+ # pkg:gem/rainbow#lib/rainbow/presenter.rb:72
249
228
  def blink; end
250
229
 
251
- # source://rainbow//lib/rainbow/presenter.rb#108
230
+ # pkg:gem/rainbow#lib/rainbow/presenter.rb:108
252
231
  def blue; end
253
232
 
254
- # Turns on bright/bold for this text.
255
- #
256
- # source://rainbow//lib/rainbow/presenter.rb#45
233
+ # pkg:gem/rainbow#lib/rainbow/presenter.rb:49
257
234
  def bold; end
258
235
 
259
236
  # Turns on bright/bold for this text.
260
237
  #
261
- # source://rainbow//lib/rainbow/presenter.rb#45
238
+ # pkg:gem/rainbow#lib/rainbow/presenter.rb:45
262
239
  def bright; end
263
240
 
264
241
  # Sets color of this text.
265
242
  #
266
- # source://rainbow//lib/rainbow/presenter.rb#22
243
+ # pkg:gem/rainbow#lib/rainbow/presenter.rb:22
267
244
  def color(*values); end
268
245
 
269
- # source://rainbow//lib/rainbow/presenter.rb#86
246
+ # pkg:gem/rainbow#lib/rainbow/presenter.rb:86
270
247
  def cross_out; end
271
248
 
272
- # source://rainbow//lib/rainbow/presenter.rb#116
249
+ # pkg:gem/rainbow#lib/rainbow/presenter.rb:116
273
250
  def cyan; end
274
251
 
275
- # Turns on faint/dark for this text (not well supported by terminal
276
- # emulators).
277
- #
278
- # source://rainbow//lib/rainbow/presenter.rb#53
252
+ # pkg:gem/rainbow#lib/rainbow/presenter.rb:57
279
253
  def dark; end
280
254
 
281
255
  # Turns on faint/dark for this text (not well supported by terminal
282
256
  # emulators).
283
257
  #
284
- # source://rainbow//lib/rainbow/presenter.rb#53
258
+ # pkg:gem/rainbow#lib/rainbow/presenter.rb:53
285
259
  def faint; end
286
260
 
287
- # Sets color of this text.
288
- #
289
- # source://rainbow//lib/rainbow/presenter.rb#22
261
+ # pkg:gem/rainbow#lib/rainbow/presenter.rb:27
290
262
  def fg(*values); end
291
263
 
292
- # Sets color of this text.
293
- #
294
- # source://rainbow//lib/rainbow/presenter.rb#22
264
+ # pkg:gem/rainbow#lib/rainbow/presenter.rb:26
295
265
  def foreground(*values); end
296
266
 
297
- # source://rainbow//lib/rainbow/presenter.rb#100
267
+ # pkg:gem/rainbow#lib/rainbow/presenter.rb:100
298
268
  def green; end
299
269
 
300
270
  # Hides this text (set its color to the same as background).
301
271
  #
302
- # source://rainbow//lib/rainbow/presenter.rb#82
272
+ # pkg:gem/rainbow#lib/rainbow/presenter.rb:82
303
273
  def hide; end
304
274
 
305
275
  # Inverses current foreground/background colors.
306
276
  #
307
- # source://rainbow//lib/rainbow/presenter.rb#77
277
+ # pkg:gem/rainbow#lib/rainbow/presenter.rb:77
308
278
  def inverse; end
309
279
 
310
280
  # Turns on italic style for this text (not well supported by terminal
311
281
  # emulators).
312
282
  #
313
- # source://rainbow//lib/rainbow/presenter.rb#61
283
+ # pkg:gem/rainbow#lib/rainbow/presenter.rb:61
314
284
  def italic; end
315
285
 
316
- # source://rainbow//lib/rainbow/presenter.rb#112
286
+ # pkg:gem/rainbow#lib/rainbow/presenter.rb:112
317
287
  def magenta; end
318
288
 
319
289
  # We take care of X11 color method call here.
320
290
  # Such as #aqua, #ghostwhite.
321
291
  #
322
- # source://rainbow//lib/rainbow/presenter.rb#126
292
+ # pkg:gem/rainbow#lib/rainbow/presenter.rb:126
323
293
  def method_missing(method_name, *args); end
324
294
 
325
- # source://rainbow//lib/rainbow/presenter.rb#96
295
+ # pkg:gem/rainbow#lib/rainbow/presenter.rb:96
326
296
  def red; end
327
297
 
328
298
  # Resets terminal to default colors/backgrounds.
@@ -330,73 +300,63 @@ class Rainbow::Presenter < ::String
330
300
  # It shouldn't be needed to use this method because all methods
331
301
  # append terminal reset code to end of string.
332
302
  #
333
- # source://rainbow//lib/rainbow/presenter.rb#40
303
+ # pkg:gem/rainbow#lib/rainbow/presenter.rb:40
334
304
  def reset; end
335
305
 
336
- # source://rainbow//lib/rainbow/presenter.rb#86
306
+ # pkg:gem/rainbow#lib/rainbow/presenter.rb:90
337
307
  def strike; end
338
308
 
339
309
  # Turns on underline decoration for this text.
340
310
  #
341
- # source://rainbow//lib/rainbow/presenter.rb#66
311
+ # pkg:gem/rainbow#lib/rainbow/presenter.rb:66
342
312
  def underline; end
343
313
 
344
- # source://rainbow//lib/rainbow/presenter.rb#120
314
+ # pkg:gem/rainbow#lib/rainbow/presenter.rb:120
345
315
  def white; end
346
316
 
347
- # source://rainbow//lib/rainbow/presenter.rb#104
317
+ # pkg:gem/rainbow#lib/rainbow/presenter.rb:104
348
318
  def yellow; end
349
319
 
350
320
  private
351
321
 
352
- # @return [Boolean]
353
- #
354
- # source://rainbow//lib/rainbow/presenter.rb#134
322
+ # pkg:gem/rainbow#lib/rainbow/presenter.rb:134
355
323
  def respond_to_missing?(method_name, *args); end
356
324
 
357
- # source://rainbow//lib/rainbow/presenter.rb#140
325
+ # pkg:gem/rainbow#lib/rainbow/presenter.rb:140
358
326
  def wrap_with_sgr(codes); end
359
327
  end
360
328
 
361
- # source://rainbow//lib/rainbow/presenter.rb#9
329
+ # pkg:gem/rainbow#lib/rainbow/presenter.rb:9
362
330
  Rainbow::Presenter::TERM_EFFECTS = T.let(T.unsafe(nil), Hash)
363
331
 
364
- # source://rainbow//lib/rainbow/string_utils.rb#4
332
+ # pkg:gem/rainbow#lib/rainbow/string_utils.rb:4
365
333
  class Rainbow::StringUtils
366
334
  class << self
367
- # source://rainbow//lib/rainbow/string_utils.rb#17
335
+ # pkg:gem/rainbow#lib/rainbow/string_utils.rb:17
368
336
  def uncolor(string); end
369
337
 
370
- # source://rainbow//lib/rainbow/string_utils.rb#5
338
+ # pkg:gem/rainbow#lib/rainbow/string_utils.rb:5
371
339
  def wrap_with_sgr(string, codes); end
372
340
  end
373
341
  end
374
342
 
375
- # source://rainbow//lib/rainbow/wrapper.rb#7
343
+ # pkg:gem/rainbow#lib/rainbow/wrapper.rb:7
376
344
  class Rainbow::Wrapper
377
- # @return [Wrapper] a new instance of Wrapper
378
- #
379
- # source://rainbow//lib/rainbow/wrapper.rb#10
345
+ # pkg:gem/rainbow#lib/rainbow/wrapper.rb:10
380
346
  def initialize(enabled = T.unsafe(nil)); end
381
347
 
382
- # Returns the value of attribute enabled.
383
- #
384
- # source://rainbow//lib/rainbow/wrapper.rb#8
348
+ # pkg:gem/rainbow#lib/rainbow/wrapper.rb:8
385
349
  def enabled; end
386
350
 
387
- # Sets the attribute enabled
388
- #
389
- # @param value the value to set the attribute enabled to.
390
- #
391
- # source://rainbow//lib/rainbow/wrapper.rb#8
351
+ # pkg:gem/rainbow#lib/rainbow/wrapper.rb:8
392
352
  def enabled=(_arg0); end
393
353
 
394
- # source://rainbow//lib/rainbow/wrapper.rb#14
354
+ # pkg:gem/rainbow#lib/rainbow/wrapper.rb:14
395
355
  def wrap(string); end
396
356
  end
397
357
 
398
- # source://rainbow//lib/rainbow/x11_color_names.rb#4
358
+ # pkg:gem/rainbow#lib/rainbow/x11_color_names.rb:4
399
359
  module Rainbow::X11ColorNames; end
400
360
 
401
- # source://rainbow//lib/rainbow/x11_color_names.rb#5
361
+ # pkg:gem/rainbow#lib/rainbow/x11_color_names.rb:5
402
362
  Rainbow::X11ColorNames::NAMES = T.let(T.unsafe(nil), Hash)