muina 0.2.7 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +25 -0
- data/README.md +0 -35
- data/lib/muina/maybe/none.rb +57 -0
- data/lib/muina/maybe/some.rb +61 -0
- data/lib/muina/maybe.rb +13 -0
- data/lib/muina/version.rb +1 -2
- data/lib/muina.rb +0 -32
- metadata +24 -226
- data/.github/workflows/main.yml +0 -16
- data/.gitignore +0 -5
- data/.mutant.yml +0 -38
- data/.rspec +0 -4
- data/.rubocop.yml +0 -172
- data/.ruby-version +0 -1
- data/.simplecov +0 -14
- data/CHANGELOG.md +0 -38
- data/Gemfile +0 -34
- data/Gemfile.lock +0 -265
- data/Guardfile +0 -24
- data/Rakefile +0 -13
- data/SECURITY.md +0 -14
- data/bin/bundle +0 -114
- data/bin/console +0 -15
- data/bin/flay +0 -29
- data/bin/flog +0 -29
- data/bin/guard +0 -29
- data/bin/irb +0 -29
- data/bin/lefthook +0 -29
- data/bin/mutant +0 -29
- data/bin/parlour +0 -29
- data/bin/rake +0 -29
- data/bin/rspec +0 -29
- data/bin/rubocop +0 -29
- data/bin/setup +0 -8
- data/bin/srb +0 -29
- data/bin/srb-rbi +0 -29
- data/bin/tapioca +0 -29
- data/exe/muina +0 -11
- data/lefthook.yml +0 -39
- data/lib/muina/action/params_factory.rb +0 -17
- data/lib/muina/action/step/command.rb +0 -31
- data/lib/muina/action/step/failure.rb +0 -18
- data/lib/muina/action/step/query.rb +0 -31
- data/lib/muina/action/step/result.rb +0 -51
- data/lib/muina/action/step.rb +0 -13
- data/lib/muina/action.rb +0 -73
- data/lib/muina/any.rb +0 -7
- data/lib/muina/classes.rb +0 -7
- data/lib/muina/module.rb +0 -6
- data/lib/muina/parameters.rb +0 -7
- data/lib/muina/params.rb +0 -19
- data/lib/muina/private_creation.rb +0 -12
- data/lib/muina/result/factory.rb +0 -37
- data/lib/muina/result/failure.rb +0 -31
- data/lib/muina/result/null.rb +0 -25
- data/lib/muina/result/success.rb +0 -31
- data/lib/muina/result.rb +0 -17
- data/lib/muina/service.rb +0 -37
- data/lib/muina/symbol_hash.rb +0 -7
- data/lib/muina/unit.rb +0 -10
- data/lib/muina/untyped_array.rb +0 -7
- data/lib/muina/untyped_hash.rb +0 -7
- data/lib/muina/value.rb +0 -16
- data/muina.gemspec +0 -35
- data/rbi/muina.rbi +0 -268
- data/sorbet/config +0 -2
- data/sorbet/rbi/gems/actionpack@6.1.4.rbi +0 -5045
- data/sorbet/rbi/gems/actionview@6.1.4.rbi +0 -2416
- data/sorbet/rbi/gems/activesupport@6.1.4.rbi +0 -3778
- data/sorbet/rbi/gems/ast@2.4.2.rbi +0 -54
- data/sorbet/rbi/gems/awesome_print@1.9.2.rbi +0 -322
- data/sorbet/rbi/gems/builder@3.2.4.rbi +0 -8
- data/sorbet/rbi/gems/byebug@11.1.3.rbi +0 -18
- data/sorbet/rbi/gems/coderay@1.1.3.rbi +0 -8
- data/sorbet/rbi/gems/colorize@0.8.1.rbi +0 -39
- data/sorbet/rbi/gems/commander@4.6.0.rbi +0 -8
- data/sorbet/rbi/gems/concurrent-ruby@1.1.9.rbi +0 -2403
- data/sorbet/rbi/gems/crass@1.0.6.rbi +0 -123
- data/sorbet/rbi/gems/diff-lcs@1.4.4.rbi +0 -185
- data/sorbet/rbi/gems/docile@1.4.0.rbi +0 -54
- data/sorbet/rbi/gems/erubi@1.10.0.rbi +0 -36
- data/sorbet/rbi/gems/erubis@2.7.0.rbi +0 -8
- data/sorbet/rbi/gems/faker@2.18.0.rbi +0 -2469
- data/sorbet/rbi/gems/ffi@1.15.3.rbi +0 -8
- data/sorbet/rbi/gems/flay@2.12.1.rbi +0 -178
- data/sorbet/rbi/gems/flog@4.6.4.rbi +0 -70
- data/sorbet/rbi/gems/formatador@0.3.0.rbi +0 -8
- data/sorbet/rbi/gems/guard-compat@1.2.1.rbi +0 -49
- data/sorbet/rbi/gems/guard-rspec@4.7.3.rbi +0 -233
- data/sorbet/rbi/gems/guard-rubocop@1.4.0.rbi +0 -66
- data/sorbet/rbi/gems/guard-shell@0.7.2.rbi +0 -69
- data/sorbet/rbi/gems/guard@2.18.0.rbi +0 -617
- data/sorbet/rbi/gems/highline@2.0.3.rbi +0 -8
- data/sorbet/rbi/gems/i18n@1.8.10.rbi +0 -616
- data/sorbet/rbi/gems/io-console@0.5.9.rbi +0 -8
- data/sorbet/rbi/gems/irb@1.3.6.rbi +0 -452
- data/sorbet/rbi/gems/lefthook@0.7.6.rbi +0 -8
- data/sorbet/rbi/gems/listen@3.6.0.rbi +0 -476
- data/sorbet/rbi/gems/loofah@2.10.0.rbi +0 -223
- data/sorbet/rbi/gems/lumberjack@1.2.8.rbi +0 -431
- data/sorbet/rbi/gems/method_source@1.0.0.rbi +0 -8
- data/sorbet/rbi/gems/minitest@5.14.4.rbi +0 -344
- data/sorbet/rbi/gems/mutant-license@0.1.1.1.4043027289354708743625974235631451632228.0.rbi +0 -8
- data/sorbet/rbi/gems/mutant-rspec@0.10.32.rbi +0 -8
- data/sorbet/rbi/gems/mutant@0.10.32.rbi +0 -4154
- data/sorbet/rbi/gems/nenv@0.3.0.rbi +0 -88
- data/sorbet/rbi/gems/nokogiri@1.11.7.rbi +0 -1422
- data/sorbet/rbi/gems/notiffany@0.1.3.rbi +0 -331
- data/sorbet/rbi/gems/parallel@1.20.1.rbi +0 -113
- data/sorbet/rbi/gems/parlour@6.0.1.rbi +0 -1726
- data/sorbet/rbi/gems/parser@3.0.2.0.rbi +0 -1683
- data/sorbet/rbi/gems/path_expander@1.1.0.rbi +0 -24
- data/sorbet/rbi/gems/polyfill@1.9.0.rbi +0 -393
- data/sorbet/rbi/gems/pry@0.14.1.rbi +0 -8
- data/sorbet/rbi/gems/racc@1.5.2.rbi +0 -47
- data/sorbet/rbi/gems/rack-test@1.1.0.rbi +0 -272
- data/sorbet/rbi/gems/rack@2.2.3.rbi +0 -1618
- data/sorbet/rbi/gems/rails-dom-testing@2.0.3.rbi +0 -92
- data/sorbet/rbi/gems/rails-html-sanitizer@1.3.0.rbi +0 -183
- data/sorbet/rbi/gems/rainbow@3.0.0.rbi +0 -153
- data/sorbet/rbi/gems/rake@13.0.6.rbi +0 -808
- data/sorbet/rbi/gems/rb-fsevent@0.11.0.rbi +0 -8
- data/sorbet/rbi/gems/rb-inotify@0.10.1.rbi +0 -8
- data/sorbet/rbi/gems/regexp_parser@2.1.1.rbi +0 -1120
- data/sorbet/rbi/gems/reline@0.2.6.rbi +0 -662
- data/sorbet/rbi/gems/rexml@3.2.5.rbi +0 -672
- data/sorbet/rbi/gems/rspec-core@3.10.1.rbi +0 -2509
- data/sorbet/rbi/gems/rspec-expectations@3.10.1.rbi +0 -1574
- data/sorbet/rbi/gems/rspec-mocks@3.10.2.rbi +0 -1462
- data/sorbet/rbi/gems/rspec-support@3.10.2.rbi +0 -509
- data/sorbet/rbi/gems/rspec@3.10.0.rbi +0 -38
- data/sorbet/rbi/gems/rubocop-ast@1.8.0.rbi +0 -2194
- data/sorbet/rbi/gems/rubocop-performance@1.11.4.rbi +0 -899
- data/sorbet/rbi/gems/rubocop-rake@0.6.0.rbi +0 -118
- data/sorbet/rbi/gems/rubocop-rspec@2.4.0.rbi +0 -1805
- data/sorbet/rbi/gems/rubocop-sorbet@0.6.2.rbi +0 -288
- data/sorbet/rbi/gems/rubocop@1.18.4.rbi +0 -13197
- data/sorbet/rbi/gems/ruby-progressbar@1.11.0.rbi +0 -405
- data/sorbet/rbi/gems/ruby_parser@3.16.0.rbi +0 -4528
- data/sorbet/rbi/gems/safe_type@1.1.1.rbi +0 -157
- data/sorbet/rbi/gems/sexp_processor@4.15.3.rbi +0 -359
- data/sorbet/rbi/gems/shellany@0.0.1.rbi +0 -28
- data/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +0 -89
- data/sorbet/rbi/gems/simplecov@0.21.2.rbi +0 -577
- data/sorbet/rbi/gems/simplecov_json_formatter@0.1.3.rbi +0 -8
- data/sorbet/rbi/gems/sorbet-coerce@0.5.0.rbi +0 -42
- data/sorbet/rbi/gems/sorbet-rails@0.7.4.rbi +0 -8
- data/sorbet/rbi/gems/sorbet-struct-comparable@1.1.0.rbi +0 -17
- data/sorbet/rbi/gems/spoom@1.1.1.rbi +0 -1193
- data/sorbet/rbi/gems/tapioca@0.4.23.rbi +0 -1826
- data/sorbet/rbi/gems/thor@1.1.0.rbi +0 -838
- data/sorbet/rbi/gems/tzinfo@2.0.4.rbi +0 -856
- data/sorbet/rbi/gems/unicode-display_width@2.0.0.rbi +0 -26
- data/sorbet/rbi/gems/unparser@0.6.0.rbi +0 -2037
- data/sorbet/rbi/gems/zeitwerk@2.4.2.rbi +0 -173
- data/sorbet/rbi/todo.rbi +0 -8
- data/sorbet/rbi/typed_params.rbi +0 -7
- data/sorbet/tapioca/require.rb +0 -16
@@ -1,431 +0,0 @@
|
|
1
|
-
# DO NOT EDIT MANUALLY
|
2
|
-
# This is an autogenerated file for types exported from the `lumberjack` gem.
|
3
|
-
# Please instead update this file by running `bin/tapioca sync`.
|
4
|
-
|
5
|
-
# typed: true
|
6
|
-
|
7
|
-
module Lumberjack
|
8
|
-
class << self
|
9
|
-
def context(&block); end
|
10
|
-
def context?; end
|
11
|
-
def context_tags; end
|
12
|
-
def tag(tags); end
|
13
|
-
def unit_of_work(id = T.unsafe(nil)); end
|
14
|
-
def unit_of_work_id; end
|
15
|
-
def use_context(context, &block); end
|
16
|
-
end
|
17
|
-
end
|
18
|
-
|
19
|
-
class Lumberjack::Context
|
20
|
-
def initialize(parent_context = T.unsafe(nil)); end
|
21
|
-
|
22
|
-
def [](key); end
|
23
|
-
def []=(key, value); end
|
24
|
-
def reset; end
|
25
|
-
def tag(tags); end
|
26
|
-
def tags; end
|
27
|
-
end
|
28
|
-
|
29
|
-
class Lumberjack::Device
|
30
|
-
def cleanup_files!; end
|
31
|
-
def close; end
|
32
|
-
def datetime_format; end
|
33
|
-
def datetime_format=(format); end
|
34
|
-
def do_once(file); end
|
35
|
-
def flush; end
|
36
|
-
def reopen(logdev = T.unsafe(nil)); end
|
37
|
-
def write(entry); end
|
38
|
-
end
|
39
|
-
|
40
|
-
class Lumberjack::Device::DateRollingLogFile < ::Lumberjack::Device::RollingLogFile
|
41
|
-
def initialize(path, options = T.unsafe(nil)); end
|
42
|
-
|
43
|
-
def archive_file_suffix; end
|
44
|
-
def roll_file?; end
|
45
|
-
|
46
|
-
protected
|
47
|
-
|
48
|
-
def after_roll; end
|
49
|
-
end
|
50
|
-
|
51
|
-
class Lumberjack::Device::LogFile < ::Lumberjack::Device::Writer
|
52
|
-
def initialize(path, options = T.unsafe(nil)); end
|
53
|
-
|
54
|
-
def path; end
|
55
|
-
def reopen(logdev = T.unsafe(nil)); end
|
56
|
-
|
57
|
-
private
|
58
|
-
|
59
|
-
def file_stream; end
|
60
|
-
end
|
61
|
-
|
62
|
-
Lumberjack::Device::LogFile::EXTERNAL_ENCODING = T.let(T.unsafe(nil), String)
|
63
|
-
|
64
|
-
class Lumberjack::Device::Multi < ::Lumberjack::Device
|
65
|
-
def initialize(*devices); end
|
66
|
-
|
67
|
-
def close; end
|
68
|
-
def datetime_format; end
|
69
|
-
def datetime_format=(format); end
|
70
|
-
def flush; end
|
71
|
-
def reopen(logdev = T.unsafe(nil)); end
|
72
|
-
def write(entry); end
|
73
|
-
end
|
74
|
-
|
75
|
-
class Lumberjack::Device::Null < ::Lumberjack::Device
|
76
|
-
def initialize(*args); end
|
77
|
-
|
78
|
-
def write(entry); end
|
79
|
-
end
|
80
|
-
|
81
|
-
class Lumberjack::Device::RollingLogFile < ::Lumberjack::Device::LogFile
|
82
|
-
def initialize(path, options = T.unsafe(nil)); end
|
83
|
-
|
84
|
-
def archive_file_suffix; end
|
85
|
-
def keep; end
|
86
|
-
def keep=(_arg0); end
|
87
|
-
def path; end
|
88
|
-
def roll_file!; end
|
89
|
-
def roll_file?; end
|
90
|
-
|
91
|
-
protected
|
92
|
-
|
93
|
-
def after_roll; end
|
94
|
-
def before_flush; end
|
95
|
-
|
96
|
-
private
|
97
|
-
|
98
|
-
def reopen_file; end
|
99
|
-
end
|
100
|
-
|
101
|
-
class Lumberjack::Device::SizeRollingLogFile < ::Lumberjack::Device::RollingLogFile
|
102
|
-
def initialize(path, options = T.unsafe(nil)); end
|
103
|
-
|
104
|
-
def archive_file_suffix; end
|
105
|
-
def max_size; end
|
106
|
-
def roll_file?; end
|
107
|
-
|
108
|
-
protected
|
109
|
-
|
110
|
-
def next_archive_number; end
|
111
|
-
end
|
112
|
-
|
113
|
-
class Lumberjack::Device::Writer < ::Lumberjack::Device
|
114
|
-
def initialize(stream, options = T.unsafe(nil)); end
|
115
|
-
|
116
|
-
def buffer_size; end
|
117
|
-
def buffer_size=(value); end
|
118
|
-
def close; end
|
119
|
-
def datetime_format; end
|
120
|
-
def datetime_format=(format); end
|
121
|
-
def flush; end
|
122
|
-
def write(entry); end
|
123
|
-
|
124
|
-
protected
|
125
|
-
|
126
|
-
def stream; end
|
127
|
-
def stream=(_arg0); end
|
128
|
-
|
129
|
-
private
|
130
|
-
|
131
|
-
def write_to_stream(lines); end
|
132
|
-
end
|
133
|
-
|
134
|
-
class Lumberjack::Device::Writer::Buffer
|
135
|
-
def initialize; end
|
136
|
-
|
137
|
-
def <<(string); end
|
138
|
-
def clear; end
|
139
|
-
def empty?; end
|
140
|
-
def pop!; end
|
141
|
-
def size; end
|
142
|
-
end
|
143
|
-
|
144
|
-
Lumberjack::Device::Writer::DEFAULT_ADDITIONAL_LINES_TEMPLATE = T.let(T.unsafe(nil), String)
|
145
|
-
Lumberjack::Device::Writer::DEFAULT_FIRST_LINE_TEMPLATE = T.let(T.unsafe(nil), String)
|
146
|
-
|
147
|
-
class Lumberjack::Formatter
|
148
|
-
def initialize; end
|
149
|
-
|
150
|
-
def add(klass, formatter = T.unsafe(nil), &block); end
|
151
|
-
def call(severity, timestamp, progname, msg); end
|
152
|
-
def clear; end
|
153
|
-
def format(message); end
|
154
|
-
def remove(klass); end
|
155
|
-
|
156
|
-
private
|
157
|
-
|
158
|
-
def formatter_for(klass); end
|
159
|
-
|
160
|
-
class << self
|
161
|
-
def empty; end
|
162
|
-
end
|
163
|
-
end
|
164
|
-
|
165
|
-
class Lumberjack::Formatter::DateTimeFormatter
|
166
|
-
def initialize(format = T.unsafe(nil)); end
|
167
|
-
|
168
|
-
def call(obj); end
|
169
|
-
def format; end
|
170
|
-
end
|
171
|
-
|
172
|
-
class Lumberjack::Formatter::ExceptionFormatter
|
173
|
-
def initialize(backtrace_cleaner = T.unsafe(nil)); end
|
174
|
-
|
175
|
-
def backtrace_cleaner; end
|
176
|
-
def backtrace_cleaner=(_arg0); end
|
177
|
-
def call(exception); end
|
178
|
-
|
179
|
-
private
|
180
|
-
|
181
|
-
def clean_backtrace(trace); end
|
182
|
-
end
|
183
|
-
|
184
|
-
class Lumberjack::Formatter::IdFormatter
|
185
|
-
def initialize(id_attribute = T.unsafe(nil)); end
|
186
|
-
|
187
|
-
def call(obj); end
|
188
|
-
end
|
189
|
-
|
190
|
-
class Lumberjack::Formatter::InspectFormatter
|
191
|
-
def call(obj); end
|
192
|
-
end
|
193
|
-
|
194
|
-
class Lumberjack::Formatter::ObjectFormatter
|
195
|
-
def call(obj); end
|
196
|
-
end
|
197
|
-
|
198
|
-
class Lumberjack::Formatter::PrettyPrintFormatter
|
199
|
-
def initialize(width = T.unsafe(nil)); end
|
200
|
-
|
201
|
-
def call(obj); end
|
202
|
-
def width; end
|
203
|
-
def width=(_arg0); end
|
204
|
-
end
|
205
|
-
|
206
|
-
class Lumberjack::Formatter::StringFormatter
|
207
|
-
def call(obj); end
|
208
|
-
end
|
209
|
-
|
210
|
-
class Lumberjack::Formatter::StripFormatter
|
211
|
-
def call(obj); end
|
212
|
-
end
|
213
|
-
|
214
|
-
class Lumberjack::Formatter::StructuredFormatter
|
215
|
-
def initialize(formatter = T.unsafe(nil)); end
|
216
|
-
|
217
|
-
def call(obj); end
|
218
|
-
|
219
|
-
private
|
220
|
-
|
221
|
-
def call_with_references(obj, references); end
|
222
|
-
def with_object_reference(obj, references); end
|
223
|
-
end
|
224
|
-
|
225
|
-
class Lumberjack::Formatter::StructuredFormatter::RecusiveReferenceError < ::StandardError; end
|
226
|
-
Lumberjack::LINE_SEPARATOR = T.let(T.unsafe(nil), String)
|
227
|
-
|
228
|
-
class Lumberjack::LogEntry
|
229
|
-
def initialize(time, severity, message, progname, pid, tags); end
|
230
|
-
|
231
|
-
def inspect; end
|
232
|
-
def message; end
|
233
|
-
def message=(_arg0); end
|
234
|
-
def pid; end
|
235
|
-
def pid=(_arg0); end
|
236
|
-
def progname; end
|
237
|
-
def progname=(_arg0); end
|
238
|
-
def severity; end
|
239
|
-
def severity=(_arg0); end
|
240
|
-
def severity_label; end
|
241
|
-
def tag(name); end
|
242
|
-
def tags; end
|
243
|
-
def tags=(_arg0); end
|
244
|
-
def time; end
|
245
|
-
def time=(_arg0); end
|
246
|
-
def to_s; end
|
247
|
-
def unit_of_work_id; end
|
248
|
-
def unit_of_work_id=(value); end
|
249
|
-
|
250
|
-
private
|
251
|
-
|
252
|
-
def tags_to_s; end
|
253
|
-
end
|
254
|
-
|
255
|
-
Lumberjack::LogEntry::TIME_FORMAT = T.let(T.unsafe(nil), String)
|
256
|
-
Lumberjack::LogEntry::UNIT_OF_WORK_ID = T.let(T.unsafe(nil), String)
|
257
|
-
|
258
|
-
class Lumberjack::Logger
|
259
|
-
include ::Lumberjack::Severity
|
260
|
-
|
261
|
-
def initialize(device = T.unsafe(nil), options = T.unsafe(nil)); end
|
262
|
-
|
263
|
-
def <<(msg); end
|
264
|
-
def add(severity, message = T.unsafe(nil), progname = T.unsafe(nil), &block); end
|
265
|
-
def add_entry(severity, message, progname = T.unsafe(nil), tags = T.unsafe(nil)); end
|
266
|
-
def close; end
|
267
|
-
def closed?; end
|
268
|
-
def datetime_format; end
|
269
|
-
def datetime_format=(format); end
|
270
|
-
def debug(message_or_progname_or_tags = T.unsafe(nil), progname_or_tags = T.unsafe(nil), &block); end
|
271
|
-
def debug!; end
|
272
|
-
def debug?; end
|
273
|
-
def device; end
|
274
|
-
def device=(_arg0); end
|
275
|
-
def error(message_or_progname_or_tags = T.unsafe(nil), progname_or_tags = T.unsafe(nil), &block); end
|
276
|
-
def error!; end
|
277
|
-
def error?; end
|
278
|
-
def fatal(message_or_progname_or_tags = T.unsafe(nil), progname_or_tags = T.unsafe(nil), &block); end
|
279
|
-
def fatal!; end
|
280
|
-
def fatal?; end
|
281
|
-
def flush; end
|
282
|
-
def formatter; end
|
283
|
-
def formatter=(value); end
|
284
|
-
def info(message_or_progname_or_tags = T.unsafe(nil), progname_or_tags = T.unsafe(nil), &block); end
|
285
|
-
def info!; end
|
286
|
-
def info?; end
|
287
|
-
def last_flushed_at; end
|
288
|
-
def level; end
|
289
|
-
def level=(value); end
|
290
|
-
def log(severity, message = T.unsafe(nil), progname = T.unsafe(nil), &block); end
|
291
|
-
def progname; end
|
292
|
-
def progname=(_arg0); end
|
293
|
-
def remove_tag(*tag_names); end
|
294
|
-
def reopen(logdev = T.unsafe(nil)); end
|
295
|
-
def set_progname(value, &block); end
|
296
|
-
def sev_threshold; end
|
297
|
-
def sev_threshold=(value); end
|
298
|
-
def silence(temporary_level = T.unsafe(nil), &block); end
|
299
|
-
def silencer; end
|
300
|
-
def silencer=(_arg0); end
|
301
|
-
def tag(tags, &block); end
|
302
|
-
def tag_formatter; end
|
303
|
-
def tag_formatter=(_arg0); end
|
304
|
-
def tagged_logger!; end
|
305
|
-
def tags; end
|
306
|
-
def unknown(message_or_progname_or_tags = T.unsafe(nil), progname_or_tags = T.unsafe(nil), &block); end
|
307
|
-
def untagged(&block); end
|
308
|
-
def warn(message_or_progname_or_tags = T.unsafe(nil), progname_or_tags = T.unsafe(nil), &block); end
|
309
|
-
def warn!; end
|
310
|
-
def warn?; end
|
311
|
-
|
312
|
-
private
|
313
|
-
|
314
|
-
def call_add_entry(severity, message_or_progname_or_tags, progname_or_tags, &block); end
|
315
|
-
def create_flusher_thread(flush_seconds); end
|
316
|
-
def open_device(device, options); end
|
317
|
-
def push_thread_local_value(name, value); end
|
318
|
-
def set_thread_local_value(name, value); end
|
319
|
-
def thread_local_value(name); end
|
320
|
-
def write_to_device(entry); end
|
321
|
-
end
|
322
|
-
|
323
|
-
module Lumberjack::Rack; end
|
324
|
-
|
325
|
-
class Lumberjack::Rack::Context
|
326
|
-
def initialize(app); end
|
327
|
-
|
328
|
-
def call(env); end
|
329
|
-
end
|
330
|
-
|
331
|
-
class Lumberjack::Rack::RequestId
|
332
|
-
def initialize(app, abbreviated = T.unsafe(nil)); end
|
333
|
-
|
334
|
-
def call(env); end
|
335
|
-
end
|
336
|
-
|
337
|
-
Lumberjack::Rack::RequestId::REQUEST_ID = T.let(T.unsafe(nil), String)
|
338
|
-
|
339
|
-
class Lumberjack::Rack::UnitOfWork
|
340
|
-
def initialize(app); end
|
341
|
-
|
342
|
-
def call(env); end
|
343
|
-
end
|
344
|
-
|
345
|
-
module Lumberjack::Severity
|
346
|
-
class << self
|
347
|
-
def label_to_level(label); end
|
348
|
-
def level_to_label(severity); end
|
349
|
-
end
|
350
|
-
end
|
351
|
-
|
352
|
-
Lumberjack::Severity::DEBUG = T.let(T.unsafe(nil), Integer)
|
353
|
-
Lumberjack::Severity::ERROR = T.let(T.unsafe(nil), Integer)
|
354
|
-
Lumberjack::Severity::FATAL = T.let(T.unsafe(nil), Integer)
|
355
|
-
Lumberjack::Severity::INFO = T.let(T.unsafe(nil), Integer)
|
356
|
-
Lumberjack::Severity::SEVERITY_LABELS = T.let(T.unsafe(nil), Array)
|
357
|
-
Lumberjack::Severity::UNKNOWN = T.let(T.unsafe(nil), Integer)
|
358
|
-
Lumberjack::Severity::WARN = T.let(T.unsafe(nil), Integer)
|
359
|
-
|
360
|
-
class Lumberjack::TagFormatter
|
361
|
-
def initialize; end
|
362
|
-
|
363
|
-
def add(names, formatter = T.unsafe(nil), &block); end
|
364
|
-
def clear; end
|
365
|
-
def default(formatter = T.unsafe(nil), &block); end
|
366
|
-
def format(tags); end
|
367
|
-
def remove(names); end
|
368
|
-
def remove_default; end
|
369
|
-
|
370
|
-
private
|
371
|
-
|
372
|
-
def dereference_formatter(formatter); end
|
373
|
-
end
|
374
|
-
|
375
|
-
module Lumberjack::TaggedLoggerSupport
|
376
|
-
def clear_tags!; end
|
377
|
-
def pop_tags(size = T.unsafe(nil)); end
|
378
|
-
def push_tags(*tags); end
|
379
|
-
def tagged(*tags, &block); end
|
380
|
-
end
|
381
|
-
|
382
|
-
class Lumberjack::TaggedLoggerSupport::Formatter
|
383
|
-
extend ::Forwardable
|
384
|
-
|
385
|
-
def initialize(formatter:, logger:); end
|
386
|
-
|
387
|
-
def __formatter; end
|
388
|
-
def clear_tags!(*args, &block); end
|
389
|
-
def current_tags; end
|
390
|
-
def pop_tags(*args, &block); end
|
391
|
-
def push_tags(*args, &block); end
|
392
|
-
def tagged(*args, &block); end
|
393
|
-
def tags_text; end
|
394
|
-
end
|
395
|
-
|
396
|
-
module Lumberjack::TaggedLogging
|
397
|
-
mixes_in_class_methods ::Lumberjack::TaggedLogging::ClassMethods
|
398
|
-
|
399
|
-
class << self
|
400
|
-
def included(base); end
|
401
|
-
end
|
402
|
-
end
|
403
|
-
|
404
|
-
module Lumberjack::TaggedLogging::ClassMethods
|
405
|
-
def new(logger); end
|
406
|
-
end
|
407
|
-
|
408
|
-
class Lumberjack::Tags
|
409
|
-
class << self
|
410
|
-
def expand_runtime_values(hash); end
|
411
|
-
def stringify_keys(hash); end
|
412
|
-
end
|
413
|
-
end
|
414
|
-
|
415
|
-
class Lumberjack::Template
|
416
|
-
def initialize(first_line, options = T.unsafe(nil)); end
|
417
|
-
|
418
|
-
def call(entry); end
|
419
|
-
def datetime_format; end
|
420
|
-
def datetime_format=(format); end
|
421
|
-
|
422
|
-
private
|
423
|
-
|
424
|
-
def compile(template); end
|
425
|
-
def tag_args(tags, tag_vars); end
|
426
|
-
end
|
427
|
-
|
428
|
-
Lumberjack::Template::MICROSECOND_TIME_FORMAT = T.let(T.unsafe(nil), String)
|
429
|
-
Lumberjack::Template::MILLISECOND_TIME_FORMAT = T.let(T.unsafe(nil), String)
|
430
|
-
Lumberjack::Template::PLACEHOLDER_PATTERN = T.let(T.unsafe(nil), Regexp)
|
431
|
-
Lumberjack::Template::TEMPLATE_ARGUMENT_ORDER = T.let(T.unsafe(nil), Array)
|
@@ -1,8 +0,0 @@
|
|
1
|
-
# DO NOT EDIT MANUALLY
|
2
|
-
# This is an autogenerated file for types exported from the `method_source` 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
|