muina 0.2.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.github/workflows/main.yml +16 -0
- data/.gitignore +5 -0
- data/.mutant.yml +38 -0
- data/.rspec +4 -0
- data/.rubocop.yml +172 -0
- data/.ruby-version +1 -0
- data/.simplecov +14 -0
- data/CHANGELOG.md +38 -0
- data/Gemfile +34 -0
- data/Gemfile.lock +265 -0
- data/Guardfile +24 -0
- data/README.md +36 -0
- data/Rakefile +13 -0
- data/SECURITY.md +14 -0
- data/bin/bundle +114 -0
- data/bin/console +15 -0
- data/bin/flay +29 -0
- data/bin/flog +29 -0
- data/bin/guard +29 -0
- data/bin/irb +29 -0
- data/bin/lefthook +29 -0
- data/bin/mutant +29 -0
- data/bin/parlour +29 -0
- data/bin/rake +29 -0
- data/bin/rspec +29 -0
- data/bin/rubocop +29 -0
- data/bin/setup +8 -0
- data/bin/srb +29 -0
- data/bin/srb-rbi +29 -0
- data/bin/tapioca +29 -0
- data/exe/muina +11 -0
- data/lefthook.yml +39 -0
- data/lib/muina/action/params_factory.rb +17 -0
- data/lib/muina/action/step/command.rb +31 -0
- data/lib/muina/action/step/failure.rb +18 -0
- data/lib/muina/action/step/query.rb +31 -0
- data/lib/muina/action/step/result.rb +51 -0
- data/lib/muina/action/step.rb +13 -0
- data/lib/muina/action.rb +73 -0
- data/lib/muina/any.rb +7 -0
- data/lib/muina/classes.rb +7 -0
- data/lib/muina/module.rb +6 -0
- data/lib/muina/parameters.rb +7 -0
- data/lib/muina/params.rb +19 -0
- data/lib/muina/private_creation.rb +12 -0
- data/lib/muina/result/factory.rb +37 -0
- data/lib/muina/result/failure.rb +31 -0
- data/lib/muina/result/null.rb +25 -0
- data/lib/muina/result/success.rb +31 -0
- data/lib/muina/result.rb +17 -0
- data/lib/muina/service.rb +37 -0
- data/lib/muina/symbol_hash.rb +7 -0
- data/lib/muina/unit.rb +10 -0
- data/lib/muina/untyped_array.rb +7 -0
- data/lib/muina/untyped_hash.rb +7 -0
- data/lib/muina/value.rb +16 -0
- data/lib/muina/version.rb +7 -0
- data/lib/muina.rb +42 -0
- data/muina.gemspec +35 -0
- data/rbi/muina.rbi +268 -0
- data/sorbet/config +2 -0
- data/sorbet/rbi/gems/actionpack@6.1.4.rbi +5045 -0
- data/sorbet/rbi/gems/actionview@6.1.4.rbi +2416 -0
- data/sorbet/rbi/gems/activesupport@6.1.4.rbi +3778 -0
- data/sorbet/rbi/gems/ast@2.4.2.rbi +54 -0
- data/sorbet/rbi/gems/awesome_print@1.9.2.rbi +322 -0
- data/sorbet/rbi/gems/builder@3.2.4.rbi +8 -0
- data/sorbet/rbi/gems/byebug@11.1.3.rbi +18 -0
- data/sorbet/rbi/gems/coderay@1.1.3.rbi +8 -0
- data/sorbet/rbi/gems/colorize@0.8.1.rbi +39 -0
- data/sorbet/rbi/gems/commander@4.6.0.rbi +8 -0
- data/sorbet/rbi/gems/concurrent-ruby@1.1.9.rbi +2403 -0
- data/sorbet/rbi/gems/crass@1.0.6.rbi +123 -0
- data/sorbet/rbi/gems/diff-lcs@1.4.4.rbi +185 -0
- data/sorbet/rbi/gems/docile@1.4.0.rbi +54 -0
- data/sorbet/rbi/gems/erubi@1.10.0.rbi +36 -0
- data/sorbet/rbi/gems/erubis@2.7.0.rbi +8 -0
- data/sorbet/rbi/gems/faker@2.18.0.rbi +2469 -0
- data/sorbet/rbi/gems/ffi@1.15.3.rbi +8 -0
- data/sorbet/rbi/gems/flay@2.12.1.rbi +178 -0
- data/sorbet/rbi/gems/flog@4.6.4.rbi +70 -0
- data/sorbet/rbi/gems/formatador@0.3.0.rbi +8 -0
- data/sorbet/rbi/gems/guard-compat@1.2.1.rbi +49 -0
- data/sorbet/rbi/gems/guard-rspec@4.7.3.rbi +233 -0
- data/sorbet/rbi/gems/guard-rubocop@1.4.0.rbi +66 -0
- data/sorbet/rbi/gems/guard-shell@0.7.2.rbi +69 -0
- data/sorbet/rbi/gems/guard@2.18.0.rbi +617 -0
- data/sorbet/rbi/gems/highline@2.0.3.rbi +8 -0
- data/sorbet/rbi/gems/i18n@1.8.10.rbi +616 -0
- data/sorbet/rbi/gems/io-console@0.5.9.rbi +8 -0
- data/sorbet/rbi/gems/irb@1.3.6.rbi +452 -0
- data/sorbet/rbi/gems/lefthook@0.7.6.rbi +8 -0
- data/sorbet/rbi/gems/listen@3.6.0.rbi +476 -0
- data/sorbet/rbi/gems/loofah@2.10.0.rbi +223 -0
- data/sorbet/rbi/gems/lumberjack@1.2.8.rbi +431 -0
- data/sorbet/rbi/gems/method_source@1.0.0.rbi +8 -0
- data/sorbet/rbi/gems/minitest@5.14.4.rbi +344 -0
- data/sorbet/rbi/gems/mutant-license@0.1.1.1.4043027289354708743625974235631451632228.0.rbi +8 -0
- data/sorbet/rbi/gems/mutant-rspec@0.10.32.rbi +8 -0
- data/sorbet/rbi/gems/mutant@0.10.32.rbi +4154 -0
- data/sorbet/rbi/gems/nenv@0.3.0.rbi +88 -0
- data/sorbet/rbi/gems/nokogiri@1.11.7.rbi +1422 -0
- data/sorbet/rbi/gems/notiffany@0.1.3.rbi +331 -0
- data/sorbet/rbi/gems/parallel@1.20.1.rbi +113 -0
- data/sorbet/rbi/gems/parlour@6.0.1.rbi +1726 -0
- data/sorbet/rbi/gems/parser@3.0.2.0.rbi +1683 -0
- data/sorbet/rbi/gems/path_expander@1.1.0.rbi +24 -0
- data/sorbet/rbi/gems/polyfill@1.9.0.rbi +393 -0
- data/sorbet/rbi/gems/pry@0.14.1.rbi +8 -0
- data/sorbet/rbi/gems/racc@1.5.2.rbi +47 -0
- data/sorbet/rbi/gems/rack-test@1.1.0.rbi +272 -0
- data/sorbet/rbi/gems/rack@2.2.3.rbi +1618 -0
- data/sorbet/rbi/gems/rails-dom-testing@2.0.3.rbi +92 -0
- data/sorbet/rbi/gems/rails-html-sanitizer@1.3.0.rbi +183 -0
- data/sorbet/rbi/gems/rainbow@3.0.0.rbi +153 -0
- data/sorbet/rbi/gems/rake@13.0.6.rbi +808 -0
- data/sorbet/rbi/gems/rb-fsevent@0.11.0.rbi +8 -0
- data/sorbet/rbi/gems/rb-inotify@0.10.1.rbi +8 -0
- data/sorbet/rbi/gems/regexp_parser@2.1.1.rbi +1120 -0
- data/sorbet/rbi/gems/reline@0.2.6.rbi +662 -0
- data/sorbet/rbi/gems/rexml@3.2.5.rbi +672 -0
- data/sorbet/rbi/gems/rspec-core@3.10.1.rbi +2509 -0
- data/sorbet/rbi/gems/rspec-expectations@3.10.1.rbi +1574 -0
- data/sorbet/rbi/gems/rspec-mocks@3.10.2.rbi +1462 -0
- data/sorbet/rbi/gems/rspec-support@3.10.2.rbi +509 -0
- data/sorbet/rbi/gems/rspec@3.10.0.rbi +38 -0
- data/sorbet/rbi/gems/rubocop-ast@1.8.0.rbi +2194 -0
- data/sorbet/rbi/gems/rubocop-performance@1.11.4.rbi +899 -0
- data/sorbet/rbi/gems/rubocop-rake@0.6.0.rbi +118 -0
- data/sorbet/rbi/gems/rubocop-rspec@2.4.0.rbi +1805 -0
- data/sorbet/rbi/gems/rubocop-sorbet@0.6.2.rbi +288 -0
- data/sorbet/rbi/gems/rubocop@1.18.4.rbi +13197 -0
- data/sorbet/rbi/gems/ruby-progressbar@1.11.0.rbi +405 -0
- data/sorbet/rbi/gems/ruby_parser@3.16.0.rbi +4528 -0
- data/sorbet/rbi/gems/safe_type@1.1.1.rbi +157 -0
- data/sorbet/rbi/gems/sexp_processor@4.15.3.rbi +359 -0
- data/sorbet/rbi/gems/shellany@0.0.1.rbi +28 -0
- data/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +89 -0
- data/sorbet/rbi/gems/simplecov@0.21.2.rbi +577 -0
- data/sorbet/rbi/gems/simplecov_json_formatter@0.1.3.rbi +8 -0
- data/sorbet/rbi/gems/sorbet-coerce@0.5.0.rbi +42 -0
- data/sorbet/rbi/gems/sorbet-rails@0.7.4.rbi +8 -0
- data/sorbet/rbi/gems/sorbet-struct-comparable@1.1.0.rbi +17 -0
- data/sorbet/rbi/gems/spoom@1.1.1.rbi +1193 -0
- data/sorbet/rbi/gems/tapioca@0.4.23.rbi +1826 -0
- data/sorbet/rbi/gems/thor@1.1.0.rbi +838 -0
- data/sorbet/rbi/gems/tzinfo@2.0.4.rbi +856 -0
- data/sorbet/rbi/gems/unicode-display_width@2.0.0.rbi +26 -0
- data/sorbet/rbi/gems/unparser@0.6.0.rbi +2037 -0
- data/sorbet/rbi/gems/zeitwerk@2.4.2.rbi +173 -0
- data/sorbet/rbi/todo.rbi +8 -0
- data/sorbet/rbi/typed_params.rbi +7 -0
- data/sorbet/tapioca/require.rb +16 -0
- metadata +269 -0
@@ -0,0 +1,24 @@
|
|
1
|
+
# DO NOT EDIT MANUALLY
|
2
|
+
# This is an autogenerated file for types exported from the `path_expander` gem.
|
3
|
+
# Please instead update this file by running `bin/tapioca sync`.
|
4
|
+
|
5
|
+
# typed: true
|
6
|
+
|
7
|
+
class PathExpander
|
8
|
+
def initialize(args, glob, path = T.unsafe(nil)); end
|
9
|
+
|
10
|
+
def args; end
|
11
|
+
def args=(_arg0); end
|
12
|
+
def expand_dirs_to_files(*dirs); end
|
13
|
+
def filter_files(files, ignore); end
|
14
|
+
def glob; end
|
15
|
+
def glob=(_arg0); end
|
16
|
+
def path; end
|
17
|
+
def path=(_arg0); end
|
18
|
+
def process; end
|
19
|
+
def process_args; end
|
20
|
+
def process_file(path); end
|
21
|
+
def process_flags(flags); end
|
22
|
+
end
|
23
|
+
|
24
|
+
PathExpander::VERSION = T.let(T.unsafe(nil), String)
|
@@ -0,0 +1,393 @@
|
|
1
|
+
# DO NOT EDIT MANUALLY
|
2
|
+
# This is an autogenerated file for types exported from the `polyfill` gem.
|
3
|
+
# Please instead update this file by running `bin/tapioca sync`.
|
4
|
+
|
5
|
+
# typed: true
|
6
|
+
|
7
|
+
module Polyfill
|
8
|
+
private
|
9
|
+
|
10
|
+
def get(module_name, methods, options = T.unsafe(nil)); end
|
11
|
+
|
12
|
+
class << self
|
13
|
+
def get(module_name, methods, options = T.unsafe(nil)); end
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
17
|
+
module Polyfill::InternalUtils
|
18
|
+
private
|
19
|
+
|
20
|
+
def create_module(*args); end
|
21
|
+
def current_ruby_version; end
|
22
|
+
def ignore_warnings; end
|
23
|
+
def keep_only_these_methods!(mod, whitelist); end
|
24
|
+
def methods_to_keep(modules, methods, lead_symbol, module_name); end
|
25
|
+
def modules_to_use(module_name, versions); end
|
26
|
+
def namify_arguments(*args); end
|
27
|
+
def polyfill_versions_to_use(desired_version = T.unsafe(nil)); end
|
28
|
+
def to_f(obj); end
|
29
|
+
def to_hash(obj); end
|
30
|
+
def to_int(obj); end
|
31
|
+
def to_str(obj); end
|
32
|
+
|
33
|
+
class << self
|
34
|
+
def create_module(*args); end
|
35
|
+
def current_ruby_version; end
|
36
|
+
def ignore_warnings; end
|
37
|
+
def keep_only_these_methods!(mod, whitelist); end
|
38
|
+
def methods_to_keep(modules, methods, lead_symbol, module_name); end
|
39
|
+
def modules_to_use(module_name, versions); end
|
40
|
+
def namify_arguments(*args); end
|
41
|
+
def polyfill_versions_to_use(desired_version = T.unsafe(nil)); end
|
42
|
+
def to_f(obj); end
|
43
|
+
def to_hash(obj); end
|
44
|
+
def to_int(obj); end
|
45
|
+
def to_str(obj); end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
|
49
|
+
Polyfill::InternalUtils::VERSIONS = T.let(T.unsafe(nil), Hash)
|
50
|
+
module Polyfill::Module; end
|
51
|
+
module Polyfill::Module::MezpFbnVtZXJhYmxlPT5bIiNjaHVua193aGlsZSJdLCA6dmVyc2lvbj0_1IjIuNCJ9; end
|
52
|
+
module Polyfill::Module::MezpIYXNoPT5bIiNzbGljZSJdfQ__; end
|
53
|
+
module Polyfill::Module::MezpJbnRlZ2VyPT5bIiNjZWlsIiwgIiNmbG9vciIsICIjcm91bmQiLCAiI3RydW5jYXRlIl0sIDp2ZXJzaW9uPT4iMi40In0_; end
|
54
|
+
module Polyfill::Module::MezpLZXJuZWw9PlsiI3lpZWxkX3NlbGYiXSwgOnZlcnNpb249PiIyLjUifQ__; end
|
55
|
+
module Polyfill::Module::MezpOdW1lcmljPT5bIiNkdXAiXSwgOnZlcnNpb249PiIyLjQifQ__; end
|
56
|
+
module Polyfill::V2_2; end
|
57
|
+
|
58
|
+
module Polyfill::V2_2::Enumerable
|
59
|
+
def max(n = T.unsafe(nil)); end
|
60
|
+
def max_by(n = T.unsafe(nil)); end
|
61
|
+
def min(n = T.unsafe(nil)); end
|
62
|
+
def min_by(n = T.unsafe(nil)); end
|
63
|
+
def slice_after(pattern = T.unsafe(nil)); end
|
64
|
+
def slice_when; end
|
65
|
+
end
|
66
|
+
|
67
|
+
module Polyfill::V2_2::Kernel
|
68
|
+
def itself; end
|
69
|
+
end
|
70
|
+
|
71
|
+
module Polyfill::V2_2::Math; end
|
72
|
+
|
73
|
+
module Polyfill::V2_2::Math::ClassMethods
|
74
|
+
def log(*args); end
|
75
|
+
end
|
76
|
+
|
77
|
+
module Polyfill::V2_2::Prime; end
|
78
|
+
|
79
|
+
module Polyfill::V2_2::Prime::ClassMethods
|
80
|
+
def prime?(*args); end
|
81
|
+
end
|
82
|
+
|
83
|
+
module Polyfill::V2_2::Vector
|
84
|
+
def +@; end
|
85
|
+
end
|
86
|
+
|
87
|
+
module Polyfill::V2_3; end
|
88
|
+
|
89
|
+
module Polyfill::V2_3::Array
|
90
|
+
def bsearch_index; end
|
91
|
+
def dig(head, *rest); end
|
92
|
+
end
|
93
|
+
|
94
|
+
module Polyfill::V2_3::Enumerable
|
95
|
+
def chunk_while; end
|
96
|
+
def grep_v(pattern); end
|
97
|
+
def slice_before(*args); end
|
98
|
+
end
|
99
|
+
|
100
|
+
module Polyfill::V2_3::Enumerator; end
|
101
|
+
|
102
|
+
module Polyfill::V2_3::Enumerator::Lazy
|
103
|
+
def grep_v(pattern); end
|
104
|
+
end
|
105
|
+
|
106
|
+
module Polyfill::V2_3::Hash
|
107
|
+
def <(other); end
|
108
|
+
def <=(other); end
|
109
|
+
def >(other); end
|
110
|
+
def >=(other); end
|
111
|
+
def dig(head, *rest); end
|
112
|
+
def fetch_values(*keys); end
|
113
|
+
def to_proc; end
|
114
|
+
end
|
115
|
+
|
116
|
+
module Polyfill::V2_3::Kernel
|
117
|
+
def loop; end
|
118
|
+
end
|
119
|
+
|
120
|
+
module Polyfill::V2_3::Numeric
|
121
|
+
def negative?; end
|
122
|
+
def positive?; end
|
123
|
+
end
|
124
|
+
|
125
|
+
module Polyfill::V2_3::Prime; end
|
126
|
+
|
127
|
+
module Polyfill::V2_3::Prime::ClassMethods
|
128
|
+
def prime?(*args); end
|
129
|
+
end
|
130
|
+
|
131
|
+
module Polyfill::V2_3::String
|
132
|
+
def +@; end
|
133
|
+
def -@; end
|
134
|
+
end
|
135
|
+
|
136
|
+
module Polyfill::V2_3::String::ClassMethods
|
137
|
+
def new(*args); end
|
138
|
+
end
|
139
|
+
|
140
|
+
module Polyfill::V2_3::Struct
|
141
|
+
def dig(head, *rest); end
|
142
|
+
end
|
143
|
+
|
144
|
+
module Polyfill::V2_4; end
|
145
|
+
|
146
|
+
module Polyfill::V2_4::Array
|
147
|
+
def concat(*others); end
|
148
|
+
def sum(init = T.unsafe(nil)); end
|
149
|
+
end
|
150
|
+
|
151
|
+
module Polyfill::V2_4::Comparable
|
152
|
+
def clamp(min, max); end
|
153
|
+
end
|
154
|
+
|
155
|
+
module Polyfill::V2_4::Dir; end
|
156
|
+
|
157
|
+
module Polyfill::V2_4::Dir::ClassMethods
|
158
|
+
def empty?(path_name); end
|
159
|
+
end
|
160
|
+
|
161
|
+
module Polyfill::V2_4::Enumerable
|
162
|
+
def chunk(*_arg0); end
|
163
|
+
def sum(init = T.unsafe(nil)); end
|
164
|
+
def uniq; end
|
165
|
+
end
|
166
|
+
|
167
|
+
module Polyfill::V2_4::Enumerator; end
|
168
|
+
|
169
|
+
module Polyfill::V2_4::Enumerator::Lazy
|
170
|
+
def chunk_while; end
|
171
|
+
def uniq; end
|
172
|
+
end
|
173
|
+
|
174
|
+
module Polyfill::V2_4::File; end
|
175
|
+
|
176
|
+
module Polyfill::V2_4::File::ClassMethods
|
177
|
+
def empty?(file_name); end
|
178
|
+
end
|
179
|
+
|
180
|
+
module Polyfill::V2_4::Float
|
181
|
+
def ceil(ndigits = T.unsafe(nil)); end
|
182
|
+
def floor(ndigits = T.unsafe(nil)); end
|
183
|
+
def truncate(ndigits = T.unsafe(nil)); end
|
184
|
+
end
|
185
|
+
|
186
|
+
module Polyfill::V2_4::Hash
|
187
|
+
def compact; end
|
188
|
+
def compact!; end
|
189
|
+
def transform_values; end
|
190
|
+
def transform_values!; end
|
191
|
+
end
|
192
|
+
|
193
|
+
module Polyfill::V2_4::IO
|
194
|
+
def each_line(*args); end
|
195
|
+
def gets(*args); end
|
196
|
+
def lines(*args); end
|
197
|
+
def readline(*args); end
|
198
|
+
def readlines(*args); end
|
199
|
+
end
|
200
|
+
|
201
|
+
module Polyfill::V2_4::IO::ClassMethods
|
202
|
+
def foreach(name, *args); end
|
203
|
+
def readlines(file_name, *args); end
|
204
|
+
end
|
205
|
+
|
206
|
+
module Polyfill::V2_4::IPAddr
|
207
|
+
def <=>(*_arg0); end
|
208
|
+
def ==(*_arg0); end
|
209
|
+
end
|
210
|
+
|
211
|
+
module Polyfill::V2_4::Integer
|
212
|
+
def ceil(ndigits = T.unsafe(nil)); end
|
213
|
+
def digits(base = T.unsafe(nil)); end
|
214
|
+
def floor(ndigits = T.unsafe(nil)); end
|
215
|
+
def round(ndigits = T.unsafe(nil), half: T.unsafe(nil)); end
|
216
|
+
def truncate(ndigits = T.unsafe(nil)); end
|
217
|
+
end
|
218
|
+
|
219
|
+
module Polyfill::V2_4::MatchData
|
220
|
+
def named_captures; end
|
221
|
+
def values_at(*indexes); end
|
222
|
+
end
|
223
|
+
|
224
|
+
module Polyfill::V2_4::Numeric
|
225
|
+
def clone(freeze: T.unsafe(nil)); end
|
226
|
+
def dup; end
|
227
|
+
def finite?; end
|
228
|
+
def infinite?; end
|
229
|
+
end
|
230
|
+
|
231
|
+
module Polyfill::V2_4::Object
|
232
|
+
def clone(freeze: T.unsafe(nil)); end
|
233
|
+
end
|
234
|
+
|
235
|
+
module Polyfill::V2_4::Pathname
|
236
|
+
def empty?; end
|
237
|
+
end
|
238
|
+
|
239
|
+
module Polyfill::V2_4::Regexp
|
240
|
+
def match?(string, position = T.unsafe(nil)); end
|
241
|
+
end
|
242
|
+
|
243
|
+
module Polyfill::V2_4::String
|
244
|
+
def casecmp?(other); end
|
245
|
+
def concat(*others); end
|
246
|
+
def each_line(*args); end
|
247
|
+
def lines(*args); end
|
248
|
+
def match?(pattern, position = T.unsafe(nil)); end
|
249
|
+
def prepend(*others); end
|
250
|
+
def unpack1(*args); end
|
251
|
+
end
|
252
|
+
|
253
|
+
module Polyfill::V2_4::String::ClassMethods
|
254
|
+
def new(*args); end
|
255
|
+
end
|
256
|
+
|
257
|
+
module Polyfill::V2_4::StringIO
|
258
|
+
def each_line(*args); end
|
259
|
+
def gets(*args); end
|
260
|
+
def lines(*args); end
|
261
|
+
def readline(*args); end
|
262
|
+
def readlines(*args); end
|
263
|
+
end
|
264
|
+
|
265
|
+
module Polyfill::V2_4::StringIO::ClassMethods
|
266
|
+
def foreach(name, *args); end
|
267
|
+
def readlines(file_name, *args); end
|
268
|
+
end
|
269
|
+
|
270
|
+
module Polyfill::V2_4::Symbol
|
271
|
+
def casecmp?(other); end
|
272
|
+
def match(*args); end
|
273
|
+
def match?(pattern, position = T.unsafe(nil)); end
|
274
|
+
end
|
275
|
+
|
276
|
+
module Polyfill::V2_5; end
|
277
|
+
|
278
|
+
module Polyfill::V2_5::Array
|
279
|
+
def append(*args); end
|
280
|
+
def prepend(*args); end
|
281
|
+
end
|
282
|
+
|
283
|
+
module Polyfill::V2_5::BigDecimal
|
284
|
+
def clone; end
|
285
|
+
def dup; end
|
286
|
+
end
|
287
|
+
|
288
|
+
module Polyfill::V2_5::Dir; end
|
289
|
+
|
290
|
+
module Polyfill::V2_5::Dir::ClassMethods
|
291
|
+
def children(dirname, encoding: T.unsafe(nil)); end
|
292
|
+
def each_child(dirname, encoding: T.unsafe(nil)); end
|
293
|
+
end
|
294
|
+
|
295
|
+
module Polyfill::V2_5::Enumerable
|
296
|
+
def all?(*pattern); end
|
297
|
+
def any?(*pattern); end
|
298
|
+
def none?(*pattern); end
|
299
|
+
def one?(*pattern); end
|
300
|
+
end
|
301
|
+
|
302
|
+
module Polyfill::V2_5::Hash
|
303
|
+
def slice(*keys); end
|
304
|
+
def transform_keys; end
|
305
|
+
end
|
306
|
+
|
307
|
+
module Polyfill::V2_5::Integer
|
308
|
+
def allbits?(mask); end
|
309
|
+
def anybits?(mask); end
|
310
|
+
def ceil(*_arg0); end
|
311
|
+
def floor(*_arg0); end
|
312
|
+
def nobits?(mask); end
|
313
|
+
def round(*_arg0); end
|
314
|
+
def truncate(*_arg0); end
|
315
|
+
end
|
316
|
+
|
317
|
+
module Polyfill::V2_5::Integer::ClassMethods
|
318
|
+
def sqrt(n); end
|
319
|
+
end
|
320
|
+
|
321
|
+
module Polyfill::V2_5::Kernel
|
322
|
+
def yield_self; end
|
323
|
+
end
|
324
|
+
|
325
|
+
module Polyfill::V2_5::Set
|
326
|
+
def ===(other); end
|
327
|
+
def to_s; end
|
328
|
+
end
|
329
|
+
|
330
|
+
module Polyfill::V2_5::String
|
331
|
+
def casecmp(other_str); end
|
332
|
+
def casecmp?(other_str); end
|
333
|
+
def delete_prefix(prefix); end
|
334
|
+
def delete_prefix!(prefix); end
|
335
|
+
def delete_suffix(suffix); end
|
336
|
+
def delete_suffix!(suffix); end
|
337
|
+
def each_grapheme_cluster; end
|
338
|
+
def grapheme_clusters; end
|
339
|
+
def start_with?(*prefixes); end
|
340
|
+
end
|
341
|
+
|
342
|
+
module Polyfill::V2_5::Struct; end
|
343
|
+
|
344
|
+
module Polyfill::V2_5::Struct::ClassMethods
|
345
|
+
def new(*args, keyword_init: T.unsafe(nil)); end
|
346
|
+
end
|
347
|
+
|
348
|
+
module Polyfill::V2_5::Time; end
|
349
|
+
|
350
|
+
module Polyfill::V2_5::Time::ClassMethods
|
351
|
+
def at(*args); end
|
352
|
+
end
|
353
|
+
|
354
|
+
module Polyfill::V2_6; end
|
355
|
+
|
356
|
+
module Polyfill::V2_6::Array
|
357
|
+
def difference(*arrays); end
|
358
|
+
def to_h; end
|
359
|
+
def union(*arrays); end
|
360
|
+
end
|
361
|
+
|
362
|
+
module Polyfill::V2_6::Enumerable
|
363
|
+
def to_h; end
|
364
|
+
end
|
365
|
+
|
366
|
+
module Polyfill::V2_6::Hash
|
367
|
+
def merge(*args); end
|
368
|
+
def merge!(*args); end
|
369
|
+
def to_h; end
|
370
|
+
def update(*args); end
|
371
|
+
end
|
372
|
+
|
373
|
+
module Polyfill::V2_6::Kernel
|
374
|
+
def Complex(*args, exception: T.unsafe(nil)); end
|
375
|
+
def Float(arg, exception: T.unsafe(nil)); end
|
376
|
+
def Integer(arg, exception: T.unsafe(nil)); end
|
377
|
+
def Rational(*args, exception: T.unsafe(nil)); end
|
378
|
+
def then; end
|
379
|
+
end
|
380
|
+
|
381
|
+
module Polyfill::V2_6::OpenStruct
|
382
|
+
def to_h; end
|
383
|
+
end
|
384
|
+
|
385
|
+
module Polyfill::V2_6::String
|
386
|
+
def split(*_arg0); end
|
387
|
+
end
|
388
|
+
|
389
|
+
module Polyfill::V2_6::Struct
|
390
|
+
def to_h; end
|
391
|
+
end
|
392
|
+
|
393
|
+
Polyfill::VERSION = T.let(T.unsafe(nil), Gem::Version)
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# DO NOT EDIT MANUALLY
|
2
|
+
# This is an autogenerated file for types exported from the `pry` 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,47 @@
|
|
1
|
+
# DO NOT EDIT MANUALLY
|
2
|
+
# This is an autogenerated file for types exported from the `racc` gem.
|
3
|
+
# Please instead update this file by running `bin/tapioca sync`.
|
4
|
+
|
5
|
+
# typed: true
|
6
|
+
|
7
|
+
ParseError = Racc::ParseError
|
8
|
+
Racc::Copyright = T.let(T.unsafe(nil), String)
|
9
|
+
|
10
|
+
class Racc::Parser
|
11
|
+
def _racc_do_parse_rb(arg, in_debug); end
|
12
|
+
def _racc_do_reduce(arg, act); end
|
13
|
+
def _racc_evalact(act, arg); end
|
14
|
+
def _racc_init_sysvars; end
|
15
|
+
def _racc_setup; end
|
16
|
+
def _racc_yyparse_rb(recv, mid, arg, c_debug); end
|
17
|
+
def next_token; end
|
18
|
+
def on_error(t, val, vstack); end
|
19
|
+
def racc_accept; end
|
20
|
+
def racc_e_pop(state, tstack, vstack); end
|
21
|
+
def racc_next_state(curstate, state); end
|
22
|
+
def racc_print_stacks(t, v); end
|
23
|
+
def racc_print_states(s); end
|
24
|
+
def racc_read_token(t, tok, val); end
|
25
|
+
def racc_reduce(toks, sim, tstack, vstack); end
|
26
|
+
def racc_shift(tok, tstack, vstack); end
|
27
|
+
def racc_token2str(tok); end
|
28
|
+
def token_to_str(t); end
|
29
|
+
def yyaccept; end
|
30
|
+
def yyerrok; end
|
31
|
+
def yyerror; end
|
32
|
+
|
33
|
+
class << self
|
34
|
+
def racc_runtime_type; end
|
35
|
+
end
|
36
|
+
end
|
37
|
+
|
38
|
+
Racc::Parser::Racc_Main_Parsing_Routine = T.let(T.unsafe(nil), Symbol)
|
39
|
+
Racc::Parser::Racc_Runtime_Core_Id_C = T.let(T.unsafe(nil), String)
|
40
|
+
Racc::Parser::Racc_Runtime_Core_Version = T.let(T.unsafe(nil), String)
|
41
|
+
Racc::Parser::Racc_Runtime_Core_Version_C = T.let(T.unsafe(nil), String)
|
42
|
+
Racc::Parser::Racc_Runtime_Core_Version_R = T.let(T.unsafe(nil), String)
|
43
|
+
Racc::Parser::Racc_Runtime_Type = T.let(T.unsafe(nil), String)
|
44
|
+
Racc::Parser::Racc_Runtime_Version = T.let(T.unsafe(nil), String)
|
45
|
+
Racc::Parser::Racc_YY_Parse_Method = T.let(T.unsafe(nil), Symbol)
|
46
|
+
Racc::VERSION = T.let(T.unsafe(nil), String)
|
47
|
+
Racc::Version = T.let(T.unsafe(nil), String)
|