muina 0.2.8 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (161) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +25 -0
  3. data/README.md +0 -35
  4. data/lib/muina/maybe/none.rb +61 -0
  5. data/lib/muina/maybe/some.rb +62 -0
  6. data/lib/muina/maybe.rb +13 -0
  7. data/lib/muina/result/failure.rb +7 -18
  8. data/lib/muina/result/success.rb +7 -18
  9. data/lib/muina/result.rb +6 -8
  10. data/lib/muina/version.rb +1 -2
  11. data/lib/muina.rb +0 -32
  12. metadata +24 -225
  13. data/.github/workflows/main.yml +0 -16
  14. data/.gitignore +0 -5
  15. data/.mutant.yml +0 -38
  16. data/.rspec +0 -4
  17. data/.rubocop.yml +0 -181
  18. data/.ruby-version +0 -1
  19. data/.simplecov +0 -14
  20. data/CHANGELOG.md +0 -38
  21. data/Gemfile +0 -34
  22. data/Gemfile.lock +0 -265
  23. data/Guardfile +0 -24
  24. data/Rakefile +0 -13
  25. data/SECURITY.md +0 -14
  26. data/bin/bundle +0 -114
  27. data/bin/console +0 -15
  28. data/bin/flay +0 -29
  29. data/bin/flog +0 -29
  30. data/bin/guard +0 -29
  31. data/bin/irb +0 -29
  32. data/bin/lefthook +0 -29
  33. data/bin/mutant +0 -29
  34. data/bin/parlour +0 -29
  35. data/bin/rake +0 -29
  36. data/bin/rspec +0 -29
  37. data/bin/rubocop +0 -29
  38. data/bin/setup +0 -8
  39. data/bin/srb +0 -29
  40. data/bin/srb-rbi +0 -29
  41. data/bin/tapioca +0 -29
  42. data/exe/muina +0 -11
  43. data/lefthook.yml +0 -39
  44. data/lib/muina/action/params_factory.rb +0 -17
  45. data/lib/muina/action/step/command.rb +0 -33
  46. data/lib/muina/action/step/failure.rb +0 -18
  47. data/lib/muina/action/step/query.rb +0 -35
  48. data/lib/muina/action/step/result.rb +0 -56
  49. data/lib/muina/action/step.rb +0 -13
  50. data/lib/muina/action.rb +0 -73
  51. data/lib/muina/any.rb +0 -7
  52. data/lib/muina/classes.rb +0 -7
  53. data/lib/muina/deprecator.rb +0 -93
  54. data/lib/muina/entity.rb +0 -20
  55. data/lib/muina/module.rb +0 -6
  56. data/lib/muina/parameters.rb +0 -7
  57. data/lib/muina/params.rb +0 -19
  58. data/lib/muina/private_creation.rb +0 -12
  59. data/lib/muina/result/factory.rb +0 -37
  60. data/lib/muina/result/null.rb +0 -25
  61. data/lib/muina/service.rb +0 -25
  62. data/lib/muina/symbol_hash.rb +0 -7
  63. data/lib/muina/unit.rb +0 -10
  64. data/lib/muina/untyped_array.rb +0 -7
  65. data/lib/muina/untyped_hash.rb +0 -7
  66. data/lib/muina/value.rb +0 -24
  67. data/muina.gemspec +0 -35
  68. data/rbi/muina.rbi +0 -311
  69. data/sorbet/config +0 -2
  70. data/sorbet/rbi/gems/actionpack@6.1.4.rbi +0 -5045
  71. data/sorbet/rbi/gems/actionview@6.1.4.rbi +0 -2416
  72. data/sorbet/rbi/gems/activesupport@6.1.4.rbi +0 -3778
  73. data/sorbet/rbi/gems/ast@2.4.2.rbi +0 -54
  74. data/sorbet/rbi/gems/awesome_print@1.9.2.rbi +0 -322
  75. data/sorbet/rbi/gems/builder@3.2.4.rbi +0 -8
  76. data/sorbet/rbi/gems/byebug@11.1.3.rbi +0 -18
  77. data/sorbet/rbi/gems/coderay@1.1.3.rbi +0 -8
  78. data/sorbet/rbi/gems/colorize@0.8.1.rbi +0 -39
  79. data/sorbet/rbi/gems/commander@4.6.0.rbi +0 -8
  80. data/sorbet/rbi/gems/concurrent-ruby@1.1.9.rbi +0 -2403
  81. data/sorbet/rbi/gems/crass@1.0.6.rbi +0 -123
  82. data/sorbet/rbi/gems/diff-lcs@1.4.4.rbi +0 -185
  83. data/sorbet/rbi/gems/docile@1.4.0.rbi +0 -54
  84. data/sorbet/rbi/gems/erubi@1.10.0.rbi +0 -36
  85. data/sorbet/rbi/gems/erubis@2.7.0.rbi +0 -8
  86. data/sorbet/rbi/gems/faker@2.18.0.rbi +0 -2469
  87. data/sorbet/rbi/gems/ffi@1.15.3.rbi +0 -8
  88. data/sorbet/rbi/gems/flay@2.12.1.rbi +0 -178
  89. data/sorbet/rbi/gems/flog@4.6.4.rbi +0 -70
  90. data/sorbet/rbi/gems/formatador@0.3.0.rbi +0 -8
  91. data/sorbet/rbi/gems/guard-compat@1.2.1.rbi +0 -49
  92. data/sorbet/rbi/gems/guard-rspec@4.7.3.rbi +0 -233
  93. data/sorbet/rbi/gems/guard-rubocop@1.4.0.rbi +0 -66
  94. data/sorbet/rbi/gems/guard-shell@0.7.2.rbi +0 -69
  95. data/sorbet/rbi/gems/guard@2.18.0.rbi +0 -617
  96. data/sorbet/rbi/gems/highline@2.0.3.rbi +0 -8
  97. data/sorbet/rbi/gems/i18n@1.8.10.rbi +0 -616
  98. data/sorbet/rbi/gems/io-console@0.5.9.rbi +0 -8
  99. data/sorbet/rbi/gems/irb@1.3.6.rbi +0 -452
  100. data/sorbet/rbi/gems/lefthook@0.7.6.rbi +0 -8
  101. data/sorbet/rbi/gems/listen@3.6.0.rbi +0 -476
  102. data/sorbet/rbi/gems/loofah@2.10.0.rbi +0 -223
  103. data/sorbet/rbi/gems/lumberjack@1.2.8.rbi +0 -431
  104. data/sorbet/rbi/gems/method_source@1.0.0.rbi +0 -8
  105. data/sorbet/rbi/gems/minitest@5.14.4.rbi +0 -344
  106. data/sorbet/rbi/gems/mutant-license@0.1.1.1.4043027289354708743625974235631451632228.0.rbi +0 -8
  107. data/sorbet/rbi/gems/mutant-rspec@0.10.32.rbi +0 -8
  108. data/sorbet/rbi/gems/mutant@0.10.32.rbi +0 -4154
  109. data/sorbet/rbi/gems/nenv@0.3.0.rbi +0 -88
  110. data/sorbet/rbi/gems/nokogiri@1.11.7.rbi +0 -1422
  111. data/sorbet/rbi/gems/notiffany@0.1.3.rbi +0 -331
  112. data/sorbet/rbi/gems/parallel@1.20.1.rbi +0 -113
  113. data/sorbet/rbi/gems/parlour@6.0.1.rbi +0 -1726
  114. data/sorbet/rbi/gems/parser@3.0.2.0.rbi +0 -1683
  115. data/sorbet/rbi/gems/path_expander@1.1.0.rbi +0 -24
  116. data/sorbet/rbi/gems/polyfill@1.9.0.rbi +0 -393
  117. data/sorbet/rbi/gems/pry@0.14.1.rbi +0 -8
  118. data/sorbet/rbi/gems/racc@1.5.2.rbi +0 -47
  119. data/sorbet/rbi/gems/rack-test@1.1.0.rbi +0 -272
  120. data/sorbet/rbi/gems/rack@2.2.3.rbi +0 -1618
  121. data/sorbet/rbi/gems/rails-dom-testing@2.0.3.rbi +0 -92
  122. data/sorbet/rbi/gems/rails-html-sanitizer@1.3.0.rbi +0 -183
  123. data/sorbet/rbi/gems/rainbow@3.0.0.rbi +0 -153
  124. data/sorbet/rbi/gems/rake@13.0.6.rbi +0 -808
  125. data/sorbet/rbi/gems/rb-fsevent@0.11.0.rbi +0 -8
  126. data/sorbet/rbi/gems/rb-inotify@0.10.1.rbi +0 -8
  127. data/sorbet/rbi/gems/regexp_parser@2.1.1.rbi +0 -1120
  128. data/sorbet/rbi/gems/reline@0.2.6.rbi +0 -662
  129. data/sorbet/rbi/gems/rexml@3.2.5.rbi +0 -672
  130. data/sorbet/rbi/gems/rspec-core@3.10.1.rbi +0 -2509
  131. data/sorbet/rbi/gems/rspec-expectations@3.10.1.rbi +0 -1574
  132. data/sorbet/rbi/gems/rspec-mocks@3.10.2.rbi +0 -1462
  133. data/sorbet/rbi/gems/rspec-support@3.10.2.rbi +0 -509
  134. data/sorbet/rbi/gems/rspec@3.10.0.rbi +0 -38
  135. data/sorbet/rbi/gems/rubocop-ast@1.8.0.rbi +0 -2194
  136. data/sorbet/rbi/gems/rubocop-performance@1.11.4.rbi +0 -899
  137. data/sorbet/rbi/gems/rubocop-rake@0.6.0.rbi +0 -118
  138. data/sorbet/rbi/gems/rubocop-rspec@2.4.0.rbi +0 -1805
  139. data/sorbet/rbi/gems/rubocop-sorbet@0.6.2.rbi +0 -288
  140. data/sorbet/rbi/gems/rubocop@1.18.4.rbi +0 -13197
  141. data/sorbet/rbi/gems/ruby-progressbar@1.11.0.rbi +0 -405
  142. data/sorbet/rbi/gems/ruby_parser@3.16.0.rbi +0 -4528
  143. data/sorbet/rbi/gems/safe_type@1.1.1.rbi +0 -157
  144. data/sorbet/rbi/gems/sexp_processor@4.15.3.rbi +0 -359
  145. data/sorbet/rbi/gems/shellany@0.0.1.rbi +0 -28
  146. data/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +0 -89
  147. data/sorbet/rbi/gems/simplecov@0.21.2.rbi +0 -577
  148. data/sorbet/rbi/gems/simplecov_json_formatter@0.1.3.rbi +0 -8
  149. data/sorbet/rbi/gems/sorbet-coerce@0.5.0.rbi +0 -42
  150. data/sorbet/rbi/gems/sorbet-rails@0.7.4.rbi +0 -8
  151. data/sorbet/rbi/gems/sorbet-struct-comparable@1.1.0.rbi +0 -17
  152. data/sorbet/rbi/gems/spoom@1.1.1.rbi +0 -1193
  153. data/sorbet/rbi/gems/tapioca@0.4.23.rbi +0 -1826
  154. data/sorbet/rbi/gems/thor@1.1.0.rbi +0 -838
  155. data/sorbet/rbi/gems/tzinfo@2.0.4.rbi +0 -856
  156. data/sorbet/rbi/gems/unicode-display_width@2.0.0.rbi +0 -26
  157. data/sorbet/rbi/gems/unparser@0.6.0.rbi +0 -2037
  158. data/sorbet/rbi/gems/zeitwerk@2.4.2.rbi +0 -173
  159. data/sorbet/rbi/todo.rbi +0 -8
  160. data/sorbet/rbi/typed_params.rbi +0 -7
  161. data/sorbet/tapioca/require.rb +0 -16
@@ -1,617 +0,0 @@
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
@@ -1,8 +0,0 @@
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