capistrano-data_plane_api 0.1.4 → 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.
Files changed (90) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +5 -2
  3. data/.ruby-version +1 -1
  4. data/CHANGELOG.md +6 -0
  5. data/Gemfile +7 -4
  6. data/Gemfile.lock +108 -69
  7. data/README.md +5 -0
  8. data/capistrano-data_plane_api.gemspec +5 -2
  9. data/exe/cap_data_plane_api +3 -2
  10. data/lib/capistrano/data_plane_api/configuration/backend.rb +2 -0
  11. data/lib/capistrano/data_plane_api/configuration/server.rb +4 -2
  12. data/lib/capistrano/data_plane_api/configuration/symbol.rb +2 -0
  13. data/lib/capistrano/data_plane_api/configuration.rb +3 -3
  14. data/lib/capistrano/data_plane_api/deploy/args.rb +71 -40
  15. data/lib/capistrano/data_plane_api/deploy/deployment_stats.rb +29 -25
  16. data/lib/capistrano/data_plane_api/deploy/group.rb +33 -24
  17. data/lib/capistrano/data_plane_api/deploy/helper.rb +3 -5
  18. data/lib/capistrano/data_plane_api/deploy/server_stats.rb +60 -43
  19. data/lib/capistrano/data_plane_api/deploy.rb +3 -2
  20. data/lib/capistrano/data_plane_api/diggable.rb +5 -2
  21. data/lib/capistrano/data_plane_api/equatable.rb +4 -2
  22. data/lib/capistrano/data_plane_api/helper.rb +31 -27
  23. data/lib/capistrano/data_plane_api/hooks.rb +1 -0
  24. data/lib/capistrano/data_plane_api/show_state.rb +15 -12
  25. data/lib/capistrano/data_plane_api/tasks.rb +26 -2
  26. data/lib/capistrano/data_plane_api/terminal_print_loop.rb +7 -4
  27. data/lib/capistrano/data_plane_api/type.rb +9 -5
  28. data/lib/capistrano/data_plane_api/version.rb +2 -2
  29. data/lib/capistrano/data_plane_api.rb +96 -74
  30. data/lib/capistrano-data_plane_api.rb +4 -0
  31. data/rbi/capistrano-data_plane_api.rbi +283 -0
  32. data/sorbet/config +6 -0
  33. data/sorbet/rbi/annotations/.gitattributes +1 -0
  34. data/sorbet/rbi/annotations/faraday.rbi +17 -0
  35. data/sorbet/rbi/annotations/minitest.rbi +119 -0
  36. data/sorbet/rbi/annotations/rainbow.rbi +269 -0
  37. data/sorbet/rbi/annotations/webmock.rbi +9 -0
  38. data/sorbet/rbi/dsl/.gitattributes +1 -0
  39. data/sorbet/rbi/dsl/capistrano/data_plane_api/configuration/backend.rbi +50 -0
  40. data/sorbet/rbi/dsl/capistrano/data_plane_api/configuration/server.rbi +24 -0
  41. data/sorbet/rbi/dsl/capistrano/data_plane_api/configuration.rbi +52 -0
  42. data/sorbet/rbi/dsl/capistrano/data_plane_api/type.rbi +12 -0
  43. data/sorbet/rbi/gems/.gitattributes +1 -0
  44. data/sorbet/rbi/gems/addressable@2.8.7.rbi +1994 -0
  45. data/sorbet/rbi/gems/ast@2.4.3.rbi +585 -0
  46. data/sorbet/rbi/gems/base64@0.2.0.rbi +509 -0
  47. data/sorbet/rbi/gems/bigdecimal@3.1.9.rbi +8 -0
  48. data/sorbet/rbi/gems/booleans@0.1.3.rbi +28 -0
  49. data/sorbet/rbi/gems/byebug@12.0.0.rbi +37 -0
  50. data/sorbet/rbi/gems/crack@1.0.0.rbi +145 -0
  51. data/sorbet/rbi/gems/data_plane_api@0.2.0.rbi +238 -0
  52. data/sorbet/rbi/gems/faraday-net_http@3.4.0.rbi +147 -0
  53. data/sorbet/rbi/gems/faraday@2.13.0.rbi +2974 -0
  54. data/sorbet/rbi/gems/hashdiff@1.1.2.rbi +353 -0
  55. data/sorbet/rbi/gems/json@2.10.2.rbi +2113 -0
  56. data/sorbet/rbi/gems/lint_roller@1.1.0.rbi +240 -0
  57. data/sorbet/rbi/gems/logger@1.7.0.rbi +963 -0
  58. data/sorbet/rbi/gems/minitest@5.25.5.rbi +1547 -0
  59. data/sorbet/rbi/gems/net-http@0.6.0.rbi +4247 -0
  60. data/sorbet/rbi/gems/parallel@1.26.3.rbi +291 -0
  61. data/sorbet/rbi/gems/pastel@0.8.0.rbi +733 -0
  62. data/sorbet/rbi/gems/public_suffix@6.0.1.rbi +936 -0
  63. data/sorbet/rbi/gems/racc@1.8.1.rbi +160 -0
  64. data/sorbet/rbi/gems/rainbow@3.1.1.rbi +404 -0
  65. data/sorbet/rbi/gems/rake@13.0.6.rbi +3030 -0
  66. data/sorbet/rbi/gems/rexml@3.4.1.rbi +5346 -0
  67. data/sorbet/rbi/gems/rubocop-espago@1.1.8.rbi +9 -0
  68. data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +1318 -0
  69. data/sorbet/rbi/gems/shale-builder@0.2.4.rbi +9 -0
  70. data/sorbet/rbi/gems/shale@1.2.2.rbi +2323 -0
  71. data/sorbet/rbi/gems/shoulda-context@2.0.0.rbi +563 -0
  72. data/sorbet/rbi/gems/strings-ansi@0.2.0.rbi +178 -0
  73. data/sorbet/rbi/gems/strings@0.2.1.rbi +830 -0
  74. data/sorbet/rbi/gems/thor@1.2.1.rbi +3957 -0
  75. data/sorbet/rbi/gems/tty-box@0.7.0.rbi +593 -0
  76. data/sorbet/rbi/gems/tty-color@0.6.0.rbi +241 -0
  77. data/sorbet/rbi/gems/tty-cursor@0.7.1.rbi +443 -0
  78. data/sorbet/rbi/gems/unicode-display_width@2.6.0.rbi +66 -0
  79. data/sorbet/rbi/gems/unicode_utils@1.4.0.rbi +184 -0
  80. data/sorbet/rbi/gems/uri@1.0.3.rbi +2349 -0
  81. data/sorbet/rbi/gems/vcr@6.3.1.rbi +3040 -0
  82. data/sorbet/rbi/gems/webmock@3.25.1.rbi +1792 -0
  83. data/sorbet/rbi/shims/gems/faraday.rbi +21 -0
  84. data/sorbet/rbi/shims/gems/shoulda-context@2.0.0.rbi +15 -0
  85. data/sorbet/rbi/todo.rbi +7 -0
  86. data/sorbet/tapioca/config.yml +28 -0
  87. data/sorbet/tapioca/extensions/load_gem.rb +1 -0
  88. data/sorbet/tapioca/require.rb +4 -0
  89. data/templates/bin/deploy.rb +1 -0
  90. metadata +106 -8
@@ -0,0 +1,160 @@
1
+ # typed: true
2
+
3
+ # DO NOT EDIT MANUALLY
4
+ # This is an autogenerated file for types exported from the `racc` gem.
5
+ # Please instead update this file by running `bin/tapioca gem racc`.
6
+
7
+
8
+ # source://racc//lib/racc/parser.rb#19
9
+ ParseError = Racc::ParseError
10
+
11
+ # source://racc//lib/racc/info.rb#17
12
+ Racc::Copyright = T.let(T.unsafe(nil), String)
13
+
14
+ class Racc::CparseParams; end
15
+
16
+ # source://racc//lib/racc/parser.rb#184
17
+ class Racc::Parser
18
+ # source://racc//lib/racc/parser.rb#279
19
+ def _racc_do_parse_rb(arg, in_debug); end
20
+
21
+ # source://racc//lib/racc/parser.rb#479
22
+ def _racc_do_reduce(arg, act); end
23
+
24
+ # common
25
+ #
26
+ # source://racc//lib/racc/parser.rb#382
27
+ def _racc_evalact(act, arg); end
28
+
29
+ # source://racc//lib/racc/parser.rb#232
30
+ def _racc_init_sysvars; end
31
+
32
+ # source://racc//lib/racc/parser.rb#220
33
+ def _racc_setup; end
34
+
35
+ # source://racc//lib/racc/parser.rb#329
36
+ def _racc_yyparse_rb(recv, mid, arg, c_debug); end
37
+
38
+ # source://racc//lib/racc/parser.rb#262
39
+ def do_parse; end
40
+
41
+ # The method to fetch next token.
42
+ # If you use #do_parse method, you must implement #next_token.
43
+ #
44
+ # The format of return value is [TOKEN_SYMBOL, VALUE].
45
+ # +token-symbol+ is represented by Ruby's symbol by default, e.g. :IDENT
46
+ # for 'IDENT'. ";" (String) for ';'.
47
+ #
48
+ # The final symbol (End of file) must be false.
49
+ #
50
+ # @raise [NotImplementedError]
51
+ #
52
+ # source://racc//lib/racc/parser.rb#275
53
+ def next_token; end
54
+
55
+ # This method is called when a parse error is found.
56
+ #
57
+ # ERROR_TOKEN_ID is an internal ID of token which caused error.
58
+ # You can get string representation of this ID by calling
59
+ # #token_to_str.
60
+ #
61
+ # ERROR_VALUE is a value of error token.
62
+ #
63
+ # value_stack is a stack of symbol values.
64
+ # DO NOT MODIFY this object.
65
+ #
66
+ # This method raises ParseError by default.
67
+ #
68
+ # If this method returns, parsers enter "error recovering mode".
69
+ #
70
+ # @raise [ParseError]
71
+ #
72
+ # source://racc//lib/racc/parser.rb#535
73
+ def on_error(t, val, vstack); end
74
+
75
+ # source://racc//lib/racc/parser.rb#584
76
+ def racc_accept; end
77
+
78
+ # source://racc//lib/racc/parser.rb#589
79
+ def racc_e_pop(state, tstack, vstack); end
80
+
81
+ # source://racc//lib/racc/parser.rb#596
82
+ def racc_next_state(curstate, state); end
83
+
84
+ # source://racc//lib/racc/parser.rb#602
85
+ def racc_print_stacks(t, v); end
86
+
87
+ # source://racc//lib/racc/parser.rb#611
88
+ def racc_print_states(s); end
89
+
90
+ # For debugging output
91
+ #
92
+ # source://racc//lib/racc/parser.rb#558
93
+ def racc_read_token(t, tok, val); end
94
+
95
+ # source://racc//lib/racc/parser.rb#571
96
+ def racc_reduce(toks, sim, tstack, vstack); end
97
+
98
+ # source://racc//lib/racc/parser.rb#565
99
+ def racc_shift(tok, tstack, vstack); end
100
+
101
+ # source://racc//lib/racc/parser.rb#618
102
+ def racc_token2str(tok); end
103
+
104
+ # Convert internal ID of token symbol to the string.
105
+ #
106
+ # source://racc//lib/racc/parser.rb#624
107
+ def token_to_str(t); end
108
+
109
+ # Exit parser.
110
+ # Return value is +Symbol_Value_Stack[0]+.
111
+ #
112
+ # source://racc//lib/racc/parser.rb#548
113
+ def yyaccept; end
114
+
115
+ # Leave error recovering mode.
116
+ #
117
+ # source://racc//lib/racc/parser.rb#553
118
+ def yyerrok; end
119
+
120
+ # Enter error recovering mode.
121
+ # This method does not call #on_error.
122
+ #
123
+ # source://racc//lib/racc/parser.rb#542
124
+ def yyerror; end
125
+
126
+ # source://racc//lib/racc/parser.rb#324
127
+ def yyparse(recv, mid); end
128
+
129
+ class << self
130
+ # source://racc//lib/racc/parser.rb#216
131
+ def racc_runtime_type; end
132
+ end
133
+ end
134
+
135
+ # source://racc//lib/racc/parser.rb#205
136
+ Racc::Parser::Racc_Main_Parsing_Routine = T.let(T.unsafe(nil), Symbol)
137
+
138
+ # source://racc//lib/racc/parser.rb#207
139
+ Racc::Parser::Racc_Runtime_Core_Version = T.let(T.unsafe(nil), String)
140
+
141
+ # source://racc//lib/racc/parser.rb#187
142
+ Racc::Parser::Racc_Runtime_Core_Version_R = T.let(T.unsafe(nil), String)
143
+
144
+ # source://racc//lib/racc/parser.rb#208
145
+ Racc::Parser::Racc_Runtime_Type = T.let(T.unsafe(nil), String)
146
+
147
+ # source://racc//lib/racc/parser.rb#186
148
+ Racc::Parser::Racc_Runtime_Version = T.let(T.unsafe(nil), String)
149
+
150
+ # source://racc//lib/racc/parser.rb#206
151
+ Racc::Parser::Racc_YY_Parse_Method = T.let(T.unsafe(nil), Symbol)
152
+
153
+ # source://racc//lib/racc/parser.rb#181
154
+ Racc::Racc_No_Extensions = T.let(T.unsafe(nil), FalseClass)
155
+
156
+ # source://racc//lib/racc/info.rb#15
157
+ Racc::VERSION = T.let(T.unsafe(nil), String)
158
+
159
+ # source://racc//lib/racc/info.rb#16
160
+ Racc::Version = T.let(T.unsafe(nil), String)
@@ -0,0 +1,404 @@
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
+
8
+ class Object < ::BasicObject
9
+ include ::Booleans::KernelExtension
10
+ include ::Kernel
11
+ include ::PP::ObjectMixin
12
+
13
+ private
14
+
15
+ # source://rainbow//lib/rainbow/global.rb#23
16
+ def Rainbow(string); end
17
+ end
18
+
19
+ # source://rainbow//lib/rainbow/string_utils.rb#3
20
+ module Rainbow
21
+ class << self
22
+ # source://rainbow//lib/rainbow/global.rb#10
23
+ def enabled; end
24
+
25
+ # source://rainbow//lib/rainbow/global.rb#14
26
+ def enabled=(value); end
27
+
28
+ # source://rainbow//lib/rainbow/global.rb#6
29
+ def global; end
30
+
31
+ # source://rainbow//lib/rainbow.rb#6
32
+ def new; end
33
+
34
+ # source://rainbow//lib/rainbow/global.rb#18
35
+ def uncolor(string); end
36
+ end
37
+ end
38
+
39
+ # source://rainbow//lib/rainbow/color.rb#4
40
+ class Rainbow::Color
41
+ # Returns the value of attribute ground.
42
+ #
43
+ # source://rainbow//lib/rainbow/color.rb#5
44
+ def ground; end
45
+
46
+ class << self
47
+ # source://rainbow//lib/rainbow/color.rb#7
48
+ def build(ground, values); end
49
+
50
+ # source://rainbow//lib/rainbow/color.rb#40
51
+ def parse_hex_color(hex); end
52
+ end
53
+ end
54
+
55
+ # source://rainbow//lib/rainbow/color.rb#54
56
+ class Rainbow::Color::Indexed < ::Rainbow::Color
57
+ # @return [Indexed] a new instance of Indexed
58
+ #
59
+ # source://rainbow//lib/rainbow/color.rb#57
60
+ def initialize(ground, num); end
61
+
62
+ # source://rainbow//lib/rainbow/color.rb#62
63
+ def codes; end
64
+
65
+ # Returns the value of attribute num.
66
+ #
67
+ # source://rainbow//lib/rainbow/color.rb#55
68
+ def num; end
69
+ end
70
+
71
+ # source://rainbow//lib/rainbow/color.rb#69
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
+ # source://rainbow//lib/rainbow/color.rb#100
91
+ class Rainbow::Color::RGB < ::Rainbow::Color::Indexed
92
+ # @return [RGB] a new instance of RGB
93
+ #
94
+ # source://rainbow//lib/rainbow/color.rb#107
95
+ def initialize(ground, *values); end
96
+
97
+ # Returns the value of attribute b.
98
+ #
99
+ # source://rainbow//lib/rainbow/color.rb#101
100
+ def b; end
101
+
102
+ # source://rainbow//lib/rainbow/color.rb#116
103
+ def codes; end
104
+
105
+ # Returns the value of attribute g.
106
+ #
107
+ # source://rainbow//lib/rainbow/color.rb#101
108
+ def g; end
109
+
110
+ # Returns the value of attribute r.
111
+ #
112
+ # source://rainbow//lib/rainbow/color.rb#101
113
+ def r; end
114
+
115
+ private
116
+
117
+ # source://rainbow//lib/rainbow/color.rb#122
118
+ def code_from_rgb; end
119
+
120
+ class << self
121
+ # source://rainbow//lib/rainbow/color.rb#103
122
+ def to_ansi_domain(value); end
123
+ end
124
+ end
125
+
126
+ # source://rainbow//lib/rainbow/color.rb#129
127
+ class Rainbow::Color::X11Named < ::Rainbow::Color::RGB
128
+ include ::Rainbow::X11ColorNames
129
+
130
+ # @return [X11Named] a new instance of X11Named
131
+ #
132
+ # source://rainbow//lib/rainbow/color.rb#140
133
+ def initialize(ground, name); end
134
+
135
+ class << self
136
+ # source://rainbow//lib/rainbow/color.rb#132
137
+ def color_names; end
138
+
139
+ # source://rainbow//lib/rainbow/color.rb#136
140
+ def valid_names; end
141
+ end
142
+ end
143
+
144
+ # source://rainbow//lib/rainbow/null_presenter.rb#4
145
+ class Rainbow::NullPresenter < ::String
146
+ # source://rainbow//lib/rainbow/null_presenter.rb#9
147
+ def background(*_values); end
148
+
149
+ # source://rainbow//lib/rainbow/null_presenter.rb#9
150
+ def bg(*_values); end
151
+
152
+ # source://rainbow//lib/rainbow/null_presenter.rb#49
153
+ def black; end
154
+
155
+ # source://rainbow//lib/rainbow/null_presenter.rb#33
156
+ def blink; end
157
+
158
+ # source://rainbow//lib/rainbow/null_presenter.rb#65
159
+ def blue; end
160
+
161
+ # source://rainbow//lib/rainbow/null_presenter.rb#17
162
+ def bold; end
163
+
164
+ # source://rainbow//lib/rainbow/null_presenter.rb#17
165
+ def bright; end
166
+
167
+ # source://rainbow//lib/rainbow/null_presenter.rb#5
168
+ def color(*_values); end
169
+
170
+ # source://rainbow//lib/rainbow/null_presenter.rb#45
171
+ def cross_out; end
172
+
173
+ # source://rainbow//lib/rainbow/null_presenter.rb#73
174
+ def cyan; end
175
+
176
+ # source://rainbow//lib/rainbow/null_presenter.rb#21
177
+ def dark; end
178
+
179
+ # source://rainbow//lib/rainbow/null_presenter.rb#21
180
+ def faint; end
181
+
182
+ # source://rainbow//lib/rainbow/null_presenter.rb#5
183
+ def fg(*_values); end
184
+
185
+ # source://rainbow//lib/rainbow/null_presenter.rb#5
186
+ def foreground(*_values); end
187
+
188
+ # source://rainbow//lib/rainbow/null_presenter.rb#57
189
+ def green; end
190
+
191
+ # source://rainbow//lib/rainbow/null_presenter.rb#41
192
+ def hide; end
193
+
194
+ # source://rainbow//lib/rainbow/null_presenter.rb#37
195
+ def inverse; end
196
+
197
+ # source://rainbow//lib/rainbow/null_presenter.rb#25
198
+ def italic; end
199
+
200
+ # source://rainbow//lib/rainbow/null_presenter.rb#69
201
+ def magenta; end
202
+
203
+ # source://rainbow//lib/rainbow/null_presenter.rb#81
204
+ def method_missing(method_name, *args); end
205
+
206
+ # source://rainbow//lib/rainbow/null_presenter.rb#53
207
+ def red; end
208
+
209
+ # source://rainbow//lib/rainbow/null_presenter.rb#13
210
+ def reset; end
211
+
212
+ # source://rainbow//lib/rainbow/null_presenter.rb#45
213
+ def strike; end
214
+
215
+ # source://rainbow//lib/rainbow/null_presenter.rb#29
216
+ def underline; end
217
+
218
+ # source://rainbow//lib/rainbow/null_presenter.rb#77
219
+ def white; end
220
+
221
+ # source://rainbow//lib/rainbow/null_presenter.rb#61
222
+ def yellow; end
223
+
224
+ private
225
+
226
+ # @return [Boolean]
227
+ #
228
+ # source://rainbow//lib/rainbow/null_presenter.rb#89
229
+ def respond_to_missing?(method_name, *args); end
230
+ end
231
+
232
+ # source://rainbow//lib/rainbow/presenter.rb#8
233
+ class Rainbow::Presenter < ::String
234
+ # Sets background color of this text.
235
+ #
236
+ # source://rainbow//lib/rainbow/presenter.rb#30
237
+ def background(*values); end
238
+
239
+ # Sets background color of this text.
240
+ #
241
+ # source://rainbow//lib/rainbow/presenter.rb#30
242
+ def bg(*values); end
243
+
244
+ # source://rainbow//lib/rainbow/presenter.rb#92
245
+ def black; end
246
+
247
+ # Turns on blinking attribute for this text (not well supported by terminal
248
+ # emulators).
249
+ #
250
+ # source://rainbow//lib/rainbow/presenter.rb#72
251
+ def blink; end
252
+
253
+ # source://rainbow//lib/rainbow/presenter.rb#108
254
+ def blue; end
255
+
256
+ # Turns on bright/bold for this text.
257
+ #
258
+ # source://rainbow//lib/rainbow/presenter.rb#45
259
+ def bold; end
260
+
261
+ # Turns on bright/bold for this text.
262
+ #
263
+ # source://rainbow//lib/rainbow/presenter.rb#45
264
+ def bright; end
265
+
266
+ # Sets color of this text.
267
+ #
268
+ # source://rainbow//lib/rainbow/presenter.rb#22
269
+ def color(*values); end
270
+
271
+ # source://rainbow//lib/rainbow/presenter.rb#86
272
+ def cross_out; end
273
+
274
+ # source://rainbow//lib/rainbow/presenter.rb#116
275
+ def cyan; end
276
+
277
+ # Turns on faint/dark for this text (not well supported by terminal
278
+ # emulators).
279
+ #
280
+ # source://rainbow//lib/rainbow/presenter.rb#53
281
+ def dark; end
282
+
283
+ # Turns on faint/dark for this text (not well supported by terminal
284
+ # emulators).
285
+ #
286
+ # source://rainbow//lib/rainbow/presenter.rb#53
287
+ def faint; end
288
+
289
+ # Sets color of this text.
290
+ #
291
+ # source://rainbow//lib/rainbow/presenter.rb#22
292
+ def fg(*values); end
293
+
294
+ # Sets color of this text.
295
+ #
296
+ # source://rainbow//lib/rainbow/presenter.rb#22
297
+ def foreground(*values); end
298
+
299
+ # source://rainbow//lib/rainbow/presenter.rb#100
300
+ def green; end
301
+
302
+ # Hides this text (set its color to the same as background).
303
+ #
304
+ # source://rainbow//lib/rainbow/presenter.rb#82
305
+ def hide; end
306
+
307
+ # Inverses current foreground/background colors.
308
+ #
309
+ # source://rainbow//lib/rainbow/presenter.rb#77
310
+ def inverse; end
311
+
312
+ # Turns on italic style for this text (not well supported by terminal
313
+ # emulators).
314
+ #
315
+ # source://rainbow//lib/rainbow/presenter.rb#61
316
+ def italic; end
317
+
318
+ # source://rainbow//lib/rainbow/presenter.rb#112
319
+ def magenta; end
320
+
321
+ # We take care of X11 color method call here.
322
+ # Such as #aqua, #ghostwhite.
323
+ #
324
+ # source://rainbow//lib/rainbow/presenter.rb#126
325
+ def method_missing(method_name, *args); end
326
+
327
+ # source://rainbow//lib/rainbow/presenter.rb#96
328
+ def red; end
329
+
330
+ # Resets terminal to default colors/backgrounds.
331
+ #
332
+ # It shouldn't be needed to use this method because all methods
333
+ # append terminal reset code to end of string.
334
+ #
335
+ # source://rainbow//lib/rainbow/presenter.rb#40
336
+ def reset; end
337
+
338
+ # source://rainbow//lib/rainbow/presenter.rb#86
339
+ def strike; end
340
+
341
+ # Turns on underline decoration for this text.
342
+ #
343
+ # source://rainbow//lib/rainbow/presenter.rb#66
344
+ def underline; end
345
+
346
+ # source://rainbow//lib/rainbow/presenter.rb#120
347
+ def white; end
348
+
349
+ # source://rainbow//lib/rainbow/presenter.rb#104
350
+ def yellow; end
351
+
352
+ private
353
+
354
+ # @return [Boolean]
355
+ #
356
+ # source://rainbow//lib/rainbow/presenter.rb#134
357
+ def respond_to_missing?(method_name, *args); end
358
+
359
+ # source://rainbow//lib/rainbow/presenter.rb#140
360
+ def wrap_with_sgr(codes); end
361
+ end
362
+
363
+ # source://rainbow//lib/rainbow/presenter.rb#9
364
+ Rainbow::Presenter::TERM_EFFECTS = T.let(T.unsafe(nil), Hash)
365
+
366
+ # source://rainbow//lib/rainbow/string_utils.rb#4
367
+ class Rainbow::StringUtils
368
+ class << self
369
+ # source://rainbow//lib/rainbow/string_utils.rb#17
370
+ def uncolor(string); end
371
+
372
+ # source://rainbow//lib/rainbow/string_utils.rb#5
373
+ def wrap_with_sgr(string, codes); end
374
+ end
375
+ end
376
+
377
+ # source://rainbow//lib/rainbow/wrapper.rb#7
378
+ class Rainbow::Wrapper
379
+ # @return [Wrapper] a new instance of Wrapper
380
+ #
381
+ # source://rainbow//lib/rainbow/wrapper.rb#10
382
+ def initialize(enabled = T.unsafe(nil)); end
383
+
384
+ # Returns the value of attribute enabled.
385
+ #
386
+ # source://rainbow//lib/rainbow/wrapper.rb#8
387
+ def enabled; end
388
+
389
+ # Sets the attribute enabled
390
+ #
391
+ # @param value the value to set the attribute enabled to.
392
+ #
393
+ # source://rainbow//lib/rainbow/wrapper.rb#8
394
+ def enabled=(_arg0); end
395
+
396
+ # source://rainbow//lib/rainbow/wrapper.rb#14
397
+ def wrap(string); end
398
+ end
399
+
400
+ # source://rainbow//lib/rainbow/x11_color_names.rb#4
401
+ module Rainbow::X11ColorNames; end
402
+
403
+ # source://rainbow//lib/rainbow/x11_color_names.rb#5
404
+ Rainbow::X11ColorNames::NAMES = T.let(T.unsafe(nil), Hash)