dry-monads-sorbet 1.1.6 → 1.1.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (111) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/ci.yml +14 -22
  3. data/.gitignore +3 -1
  4. data/CHANGELOG.md +4 -0
  5. data/Gemfile +1 -6
  6. data/bin/tapioca +29 -0
  7. data/dry-monads-sorbet.gemspec +3 -2
  8. data/lib/bundled_rbi/dry-monads.rbi +3 -3
  9. data/lib/dry/monads/sorbet/version.rb +1 -1
  10. data/nix/sources.json +14 -0
  11. data/nix/sources.nix +174 -0
  12. data/run_ci.sh +7 -0
  13. data/shell.nix +20 -0
  14. data/sorbet/config +6 -0
  15. data/sorbet/rbi/gems/{ast.rbi → ast@2.4.2.rbi} +28 -22
  16. data/sorbet/rbi/gems/byebug@11.1.3.rbi +1568 -0
  17. data/sorbet/rbi/gems/coderay@1.1.3.rbi +1005 -0
  18. data/sorbet/rbi/gems/concurrent-ruby@1.1.9.rbi +915 -0
  19. data/sorbet/rbi/gems/diff-lcs@1.4.4.rbi +8 -0
  20. data/sorbet/rbi/gems/docile@1.4.0.rbi +54 -0
  21. data/sorbet/rbi/gems/dry-core@0.7.1.rbi +92 -0
  22. data/sorbet/rbi/gems/dry-equalizer@0.3.0.rbi +28 -0
  23. data/sorbet/rbi/gems/dry-monads@1.4.0.rbi +697 -0
  24. data/sorbet/rbi/gems/ffaker@2.20.0.rbi +3171 -0
  25. data/sorbet/rbi/gems/method_source@1.0.0.rbi +72 -0
  26. data/sorbet/rbi/gems/parallel@1.21.0.rbi +113 -0
  27. data/sorbet/rbi/gems/parser@3.0.2.0.rbi +1189 -0
  28. data/sorbet/rbi/gems/pry-byebug@3.8.0.rbi +458 -0
  29. data/sorbet/rbi/gems/{pry.rbi → pry@0.14.1.rbi} +2264 -1727
  30. data/sorbet/rbi/gems/{rainbow.rbi → rainbow@3.0.0.rbi} +90 -55
  31. data/sorbet/rbi/gems/{rake.rbi → rake@13.0.6.rbi} +578 -431
  32. data/sorbet/rbi/gems/rb-fsevent@0.11.0.rbi +8 -0
  33. data/sorbet/rbi/gems/rb-readline@0.5.5.rbi +884 -0
  34. data/sorbet/rbi/gems/rbi@0.0.6.rbi +1405 -0
  35. data/sorbet/rbi/gems/regexp_parser@2.1.1.rbi +1120 -0
  36. data/sorbet/rbi/gems/{rexml.rbi → rexml@3.2.5.rbi} +564 -497
  37. data/sorbet/rbi/gems/{rspec-core.rbi → rspec-core@3.10.1.rbi} +2345 -1766
  38. data/sorbet/rbi/gems/{rspec-expectations.rbi → rspec-expectations@3.10.1.rbi} +1149 -698
  39. data/sorbet/rbi/gems/{rspec-mocks.rbi → rspec-mocks@3.10.2.rbi} +1299 -936
  40. data/sorbet/rbi/gems/rspec-support@3.10.2.rbi +509 -0
  41. data/sorbet/rbi/gems/rspec@3.10.0.rbi +38 -0
  42. data/sorbet/rbi/gems/rubocop-ast@1.12.0.rbi +1938 -0
  43. data/sorbet/rbi/gems/rubocop-rspec@2.5.0.rbi +1786 -0
  44. data/sorbet/rbi/gems/rubocop@1.22.1.rbi +13252 -0
  45. data/sorbet/rbi/gems/ruby-progressbar@1.11.0.rbi +405 -0
  46. data/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +89 -0
  47. data/sorbet/rbi/gems/simplecov@0.21.2.rbi +577 -0
  48. data/sorbet/rbi/gems/simplecov_json_formatter@0.1.3.rbi +8 -0
  49. data/sorbet/rbi/gems/spoom@1.1.5.rbi +1241 -0
  50. data/sorbet/rbi/gems/stackprof@0.2.17.rbi +98 -0
  51. data/sorbet/rbi/gems/tapioca@0.5.2.rbi +949 -0
  52. data/sorbet/rbi/gems/thor@1.1.0.rbi +839 -0
  53. data/sorbet/rbi/gems/unicode-display_width@2.1.0.rbi +26 -0
  54. data/sorbet/rbi/gems/unparser@0.6.0.rbi +8 -0
  55. data/sorbet/tapioca/require.rb +4 -0
  56. metadata +65 -68
  57. data/.ruby-version +0 -1
  58. data/sorbet/rbi/gems/activesupport.rbi +0 -1722
  59. data/sorbet/rbi/gems/byebug.rbi +0 -1041
  60. data/sorbet/rbi/gems/coderay.rbi +0 -285
  61. data/sorbet/rbi/gems/concurrent-ruby.rbi +0 -1586
  62. data/sorbet/rbi/gems/docile.rbi +0 -32
  63. data/sorbet/rbi/gems/dry-core.rbi +0 -38
  64. data/sorbet/rbi/gems/dry-equalizer.rbi +0 -26
  65. data/sorbet/rbi/gems/dry-monads.rbi +0 -510
  66. data/sorbet/rbi/gems/em-websocket.rbi +0 -225
  67. data/sorbet/rbi/gems/eventmachine.rbi +0 -489
  68. data/sorbet/rbi/gems/ffaker.rbi +0 -60
  69. data/sorbet/rbi/gems/guard.rbi +0 -397
  70. data/sorbet/rbi/gems/http_parser.rb.rbi +0 -37
  71. data/sorbet/rbi/gems/i18n.rbi +0 -133
  72. data/sorbet/rbi/gems/kwalify.rbi +0 -340
  73. data/sorbet/rbi/gems/listen.rbi +0 -324
  74. data/sorbet/rbi/gems/lumberjack.rbi +0 -300
  75. data/sorbet/rbi/gems/method_source.rbi +0 -64
  76. data/sorbet/rbi/gems/multi_json.rbi +0 -62
  77. data/sorbet/rbi/gems/nenv.rbi +0 -60
  78. data/sorbet/rbi/gems/notiffany.rbi +0 -215
  79. data/sorbet/rbi/gems/parallel.rbi +0 -82
  80. data/sorbet/rbi/gems/parser.rbi +0 -1846
  81. data/sorbet/rbi/gems/pry-byebug.rbi +0 -155
  82. data/sorbet/rbi/gems/rb-fsevent.rbi +0 -31
  83. data/sorbet/rbi/gems/rb-readline.rbi +0 -767
  84. data/sorbet/rbi/gems/reek.rbi +0 -1027
  85. data/sorbet/rbi/gems/regexp_parser.rbi +0 -913
  86. data/sorbet/rbi/gems/rspec-support.rbi +0 -280
  87. data/sorbet/rbi/gems/rspec.rbi +0 -15
  88. data/sorbet/rbi/gems/rubocop-ast.rbi +0 -1053
  89. data/sorbet/rbi/gems/rubocop-rspec.rbi +0 -937
  90. data/sorbet/rbi/gems/rubocop.rbi +0 -6841
  91. data/sorbet/rbi/gems/ruby-progressbar.rbi +0 -305
  92. data/sorbet/rbi/gems/shellany.rbi +0 -29
  93. data/sorbet/rbi/gems/shoulda-matchers.rbi +0 -1848
  94. data/sorbet/rbi/gems/simplecov-html.rbi +0 -35
  95. data/sorbet/rbi/gems/simplecov.rbi +0 -361
  96. data/sorbet/rbi/gems/sqlite3.rbi +0 -354
  97. data/sorbet/rbi/gems/stackprof.rbi +0 -52
  98. data/sorbet/rbi/gems/thor.rbi +0 -32
  99. data/sorbet/rbi/gems/thread_safe.rbi +0 -82
  100. data/sorbet/rbi/gems/timecop.rbi +0 -98
  101. data/sorbet/rbi/gems/tzinfo.rbi +0 -406
  102. data/sorbet/rbi/gems/unicode-display_width.rbi +0 -17
  103. data/sorbet/rbi/hidden-definitions/errors.txt +0 -7267
  104. data/sorbet/rbi/hidden-definitions/hidden.rbi +0 -14661
  105. data/sorbet/rbi/sorbet-typed/lib/activesupport/>=6.0.0.rc1/activesupport.rbi +0 -23
  106. data/sorbet/rbi/sorbet-typed/lib/activesupport/all/activesupport.rbi +0 -1431
  107. data/sorbet/rbi/sorbet-typed/lib/minitest/all/minitest.rbi +0 -108
  108. data/sorbet/rbi/sorbet-typed/lib/rainbow/all/rainbow.rbi +0 -276
  109. data/sorbet/rbi/sorbet-typed/lib/rubocop/~>0.85/rubocop.rbi +0 -2072
  110. data/sorbet/rbi/sorbet-typed/lib/rubocop-rspec/~>1.39/rubocop-rspec.rbi +0 -398
  111. data/sorbet/rbi/todo.rbi +0 -8
@@ -1,300 +0,0 @@
1
- # This file is autogenerated. Do not edit it by hand. Regenerate it with:
2
- # srb rbi gems
3
-
4
- # typed: strict
5
- #
6
- # If you would like to make changes to this file, great! Please create the gem's shim here:
7
- #
8
- # https://github.com/sorbet/sorbet-typed/new/master?filename=lib/lumberjack/all/lumberjack.rbi
9
- #
10
- # lumberjack-1.2.6
11
-
12
- module Lumberjack
13
- def self.context; end
14
- def self.context?; end
15
- def self.context_tags; end
16
- def self.tag(tags); end
17
- def self.unit_of_work(id = nil); end
18
- def self.unit_of_work_id; end
19
- end
20
- module Lumberjack::Severity
21
- def self.label_to_level(label); end
22
- def self.level_to_label(severity); end
23
- end
24
- class Lumberjack::Formatter
25
- def add(klass, formatter = nil, &block); end
26
- def call(severity, timestamp, progname, msg); end
27
- def clear; end
28
- def format(message); end
29
- def formatter_for(klass); end
30
- def initialize; end
31
- def remove(klass); end
32
- def self.empty; end
33
- end
34
- class Lumberjack::Formatter::DateTimeFormatter
35
- def call(obj); end
36
- def format; end
37
- def initialize(format = nil); end
38
- end
39
- class Lumberjack::Formatter::ExceptionFormatter
40
- def backtrace_cleaner; end
41
- def backtrace_cleaner=(arg0); end
42
- def call(exception); end
43
- def clean_backtrace(trace); end
44
- def initialize(backtrace_cleaner = nil); end
45
- end
46
- class Lumberjack::Formatter::IdFormatter
47
- def call(obj); end
48
- def initialize(id_attribute = nil); end
49
- end
50
- class Lumberjack::Formatter::InspectFormatter
51
- def call(obj); end
52
- end
53
- class Lumberjack::Formatter::ObjectFormatter
54
- def call(obj); end
55
- end
56
- class Lumberjack::Formatter::PrettyPrintFormatter
57
- def call(obj); end
58
- def initialize(width = nil); end
59
- def width; end
60
- def width=(arg0); end
61
- end
62
- class Lumberjack::Formatter::StringFormatter
63
- def call(obj); end
64
- end
65
- class Lumberjack::Formatter::StripFormatter
66
- def call(obj); end
67
- end
68
- class Lumberjack::Formatter::StructuredFormatter
69
- def call(obj); end
70
- def call_with_references(obj, references); end
71
- def initialize(formatter = nil); end
72
- def with_object_reference(obj, references); end
73
- end
74
- class Lumberjack::Formatter::StructuredFormatter::RecusiveReferenceError < StandardError
75
- end
76
- class Lumberjack::Context
77
- def [](key); end
78
- def []=(key, value); end
79
- def initialize(parent_context = nil); end
80
- def reset; end
81
- def tag(tags); end
82
- def tags; end
83
- end
84
- class Lumberjack::LogEntry
85
- def initialize(time, severity, message, progname, pid, tags); end
86
- def inspect; end
87
- def message; end
88
- def message=(arg0); end
89
- def pid; end
90
- def pid=(arg0); end
91
- def progname; end
92
- def progname=(arg0); end
93
- def severity; end
94
- def severity=(arg0); end
95
- def severity_label; end
96
- def tag(name); end
97
- def tags; end
98
- def tags=(arg0); end
99
- def tags_to_s; end
100
- def time; end
101
- def time=(arg0); end
102
- def to_s; end
103
- def unit_of_work_id; end
104
- def unit_of_work_id=(value); end
105
- end
106
- class Lumberjack::Device
107
- def cleanup_files!; end
108
- def close; end
109
- def datetime_format; end
110
- def datetime_format=(format); end
111
- def do_once(file); end
112
- def flush; end
113
- def reopen(logdev = nil); end
114
- def write(entry); end
115
- end
116
- class Lumberjack::Device::Writer < Lumberjack::Device
117
- def buffer_size; end
118
- def buffer_size=(value); end
119
- def close; end
120
- def datetime_format; end
121
- def datetime_format=(format); end
122
- def flush; end
123
- def initialize(stream, options = nil); end
124
- def stream; end
125
- def stream=(stream); end
126
- def write(entry); end
127
- def write_to_stream(lines); end
128
- end
129
- class Lumberjack::Device::Writer::Buffer
130
- def <<(string); end
131
- def clear; end
132
- def empty?; end
133
- def initialize; end
134
- def pop!; end
135
- def size; end
136
- end
137
- class Lumberjack::Device::LogFile < Lumberjack::Device::Writer
138
- def file_stream; end
139
- def initialize(path, options = nil); end
140
- def path; end
141
- def reopen(logdev = nil); end
142
- end
143
- class Lumberjack::Device::RollingLogFile < Lumberjack::Device::LogFile
144
- def after_roll; end
145
- def archive_file_suffix; end
146
- def before_flush; end
147
- def initialize(path, options = nil); end
148
- def keep; end
149
- def keep=(arg0); end
150
- def path; end
151
- def reopen_file; end
152
- def roll_file!; end
153
- def roll_file?; end
154
- end
155
- class Lumberjack::Device::DateRollingLogFile < Lumberjack::Device::RollingLogFile
156
- def after_roll; end
157
- def archive_file_suffix; end
158
- def initialize(path, options = nil); end
159
- def roll_file?; end
160
- end
161
- class Lumberjack::Device::SizeRollingLogFile < Lumberjack::Device::RollingLogFile
162
- def archive_file_suffix; end
163
- def initialize(path, options = nil); end
164
- def max_size; end
165
- def next_archive_number; end
166
- def roll_file?; end
167
- end
168
- class Lumberjack::Device::Multi < Lumberjack::Device
169
- def close; end
170
- def datetime_format; end
171
- def datetime_format=(format); end
172
- def flush; end
173
- def initialize(*devices); end
174
- def reopen(logdev = nil); end
175
- def write(entry); end
176
- end
177
- class Lumberjack::Device::Null < Lumberjack::Device
178
- def initialize(*args); end
179
- def write(entry); end
180
- end
181
- class Lumberjack::Logger
182
- def <<(msg); end
183
- def add(severity, message = nil, progname = nil, &block); end
184
- def add_entry(severity, message, progname = nil, tags = nil); end
185
- def call_add_entry(severity, message_or_progname_or_tags, progname_or_tags, &block); end
186
- def close; end
187
- def closed?; end
188
- def create_flusher_thread(flush_seconds); end
189
- def datetime_format; end
190
- def datetime_format=(format); end
191
- def debug!; end
192
- def debug(message_or_progname_or_tags = nil, progname_or_tags = nil, &block); end
193
- def debug?; end
194
- def device; end
195
- def device=(arg0); end
196
- def error!; end
197
- def error(message_or_progname_or_tags = nil, progname_or_tags = nil, &block); end
198
- def error?; end
199
- def fatal!; end
200
- def fatal(message_or_progname_or_tags = nil, progname_or_tags = nil, &block); end
201
- def fatal?; end
202
- def flush; end
203
- def formatter; end
204
- def formatter=(value); end
205
- def info!; end
206
- def info(message_or_progname_or_tags = nil, progname_or_tags = nil, &block); end
207
- def info?; end
208
- def initialize(device = nil, options = nil); end
209
- def last_flushed_at; end
210
- def level; end
211
- def level=(value); end
212
- def log(severity, message = nil, progname = nil, &block); end
213
- def open_device(device, options); end
214
- def progname; end
215
- def progname=(arg0); end
216
- def push_thread_local_value(name, value); end
217
- def remove_tag(*tag_names); end
218
- def reopen(logdev = nil); end
219
- def set_progname(value, &block); end
220
- def set_thread_local_value(name, value); end
221
- def sev_threshold; end
222
- def sev_threshold=(value); end
223
- def silence(temporary_level = nil, &block); end
224
- def silencer; end
225
- def silencer=(arg0); end
226
- def tag(tags, &block); end
227
- def tag_formatter; end
228
- def tag_formatter=(arg0); end
229
- def tagged_logger!; end
230
- def tags; end
231
- def thread_local_value(name); end
232
- def unknown(message_or_progname_or_tags = nil, progname_or_tags = nil, &block); end
233
- def warn!; end
234
- def warn(message_or_progname_or_tags = nil, progname_or_tags = nil, &block); end
235
- def warn?; end
236
- def write_to_device(entry); end
237
- include Lumberjack::Severity
238
- end
239
- class Lumberjack::Tags
240
- def self.expand_runtime_values(hash); end
241
- def self.stringify_keys(hash); end
242
- end
243
- class Lumberjack::TagFormatter
244
- def add(names, formatter = nil, &block); end
245
- def clear; end
246
- def default(formatter = nil, &block); end
247
- def dereference_formatter(formatter); end
248
- def format(tags); end
249
- def initialize; end
250
- def remove(names); end
251
- def remove_default; end
252
- end
253
- module Lumberjack::TaggedLoggerSupport
254
- def clear_tags!; end
255
- def pop_tags(size = nil); end
256
- def push_tags(*tags); end
257
- def tagged(*tags, &block); end
258
- end
259
- class Lumberjack::TaggedLoggerSupport::Formatter < Anonymous_Delegator_16
260
- def __formatter; end
261
- def clear_tags!(*args, &block); end
262
- def current_tags; end
263
- def initialize(formatter:, logger:); end
264
- def pop_tags(*args, &block); end
265
- def push_tags(*args, &block); end
266
- def tagged(*args, &block); end
267
- def tags_text; end
268
- extend Forwardable
269
- end
270
- module Lumberjack::TaggedLogging
271
- def self.included(base); end
272
- end
273
- module Lumberjack::TaggedLogging::ClassMethods
274
- def new(logger); end
275
- end
276
- module ActiveSupport::TaggedLogging
277
- include Lumberjack::TaggedLogging
278
- end
279
- class Lumberjack::Template
280
- def call(entry); end
281
- def compile(template); end
282
- def datetime_format; end
283
- def datetime_format=(format); end
284
- def initialize(first_line, options = nil); end
285
- def tag_args(tags, tag_vars); end
286
- end
287
- module Lumberjack::Rack
288
- end
289
- class Lumberjack::Rack::UnitOfWork
290
- def call(env); end
291
- def initialize(app); end
292
- end
293
- class Lumberjack::Rack::RequestId
294
- def call(env); end
295
- def initialize(app, abbreviated = nil); end
296
- end
297
- class Lumberjack::Rack::Context
298
- def call(env); end
299
- def initialize(app); end
300
- end
@@ -1,64 +0,0 @@
1
- # This file is autogenerated. Do not edit it by hand. Regenerate it with:
2
- # srb rbi gems
3
-
4
- # typed: strict
5
- #
6
- # If you would like to make changes to this file, great! Please create the gem's shim here:
7
- #
8
- # https://github.com/sorbet/sorbet-typed/new/master?filename=lib/method_source/all/method_source.rbi
9
- #
10
- # method_source-1.0.0
11
-
12
- module MethodSource
13
- def self.comment_helper(source_location, name = nil); end
14
- def self.extract_code(source_location); end
15
- def self.lines_for(file_name, name = nil); end
16
- def self.source_helper(source_location, name = nil); end
17
- def self.valid_expression?(str); end
18
- extend MethodSource::CodeHelpers
19
- end
20
- module MethodSource::ReeSourceLocation
21
- def source_location; end
22
- end
23
- module MethodSource::SourceLocation
24
- end
25
- module MethodSource::SourceLocation::MethodExtensions
26
- def source_location; end
27
- def trace_func(event, file, line, id, binding, classname); end
28
- end
29
- module MethodSource::SourceLocation::ProcExtensions
30
- def source_location; end
31
- end
32
- module MethodSource::SourceLocation::UnboundMethodExtensions
33
- def source_location; end
34
- end
35
- module MethodSource::CodeHelpers
36
- def comment_describing(file, line_number); end
37
- def complete_expression?(str); end
38
- def expression_at(file, line_number, options = nil); end
39
- def extract_first_expression(lines, consume = nil, &block); end
40
- def extract_last_comment(lines); end
41
- end
42
- module MethodSource::CodeHelpers::IncompleteExpression
43
- def self.===(ex); end
44
- def self.rbx?; end
45
- end
46
- class MethodSource::SourceNotFoundError < StandardError
47
- end
48
- module MethodSource::MethodExtensions
49
- def comment; end
50
- def self.included(klass); end
51
- def source; end
52
- end
53
- class Method
54
- include MethodSource::MethodExtensions
55
- include MethodSource::SourceLocation::MethodExtensions
56
- end
57
- class UnboundMethod
58
- include MethodSource::MethodExtensions
59
- include MethodSource::SourceLocation::UnboundMethodExtensions
60
- end
61
- class Proc
62
- include MethodSource::MethodExtensions
63
- include MethodSource::SourceLocation::ProcExtensions
64
- end
@@ -1,62 +0,0 @@
1
- # This file is autogenerated. Do not edit it by hand. Regenerate it with:
2
- # srb rbi gems
3
-
4
- # typed: strict
5
- #
6
- # If you would like to make changes to this file, great! Please create the gem's shim here:
7
- #
8
- # https://github.com/sorbet/sorbet-typed/new/master?filename=lib/multi_json/all/multi_json.rbi
9
- #
10
- # multi_json-1.15.0
11
-
12
- module MultiJson
13
- def adapter; end
14
- def adapter=(new_adapter); end
15
- def cached_options(*arg0); end
16
- def current_adapter(options = nil); end
17
- def decode(string, options = nil); end
18
- def default_adapter; end
19
- def default_engine; end
20
- def default_options; end
21
- def default_options=(value); end
22
- def dump(object, options = nil); end
23
- def encode(object, options = nil); end
24
- def engine; end
25
- def engine=(new_adapter); end
26
- def load(string, options = nil); end
27
- def load_adapter(new_adapter); end
28
- def load_adapter_from_string_name(name); end
29
- def reset_cached_options!(*arg0); end
30
- def use(new_adapter); end
31
- def with_adapter(new_adapter); end
32
- def with_engine(new_adapter); end
33
- extend MultiJson
34
- include MultiJson::Options
35
- end
36
- module MultiJson::Options
37
- def default_dump_options; end
38
- def default_load_options; end
39
- def dump_options(*args); end
40
- def dump_options=(options); end
41
- def get_options(options, *args); end
42
- def load_options(*args); end
43
- def load_options=(options); end
44
- end
45
- class MultiJson::Version
46
- def self.to_s; end
47
- end
48
- class MultiJson::AdapterError < ArgumentError
49
- def cause; end
50
- def self.build(original_exception); end
51
- end
52
- class MultiJson::ParseError < StandardError
53
- def cause; end
54
- def data; end
55
- def self.build(original_exception, data); end
56
- end
57
- module MultiJson::OptionsCache
58
- def fetch(type, key, &block); end
59
- def reset; end
60
- def write(cache, key); end
61
- extend MultiJson::OptionsCache
62
- end
@@ -1,60 +0,0 @@
1
- # This file is autogenerated. Do not edit it by hand. Regenerate it with:
2
- # srb rbi gems
3
-
4
- # typed: strict
5
- #
6
- # If you would like to make changes to this file, great! Please create the gem's shim here:
7
- #
8
- # https://github.com/sorbet/sorbet-typed/new/master?filename=lib/nenv/all/nenv.rbi
9
- #
10
- # nenv-0.3.0
11
-
12
- module Nenv
13
- def self.instance; end
14
- def self.method_missing(meth, *args); end
15
- def self.reset; end
16
- def self.respond_to?(meth); end
17
- end
18
- class Nenv::Environment
19
- def _namespaced_sanitize(meth); end
20
- def _sanitize(meth); end
21
- def create_method(meth, &block); end
22
- def initialize(namespace = nil); end
23
- def self._create_env_accessor(klass, meth, &block); end
24
- def self._create_env_reader(klass, meth, &block); end
25
- def self._create_env_writer(klass, meth, &block); end
26
- def self._fail_if_accessor_exists(klass, meth); end
27
- def self.create_method(meth, &block); end
28
- end
29
- module Nenv::Environment::Dumper::Default
30
- def self.call(raw_value); end
31
- end
32
- module Nenv::Environment::Dumper
33
- def self.setup(&callback); end
34
- end
35
- module Nenv::Environment::Loader::Predicate
36
- def self.call(raw_value); end
37
- end
38
- module Nenv::Environment::Loader::Default
39
- def self.call(raw_value); end
40
- end
41
- module Nenv::Environment::Loader
42
- def self.setup(meth, &callback); end
43
- end
44
- class Nenv::Environment::Error < ArgumentError
45
- end
46
- class Nenv::Environment::MethodError < Nenv::Environment::Error
47
- def initialize(meth); end
48
- end
49
- class Nenv::Environment::AlreadyExistsError < Nenv::Environment::MethodError
50
- def message; end
51
- end
52
- class Nenv::AutoEnvironment < Nenv::Environment
53
- def method_missing(meth, *args); end
54
- end
55
- module Nenv::Builder
56
- def self.build(&block); end
57
- end
58
- class Object < BasicObject
59
- def Nenv(namespace = nil); end
60
- end
@@ -1,215 +0,0 @@
1
- # This file is autogenerated. Do not edit it by hand. Regenerate it with:
2
- # srb rbi gems
3
-
4
- # typed: strict
5
- #
6
- # If you would like to make changes to this file, great! Please create the gem's shim here:
7
- #
8
- # https://github.com/sorbet/sorbet-typed/new/master?filename=lib/notiffany/all/notiffany.rbi
9
- #
10
- # notiffany-0.1.3
11
-
12
- module Notiffany
13
- def self.connect(options = nil); end
14
- end
15
- class Notiffany::Notifier
16
- def _activate; end
17
- def _check_server!; end
18
- def _client?; end
19
- def _detect_or_add_notifiers; end
20
- def _env; end
21
- def _notification_wanted?; end
22
- def _turn_on_notifiers(options); end
23
- def active?; end
24
- def available; end
25
- def config; end
26
- def disconnect; end
27
- def enabled?; end
28
- def initialize(opts); end
29
- def notify(message, message_opts = nil); end
30
- def turn_off; end
31
- def turn_on(options = nil); end
32
- end
33
- class Notiffany::Notifier::Base
34
- def _check_available(_options); end
35
- def _check_host_supported; end
36
- def _gem_name; end
37
- def _image_path(image); end
38
- def _notification_type(image); end
39
- def _notify_options(overrides = nil); end
40
- def _perform_notify(_message, _opts); end
41
- def _require_gem; end
42
- def _supported_hosts; end
43
- def initialize(opts = nil); end
44
- def name; end
45
- def notify(message, opts = nil); end
46
- def options; end
47
- def title; end
48
- end
49
- class Notiffany::Notifier::Base::UnavailableError < RuntimeError
50
- def initialize(reason); end
51
- def message; end
52
- end
53
- class Notiffany::Notifier::Base::RequireFailed < Notiffany::Notifier::Base::UnavailableError
54
- def initialize(gem_name); end
55
- end
56
- class Notiffany::Notifier::Base::UnsupportedPlatform < Notiffany::Notifier::Base::UnavailableError
57
- def initialize; end
58
- end
59
- class Notiffany::Notifier::Emacs < Notiffany::Notifier::Base
60
- def _check_available(options); end
61
- def _emacs_color(type, options = nil); end
62
- def _erb_for(filename); end
63
- def _gem_name; end
64
- def _perform_notify(message, opts = nil); end
65
- end
66
- class Notiffany::Notifier::Emacs::Client
67
- def _emacs_eval(env, code); end
68
- def available?; end
69
- def elisp_erb; end
70
- def initialize(options); end
71
- def notify(color, bgcolor, message = nil); end
72
- end
73
- class Notiffany::Notifier::Emacs::Client::Elisp < ERB
74
- def bgcolor; end
75
- def color; end
76
- def initialize(code, color, bgcolor, message); end
77
- def message; end
78
- def result; end
79
- end
80
- class Notiffany::Notifier::File < Notiffany::Notifier::Base
81
- def _check_available(opts = nil); end
82
- def _gem_name; end
83
- def _perform_notify(message, opts = nil); end
84
- end
85
- class Notiffany::Notifier::GNTP < Notiffany::Notifier::Base
86
- def _check_available(_opts); end
87
- def _gem_name; end
88
- def _gntp_client(opts = nil); end
89
- def _perform_notify(message, opts = nil); end
90
- def _supported_hosts; end
91
- end
92
- class Notiffany::Notifier::Growl < Notiffany::Notifier::Base
93
- def _check_available(_opts = nil); end
94
- def _perform_notify(message, opts = nil); end
95
- def _supported_hosts; end
96
- end
97
- class Notiffany::Notifier::Libnotify < Notiffany::Notifier::Base
98
- def _check_available(_opts = nil); end
99
- def _perform_notify(message, opts = nil); end
100
- def _supported_hosts; end
101
- end
102
- class Notiffany::Notifier::NotifySend < Notiffany::Notifier::Base
103
- def _check_available(_opts = nil); end
104
- def _gem_name; end
105
- def _notifysend_urgency(type); end
106
- def _perform_notify(message, opts = nil); end
107
- def _supported_hosts; end
108
- def _to_arguments(command, supported, opts = nil); end
109
- end
110
- class Notiffany::Notifier::Notifu < Notiffany::Notifier::Base
111
- def _check_available(_opts = nil); end
112
- def _gem_name; end
113
- def _notifu_type(type); end
114
- def _perform_notify(message, opts = nil); end
115
- def _supported_hosts; end
116
- end
117
- class Notiffany::Notifier::TerminalNotifier < Notiffany::Notifier::Base
118
- def _check_available(_opts = nil); end
119
- def _gem_name; end
120
- def _perform_notify(message, opts = nil); end
121
- def _supported_hosts; end
122
- end
123
- class Notiffany::Notifier::TerminalTitle < Notiffany::Notifier::Base
124
- def _check_available(_options); end
125
- def _gem_name; end
126
- def _perform_notify(message, opts = nil); end
127
- def turn_off; end
128
- end
129
- class Notiffany::Notifier::Tmux < Notiffany::Notifier::Base
130
- def _check_available(opts = nil); end
131
- def _gem_name; end
132
- def _perform_notify(message, options = nil); end
133
- def self._end_session; end
134
- def self._session; end
135
- def self._start_session; end
136
- def turn_off; end
137
- def turn_on; end
138
- end
139
- class Notiffany::Notifier::Tmux::Client
140
- def _all_args_for(key, value, client); end
141
- def _capture(*args); end
142
- def _parse_option(line); end
143
- def _run(*args); end
144
- def clients; end
145
- def display_message(message); end
146
- def display_time=(time); end
147
- def initialize(client); end
148
- def message_bg=(color); end
149
- def message_fg=(color); end
150
- def parse_options; end
151
- def self._capture(*args); end
152
- def self._run(*args); end
153
- def self.version; end
154
- def set(key, value); end
155
- def title=(string); end
156
- def unset(key, value); end
157
- end
158
- class Notiffany::Notifier::Tmux::Session
159
- def close; end
160
- def initialize; end
161
- end
162
- class Notiffany::Notifier::Tmux::Notification
163
- def _message_for(title, message); end
164
- def _value_for(field); end
165
- def client; end
166
- def color; end
167
- def colorize(locations); end
168
- def display_message(title, message); end
169
- def display_title(title, message); end
170
- def initialize(type, options); end
171
- def message_color; end
172
- def options; end
173
- def separator; end
174
- def type; end
175
- end
176
- class Notiffany::Notifier::Tmux::Error < RuntimeError
177
- end
178
- class Notiffany::Notifier::YamlEnvStorage < Nenv::Environment
179
- def notifiers; end
180
- def notifiers=(raw_value); end
181
- end
182
- class Notiffany::Notifier::Detected
183
- def _add(name, opts); end
184
- def _notifiers; end
185
- def _to_module(name); end
186
- def add(name, opts); end
187
- def available; end
188
- def detect; end
189
- def initialize(supported, env_namespace, logger); end
190
- def reset; end
191
- end
192
- class Notiffany::Notifier::Detected::NoneAvailableError < RuntimeError
193
- end
194
- class Notiffany::Notifier::Detected::UnknownNotifier < RuntimeError
195
- def initialize(name); end
196
- def message; end
197
- def name; end
198
- end
199
- class Notiffany::Notifier::Config
200
- def _setup_logger(opts); end
201
- def env_namespace; end
202
- def initialize(opts); end
203
- def logger; end
204
- def notifiers; end
205
- def notify?; end
206
- end
207
- class Notiffany::Notifier::Env < Nenv::Environment
208
- def notify?; end
209
- def notify_active=(raw_value); end
210
- def notify_active?; end
211
- def notify_pid; end
212
- def notify_pid=(raw_value); end
213
- end
214
- class Notiffany::Notifier::NotServer < RuntimeError
215
- end