muina 0.2.8 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (161) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +25 -0
  3. data/README.md +0 -35
  4. data/lib/muina/maybe/none.rb +61 -0
  5. data/lib/muina/maybe/some.rb +62 -0
  6. data/lib/muina/maybe.rb +13 -0
  7. data/lib/muina/result/failure.rb +7 -18
  8. data/lib/muina/result/success.rb +7 -18
  9. data/lib/muina/result.rb +6 -8
  10. data/lib/muina/version.rb +1 -2
  11. data/lib/muina.rb +0 -32
  12. metadata +24 -225
  13. data/.github/workflows/main.yml +0 -16
  14. data/.gitignore +0 -5
  15. data/.mutant.yml +0 -38
  16. data/.rspec +0 -4
  17. data/.rubocop.yml +0 -181
  18. data/.ruby-version +0 -1
  19. data/.simplecov +0 -14
  20. data/CHANGELOG.md +0 -38
  21. data/Gemfile +0 -34
  22. data/Gemfile.lock +0 -265
  23. data/Guardfile +0 -24
  24. data/Rakefile +0 -13
  25. data/SECURITY.md +0 -14
  26. data/bin/bundle +0 -114
  27. data/bin/console +0 -15
  28. data/bin/flay +0 -29
  29. data/bin/flog +0 -29
  30. data/bin/guard +0 -29
  31. data/bin/irb +0 -29
  32. data/bin/lefthook +0 -29
  33. data/bin/mutant +0 -29
  34. data/bin/parlour +0 -29
  35. data/bin/rake +0 -29
  36. data/bin/rspec +0 -29
  37. data/bin/rubocop +0 -29
  38. data/bin/setup +0 -8
  39. data/bin/srb +0 -29
  40. data/bin/srb-rbi +0 -29
  41. data/bin/tapioca +0 -29
  42. data/exe/muina +0 -11
  43. data/lefthook.yml +0 -39
  44. data/lib/muina/action/params_factory.rb +0 -17
  45. data/lib/muina/action/step/command.rb +0 -33
  46. data/lib/muina/action/step/failure.rb +0 -18
  47. data/lib/muina/action/step/query.rb +0 -35
  48. data/lib/muina/action/step/result.rb +0 -56
  49. data/lib/muina/action/step.rb +0 -13
  50. data/lib/muina/action.rb +0 -73
  51. data/lib/muina/any.rb +0 -7
  52. data/lib/muina/classes.rb +0 -7
  53. data/lib/muina/deprecator.rb +0 -93
  54. data/lib/muina/entity.rb +0 -20
  55. data/lib/muina/module.rb +0 -6
  56. data/lib/muina/parameters.rb +0 -7
  57. data/lib/muina/params.rb +0 -19
  58. data/lib/muina/private_creation.rb +0 -12
  59. data/lib/muina/result/factory.rb +0 -37
  60. data/lib/muina/result/null.rb +0 -25
  61. data/lib/muina/service.rb +0 -25
  62. data/lib/muina/symbol_hash.rb +0 -7
  63. data/lib/muina/unit.rb +0 -10
  64. data/lib/muina/untyped_array.rb +0 -7
  65. data/lib/muina/untyped_hash.rb +0 -7
  66. data/lib/muina/value.rb +0 -24
  67. data/muina.gemspec +0 -35
  68. data/rbi/muina.rbi +0 -311
  69. data/sorbet/config +0 -2
  70. data/sorbet/rbi/gems/actionpack@6.1.4.rbi +0 -5045
  71. data/sorbet/rbi/gems/actionview@6.1.4.rbi +0 -2416
  72. data/sorbet/rbi/gems/activesupport@6.1.4.rbi +0 -3778
  73. data/sorbet/rbi/gems/ast@2.4.2.rbi +0 -54
  74. data/sorbet/rbi/gems/awesome_print@1.9.2.rbi +0 -322
  75. data/sorbet/rbi/gems/builder@3.2.4.rbi +0 -8
  76. data/sorbet/rbi/gems/byebug@11.1.3.rbi +0 -18
  77. data/sorbet/rbi/gems/coderay@1.1.3.rbi +0 -8
  78. data/sorbet/rbi/gems/colorize@0.8.1.rbi +0 -39
  79. data/sorbet/rbi/gems/commander@4.6.0.rbi +0 -8
  80. data/sorbet/rbi/gems/concurrent-ruby@1.1.9.rbi +0 -2403
  81. data/sorbet/rbi/gems/crass@1.0.6.rbi +0 -123
  82. data/sorbet/rbi/gems/diff-lcs@1.4.4.rbi +0 -185
  83. data/sorbet/rbi/gems/docile@1.4.0.rbi +0 -54
  84. data/sorbet/rbi/gems/erubi@1.10.0.rbi +0 -36
  85. data/sorbet/rbi/gems/erubis@2.7.0.rbi +0 -8
  86. data/sorbet/rbi/gems/faker@2.18.0.rbi +0 -2469
  87. data/sorbet/rbi/gems/ffi@1.15.3.rbi +0 -8
  88. data/sorbet/rbi/gems/flay@2.12.1.rbi +0 -178
  89. data/sorbet/rbi/gems/flog@4.6.4.rbi +0 -70
  90. data/sorbet/rbi/gems/formatador@0.3.0.rbi +0 -8
  91. data/sorbet/rbi/gems/guard-compat@1.2.1.rbi +0 -49
  92. data/sorbet/rbi/gems/guard-rspec@4.7.3.rbi +0 -233
  93. data/sorbet/rbi/gems/guard-rubocop@1.4.0.rbi +0 -66
  94. data/sorbet/rbi/gems/guard-shell@0.7.2.rbi +0 -69
  95. data/sorbet/rbi/gems/guard@2.18.0.rbi +0 -617
  96. data/sorbet/rbi/gems/highline@2.0.3.rbi +0 -8
  97. data/sorbet/rbi/gems/i18n@1.8.10.rbi +0 -616
  98. data/sorbet/rbi/gems/io-console@0.5.9.rbi +0 -8
  99. data/sorbet/rbi/gems/irb@1.3.6.rbi +0 -452
  100. data/sorbet/rbi/gems/lefthook@0.7.6.rbi +0 -8
  101. data/sorbet/rbi/gems/listen@3.6.0.rbi +0 -476
  102. data/sorbet/rbi/gems/loofah@2.10.0.rbi +0 -223
  103. data/sorbet/rbi/gems/lumberjack@1.2.8.rbi +0 -431
  104. data/sorbet/rbi/gems/method_source@1.0.0.rbi +0 -8
  105. data/sorbet/rbi/gems/minitest@5.14.4.rbi +0 -344
  106. data/sorbet/rbi/gems/mutant-license@0.1.1.1.4043027289354708743625974235631451632228.0.rbi +0 -8
  107. data/sorbet/rbi/gems/mutant-rspec@0.10.32.rbi +0 -8
  108. data/sorbet/rbi/gems/mutant@0.10.32.rbi +0 -4154
  109. data/sorbet/rbi/gems/nenv@0.3.0.rbi +0 -88
  110. data/sorbet/rbi/gems/nokogiri@1.11.7.rbi +0 -1422
  111. data/sorbet/rbi/gems/notiffany@0.1.3.rbi +0 -331
  112. data/sorbet/rbi/gems/parallel@1.20.1.rbi +0 -113
  113. data/sorbet/rbi/gems/parlour@6.0.1.rbi +0 -1726
  114. data/sorbet/rbi/gems/parser@3.0.2.0.rbi +0 -1683
  115. data/sorbet/rbi/gems/path_expander@1.1.0.rbi +0 -24
  116. data/sorbet/rbi/gems/polyfill@1.9.0.rbi +0 -393
  117. data/sorbet/rbi/gems/pry@0.14.1.rbi +0 -8
  118. data/sorbet/rbi/gems/racc@1.5.2.rbi +0 -47
  119. data/sorbet/rbi/gems/rack-test@1.1.0.rbi +0 -272
  120. data/sorbet/rbi/gems/rack@2.2.3.rbi +0 -1618
  121. data/sorbet/rbi/gems/rails-dom-testing@2.0.3.rbi +0 -92
  122. data/sorbet/rbi/gems/rails-html-sanitizer@1.3.0.rbi +0 -183
  123. data/sorbet/rbi/gems/rainbow@3.0.0.rbi +0 -153
  124. data/sorbet/rbi/gems/rake@13.0.6.rbi +0 -808
  125. data/sorbet/rbi/gems/rb-fsevent@0.11.0.rbi +0 -8
  126. data/sorbet/rbi/gems/rb-inotify@0.10.1.rbi +0 -8
  127. data/sorbet/rbi/gems/regexp_parser@2.1.1.rbi +0 -1120
  128. data/sorbet/rbi/gems/reline@0.2.6.rbi +0 -662
  129. data/sorbet/rbi/gems/rexml@3.2.5.rbi +0 -672
  130. data/sorbet/rbi/gems/rspec-core@3.10.1.rbi +0 -2509
  131. data/sorbet/rbi/gems/rspec-expectations@3.10.1.rbi +0 -1574
  132. data/sorbet/rbi/gems/rspec-mocks@3.10.2.rbi +0 -1462
  133. data/sorbet/rbi/gems/rspec-support@3.10.2.rbi +0 -509
  134. data/sorbet/rbi/gems/rspec@3.10.0.rbi +0 -38
  135. data/sorbet/rbi/gems/rubocop-ast@1.8.0.rbi +0 -2194
  136. data/sorbet/rbi/gems/rubocop-performance@1.11.4.rbi +0 -899
  137. data/sorbet/rbi/gems/rubocop-rake@0.6.0.rbi +0 -118
  138. data/sorbet/rbi/gems/rubocop-rspec@2.4.0.rbi +0 -1805
  139. data/sorbet/rbi/gems/rubocop-sorbet@0.6.2.rbi +0 -288
  140. data/sorbet/rbi/gems/rubocop@1.18.4.rbi +0 -13197
  141. data/sorbet/rbi/gems/ruby-progressbar@1.11.0.rbi +0 -405
  142. data/sorbet/rbi/gems/ruby_parser@3.16.0.rbi +0 -4528
  143. data/sorbet/rbi/gems/safe_type@1.1.1.rbi +0 -157
  144. data/sorbet/rbi/gems/sexp_processor@4.15.3.rbi +0 -359
  145. data/sorbet/rbi/gems/shellany@0.0.1.rbi +0 -28
  146. data/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +0 -89
  147. data/sorbet/rbi/gems/simplecov@0.21.2.rbi +0 -577
  148. data/sorbet/rbi/gems/simplecov_json_formatter@0.1.3.rbi +0 -8
  149. data/sorbet/rbi/gems/sorbet-coerce@0.5.0.rbi +0 -42
  150. data/sorbet/rbi/gems/sorbet-rails@0.7.4.rbi +0 -8
  151. data/sorbet/rbi/gems/sorbet-struct-comparable@1.1.0.rbi +0 -17
  152. data/sorbet/rbi/gems/spoom@1.1.1.rbi +0 -1193
  153. data/sorbet/rbi/gems/tapioca@0.4.23.rbi +0 -1826
  154. data/sorbet/rbi/gems/thor@1.1.0.rbi +0 -838
  155. data/sorbet/rbi/gems/tzinfo@2.0.4.rbi +0 -856
  156. data/sorbet/rbi/gems/unicode-display_width@2.0.0.rbi +0 -26
  157. data/sorbet/rbi/gems/unparser@0.6.0.rbi +0 -2037
  158. data/sorbet/rbi/gems/zeitwerk@2.4.2.rbi +0 -173
  159. data/sorbet/rbi/todo.rbi +0 -8
  160. data/sorbet/rbi/typed_params.rbi +0 -7
  161. data/sorbet/tapioca/require.rb +0 -16
@@ -1,54 +0,0 @@
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
@@ -1,322 +0,0 @@
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)
@@ -1,8 +0,0 @@
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
@@ -1,18 +0,0 @@
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
@@ -1,8 +0,0 @@
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
@@ -1,39 +0,0 @@
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
@@ -1,8 +0,0 @@
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