greeenboii 0.1.5 → 0.1.7

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 (51) hide show
  1. checksums.yaml +4 -4
  2. data/.idea/dataSources.local.xml +1 -1
  3. data/.idea/greeenboii.iml +0 -2
  4. data/.idea/vcs.xml +1 -0
  5. data/.idea/workspace.xml +154 -123
  6. data/.rubocop.sorbet.yml +5 -0
  7. data/.rubocop.yml +36 -0
  8. data/README.md +5 -0
  9. data/exe/greeenboii +1 -1
  10. data/lib/greeenboii/version.rb +5 -5
  11. data/lib/greeenboii.rb +447 -234
  12. data/sig/greeenboii/todo_list.rbs +30 -0
  13. data/sorbet/rbi/gems/.gitattributes +1 -0
  14. data/sorbet/rbi/gems/ast@2.4.2.rbi +585 -0
  15. data/sorbet/rbi/gems/benchmark@0.4.0.rbi +618 -0
  16. data/sorbet/rbi/gems/bigdecimal@3.1.9.rbi +9 -0
  17. data/sorbet/rbi/gems/cli-ui@2.3.0.rbi +3181 -0
  18. data/sorbet/rbi/gems/console_table@0.3.1.rbi +78 -0
  19. data/sorbet/rbi/gems/csv@3.3.2.rbi +9 -0
  20. data/sorbet/rbi/gems/erubi@1.13.1.rbi +155 -0
  21. data/sorbet/rbi/gems/httparty@0.22.0.rbi +2115 -0
  22. data/sorbet/rbi/gems/json@2.10.1.rbi +2120 -0
  23. data/sorbet/rbi/gems/language_server-protocol@3.17.0.4.rbi +9 -0
  24. data/sorbet/rbi/gems/lint_roller@1.1.0.rbi +86 -0
  25. data/sorbet/rbi/gems/mini_mime@1.1.5.rbi +9 -0
  26. data/sorbet/rbi/gems/minitest@5.25.4.rbi +1547 -0
  27. data/sorbet/rbi/gems/multi_xml@0.7.1.rbi +9 -0
  28. data/sorbet/rbi/gems/netrc@0.11.0.rbi +159 -0
  29. data/sorbet/rbi/gems/nokogiri@1.18.3.rbi +8205 -0
  30. data/sorbet/rbi/gems/parallel@1.26.3.rbi +291 -0
  31. data/sorbet/rbi/gems/parser@3.3.7.1.rbi +5525 -0
  32. data/sorbet/rbi/gems/prism@1.3.0.rbi +41403 -0
  33. data/sorbet/rbi/gems/racc@1.8.1.rbi +164 -0
  34. data/sorbet/rbi/gems/rainbow@3.1.1.rbi +403 -0
  35. data/sorbet/rbi/gems/rake-compiler@1.2.9.rbi +9 -0
  36. data/sorbet/rbi/gems/rake@13.2.1.rbi +3028 -0
  37. data/sorbet/rbi/gems/rbi@0.2.4.rbi +4542 -0
  38. data/sorbet/rbi/gems/regexp_parser@2.10.0.rbi +3795 -0
  39. data/sorbet/rbi/gems/rubocop-ast@1.38.0.rbi +7654 -0
  40. data/sorbet/rbi/gems/rubocop@1.72.2.rbi +61026 -0
  41. data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +1318 -0
  42. data/sorbet/rbi/gems/spoom@1.5.4.rbi +5026 -0
  43. data/sorbet/rbi/gems/sqlite3@2.6.0.rbi +1895 -0
  44. data/sorbet/rbi/gems/tapioca@0.16.11.rbi +3656 -0
  45. data/sorbet/rbi/gems/thor@1.3.2.rbi +4378 -0
  46. data/sorbet/rbi/gems/unicode-display_width@3.1.4.rbi +132 -0
  47. data/sorbet/rbi/gems/unicode-emoji@4.0.4.rbi +251 -0
  48. data/sorbet/rbi/gems/yard-sorbet@0.9.0.rbi +435 -0
  49. data/sorbet/rbi/gems/yard@0.9.37.rbi +18379 -0
  50. data/sorbet/tapioca/require.rb +6 -0
  51. metadata +47 -8
@@ -0,0 +1,78 @@
1
+ # typed: true
2
+
3
+ # DO NOT EDIT MANUALLY
4
+ # This is an autogenerated file for types exported from the `console_table` gem.
5
+ # Please instead update this file by running `bin/tapioca gem console_table`.
6
+
7
+
8
+ # source://console_table//lib/console_table.rb#7
9
+ module ConsoleTable
10
+ class << self
11
+ # Define a console table. Requires a table layout which specifies column information
12
+ # like sizes, titles, and key names.
13
+ #
14
+ # source://console_table//lib/console_table.rb#11
15
+ def define(layout, options = T.unsafe(nil), &block); end
16
+ end
17
+ end
18
+
19
+ # source://console_table//lib/console_table.rb#18
20
+ class ConsoleTable::ConsoleTableClass
21
+ # @return [ConsoleTableClass] a new instance of ConsoleTableClass
22
+ #
23
+ # source://console_table//lib/console_table.rb#31
24
+ def initialize(column_layout, options = T.unsafe(nil)); end
25
+
26
+ # Add rows to the table. Prints immediately, consult documentation for examples
27
+ #
28
+ # source://console_table//lib/console_table.rb#25
29
+ def <<(options); end
30
+
31
+ # Add strings to the footer array to have them formatted when the table closes
32
+ #
33
+ # source://console_table//lib/console_table.rb#22
34
+ def footer; end
35
+
36
+ protected
37
+
38
+ # source://console_table//lib/console_table.rb#107
39
+ def print_footer; end
40
+
41
+ # source://console_table//lib/console_table.rb#88
42
+ def print_header; end
43
+
44
+ private
45
+
46
+ # source://console_table//lib/console_table.rb#276
47
+ def calc_column_widths; end
48
+
49
+ # source://console_table//lib/console_table.rb#178
50
+ def footer_lines; end
51
+
52
+ # source://console_table//lib/console_table.rb#334
53
+ def format(length, text, ellipsize = T.unsafe(nil), justify = T.unsafe(nil)); end
54
+
55
+ # source://console_table//lib/console_table.rb#252
56
+ def infer_justify_from_string(to_print, justify); end
57
+
58
+ # source://console_table//lib/console_table.rb#264
59
+ def normalize(string); end
60
+
61
+ # source://console_table//lib/console_table.rb#189
62
+ def print(options); end
63
+
64
+ # source://console_table//lib/console_table.rb#129
65
+ def print_headings; end
66
+
67
+ # source://console_table//lib/console_table.rb#154
68
+ def print_line(char = T.unsafe(nil), join_char = T.unsafe(nil), edge_join_only = T.unsafe(nil)); end
69
+
70
+ # source://console_table//lib/console_table.rb#390
71
+ def print_plain(to_print); end
72
+
73
+ # source://console_table//lib/console_table.rb#174
74
+ def should_print_footer; end
75
+
76
+ # source://console_table//lib/console_table.rb#330
77
+ def uncolorize(string); end
78
+ end
@@ -0,0 +1,9 @@
1
+ # typed: true
2
+
3
+ # DO NOT EDIT MANUALLY
4
+ # This is an autogenerated file for types exported from the `csv` gem.
5
+ # Please instead update this file by running `bin/tapioca gem csv`.
6
+
7
+
8
+ # THIS IS AN EMPTY RBI FILE.
9
+ # see https://github.com/Shopify/tapioca#manually-requiring-parts-of-a-gem
@@ -0,0 +1,155 @@
1
+ # typed: true
2
+
3
+ # DO NOT EDIT MANUALLY
4
+ # This is an autogenerated file for types exported from the `erubi` gem.
5
+ # Please instead update this file by running `bin/tapioca gem erubi`.
6
+
7
+
8
+ # source://erubi//lib/erubi.rb#3
9
+ module Erubi
10
+ private
11
+
12
+ def h(_arg0); end
13
+
14
+ class << self
15
+ def h(_arg0); end
16
+ end
17
+ end
18
+
19
+ # source://erubi//lib/erubi.rb#51
20
+ class Erubi::Engine
21
+ # Initialize a new Erubi::Engine. Options:
22
+ # +:bufval+ :: The value to use for the buffer variable, as a string (default <tt>'::String.new'</tt>).
23
+ # +:bufvar+ :: The variable name to use for the buffer variable, as a string.
24
+ # +:chain_appends+ :: Whether to chain <tt><<</t> calls to the buffer variable. Offers better
25
+ # performance, but can cause issues when the buffer variable is reassigned during
26
+ # template rendering (default +false+).
27
+ # +:ensure+ :: Wrap the template in a begin/ensure block restoring the previous value of bufvar.
28
+ # +:escapefunc+ :: The function to use for escaping, as a string (default: <tt>'::Erubi.h'</tt>).
29
+ # +:escape+ :: Whether to make <tt><%=</tt> escape by default, and <tt><%==</tt> not escape by default.
30
+ # +:escape_html+ :: Same as +:escape+, with lower priority.
31
+ # +:filename+ :: The filename for the template.
32
+ # the resulting source code. Note this may cause problems if you are wrapping the resulting
33
+ # source code in other code, because the magic comment only has an effect at the beginning of
34
+ # the file, and having the magic comment later in the file can trigger warnings.
35
+ # +:freeze_template_literals+ :: Whether to suffix all literal strings for template code with <tt>.freeze</tt>
36
+ # (default: +true+ on Ruby 2.1+, +false+ on Ruby 2.0 and older).
37
+ # Can be set to +false+ on Ruby 2.3+ when frozen string literals are enabled
38
+ # in order to improve performance.
39
+ # +:literal_prefix+ :: The prefix to output when using escaped tag delimiters (default <tt>'<%'</tt>).
40
+ # +:literal_postfix+ :: The postfix to output when using escaped tag delimiters (default <tt>'%>'</tt>).
41
+ # +:outvar+ :: Same as +:bufvar+, with lower priority.
42
+ # +:postamble+ :: The postamble for the template, by default returns the resulting source code.
43
+ # +:preamble+ :: The preamble for the template, by default initializes the buffer variable.
44
+ # +:regexp+ :: The regexp to use for scanning.
45
+ # +:src+ :: The initial value to use for the source code, an empty string by default.
46
+ # +:trim+ :: Whether to trim leading and trailing whitespace, true by default.
47
+ #
48
+ # @return [Engine] a new instance of Engine
49
+ #
50
+ # source://erubi//lib/erubi.rb#91
51
+ def initialize(input, properties = T.unsafe(nil)); end
52
+
53
+ # The variable name used for the buffer variable.
54
+ #
55
+ # source://erubi//lib/erubi.rb#62
56
+ def bufvar; end
57
+
58
+ # The filename of the template, if one was given.
59
+ #
60
+ # source://erubi//lib/erubi.rb#59
61
+ def filename; end
62
+
63
+ # The frozen ruby source code generated from the template, which can be evaled.
64
+ #
65
+ # source://erubi//lib/erubi.rb#56
66
+ def src; end
67
+
68
+ private
69
+
70
+ # :nocov:
71
+ #
72
+ # source://erubi//lib/erubi.rb#209
73
+ def _dup_string_if_frozen(string); end
74
+
75
+ # Add ruby code to the template
76
+ #
77
+ # source://erubi//lib/erubi.rb#232
78
+ def add_code(code); end
79
+
80
+ # Add the given ruby expression result to the template,
81
+ # escaping it based on the indicator given and escape flag.
82
+ #
83
+ # source://erubi//lib/erubi.rb#241
84
+ def add_expression(indicator, code); end
85
+
86
+ # Add the result of Ruby expression to the template
87
+ #
88
+ # source://erubi//lib/erubi.rb#250
89
+ def add_expression_result(code); end
90
+
91
+ # Add the escaped result of Ruby expression to the template
92
+ #
93
+ # source://erubi//lib/erubi.rb#255
94
+ def add_expression_result_escaped(code); end
95
+
96
+ # Add the given postamble to the src. Can be overridden in subclasses
97
+ # to make additional changes to src that depend on the current state.
98
+ #
99
+ # source://erubi//lib/erubi.rb#261
100
+ def add_postamble(postamble); end
101
+
102
+ # Add raw text to the template. Modifies argument if argument is mutable as a memory optimization.
103
+ # Must be called with a string, cannot be called with nil (Rails's subclass depends on it).
104
+ #
105
+ # source://erubi//lib/erubi.rb#222
106
+ def add_text(text); end
107
+
108
+ # Raise an exception, as the base engine class does not support handling other indicators.
109
+ #
110
+ # @raise [ArgumentError]
111
+ #
112
+ # source://erubi//lib/erubi.rb#267
113
+ def handle(indicator, code, tailch, rspace, lspace); end
114
+
115
+ # Make sure that any current expression has been terminated.
116
+ # The default is to terminate all expressions, but when
117
+ # the chain_appends option is used, expressions may not be
118
+ # terminated.
119
+ #
120
+ # source://erubi//lib/erubi.rb#295
121
+ def terminate_expression; end
122
+
123
+ # Make sure the buffer variable is the target of the next append
124
+ # before yielding to the block. Mark that the buffer is the target
125
+ # of the next append after the block executes.
126
+ #
127
+ # This method should only be called if the block will result in
128
+ # code where << will append to the bufvar.
129
+ #
130
+ # source://erubi//lib/erubi.rb#277
131
+ def with_buffer; end
132
+ end
133
+
134
+ # The default regular expression used for scanning.
135
+ #
136
+ # source://erubi//lib/erubi.rb#53
137
+ Erubi::Engine::DEFAULT_REGEXP = T.let(T.unsafe(nil), Regexp)
138
+
139
+ # source://erubi//lib/erubi.rb#17
140
+ Erubi::FREEZE_TEMPLATE_LITERALS = T.let(T.unsafe(nil), TrueClass)
141
+
142
+ # source://erubi//lib/erubi.rb#15
143
+ Erubi::MATCH_METHOD = T.let(T.unsafe(nil), Symbol)
144
+
145
+ # source://erubi//lib/erubi.rb#8
146
+ Erubi::RANGE_FIRST = T.let(T.unsafe(nil), Integer)
147
+
148
+ # source://erubi//lib/erubi.rb#9
149
+ Erubi::RANGE_LAST = T.let(T.unsafe(nil), Integer)
150
+
151
+ # source://erubi//lib/erubi.rb#16
152
+ Erubi::SKIP_DEFINED_FOR_INSTANCE_VARIABLE = T.let(T.unsafe(nil), TrueClass)
153
+
154
+ # source://erubi//lib/erubi.rb#4
155
+ Erubi::VERSION = T.let(T.unsafe(nil), String)