muina 0.2.8 → 0.4.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 +61 -0
- data/lib/muina/maybe/some.rb +62 -0
- data/lib/muina/maybe.rb +13 -0
- data/lib/muina/result/failure.rb +7 -18
- data/lib/muina/result/success.rb +7 -18
- data/lib/muina/result.rb +6 -8
- data/lib/muina/version.rb +1 -2
- data/lib/muina.rb +0 -32
- metadata +24 -225
- data/.github/workflows/main.yml +0 -16
- data/.gitignore +0 -5
- data/.mutant.yml +0 -38
- data/.rspec +0 -4
- data/.rubocop.yml +0 -181
- 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 -33
- data/lib/muina/action/step/failure.rb +0 -18
- data/lib/muina/action/step/query.rb +0 -35
- data/lib/muina/action/step/result.rb +0 -56
- 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/deprecator.rb +0 -93
- data/lib/muina/entity.rb +0 -20
- 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/null.rb +0 -25
- data/lib/muina/service.rb +0 -25
- 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 -24
- data/muina.gemspec +0 -35
- data/rbi/muina.rbi +0 -311
- 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,331 +0,0 @@
|
|
1
|
-
# DO NOT EDIT MANUALLY
|
2
|
-
# This is an autogenerated file for types exported from the `notiffany` gem.
|
3
|
-
# Please instead update this file by running `bin/tapioca sync`.
|
4
|
-
|
5
|
-
# typed: true
|
6
|
-
|
7
|
-
module Notiffany
|
8
|
-
class << self
|
9
|
-
def connect(options = T.unsafe(nil)); end
|
10
|
-
end
|
11
|
-
end
|
12
|
-
|
13
|
-
class Notiffany::Notifier
|
14
|
-
def initialize(opts); end
|
15
|
-
|
16
|
-
def active?; end
|
17
|
-
def available; end
|
18
|
-
def config; end
|
19
|
-
def disconnect; end
|
20
|
-
def enabled?; end
|
21
|
-
def notify(message, message_opts = T.unsafe(nil)); end
|
22
|
-
def turn_off; end
|
23
|
-
def turn_on(options = T.unsafe(nil)); end
|
24
|
-
|
25
|
-
private
|
26
|
-
|
27
|
-
def _activate; end
|
28
|
-
def _check_server!; end
|
29
|
-
def _client?; end
|
30
|
-
def _detect_or_add_notifiers; end
|
31
|
-
def _env; end
|
32
|
-
def _notification_wanted?; end
|
33
|
-
def _turn_on_notifiers(options); end
|
34
|
-
end
|
35
|
-
|
36
|
-
class Notiffany::Notifier::Base
|
37
|
-
def initialize(opts = T.unsafe(nil)); end
|
38
|
-
|
39
|
-
def _image_path(image); end
|
40
|
-
def name; end
|
41
|
-
def notify(message, opts = T.unsafe(nil)); end
|
42
|
-
def options; end
|
43
|
-
def title; end
|
44
|
-
|
45
|
-
private
|
46
|
-
|
47
|
-
def _check_available(_options); end
|
48
|
-
def _check_host_supported; end
|
49
|
-
def _gem_name; end
|
50
|
-
def _notification_type(image); end
|
51
|
-
def _notify_options(overrides = T.unsafe(nil)); end
|
52
|
-
def _perform_notify(_message, _opts); end
|
53
|
-
def _require_gem; end
|
54
|
-
def _supported_hosts; end
|
55
|
-
end
|
56
|
-
|
57
|
-
Notiffany::Notifier::Base::ERROR_ADD_GEM_AND_RUN_BUNDLE = T.let(T.unsafe(nil), String)
|
58
|
-
Notiffany::Notifier::Base::HOSTS = T.let(T.unsafe(nil), Hash)
|
59
|
-
|
60
|
-
class Notiffany::Notifier::Base::RequireFailed < ::Notiffany::Notifier::Base::UnavailableError
|
61
|
-
def initialize(gem_name); end
|
62
|
-
end
|
63
|
-
|
64
|
-
class Notiffany::Notifier::Base::UnavailableError < ::RuntimeError
|
65
|
-
def initialize(reason); end
|
66
|
-
|
67
|
-
def message; end
|
68
|
-
end
|
69
|
-
|
70
|
-
class Notiffany::Notifier::Base::UnsupportedPlatform < ::Notiffany::Notifier::Base::UnavailableError
|
71
|
-
def initialize; end
|
72
|
-
end
|
73
|
-
|
74
|
-
class Notiffany::Notifier::Config
|
75
|
-
def initialize(opts); end
|
76
|
-
|
77
|
-
def env_namespace; end
|
78
|
-
def logger; end
|
79
|
-
def notifiers; end
|
80
|
-
def notify?; end
|
81
|
-
|
82
|
-
private
|
83
|
-
|
84
|
-
def _setup_logger(opts); end
|
85
|
-
end
|
86
|
-
|
87
|
-
Notiffany::Notifier::Config::DEFAULTS = T.let(T.unsafe(nil), Hash)
|
88
|
-
|
89
|
-
class Notiffany::Notifier::Detected
|
90
|
-
def initialize(supported, env_namespace, logger); end
|
91
|
-
|
92
|
-
def add(name, opts); end
|
93
|
-
def available; end
|
94
|
-
def detect; end
|
95
|
-
def reset; end
|
96
|
-
|
97
|
-
private
|
98
|
-
|
99
|
-
def _add(name, opts); end
|
100
|
-
def _notifiers; end
|
101
|
-
def _to_module(name); end
|
102
|
-
end
|
103
|
-
|
104
|
-
Notiffany::Notifier::Detected::NO_SUPPORTED_NOTIFIERS = T.let(T.unsafe(nil), String)
|
105
|
-
class Notiffany::Notifier::Detected::NoneAvailableError < ::RuntimeError; end
|
106
|
-
|
107
|
-
class Notiffany::Notifier::Detected::UnknownNotifier < ::RuntimeError
|
108
|
-
def initialize(name); end
|
109
|
-
|
110
|
-
def message; end
|
111
|
-
def name; end
|
112
|
-
end
|
113
|
-
|
114
|
-
class Notiffany::Notifier::Emacs < ::Notiffany::Notifier::Base
|
115
|
-
private
|
116
|
-
|
117
|
-
def _check_available(options); end
|
118
|
-
def _emacs_color(type, options = T.unsafe(nil)); end
|
119
|
-
def _erb_for(filename); end
|
120
|
-
def _gem_name; end
|
121
|
-
def _perform_notify(message, opts = T.unsafe(nil)); end
|
122
|
-
end
|
123
|
-
|
124
|
-
class Notiffany::Notifier::Emacs::Client
|
125
|
-
def initialize(options); end
|
126
|
-
|
127
|
-
def available?; end
|
128
|
-
def elisp_erb; end
|
129
|
-
def notify(color, bgcolor, message = T.unsafe(nil)); end
|
130
|
-
|
131
|
-
private
|
132
|
-
|
133
|
-
def _emacs_eval(env, code); end
|
134
|
-
end
|
135
|
-
|
136
|
-
class Notiffany::Notifier::Emacs::Client::Elisp < ::ERB
|
137
|
-
def initialize(code, color, bgcolor, message); end
|
138
|
-
|
139
|
-
def bgcolor; end
|
140
|
-
def color; end
|
141
|
-
def message; end
|
142
|
-
def result; end
|
143
|
-
end
|
144
|
-
|
145
|
-
Notiffany::Notifier::Emacs::DEFAULTS = T.let(T.unsafe(nil), Hash)
|
146
|
-
Notiffany::Notifier::Emacs::DEFAULT_ELISP_ERB = T.let(T.unsafe(nil), String)
|
147
|
-
|
148
|
-
class Notiffany::Notifier::Env < ::Nenv::Environment
|
149
|
-
def notify?; end
|
150
|
-
def notify_active=(raw_value); end
|
151
|
-
def notify_active?; end
|
152
|
-
def notify_pid; end
|
153
|
-
def notify_pid=(raw_value); end
|
154
|
-
end
|
155
|
-
|
156
|
-
class Notiffany::Notifier::File < ::Notiffany::Notifier::Base
|
157
|
-
private
|
158
|
-
|
159
|
-
def _check_available(opts = T.unsafe(nil)); end
|
160
|
-
def _gem_name; end
|
161
|
-
def _perform_notify(message, opts = T.unsafe(nil)); end
|
162
|
-
end
|
163
|
-
|
164
|
-
Notiffany::Notifier::File::DEFAULTS = T.let(T.unsafe(nil), Hash)
|
165
|
-
|
166
|
-
class Notiffany::Notifier::GNTP < ::Notiffany::Notifier::Base
|
167
|
-
def _check_available(_opts); end
|
168
|
-
def _gem_name; end
|
169
|
-
def _perform_notify(message, opts = T.unsafe(nil)); end
|
170
|
-
def _supported_hosts; end
|
171
|
-
|
172
|
-
private
|
173
|
-
|
174
|
-
def _gntp_client(opts = T.unsafe(nil)); end
|
175
|
-
end
|
176
|
-
|
177
|
-
Notiffany::Notifier::GNTP::CLIENT_DEFAULTS = T.let(T.unsafe(nil), Hash)
|
178
|
-
Notiffany::Notifier::GNTP::DEFAULTS = T.let(T.unsafe(nil), Hash)
|
179
|
-
|
180
|
-
class Notiffany::Notifier::Growl < ::Notiffany::Notifier::Base
|
181
|
-
def _check_available(_opts = T.unsafe(nil)); end
|
182
|
-
def _perform_notify(message, opts = T.unsafe(nil)); end
|
183
|
-
def _supported_hosts; end
|
184
|
-
end
|
185
|
-
|
186
|
-
Notiffany::Notifier::Growl::DEFAULTS = T.let(T.unsafe(nil), Hash)
|
187
|
-
Notiffany::Notifier::Growl::INSTALL_GROWLNOTIFY = T.let(T.unsafe(nil), String)
|
188
|
-
|
189
|
-
class Notiffany::Notifier::Libnotify < ::Notiffany::Notifier::Base
|
190
|
-
private
|
191
|
-
|
192
|
-
def _check_available(_opts = T.unsafe(nil)); end
|
193
|
-
def _perform_notify(message, opts = T.unsafe(nil)); end
|
194
|
-
def _supported_hosts; end
|
195
|
-
end
|
196
|
-
|
197
|
-
Notiffany::Notifier::Libnotify::DEFAULTS = T.let(T.unsafe(nil), Hash)
|
198
|
-
Notiffany::Notifier::NOTIFICATIONS_DISABLED = T.let(T.unsafe(nil), String)
|
199
|
-
class Notiffany::Notifier::NotServer < ::RuntimeError; end
|
200
|
-
|
201
|
-
class Notiffany::Notifier::Notifu < ::Notiffany::Notifier::Base
|
202
|
-
private
|
203
|
-
|
204
|
-
def _check_available(_opts = T.unsafe(nil)); end
|
205
|
-
def _gem_name; end
|
206
|
-
def _notifu_type(type); end
|
207
|
-
def _perform_notify(message, opts = T.unsafe(nil)); end
|
208
|
-
def _supported_hosts; end
|
209
|
-
end
|
210
|
-
|
211
|
-
Notiffany::Notifier::Notifu::DEFAULTS = T.let(T.unsafe(nil), Hash)
|
212
|
-
|
213
|
-
class Notiffany::Notifier::NotifySend < ::Notiffany::Notifier::Base
|
214
|
-
private
|
215
|
-
|
216
|
-
def _check_available(_opts = T.unsafe(nil)); end
|
217
|
-
def _gem_name; end
|
218
|
-
def _notifysend_urgency(type); end
|
219
|
-
def _perform_notify(message, opts = T.unsafe(nil)); end
|
220
|
-
def _supported_hosts; end
|
221
|
-
def _to_arguments(command, supported, opts = T.unsafe(nil)); end
|
222
|
-
end
|
223
|
-
|
224
|
-
Notiffany::Notifier::NotifySend::DEFAULTS = T.let(T.unsafe(nil), Hash)
|
225
|
-
Notiffany::Notifier::NotifySend::SUPPORTED = T.let(T.unsafe(nil), Array)
|
226
|
-
Notiffany::Notifier::ONLY_NOTIFY = T.let(T.unsafe(nil), String)
|
227
|
-
Notiffany::Notifier::SUPPORTED = T.let(T.unsafe(nil), Array)
|
228
|
-
|
229
|
-
class Notiffany::Notifier::TerminalNotifier < ::Notiffany::Notifier::Base
|
230
|
-
def _check_available(_opts = T.unsafe(nil)); end
|
231
|
-
def _gem_name; end
|
232
|
-
def _perform_notify(message, opts = T.unsafe(nil)); end
|
233
|
-
def _supported_hosts; end
|
234
|
-
end
|
235
|
-
|
236
|
-
Notiffany::Notifier::TerminalNotifier::DEFAULTS = T.let(T.unsafe(nil), Hash)
|
237
|
-
Notiffany::Notifier::TerminalNotifier::ERROR_ONLY_OSX10 = T.let(T.unsafe(nil), String)
|
238
|
-
|
239
|
-
class Notiffany::Notifier::TerminalTitle < ::Notiffany::Notifier::Base
|
240
|
-
def turn_off; end
|
241
|
-
|
242
|
-
private
|
243
|
-
|
244
|
-
def _check_available(_options); end
|
245
|
-
def _gem_name; end
|
246
|
-
def _perform_notify(message, opts = T.unsafe(nil)); end
|
247
|
-
end
|
248
|
-
|
249
|
-
Notiffany::Notifier::TerminalTitle::DEFAULTS = T.let(T.unsafe(nil), Hash)
|
250
|
-
|
251
|
-
class Notiffany::Notifier::Tmux < ::Notiffany::Notifier::Base
|
252
|
-
def turn_off; end
|
253
|
-
def turn_on; end
|
254
|
-
|
255
|
-
private
|
256
|
-
|
257
|
-
def _check_available(opts = T.unsafe(nil)); end
|
258
|
-
def _gem_name; end
|
259
|
-
def _perform_notify(message, options = T.unsafe(nil)); end
|
260
|
-
|
261
|
-
class << self
|
262
|
-
def _end_session; end
|
263
|
-
def _session; end
|
264
|
-
def _start_session; end
|
265
|
-
end
|
266
|
-
end
|
267
|
-
|
268
|
-
class Notiffany::Notifier::Tmux::Client
|
269
|
-
def initialize(client); end
|
270
|
-
|
271
|
-
def clients; end
|
272
|
-
def display_message(message); end
|
273
|
-
def display_time=(time); end
|
274
|
-
def message_bg=(color); end
|
275
|
-
def message_fg=(color); end
|
276
|
-
def parse_options; end
|
277
|
-
def set(key, value); end
|
278
|
-
def title=(string); end
|
279
|
-
def unset(key, value); end
|
280
|
-
|
281
|
-
private
|
282
|
-
|
283
|
-
def _all_args_for(key, value, client); end
|
284
|
-
def _capture(*args); end
|
285
|
-
def _parse_option(line); end
|
286
|
-
def _run(*args); end
|
287
|
-
|
288
|
-
class << self
|
289
|
-
def _capture(*args); end
|
290
|
-
def _run(*args); end
|
291
|
-
def version; end
|
292
|
-
end
|
293
|
-
end
|
294
|
-
|
295
|
-
Notiffany::Notifier::Tmux::Client::CLIENT = T.let(T.unsafe(nil), String)
|
296
|
-
Notiffany::Notifier::Tmux::DEFAULTS = T.let(T.unsafe(nil), Hash)
|
297
|
-
Notiffany::Notifier::Tmux::ERROR_ANCIENT_TMUX = T.let(T.unsafe(nil), String)
|
298
|
-
Notiffany::Notifier::Tmux::ERROR_NOT_INSIDE_TMUX = T.let(T.unsafe(nil), String)
|
299
|
-
class Notiffany::Notifier::Tmux::Error < ::RuntimeError; end
|
300
|
-
|
301
|
-
class Notiffany::Notifier::Tmux::Notification
|
302
|
-
def initialize(type, options); end
|
303
|
-
|
304
|
-
def colorize(locations); end
|
305
|
-
def display_message(title, message); end
|
306
|
-
def display_title(title, message); end
|
307
|
-
|
308
|
-
private
|
309
|
-
|
310
|
-
def _message_for(title, message); end
|
311
|
-
def _value_for(field); end
|
312
|
-
def client; end
|
313
|
-
def color; end
|
314
|
-
def message_color; end
|
315
|
-
def options; end
|
316
|
-
def separator; end
|
317
|
-
def type; end
|
318
|
-
end
|
319
|
-
|
320
|
-
class Notiffany::Notifier::Tmux::Session
|
321
|
-
def initialize; end
|
322
|
-
|
323
|
-
def close; end
|
324
|
-
end
|
325
|
-
|
326
|
-
Notiffany::Notifier::USING_NOTIFIER = T.let(T.unsafe(nil), String)
|
327
|
-
|
328
|
-
class Notiffany::Notifier::YamlEnvStorage < ::Nenv::Environment
|
329
|
-
def notifiers; end
|
330
|
-
def notifiers=(raw_value); end
|
331
|
-
end
|
@@ -1,113 +0,0 @@
|
|
1
|
-
# DO NOT EDIT MANUALLY
|
2
|
-
# This is an autogenerated file for types exported from the `parallel` gem.
|
3
|
-
# Please instead update this file by running `bin/tapioca sync`.
|
4
|
-
|
5
|
-
# typed: true
|
6
|
-
|
7
|
-
module Parallel
|
8
|
-
extend ::Parallel::ProcessorCount
|
9
|
-
|
10
|
-
class << self
|
11
|
-
def all?(*args, &block); end
|
12
|
-
def any?(*args, &block); end
|
13
|
-
def each(array, options = T.unsafe(nil), &block); end
|
14
|
-
def each_with_index(array, options = T.unsafe(nil), &block); end
|
15
|
-
def flat_map(*args, &block); end
|
16
|
-
def in_processes(options = T.unsafe(nil), &block); end
|
17
|
-
def in_threads(options = T.unsafe(nil)); end
|
18
|
-
def map(source, options = T.unsafe(nil), &block); end
|
19
|
-
def map_with_index(array, options = T.unsafe(nil), &block); end
|
20
|
-
def worker_number; end
|
21
|
-
def worker_number=(worker_num); end
|
22
|
-
|
23
|
-
private
|
24
|
-
|
25
|
-
def add_progress_bar!(job_factory, options); end
|
26
|
-
def call_with_index(item, index, options, &block); end
|
27
|
-
def create_workers(job_factory, options, &block); end
|
28
|
-
def extract_count_from_options(options); end
|
29
|
-
def process_incoming_jobs(read, write, job_factory, options, &block); end
|
30
|
-
def replace_worker(job_factory, workers, i, options, blk); end
|
31
|
-
def with_instrumentation(item, index, options); end
|
32
|
-
def work_direct(job_factory, options, &block); end
|
33
|
-
def work_in_processes(job_factory, options, &blk); end
|
34
|
-
def work_in_threads(job_factory, options, &block); end
|
35
|
-
def worker(job_factory, options, &block); end
|
36
|
-
end
|
37
|
-
end
|
38
|
-
|
39
|
-
class Parallel::Break < ::StandardError
|
40
|
-
def initialize(value = T.unsafe(nil)); end
|
41
|
-
|
42
|
-
def value; end
|
43
|
-
end
|
44
|
-
|
45
|
-
class Parallel::DeadWorker < ::StandardError; end
|
46
|
-
|
47
|
-
class Parallel::ExceptionWrapper
|
48
|
-
def initialize(exception); end
|
49
|
-
|
50
|
-
def exception; end
|
51
|
-
end
|
52
|
-
|
53
|
-
class Parallel::JobFactory
|
54
|
-
def initialize(source, mutex); end
|
55
|
-
|
56
|
-
def next; end
|
57
|
-
def pack(item, index); end
|
58
|
-
def size; end
|
59
|
-
def unpack(data); end
|
60
|
-
|
61
|
-
private
|
62
|
-
|
63
|
-
def producer?; end
|
64
|
-
def queue_wrapper(array); end
|
65
|
-
end
|
66
|
-
|
67
|
-
class Parallel::Kill < ::Parallel::Break; end
|
68
|
-
|
69
|
-
module Parallel::ProcessorCount
|
70
|
-
def physical_processor_count; end
|
71
|
-
def processor_count; end
|
72
|
-
end
|
73
|
-
|
74
|
-
Parallel::Stop = T.let(T.unsafe(nil), Object)
|
75
|
-
|
76
|
-
class Parallel::UndumpableException < ::StandardError
|
77
|
-
def initialize(original); end
|
78
|
-
|
79
|
-
def backtrace; end
|
80
|
-
end
|
81
|
-
|
82
|
-
class Parallel::UserInterruptHandler
|
83
|
-
class << self
|
84
|
-
def kill(thing); end
|
85
|
-
def kill_on_ctrl_c(pids, options); end
|
86
|
-
|
87
|
-
private
|
88
|
-
|
89
|
-
def restore_interrupt(old, signal); end
|
90
|
-
def trap_interrupt(signal); end
|
91
|
-
end
|
92
|
-
end
|
93
|
-
|
94
|
-
Parallel::UserInterruptHandler::INTERRUPT_SIGNAL = T.let(T.unsafe(nil), Symbol)
|
95
|
-
Parallel::VERSION = T.let(T.unsafe(nil), String)
|
96
|
-
Parallel::Version = T.let(T.unsafe(nil), String)
|
97
|
-
|
98
|
-
class Parallel::Worker
|
99
|
-
def initialize(read, write, pid); end
|
100
|
-
|
101
|
-
def close_pipes; end
|
102
|
-
def pid; end
|
103
|
-
def read; end
|
104
|
-
def stop; end
|
105
|
-
def thread; end
|
106
|
-
def thread=(_arg0); end
|
107
|
-
def work(data); end
|
108
|
-
def write; end
|
109
|
-
|
110
|
-
private
|
111
|
-
|
112
|
-
def wait; end
|
113
|
-
end
|