muina 0.2.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (155) hide show
  1. checksums.yaml +7 -0
  2. data/.github/workflows/main.yml +16 -0
  3. data/.gitignore +5 -0
  4. data/.mutant.yml +38 -0
  5. data/.rspec +4 -0
  6. data/.rubocop.yml +172 -0
  7. data/.ruby-version +1 -0
  8. data/.simplecov +14 -0
  9. data/CHANGELOG.md +38 -0
  10. data/Gemfile +34 -0
  11. data/Gemfile.lock +265 -0
  12. data/Guardfile +24 -0
  13. data/README.md +36 -0
  14. data/Rakefile +13 -0
  15. data/SECURITY.md +14 -0
  16. data/bin/bundle +114 -0
  17. data/bin/console +15 -0
  18. data/bin/flay +29 -0
  19. data/bin/flog +29 -0
  20. data/bin/guard +29 -0
  21. data/bin/irb +29 -0
  22. data/bin/lefthook +29 -0
  23. data/bin/mutant +29 -0
  24. data/bin/parlour +29 -0
  25. data/bin/rake +29 -0
  26. data/bin/rspec +29 -0
  27. data/bin/rubocop +29 -0
  28. data/bin/setup +8 -0
  29. data/bin/srb +29 -0
  30. data/bin/srb-rbi +29 -0
  31. data/bin/tapioca +29 -0
  32. data/exe/muina +11 -0
  33. data/lefthook.yml +39 -0
  34. data/lib/muina/action/params_factory.rb +17 -0
  35. data/lib/muina/action/step/command.rb +31 -0
  36. data/lib/muina/action/step/failure.rb +18 -0
  37. data/lib/muina/action/step/query.rb +31 -0
  38. data/lib/muina/action/step/result.rb +51 -0
  39. data/lib/muina/action/step.rb +13 -0
  40. data/lib/muina/action.rb +73 -0
  41. data/lib/muina/any.rb +7 -0
  42. data/lib/muina/classes.rb +7 -0
  43. data/lib/muina/module.rb +6 -0
  44. data/lib/muina/parameters.rb +7 -0
  45. data/lib/muina/params.rb +19 -0
  46. data/lib/muina/private_creation.rb +12 -0
  47. data/lib/muina/result/factory.rb +37 -0
  48. data/lib/muina/result/failure.rb +31 -0
  49. data/lib/muina/result/null.rb +25 -0
  50. data/lib/muina/result/success.rb +31 -0
  51. data/lib/muina/result.rb +17 -0
  52. data/lib/muina/service.rb +37 -0
  53. data/lib/muina/symbol_hash.rb +7 -0
  54. data/lib/muina/unit.rb +10 -0
  55. data/lib/muina/untyped_array.rb +7 -0
  56. data/lib/muina/untyped_hash.rb +7 -0
  57. data/lib/muina/value.rb +16 -0
  58. data/lib/muina/version.rb +7 -0
  59. data/lib/muina.rb +42 -0
  60. data/muina.gemspec +35 -0
  61. data/rbi/muina.rbi +268 -0
  62. data/sorbet/config +2 -0
  63. data/sorbet/rbi/gems/actionpack@6.1.4.rbi +5045 -0
  64. data/sorbet/rbi/gems/actionview@6.1.4.rbi +2416 -0
  65. data/sorbet/rbi/gems/activesupport@6.1.4.rbi +3778 -0
  66. data/sorbet/rbi/gems/ast@2.4.2.rbi +54 -0
  67. data/sorbet/rbi/gems/awesome_print@1.9.2.rbi +322 -0
  68. data/sorbet/rbi/gems/builder@3.2.4.rbi +8 -0
  69. data/sorbet/rbi/gems/byebug@11.1.3.rbi +18 -0
  70. data/sorbet/rbi/gems/coderay@1.1.3.rbi +8 -0
  71. data/sorbet/rbi/gems/colorize@0.8.1.rbi +39 -0
  72. data/sorbet/rbi/gems/commander@4.6.0.rbi +8 -0
  73. data/sorbet/rbi/gems/concurrent-ruby@1.1.9.rbi +2403 -0
  74. data/sorbet/rbi/gems/crass@1.0.6.rbi +123 -0
  75. data/sorbet/rbi/gems/diff-lcs@1.4.4.rbi +185 -0
  76. data/sorbet/rbi/gems/docile@1.4.0.rbi +54 -0
  77. data/sorbet/rbi/gems/erubi@1.10.0.rbi +36 -0
  78. data/sorbet/rbi/gems/erubis@2.7.0.rbi +8 -0
  79. data/sorbet/rbi/gems/faker@2.18.0.rbi +2469 -0
  80. data/sorbet/rbi/gems/ffi@1.15.3.rbi +8 -0
  81. data/sorbet/rbi/gems/flay@2.12.1.rbi +178 -0
  82. data/sorbet/rbi/gems/flog@4.6.4.rbi +70 -0
  83. data/sorbet/rbi/gems/formatador@0.3.0.rbi +8 -0
  84. data/sorbet/rbi/gems/guard-compat@1.2.1.rbi +49 -0
  85. data/sorbet/rbi/gems/guard-rspec@4.7.3.rbi +233 -0
  86. data/sorbet/rbi/gems/guard-rubocop@1.4.0.rbi +66 -0
  87. data/sorbet/rbi/gems/guard-shell@0.7.2.rbi +69 -0
  88. data/sorbet/rbi/gems/guard@2.18.0.rbi +617 -0
  89. data/sorbet/rbi/gems/highline@2.0.3.rbi +8 -0
  90. data/sorbet/rbi/gems/i18n@1.8.10.rbi +616 -0
  91. data/sorbet/rbi/gems/io-console@0.5.9.rbi +8 -0
  92. data/sorbet/rbi/gems/irb@1.3.6.rbi +452 -0
  93. data/sorbet/rbi/gems/lefthook@0.7.6.rbi +8 -0
  94. data/sorbet/rbi/gems/listen@3.6.0.rbi +476 -0
  95. data/sorbet/rbi/gems/loofah@2.10.0.rbi +223 -0
  96. data/sorbet/rbi/gems/lumberjack@1.2.8.rbi +431 -0
  97. data/sorbet/rbi/gems/method_source@1.0.0.rbi +8 -0
  98. data/sorbet/rbi/gems/minitest@5.14.4.rbi +344 -0
  99. data/sorbet/rbi/gems/mutant-license@0.1.1.1.4043027289354708743625974235631451632228.0.rbi +8 -0
  100. data/sorbet/rbi/gems/mutant-rspec@0.10.32.rbi +8 -0
  101. data/sorbet/rbi/gems/mutant@0.10.32.rbi +4154 -0
  102. data/sorbet/rbi/gems/nenv@0.3.0.rbi +88 -0
  103. data/sorbet/rbi/gems/nokogiri@1.11.7.rbi +1422 -0
  104. data/sorbet/rbi/gems/notiffany@0.1.3.rbi +331 -0
  105. data/sorbet/rbi/gems/parallel@1.20.1.rbi +113 -0
  106. data/sorbet/rbi/gems/parlour@6.0.1.rbi +1726 -0
  107. data/sorbet/rbi/gems/parser@3.0.2.0.rbi +1683 -0
  108. data/sorbet/rbi/gems/path_expander@1.1.0.rbi +24 -0
  109. data/sorbet/rbi/gems/polyfill@1.9.0.rbi +393 -0
  110. data/sorbet/rbi/gems/pry@0.14.1.rbi +8 -0
  111. data/sorbet/rbi/gems/racc@1.5.2.rbi +47 -0
  112. data/sorbet/rbi/gems/rack-test@1.1.0.rbi +272 -0
  113. data/sorbet/rbi/gems/rack@2.2.3.rbi +1618 -0
  114. data/sorbet/rbi/gems/rails-dom-testing@2.0.3.rbi +92 -0
  115. data/sorbet/rbi/gems/rails-html-sanitizer@1.3.0.rbi +183 -0
  116. data/sorbet/rbi/gems/rainbow@3.0.0.rbi +153 -0
  117. data/sorbet/rbi/gems/rake@13.0.6.rbi +808 -0
  118. data/sorbet/rbi/gems/rb-fsevent@0.11.0.rbi +8 -0
  119. data/sorbet/rbi/gems/rb-inotify@0.10.1.rbi +8 -0
  120. data/sorbet/rbi/gems/regexp_parser@2.1.1.rbi +1120 -0
  121. data/sorbet/rbi/gems/reline@0.2.6.rbi +662 -0
  122. data/sorbet/rbi/gems/rexml@3.2.5.rbi +672 -0
  123. data/sorbet/rbi/gems/rspec-core@3.10.1.rbi +2509 -0
  124. data/sorbet/rbi/gems/rspec-expectations@3.10.1.rbi +1574 -0
  125. data/sorbet/rbi/gems/rspec-mocks@3.10.2.rbi +1462 -0
  126. data/sorbet/rbi/gems/rspec-support@3.10.2.rbi +509 -0
  127. data/sorbet/rbi/gems/rspec@3.10.0.rbi +38 -0
  128. data/sorbet/rbi/gems/rubocop-ast@1.8.0.rbi +2194 -0
  129. data/sorbet/rbi/gems/rubocop-performance@1.11.4.rbi +899 -0
  130. data/sorbet/rbi/gems/rubocop-rake@0.6.0.rbi +118 -0
  131. data/sorbet/rbi/gems/rubocop-rspec@2.4.0.rbi +1805 -0
  132. data/sorbet/rbi/gems/rubocop-sorbet@0.6.2.rbi +288 -0
  133. data/sorbet/rbi/gems/rubocop@1.18.4.rbi +13197 -0
  134. data/sorbet/rbi/gems/ruby-progressbar@1.11.0.rbi +405 -0
  135. data/sorbet/rbi/gems/ruby_parser@3.16.0.rbi +4528 -0
  136. data/sorbet/rbi/gems/safe_type@1.1.1.rbi +157 -0
  137. data/sorbet/rbi/gems/sexp_processor@4.15.3.rbi +359 -0
  138. data/sorbet/rbi/gems/shellany@0.0.1.rbi +28 -0
  139. data/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +89 -0
  140. data/sorbet/rbi/gems/simplecov@0.21.2.rbi +577 -0
  141. data/sorbet/rbi/gems/simplecov_json_formatter@0.1.3.rbi +8 -0
  142. data/sorbet/rbi/gems/sorbet-coerce@0.5.0.rbi +42 -0
  143. data/sorbet/rbi/gems/sorbet-rails@0.7.4.rbi +8 -0
  144. data/sorbet/rbi/gems/sorbet-struct-comparable@1.1.0.rbi +17 -0
  145. data/sorbet/rbi/gems/spoom@1.1.1.rbi +1193 -0
  146. data/sorbet/rbi/gems/tapioca@0.4.23.rbi +1826 -0
  147. data/sorbet/rbi/gems/thor@1.1.0.rbi +838 -0
  148. data/sorbet/rbi/gems/tzinfo@2.0.4.rbi +856 -0
  149. data/sorbet/rbi/gems/unicode-display_width@2.0.0.rbi +26 -0
  150. data/sorbet/rbi/gems/unparser@0.6.0.rbi +2037 -0
  151. data/sorbet/rbi/gems/zeitwerk@2.4.2.rbi +173 -0
  152. data/sorbet/rbi/todo.rbi +8 -0
  153. data/sorbet/rbi/typed_params.rbi +7 -0
  154. data/sorbet/tapioca/require.rb +16 -0
  155. metadata +269 -0
@@ -0,0 +1,617 @@
1
+ # DO NOT EDIT MANUALLY
2
+ # This is an autogenerated file for types exported from the `guard` gem.
3
+ # Please instead update this file by running `bin/tapioca sync`.
4
+
5
+ # typed: true
6
+
7
+ module Guard
8
+ extend ::Guard::Deprecated::Guard::ClassMethods
9
+ extend ::Guard::Internals::Helpers
10
+
11
+ class << self
12
+ def async_queue_add(changes); end
13
+ def init(cmdline_options); end
14
+ def interactor; end
15
+ def listener; end
16
+ def queue; end
17
+ def setup(cmdline_options = T.unsafe(nil)); end
18
+ def state; end
19
+
20
+ private
21
+
22
+ def _evaluate(options); end
23
+ def _guardfile_deprecated_check(modified); end
24
+ def _listener_callback; end
25
+ def _pluginless_guardfile?; end
26
+ def _relative_pathnames(paths); end
27
+ def _relevant_changes?(changes); end
28
+ end
29
+ end
30
+
31
+ class Guard::Config < ::Nenv::Environment
32
+ def initialize; end
33
+
34
+ def silence_deprecations?; end
35
+ end
36
+
37
+ module Guard::Deprecated; end
38
+
39
+ module Guard::Deprecated::Dsl
40
+ class << self
41
+ def add_deprecated(dsl_klass); end
42
+ end
43
+ end
44
+
45
+ module Guard::Deprecated::Dsl::ClassMethods
46
+ def evaluate_guardfile(options = T.unsafe(nil)); end
47
+ end
48
+
49
+ Guard::Deprecated::Dsl::ClassMethods::EVALUATE_GUARDFILE = T.let(T.unsafe(nil), String)
50
+ Guard::Deprecated::Dsl::MORE_INFO_ON_UPGRADING_TO_GUARD_2 = T.let(T.unsafe(nil), String)
51
+
52
+ module Guard::Deprecated::Evaluator
53
+ def evaluate_guardfile; end
54
+ def reevaluate_guardfile; end
55
+
56
+ class << self
57
+ def add_deprecated(klass); end
58
+ end
59
+ end
60
+
61
+ Guard::Deprecated::Evaluator::EVALUATE_GUARDFILE = T.let(T.unsafe(nil), String)
62
+ Guard::Deprecated::Evaluator::REEVALUATE_GUARDFILE = T.let(T.unsafe(nil), String)
63
+
64
+ module Guard::Deprecated::Guard
65
+ class << self
66
+ def add_deprecated(klass); end
67
+ end
68
+ end
69
+
70
+ module Guard::Deprecated::Guard::ClassMethods
71
+ def add_group(name, options = T.unsafe(nil)); end
72
+ def add_guard(*args); end
73
+ def add_plugin(name, options = T.unsafe(nil)); end
74
+ def evaluate_guardfile; end
75
+ def evaluator; end
76
+ def get_guard_class(name, fail_gracefully = T.unsafe(nil)); end
77
+ def group(filter); end
78
+ def groups(filter); end
79
+ def guard_gem_names; end
80
+ def guards(filter = T.unsafe(nil)); end
81
+ def listener=(_); end
82
+ def locate_guard(name); end
83
+ def lock; end
84
+ def options; end
85
+ def plugin(filter); end
86
+ def plugins(filter); end
87
+ def reset_evaluator(_options); end
88
+ def runner; end
89
+ def running; end
90
+ def scope; end
91
+ def scope=(scope); end
92
+ end
93
+
94
+ Guard::Deprecated::Guard::ClassMethods::ADD_GROUP = T.let(T.unsafe(nil), String)
95
+ Guard::Deprecated::Guard::ClassMethods::ADD_GUARD = T.let(T.unsafe(nil), String)
96
+ Guard::Deprecated::Guard::ClassMethods::ADD_PLUGIN = T.let(T.unsafe(nil), String)
97
+ Guard::Deprecated::Guard::ClassMethods::EVALUATE_GUARDFILE = T.let(T.unsafe(nil), String)
98
+ Guard::Deprecated::Guard::ClassMethods::EVALUATOR = T.let(T.unsafe(nil), String)
99
+ Guard::Deprecated::Guard::ClassMethods::GET_GUARD_CLASS = T.let(T.unsafe(nil), String)
100
+ Guard::Deprecated::Guard::ClassMethods::GROUP = T.let(T.unsafe(nil), String)
101
+ Guard::Deprecated::Guard::ClassMethods::GROUPS = T.let(T.unsafe(nil), String)
102
+ Guard::Deprecated::Guard::ClassMethods::GUARDS = T.let(T.unsafe(nil), String)
103
+ Guard::Deprecated::Guard::ClassMethods::GUARD_GEM_NAMES = T.let(T.unsafe(nil), String)
104
+ Guard::Deprecated::Guard::ClassMethods::LISTENER_ASSIGN = T.let(T.unsafe(nil), String)
105
+ Guard::Deprecated::Guard::ClassMethods::LOCATE_GUARD = T.let(T.unsafe(nil), String)
106
+ Guard::Deprecated::Guard::ClassMethods::LOCK = T.let(T.unsafe(nil), String)
107
+ Guard::Deprecated::Guard::ClassMethods::MORE_INFO_ON_UPGRADING_TO_GUARD_2 = T.let(T.unsafe(nil), String)
108
+ Guard::Deprecated::Guard::ClassMethods::OPTIONS = T.let(T.unsafe(nil), String)
109
+ Guard::Deprecated::Guard::ClassMethods::PLUGIN = T.let(T.unsafe(nil), String)
110
+ Guard::Deprecated::Guard::ClassMethods::PLUGINS = T.let(T.unsafe(nil), String)
111
+ Guard::Deprecated::Guard::ClassMethods::RESET_EVALUATOR = T.let(T.unsafe(nil), String)
112
+ Guard::Deprecated::Guard::ClassMethods::RUNNER = T.let(T.unsafe(nil), String)
113
+ Guard::Deprecated::Guard::ClassMethods::RUNNING = T.let(T.unsafe(nil), String)
114
+ Guard::Deprecated::Guard::ClassMethods::SCOPE = T.let(T.unsafe(nil), String)
115
+ Guard::Deprecated::Guard::ClassMethods::SCOPE_ASSIGN = T.let(T.unsafe(nil), String)
116
+
117
+ module Guard::Deprecated::Watcher
118
+ class << self
119
+ def add_deprecated(klass); end
120
+ end
121
+ end
122
+
123
+ module Guard::Deprecated::Watcher::ClassMethods
124
+ def match_guardfile?(files); end
125
+ end
126
+
127
+ Guard::Deprecated::Watcher::ClassMethods::MATCH_GUARDFILE = T.let(T.unsafe(nil), String)
128
+
129
+ class Guard::Dsl
130
+ extend ::Guard::Deprecated::Dsl::ClassMethods
131
+
132
+ def callback(*args, &block); end
133
+ def clearing(on); end
134
+ def directories(directories); end
135
+ def eager(command); end
136
+ def evaluate(contents, filename, lineno); end
137
+ def filter(*regexps); end
138
+ def filter!(*regexps); end
139
+ def group(*args); end
140
+ def guard(name, options = T.unsafe(nil)); end
141
+ def ignore(*regexps); end
142
+ def ignore!(*regexps); end
143
+ def interactor(options); end
144
+ def logger(options); end
145
+ def n(msg, title = T.unsafe(nil), image = T.unsafe(nil)); end
146
+ def notification(notifier, opts = T.unsafe(nil)); end
147
+ def scope(scope = T.unsafe(nil)); end
148
+ def watch(pattern, &action); end
149
+
150
+ private
151
+
152
+ def _cleanup_backtrace(backtrace); end
153
+ end
154
+
155
+ class Guard::Dsl::Error < ::RuntimeError; end
156
+ Guard::Dsl::WARN_INVALID_LOG_LEVEL = T.let(T.unsafe(nil), String)
157
+ Guard::Dsl::WARN_INVALID_LOG_OPTIONS = T.let(T.unsafe(nil), String)
158
+
159
+ class Guard::DslReader < ::Guard::Dsl
160
+ def initialize; end
161
+
162
+ def callback(*_args, &_block); end
163
+ def clearing(_on); end
164
+ def directories(_directories); end
165
+ def group(*_args); end
166
+ def guard(name, _options = T.unsafe(nil)); end
167
+ def ignore(*_regexps); end
168
+ def ignore!(*_regexps); end
169
+ def interactor(_options); end
170
+ def logger(_options); end
171
+ def notification(_notifier, _opts = T.unsafe(nil)); end
172
+ def plugin_names; end
173
+ def scope(_scope = T.unsafe(nil)); end
174
+ def watch(_pattern, &_action); end
175
+ end
176
+
177
+ class Guard::Group
178
+ def initialize(name, options = T.unsafe(nil)); end
179
+
180
+ def name; end
181
+ def name=(_arg0); end
182
+ def options; end
183
+ def options=(_arg0); end
184
+ def title; end
185
+ def to_s; end
186
+ end
187
+
188
+ module Guard::Guardfile; end
189
+
190
+ class Guard::Guardfile::Evaluator
191
+ include ::Guard::Deprecated::Evaluator
192
+
193
+ def initialize(opts = T.unsafe(nil)); end
194
+
195
+ def custom?; end
196
+ def evaluate; end
197
+ def guardfile_contents; end
198
+ def guardfile_include?(plugin_name); end
199
+ def guardfile_path; end
200
+ def guardfile_source; end
201
+ def inline?; end
202
+ def options; end
203
+ def path; end
204
+
205
+ private
206
+
207
+ def _fetch_guardfile_contents; end
208
+ def _from_deprecated(opts); end
209
+ def _guardfile_contents; end
210
+ def _guardfile_contents_usable?; end
211
+ def _guardfile_contents_without_user_config; end
212
+ def _instance_eval_guardfile(contents); end
213
+ def _read(path); end
214
+ def _use_default!; end
215
+ def _use_inline; end
216
+ def _use_provided; end
217
+ end
218
+
219
+ Guard::Guardfile::Evaluator::DEFAULT_GUARDFILES = T.let(T.unsafe(nil), Array)
220
+ Guard::Guardfile::Evaluator::ERROR_NO_GUARDFILE = T.let(T.unsafe(nil), String)
221
+ Guard::Guardfile::Evaluator::ERROR_NO_PLUGINS = T.let(T.unsafe(nil), String)
222
+ class Guard::Guardfile::Evaluator::Error < ::RuntimeError; end
223
+ class Guard::Guardfile::Evaluator::NoCustomGuardfile < ::Guard::Guardfile::Evaluator::Error; end
224
+ class Guard::Guardfile::Evaluator::NoGuardfileError < ::Guard::Guardfile::Evaluator::Error; end
225
+ class Guard::Guardfile::Evaluator::NoPluginsError < ::Guard::Guardfile::Evaluator::Error; end
226
+
227
+ class Guard::Interactor
228
+ extend ::Forwardable
229
+
230
+ def initialize(no_interaction = T.unsafe(nil)); end
231
+
232
+ def background(*args, &block); end
233
+ def foreground(*args, &block); end
234
+ def handle_interrupt(*args, &block); end
235
+ def interactive?; end
236
+
237
+ private
238
+
239
+ def idle_job; end
240
+
241
+ class << self
242
+ def enabled; end
243
+ def enabled=(_arg0); end
244
+ def enabled?; end
245
+ def options; end
246
+ def options=(_arg0); end
247
+ end
248
+ end
249
+
250
+ module Guard::Internals; end
251
+
252
+ class Guard::Internals::Debugging
253
+ class << self
254
+ def start; end
255
+ def stop; end
256
+
257
+ private
258
+
259
+ def _notify(*args); end
260
+ def _reset; end
261
+ def _trace(mod, meth, &block); end
262
+ def _untrace(mod, meth); end
263
+ end
264
+ end
265
+
266
+ class Guard::Internals::Groups
267
+ def initialize; end
268
+
269
+ def add(name, options = T.unsafe(nil)); end
270
+ def all(filter = T.unsafe(nil)); end
271
+
272
+ private
273
+
274
+ def matcher_for(filter); end
275
+ end
276
+
277
+ Guard::Internals::Groups::DEFAULT_GROUPS = T.let(T.unsafe(nil), Array)
278
+
279
+ module Guard::Internals::Helpers
280
+ def _relative_pathname(path); end
281
+ end
282
+
283
+ class Guard::Internals::Plugins
284
+ def initialize; end
285
+
286
+ def add(name, options); end
287
+ def all(filter = T.unsafe(nil)); end
288
+ def remove(plugin); end
289
+
290
+ private
291
+
292
+ def matcher_for(filter); end
293
+ end
294
+
295
+ class Guard::Internals::Queue
296
+ def initialize(commander); end
297
+
298
+ def <<(changes); end
299
+ def pending?; end
300
+ def process; end
301
+
302
+ private
303
+
304
+ def _run_actions(actions); end
305
+ end
306
+
307
+ class Guard::Internals::Scope
308
+ def initialize; end
309
+
310
+ def from_interactor(scope); end
311
+ def grouped_plugins(scope = T.unsafe(nil)); end
312
+ def titles(scope = T.unsafe(nil)); end
313
+ def to_hash; end
314
+
315
+ private
316
+
317
+ def _find_non_empty_scope(type, local_scope); end
318
+ def _groups; end
319
+ def _hashify_scope(type); end
320
+ def _instantiate(meth, obj); end
321
+ def _plugins; end
322
+ def _scope_names(new_scope, name); end
323
+ end
324
+
325
+ class Guard::Internals::Session
326
+ def initialize(new_options); end
327
+
328
+ def clear?; end
329
+ def clearing(on); end
330
+ def clearing?; end
331
+ def cmdline_groups; end
332
+ def cmdline_plugins; end
333
+ def convert_scope(entries); end
334
+ def debug?; end
335
+ def evaluator_options; end
336
+ def groups; end
337
+ def guardfile_group_scope; end
338
+ def guardfile_ignore; end
339
+ def guardfile_ignore=(ignores); end
340
+ def guardfile_ignore_bang; end
341
+ def guardfile_ignore_bang=(_arg0); end
342
+ def guardfile_notification=(config); end
343
+ def guardfile_plugin_scope; end
344
+ def guardfile_scope(scope); end
345
+ def interactor_name; end
346
+ def listener_args; end
347
+ def notify_options; end
348
+ def plugins; end
349
+ def watchdirs; end
350
+ def watchdirs=(dirs); end
351
+ end
352
+
353
+ Guard::Internals::Session::DEFAULT_OPTIONS = T.let(T.unsafe(nil), Hash)
354
+
355
+ class Guard::Internals::State
356
+ def initialize(cmdline_opts); end
357
+
358
+ def scope; end
359
+ def session; end
360
+ end
361
+
362
+ module Guard::Internals::Tracing
363
+ class << self
364
+ def trace(mod, meth); end
365
+ def untrace(mod, meth); end
366
+ end
367
+ end
368
+
369
+ module Guard::Internals::Traps
370
+ class << self
371
+ def handle(signal, &block); end
372
+ end
373
+ end
374
+
375
+ class Guard::Notifier
376
+ class << self
377
+ def connect(options = T.unsafe(nil)); end
378
+ def detected; end
379
+ def disconnect; end
380
+ def notify(message, options = T.unsafe(nil)); end
381
+ def supported; end
382
+ def toggle; end
383
+ def turn_on; end
384
+ end
385
+ end
386
+
387
+ Guard::Notifier::DEPRECATED_IMPLICIT_CONNECT = T.let(T.unsafe(nil), String)
388
+
389
+ class Guard::Options < ::Thor::CoreExt::HashWithIndifferentAccess
390
+ def initialize(opts = T.unsafe(nil), default_opts = T.unsafe(nil)); end
391
+
392
+ def fetch(name); end
393
+ end
394
+
395
+ class Guard::Plugin
396
+ def initialize(options = T.unsafe(nil)); end
397
+
398
+ def callbacks; end
399
+ def callbacks=(_arg0); end
400
+ def group; end
401
+ def group=(_arg0); end
402
+ def hook(event, *args); end
403
+ def name; end
404
+ def options; end
405
+ def options=(_arg0); end
406
+ def title; end
407
+ def to_s; end
408
+ def watchers; end
409
+ def watchers=(_arg0); end
410
+
411
+ private
412
+
413
+ def _register_callbacks; end
414
+
415
+ class << self
416
+ def add_callback(listener, guard_plugin, events); end
417
+ def callbacks; end
418
+ def non_namespaced_classname; end
419
+ def non_namespaced_name; end
420
+ def notify(guard_plugin, event, *args); end
421
+ def reset_callbacks!; end
422
+ def template(plugin_location); end
423
+ end
424
+ end
425
+
426
+ Guard::Plugin::TEMPLATE_FORMAT = T.let(T.unsafe(nil), String)
427
+
428
+ class Guard::PluginUtil
429
+ def initialize(name); end
430
+
431
+ def add_to_guardfile; end
432
+ def initialize_plugin(options); end
433
+ def name; end
434
+ def name=(_arg0); end
435
+ def plugin_class(options = T.unsafe(nil)); end
436
+ def plugin_location; end
437
+
438
+ private
439
+
440
+ def _constant_name; end
441
+ def _full_gem_path(name); end
442
+ def _plugin_constant; end
443
+
444
+ class << self
445
+ def _gem_valid?(gem); end
446
+ def plugin_names; end
447
+ end
448
+ end
449
+
450
+ Guard::PluginUtil::ERROR_NO_GUARD_OR_CLASS = T.let(T.unsafe(nil), String)
451
+ Guard::PluginUtil::INFO_ADDED_GUARD_TO_GUARDFILE = T.let(T.unsafe(nil), String)
452
+
453
+ class Guard::Runner
454
+ def _supervise(plugin, task, *args); end
455
+ def run(task, scope_hash = T.unsafe(nil)); end
456
+ def run_on_changes(modified, added, removed); end
457
+
458
+ private
459
+
460
+ def _run_group_plugins(plugins); end
461
+
462
+ class << self
463
+ def stopping_symbol_for(guard); end
464
+ end
465
+ end
466
+
467
+ Guard::Runner::ADDITION_TASKS = T.let(T.unsafe(nil), Array)
468
+ Guard::Runner::MODIFICATION_TASKS = T.let(T.unsafe(nil), Array)
469
+ Guard::Runner::PLUGIN_FAILED = T.let(T.unsafe(nil), String)
470
+ Guard::Runner::REMOVAL_TASKS = T.let(T.unsafe(nil), Array)
471
+
472
+ class Guard::Terminal
473
+ class << self
474
+ def clear; end
475
+ end
476
+ end
477
+
478
+ module Guard::UI
479
+ include ::Guard::UI::Colors
480
+
481
+ class << self
482
+ def action_with_scopes(action, scope); end
483
+ def clear(opts = T.unsafe(nil)); end
484
+ def clearable; end
485
+ def debug(message, options = T.unsafe(nil)); end
486
+ def deprecation(message, options = T.unsafe(nil)); end
487
+ def error(message, options = T.unsafe(nil)); end
488
+ def info(message, options = T.unsafe(nil)); end
489
+ def level=(new_level); end
490
+ def logger; end
491
+ def options; end
492
+ def options=(options); end
493
+ def reset_and_clear; end
494
+ def reset_line; end
495
+ def reset_logger; end
496
+ def warning(message, options = T.unsafe(nil)); end
497
+
498
+ private
499
+
500
+ def _calling_plugin_name; end
501
+ def _filter(plugin); end
502
+ def _filtered_logger_message(message, method, color_name, options = T.unsafe(nil)); end
503
+ def color(text, *color_options); end
504
+ def color_enabled?; end
505
+ end
506
+ end
507
+
508
+ module Guard::UI::Colors; end
509
+ Guard::UI::Colors::ANSI_ESCAPE_BGBLACK = T.let(T.unsafe(nil), String)
510
+ Guard::UI::Colors::ANSI_ESCAPE_BGBLUE = T.let(T.unsafe(nil), String)
511
+ Guard::UI::Colors::ANSI_ESCAPE_BGCYAN = T.let(T.unsafe(nil), String)
512
+ Guard::UI::Colors::ANSI_ESCAPE_BGGREEN = T.let(T.unsafe(nil), String)
513
+ Guard::UI::Colors::ANSI_ESCAPE_BGMAGENTA = T.let(T.unsafe(nil), String)
514
+ Guard::UI::Colors::ANSI_ESCAPE_BGRED = T.let(T.unsafe(nil), String)
515
+ Guard::UI::Colors::ANSI_ESCAPE_BGWHITE = T.let(T.unsafe(nil), String)
516
+ Guard::UI::Colors::ANSI_ESCAPE_BGYELLOW = T.let(T.unsafe(nil), String)
517
+ Guard::UI::Colors::ANSI_ESCAPE_BLACK = T.let(T.unsafe(nil), String)
518
+ Guard::UI::Colors::ANSI_ESCAPE_BLUE = T.let(T.unsafe(nil), String)
519
+ Guard::UI::Colors::ANSI_ESCAPE_BRIGHT = T.let(T.unsafe(nil), String)
520
+ Guard::UI::Colors::ANSI_ESCAPE_CYAN = T.let(T.unsafe(nil), String)
521
+ Guard::UI::Colors::ANSI_ESCAPE_GREEN = T.let(T.unsafe(nil), String)
522
+ Guard::UI::Colors::ANSI_ESCAPE_MAGENTA = T.let(T.unsafe(nil), String)
523
+ Guard::UI::Colors::ANSI_ESCAPE_RED = T.let(T.unsafe(nil), String)
524
+ Guard::UI::Colors::ANSI_ESCAPE_WHITE = T.let(T.unsafe(nil), String)
525
+ Guard::UI::Colors::ANSI_ESCAPE_YELLOW = T.let(T.unsafe(nil), String)
526
+
527
+ class Guard::UI::Config < ::Guard::Options
528
+ def initialize(options = T.unsafe(nil)); end
529
+
530
+ def [](name); end
531
+ def device; end
532
+ def except; end
533
+ def logger_config; end
534
+ def only; end
535
+ def with_progname(name); end
536
+ end
537
+
538
+ Guard::UI::Config::DEFAULTS = T.let(T.unsafe(nil), Hash)
539
+ Guard::UI::Config::DEPRECATED_OPTS = T.let(T.unsafe(nil), Array)
540
+ class Guard::UI::Logger; end
541
+
542
+ class Guard::UI::Logger::Config < ::Guard::Options
543
+ def initialize(options = T.unsafe(nil)); end
544
+
545
+ def level=(value); end
546
+ end
547
+
548
+ Guard::UI::Logger::Config::DEFAULTS = T.let(T.unsafe(nil), Hash)
549
+
550
+ class Guard::Watcher
551
+ extend ::Guard::Deprecated::Watcher::ClassMethods
552
+
553
+ def initialize(pattern, action = T.unsafe(nil)); end
554
+
555
+ def ==(other); end
556
+ def action; end
557
+ def action=(_arg0); end
558
+ def call_action(matches); end
559
+ def match(string_or_pathname); end
560
+ def pattern; end
561
+ def pattern=(_arg0); end
562
+
563
+ class << self
564
+ def match_files(guard, files); end
565
+ end
566
+ end
567
+
568
+ class Guard::Watcher::Pattern
569
+ class << self
570
+ def create(pattern); end
571
+ end
572
+ end
573
+
574
+ class Guard::Watcher::Pattern::DeprecatedRegexp
575
+ def initialize(pattern); end
576
+
577
+ def deprecated?; end
578
+
579
+ class << self
580
+ def convert(pattern); end
581
+ def show_deprecation(pattern); end
582
+ end
583
+ end
584
+
585
+ class Guard::Watcher::Pattern::MatchResult
586
+ def initialize(match_result, original_value); end
587
+
588
+ def [](index); end
589
+ end
590
+
591
+ class Guard::Watcher::Pattern::Matcher
592
+ def initialize(obj); end
593
+
594
+ def ==(other); end
595
+ def match(string_or_pathname); end
596
+ def matcher; end
597
+
598
+ private
599
+
600
+ def normalized(string_or_pathname); end
601
+ end
602
+
603
+ class Guard::Watcher::Pattern::PathnamePath < ::Guard::Watcher::Pattern::SimplePath
604
+ protected
605
+
606
+ def normalize(string_or_pathname); end
607
+ end
608
+
609
+ class Guard::Watcher::Pattern::SimplePath
610
+ def initialize(string_or_pathname); end
611
+
612
+ def match(string_or_pathname); end
613
+
614
+ protected
615
+
616
+ def normalize(string_or_pathname); end
617
+ end
@@ -0,0 +1,8 @@
1
+ # DO NOT EDIT MANUALLY
2
+ # This is an autogenerated file for types exported from the `highline` 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