muina 0.2.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (155) hide show
  1. checksums.yaml +7 -0
  2. data/.github/workflows/main.yml +16 -0
  3. data/.gitignore +5 -0
  4. data/.mutant.yml +38 -0
  5. data/.rspec +4 -0
  6. data/.rubocop.yml +172 -0
  7. data/.ruby-version +1 -0
  8. data/.simplecov +14 -0
  9. data/CHANGELOG.md +38 -0
  10. data/Gemfile +34 -0
  11. data/Gemfile.lock +265 -0
  12. data/Guardfile +24 -0
  13. data/README.md +36 -0
  14. data/Rakefile +13 -0
  15. data/SECURITY.md +14 -0
  16. data/bin/bundle +114 -0
  17. data/bin/console +15 -0
  18. data/bin/flay +29 -0
  19. data/bin/flog +29 -0
  20. data/bin/guard +29 -0
  21. data/bin/irb +29 -0
  22. data/bin/lefthook +29 -0
  23. data/bin/mutant +29 -0
  24. data/bin/parlour +29 -0
  25. data/bin/rake +29 -0
  26. data/bin/rspec +29 -0
  27. data/bin/rubocop +29 -0
  28. data/bin/setup +8 -0
  29. data/bin/srb +29 -0
  30. data/bin/srb-rbi +29 -0
  31. data/bin/tapioca +29 -0
  32. data/exe/muina +11 -0
  33. data/lefthook.yml +39 -0
  34. data/lib/muina/action/params_factory.rb +17 -0
  35. data/lib/muina/action/step/command.rb +31 -0
  36. data/lib/muina/action/step/failure.rb +18 -0
  37. data/lib/muina/action/step/query.rb +31 -0
  38. data/lib/muina/action/step/result.rb +51 -0
  39. data/lib/muina/action/step.rb +13 -0
  40. data/lib/muina/action.rb +73 -0
  41. data/lib/muina/any.rb +7 -0
  42. data/lib/muina/classes.rb +7 -0
  43. data/lib/muina/module.rb +6 -0
  44. data/lib/muina/parameters.rb +7 -0
  45. data/lib/muina/params.rb +19 -0
  46. data/lib/muina/private_creation.rb +12 -0
  47. data/lib/muina/result/factory.rb +37 -0
  48. data/lib/muina/result/failure.rb +31 -0
  49. data/lib/muina/result/null.rb +25 -0
  50. data/lib/muina/result/success.rb +31 -0
  51. data/lib/muina/result.rb +17 -0
  52. data/lib/muina/service.rb +37 -0
  53. data/lib/muina/symbol_hash.rb +7 -0
  54. data/lib/muina/unit.rb +10 -0
  55. data/lib/muina/untyped_array.rb +7 -0
  56. data/lib/muina/untyped_hash.rb +7 -0
  57. data/lib/muina/value.rb +16 -0
  58. data/lib/muina/version.rb +7 -0
  59. data/lib/muina.rb +42 -0
  60. data/muina.gemspec +35 -0
  61. data/rbi/muina.rbi +268 -0
  62. data/sorbet/config +2 -0
  63. data/sorbet/rbi/gems/actionpack@6.1.4.rbi +5045 -0
  64. data/sorbet/rbi/gems/actionview@6.1.4.rbi +2416 -0
  65. data/sorbet/rbi/gems/activesupport@6.1.4.rbi +3778 -0
  66. data/sorbet/rbi/gems/ast@2.4.2.rbi +54 -0
  67. data/sorbet/rbi/gems/awesome_print@1.9.2.rbi +322 -0
  68. data/sorbet/rbi/gems/builder@3.2.4.rbi +8 -0
  69. data/sorbet/rbi/gems/byebug@11.1.3.rbi +18 -0
  70. data/sorbet/rbi/gems/coderay@1.1.3.rbi +8 -0
  71. data/sorbet/rbi/gems/colorize@0.8.1.rbi +39 -0
  72. data/sorbet/rbi/gems/commander@4.6.0.rbi +8 -0
  73. data/sorbet/rbi/gems/concurrent-ruby@1.1.9.rbi +2403 -0
  74. data/sorbet/rbi/gems/crass@1.0.6.rbi +123 -0
  75. data/sorbet/rbi/gems/diff-lcs@1.4.4.rbi +185 -0
  76. data/sorbet/rbi/gems/docile@1.4.0.rbi +54 -0
  77. data/sorbet/rbi/gems/erubi@1.10.0.rbi +36 -0
  78. data/sorbet/rbi/gems/erubis@2.7.0.rbi +8 -0
  79. data/sorbet/rbi/gems/faker@2.18.0.rbi +2469 -0
  80. data/sorbet/rbi/gems/ffi@1.15.3.rbi +8 -0
  81. data/sorbet/rbi/gems/flay@2.12.1.rbi +178 -0
  82. data/sorbet/rbi/gems/flog@4.6.4.rbi +70 -0
  83. data/sorbet/rbi/gems/formatador@0.3.0.rbi +8 -0
  84. data/sorbet/rbi/gems/guard-compat@1.2.1.rbi +49 -0
  85. data/sorbet/rbi/gems/guard-rspec@4.7.3.rbi +233 -0
  86. data/sorbet/rbi/gems/guard-rubocop@1.4.0.rbi +66 -0
  87. data/sorbet/rbi/gems/guard-shell@0.7.2.rbi +69 -0
  88. data/sorbet/rbi/gems/guard@2.18.0.rbi +617 -0
  89. data/sorbet/rbi/gems/highline@2.0.3.rbi +8 -0
  90. data/sorbet/rbi/gems/i18n@1.8.10.rbi +616 -0
  91. data/sorbet/rbi/gems/io-console@0.5.9.rbi +8 -0
  92. data/sorbet/rbi/gems/irb@1.3.6.rbi +452 -0
  93. data/sorbet/rbi/gems/lefthook@0.7.6.rbi +8 -0
  94. data/sorbet/rbi/gems/listen@3.6.0.rbi +476 -0
  95. data/sorbet/rbi/gems/loofah@2.10.0.rbi +223 -0
  96. data/sorbet/rbi/gems/lumberjack@1.2.8.rbi +431 -0
  97. data/sorbet/rbi/gems/method_source@1.0.0.rbi +8 -0
  98. data/sorbet/rbi/gems/minitest@5.14.4.rbi +344 -0
  99. data/sorbet/rbi/gems/mutant-license@0.1.1.1.4043027289354708743625974235631451632228.0.rbi +8 -0
  100. data/sorbet/rbi/gems/mutant-rspec@0.10.32.rbi +8 -0
  101. data/sorbet/rbi/gems/mutant@0.10.32.rbi +4154 -0
  102. data/sorbet/rbi/gems/nenv@0.3.0.rbi +88 -0
  103. data/sorbet/rbi/gems/nokogiri@1.11.7.rbi +1422 -0
  104. data/sorbet/rbi/gems/notiffany@0.1.3.rbi +331 -0
  105. data/sorbet/rbi/gems/parallel@1.20.1.rbi +113 -0
  106. data/sorbet/rbi/gems/parlour@6.0.1.rbi +1726 -0
  107. data/sorbet/rbi/gems/parser@3.0.2.0.rbi +1683 -0
  108. data/sorbet/rbi/gems/path_expander@1.1.0.rbi +24 -0
  109. data/sorbet/rbi/gems/polyfill@1.9.0.rbi +393 -0
  110. data/sorbet/rbi/gems/pry@0.14.1.rbi +8 -0
  111. data/sorbet/rbi/gems/racc@1.5.2.rbi +47 -0
  112. data/sorbet/rbi/gems/rack-test@1.1.0.rbi +272 -0
  113. data/sorbet/rbi/gems/rack@2.2.3.rbi +1618 -0
  114. data/sorbet/rbi/gems/rails-dom-testing@2.0.3.rbi +92 -0
  115. data/sorbet/rbi/gems/rails-html-sanitizer@1.3.0.rbi +183 -0
  116. data/sorbet/rbi/gems/rainbow@3.0.0.rbi +153 -0
  117. data/sorbet/rbi/gems/rake@13.0.6.rbi +808 -0
  118. data/sorbet/rbi/gems/rb-fsevent@0.11.0.rbi +8 -0
  119. data/sorbet/rbi/gems/rb-inotify@0.10.1.rbi +8 -0
  120. data/sorbet/rbi/gems/regexp_parser@2.1.1.rbi +1120 -0
  121. data/sorbet/rbi/gems/reline@0.2.6.rbi +662 -0
  122. data/sorbet/rbi/gems/rexml@3.2.5.rbi +672 -0
  123. data/sorbet/rbi/gems/rspec-core@3.10.1.rbi +2509 -0
  124. data/sorbet/rbi/gems/rspec-expectations@3.10.1.rbi +1574 -0
  125. data/sorbet/rbi/gems/rspec-mocks@3.10.2.rbi +1462 -0
  126. data/sorbet/rbi/gems/rspec-support@3.10.2.rbi +509 -0
  127. data/sorbet/rbi/gems/rspec@3.10.0.rbi +38 -0
  128. data/sorbet/rbi/gems/rubocop-ast@1.8.0.rbi +2194 -0
  129. data/sorbet/rbi/gems/rubocop-performance@1.11.4.rbi +899 -0
  130. data/sorbet/rbi/gems/rubocop-rake@0.6.0.rbi +118 -0
  131. data/sorbet/rbi/gems/rubocop-rspec@2.4.0.rbi +1805 -0
  132. data/sorbet/rbi/gems/rubocop-sorbet@0.6.2.rbi +288 -0
  133. data/sorbet/rbi/gems/rubocop@1.18.4.rbi +13197 -0
  134. data/sorbet/rbi/gems/ruby-progressbar@1.11.0.rbi +405 -0
  135. data/sorbet/rbi/gems/ruby_parser@3.16.0.rbi +4528 -0
  136. data/sorbet/rbi/gems/safe_type@1.1.1.rbi +157 -0
  137. data/sorbet/rbi/gems/sexp_processor@4.15.3.rbi +359 -0
  138. data/sorbet/rbi/gems/shellany@0.0.1.rbi +28 -0
  139. data/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +89 -0
  140. data/sorbet/rbi/gems/simplecov@0.21.2.rbi +577 -0
  141. data/sorbet/rbi/gems/simplecov_json_formatter@0.1.3.rbi +8 -0
  142. data/sorbet/rbi/gems/sorbet-coerce@0.5.0.rbi +42 -0
  143. data/sorbet/rbi/gems/sorbet-rails@0.7.4.rbi +8 -0
  144. data/sorbet/rbi/gems/sorbet-struct-comparable@1.1.0.rbi +17 -0
  145. data/sorbet/rbi/gems/spoom@1.1.1.rbi +1193 -0
  146. data/sorbet/rbi/gems/tapioca@0.4.23.rbi +1826 -0
  147. data/sorbet/rbi/gems/thor@1.1.0.rbi +838 -0
  148. data/sorbet/rbi/gems/tzinfo@2.0.4.rbi +856 -0
  149. data/sorbet/rbi/gems/unicode-display_width@2.0.0.rbi +26 -0
  150. data/sorbet/rbi/gems/unparser@0.6.0.rbi +2037 -0
  151. data/sorbet/rbi/gems/zeitwerk@2.4.2.rbi +173 -0
  152. data/sorbet/rbi/todo.rbi +8 -0
  153. data/sorbet/rbi/typed_params.rbi +7 -0
  154. data/sorbet/tapioca/require.rb +16 -0
  155. metadata +269 -0
@@ -0,0 +1,54 @@
1
+ # DO NOT EDIT MANUALLY
2
+ # This is an autogenerated file for types exported from the `ast` gem.
3
+ # Please instead update this file by running `bin/tapioca sync`.
4
+
5
+ # typed: true
6
+
7
+ module AST; end
8
+
9
+ class AST::Node
10
+ def initialize(type, children = T.unsafe(nil), properties = T.unsafe(nil)); end
11
+
12
+ def +(array); end
13
+ def <<(element); end
14
+ def ==(other); end
15
+ def append(element); end
16
+ def children; end
17
+ def clone; end
18
+ def concat(array); end
19
+ def deconstruct; end
20
+ def dup; end
21
+ def eql?(other); end
22
+ def hash; end
23
+ def inspect(indent = T.unsafe(nil)); end
24
+ def to_a; end
25
+ def to_ast; end
26
+ def to_s(indent = T.unsafe(nil)); end
27
+ def to_sexp(indent = T.unsafe(nil)); end
28
+ def to_sexp_array; end
29
+ def type; end
30
+ def updated(type = T.unsafe(nil), children = T.unsafe(nil), properties = T.unsafe(nil)); end
31
+
32
+ protected
33
+
34
+ def assign_properties(properties); end
35
+ def fancy_type; end
36
+
37
+ private
38
+
39
+ def original_dup; end
40
+ end
41
+
42
+ class AST::Processor
43
+ include ::AST::Processor::Mixin
44
+ end
45
+
46
+ module AST::Processor::Mixin
47
+ def handler_missing(node); end
48
+ def process(node); end
49
+ def process_all(nodes); end
50
+ end
51
+
52
+ module AST::Sexp
53
+ def s(type, *children); end
54
+ end
@@ -0,0 +1,322 @@
1
+ # DO NOT EDIT MANUALLY
2
+ # This is an autogenerated file for types exported from the `awesome_print` gem.
3
+ # Please instead update this file by running `bin/tapioca sync`.
4
+
5
+ # typed: true
6
+
7
+ module AwesomeMethodArray
8
+ def &(_other_ary); end
9
+ def -(_other_ary); end
10
+ def grep(pattern, &blk); end
11
+ end
12
+
13
+ module AwesomePrint
14
+ class << self
15
+ def console?; end
16
+ def defaults; end
17
+ def defaults=(_arg0); end
18
+ def diet_rb; end
19
+ def force_colors; end
20
+ def force_colors!(value = T.unsafe(nil)); end
21
+ def force_colors=(_arg0); end
22
+ def irb!; end
23
+ def pry!; end
24
+ def rails_console?; end
25
+ def usual_rb; end
26
+ def version; end
27
+
28
+ private
29
+
30
+ def boolean(value); end
31
+ end
32
+ end
33
+
34
+ module AwesomePrint::ActionView
35
+ def ap(object, options = T.unsafe(nil)); end
36
+ def ap_debug(object, options = T.unsafe(nil)); end
37
+ end
38
+
39
+ module AwesomePrint::ActiveSupport
40
+ def awesome_active_support_time(object); end
41
+ def awesome_hash_with_indifferent_access(object); end
42
+ def cast_with_active_support(object, type); end
43
+
44
+ class << self
45
+ def included(base); end
46
+ end
47
+ end
48
+
49
+ module AwesomePrint::Colorize
50
+ def colorize(str, type); end
51
+ end
52
+
53
+ class AwesomePrint::Formatter
54
+ include ::AwesomePrint::Colorize
55
+ include ::AwesomePrint::ActiveSupport
56
+ include ::AwesomePrint::OpenStruct
57
+
58
+ def initialize(inspector); end
59
+
60
+ def cast(object, type); end
61
+ def cast_without_active_support(object, type); end
62
+ def cast_without_ostruct(object, type); end
63
+ def format(object, type = T.unsafe(nil)); end
64
+ def inspector; end
65
+ def options; end
66
+
67
+ private
68
+
69
+ def awesome_array(a); end
70
+ def awesome_bigdecimal(n); end
71
+ def awesome_class(c); end
72
+ def awesome_dir(d); end
73
+ def awesome_file(f); end
74
+ def awesome_hash(h); end
75
+ def awesome_method(m); end
76
+ def awesome_object(o); end
77
+ def awesome_rational(n); end
78
+ def awesome_self(object, type); end
79
+ def awesome_set(s); end
80
+ def awesome_simple(o, type, inspector = T.unsafe(nil)); end
81
+ def awesome_struct(s); end
82
+ def awesome_unboundmethod(m); end
83
+ def convert_to_hash(object); end
84
+ def has_method_accessor?(object); end
85
+ end
86
+
87
+ AwesomePrint::Formatter::CORE_FORMATTERS = T.let(T.unsafe(nil), Array)
88
+ module AwesomePrint::Formatters; end
89
+
90
+ class AwesomePrint::Formatters::ArrayFormatter < ::AwesomePrint::Formatters::BaseFormatter
91
+ def initialize(array, inspector); end
92
+
93
+ def array; end
94
+ def format; end
95
+ def inspector; end
96
+ def options; end
97
+
98
+ private
99
+
100
+ def array_prefix(iteration, width); end
101
+ def find_method(name); end
102
+ def generate_printable_array; end
103
+ def generate_printable_tuples; end
104
+ def generate_tuple(name); end
105
+ def generic_prefix(iteration, width, padding = T.unsafe(nil)); end
106
+ def methods_array; end
107
+ def methods_array?; end
108
+ def multiline_array; end
109
+ def name_and_args_width; end
110
+ def simple_array; end
111
+ def tuple_prefix(iteration, width); end
112
+ def tuple_template(item); end
113
+ def tuples; end
114
+ def width(items); end
115
+ end
116
+
117
+ class AwesomePrint::Formatters::BaseFormatter
118
+ include ::AwesomePrint::Colorize
119
+
120
+ def align(value, width); end
121
+ def get_limit_size; end
122
+ def indent; end
123
+ def indentation; end
124
+ def indented(&block); end
125
+ def limited(data, width, is_hash = T.unsafe(nil)); end
126
+ def method_tuple(method); end
127
+ def outdent; end
128
+ def should_be_limited?; end
129
+ end
130
+
131
+ AwesomePrint::Formatters::BaseFormatter::DEFAULT_LIMIT_SIZE = T.let(T.unsafe(nil), Integer)
132
+
133
+ class AwesomePrint::Formatters::ClassFormatter < ::AwesomePrint::Formatters::BaseFormatter
134
+ def initialize(klass, inspector); end
135
+
136
+ def format; end
137
+ def inspector; end
138
+ def klass; end
139
+ def options; end
140
+ end
141
+
142
+ class AwesomePrint::Formatters::DirFormatter < ::AwesomePrint::Formatters::BaseFormatter
143
+ def initialize(dir, inspector); end
144
+
145
+ def dir; end
146
+ def format; end
147
+ def inspector; end
148
+ def options; end
149
+ end
150
+
151
+ class AwesomePrint::Formatters::FileFormatter < ::AwesomePrint::Formatters::BaseFormatter
152
+ def initialize(file, inspector); end
153
+
154
+ def file; end
155
+ def format; end
156
+ def inspector; end
157
+ def options; end
158
+ end
159
+
160
+ class AwesomePrint::Formatters::HashFormatter < ::AwesomePrint::Formatters::BaseFormatter
161
+ def initialize(hash, inspector); end
162
+
163
+ def format; end
164
+ def hash; end
165
+ def inspector; end
166
+ def options; end
167
+
168
+ private
169
+
170
+ def empty_hash; end
171
+ def left_width(keys); end
172
+ def max_key_width(keys); end
173
+ def multiline_hash; end
174
+ def multiline_hash?; end
175
+ def plain_single_line; end
176
+ def pre_ruby19_syntax(key, value, width); end
177
+ def printable_hash; end
178
+ def printable_keys; end
179
+ def ruby19_syntax(key, value, width); end
180
+ def simple_hash; end
181
+ def symbol?(key); end
182
+ end
183
+
184
+ class AwesomePrint::Formatters::MethodFormatter < ::AwesomePrint::Formatters::BaseFormatter
185
+ def initialize(method, inspector); end
186
+
187
+ def format; end
188
+ def inspector; end
189
+ def method; end
190
+ def options; end
191
+ end
192
+
193
+ class AwesomePrint::Formatters::ObjectFormatter < ::AwesomePrint::Formatters::BaseFormatter
194
+ def initialize(object, inspector); end
195
+
196
+ def format; end
197
+ def inspector; end
198
+ def object; end
199
+ def options; end
200
+ def variables; end
201
+
202
+ private
203
+
204
+ def awesome_instance; end
205
+ def left_aligned; end
206
+ def valid_instance_var?(variable_name); end
207
+ end
208
+
209
+ class AwesomePrint::Formatters::SimpleFormatter < ::AwesomePrint::Formatters::BaseFormatter
210
+ def initialize(string, type, inspector); end
211
+
212
+ def format; end
213
+ def inspector; end
214
+ def options; end
215
+ def string; end
216
+ def type; end
217
+ end
218
+
219
+ class AwesomePrint::Formatters::StructFormatter < ::AwesomePrint::Formatters::BaseFormatter
220
+ def initialize(struct, inspector); end
221
+
222
+ def format; end
223
+ def inspector; end
224
+ def options; end
225
+ def struct; end
226
+ def variables; end
227
+
228
+ private
229
+
230
+ def awesome_instance; end
231
+ def left_aligned; end
232
+ end
233
+
234
+ class AwesomePrint::Indentator
235
+ def initialize(indentation); end
236
+
237
+ def indent; end
238
+ def indentation; end
239
+ def shift_width; end
240
+ end
241
+
242
+ class AwesomePrint::Inspector
243
+ def initialize(options = T.unsafe(nil)); end
244
+
245
+ def awesome(object); end
246
+ def colorize?; end
247
+ def current_indentation; end
248
+ def increase_indentation(&block); end
249
+ def indentator; end
250
+ def indentator=(_arg0); end
251
+ def options; end
252
+ def options=(_arg0); end
253
+
254
+ private
255
+
256
+ def dotfile_readable?(dotfile); end
257
+ def load_dotfile; end
258
+ def merge_custom_defaults!; end
259
+ def merge_options!(options = T.unsafe(nil)); end
260
+ def nested(object); end
261
+ def printable(object); end
262
+ def unnested(object); end
263
+ end
264
+
265
+ AwesomePrint::Inspector::AP = T.let(T.unsafe(nil), Symbol)
266
+
267
+ module AwesomePrint::Logger
268
+ def ap(object, level = T.unsafe(nil)); end
269
+ end
270
+
271
+ module AwesomePrint::OpenStruct
272
+ def awesome_open_struct_instance(object); end
273
+ def cast_with_ostruct(object, type); end
274
+
275
+ class << self
276
+ def included(base); end
277
+ end
278
+ end
279
+
280
+ module Kernel
281
+ def ai(options = T.unsafe(nil)); end
282
+ def awesome_inspect(options = T.unsafe(nil)); end
283
+ def awesome_print(object, options = T.unsafe(nil)); end
284
+
285
+ private
286
+
287
+ def ap(object, options = T.unsafe(nil)); end
288
+
289
+ class << self
290
+ def ap(object, options = T.unsafe(nil)); end
291
+ end
292
+ end
293
+
294
+ class String
295
+ include ::Comparable
296
+ include ::JSON::Ext::Generator::GeneratorMethods::String
297
+ include ::Colorize::InstanceMethods
298
+ extend ::JSON::Ext::Generator::GeneratorMethods::String::Extend
299
+ extend ::Colorize::ClassMethods
300
+
301
+ def black(*html); end
302
+ def blue(*html); end
303
+ def blueish(*html); end
304
+ def cyan(*html); end
305
+ def cyanish(*html); end
306
+ def gray(*html); end
307
+ def grayish(*html); end
308
+ def green(*html); end
309
+ def greenish(*html); end
310
+ def pale(*html); end
311
+ def purple(*html); end
312
+ def purpleish(*html); end
313
+ def red(*html); end
314
+ def redish(*html); end
315
+ def white(*html); end
316
+ def whiteish(*html); end
317
+ def yellow(*html); end
318
+ def yellowish(*html); end
319
+ end
320
+
321
+ String::BLANK_RE = T.let(T.unsafe(nil), Regexp)
322
+ String::ENCODED_BLANKS = T.let(T.unsafe(nil), Concurrent::Map)
@@ -0,0 +1,8 @@
1
+ # DO NOT EDIT MANUALLY
2
+ # This is an autogenerated file for types exported from the `builder` gem.
3
+ # Please instead update this file by running `bin/tapioca sync`.
4
+
5
+ # typed: true
6
+
7
+ # THIS IS AN EMPTY RBI FILE.
8
+ # see https://github.com/Shopify/tapioca/blob/master/README.md#manual-gem-requires
@@ -0,0 +1,18 @@
1
+ # DO NOT EDIT MANUALLY
2
+ # This is an autogenerated file for types exported from the `byebug` gem.
3
+ # Please instead update this file by running `bin/tapioca sync`.
4
+
5
+ # typed: true
6
+
7
+ module Byebug
8
+ class << self
9
+ def attach; end
10
+ def spawn(host = T.unsafe(nil), port = T.unsafe(nil)); end
11
+ end
12
+ end
13
+
14
+ module Kernel
15
+ def byebug; end
16
+ def debugger; end
17
+ def remote_byebug(host = T.unsafe(nil), port = T.unsafe(nil)); end
18
+ end
@@ -0,0 +1,8 @@
1
+ # DO NOT EDIT MANUALLY
2
+ # This is an autogenerated file for types exported from the `coderay` gem.
3
+ # Please instead update this file by running `bin/tapioca sync`.
4
+
5
+ # typed: true
6
+
7
+ # THIS IS AN EMPTY RBI FILE.
8
+ # see https://github.com/Shopify/tapioca/blob/master/README.md#manual-gem-requires
@@ -0,0 +1,39 @@
1
+ # DO NOT EDIT MANUALLY
2
+ # This is an autogenerated file for types exported from the `colorize` gem.
3
+ # Please instead update this file by running `bin/tapioca sync`.
4
+
5
+ # typed: true
6
+
7
+ module Colorize; end
8
+
9
+ module Colorize::ClassMethods
10
+ def color_codes; end
11
+ def color_matrix(_ = T.unsafe(nil)); end
12
+ def color_methods; end
13
+ def color_samples; end
14
+ def colors; end
15
+ def disable_colorization(value = T.unsafe(nil)); end
16
+ def disable_colorization=(value); end
17
+ def mode_codes; end
18
+ def modes; end
19
+ def modes_methods; end
20
+ end
21
+
22
+ module Colorize::InstanceMethods
23
+ def colorize(params); end
24
+ def colorized?; end
25
+ def uncolorize; end
26
+
27
+ private
28
+
29
+ def background_color(color); end
30
+ def color(color); end
31
+ def color_from_symbol(match, symbol); end
32
+ def colors_from_hash(match, hash); end
33
+ def colors_from_params(match, params); end
34
+ def defaults_colors(match); end
35
+ def mode(mode); end
36
+ def require_windows_libs; end
37
+ def scan_for_colors; end
38
+ def split_colors(match); end
39
+ end
@@ -0,0 +1,8 @@
1
+ # DO NOT EDIT MANUALLY
2
+ # This is an autogenerated file for types exported from the `commander` gem.
3
+ # Please instead update this file by running `bin/tapioca sync`.
4
+
5
+ # typed: true
6
+
7
+ # THIS IS AN EMPTY RBI FILE.
8
+ # see https://github.com/Shopify/tapioca/blob/master/README.md#manual-gem-requires