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,8 +0,0 @@
1
- # DO NOT EDIT MANUALLY
2
- # This is an autogenerated file for types exported from the `ffi` 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
@@ -1,178 +0,0 @@
1
- # DO NOT EDIT MANUALLY
2
- # This is an autogenerated file for types exported from the `flay` gem.
3
- # Please instead update this file by running `bin/tapioca sync`.
4
-
5
- # typed: true
6
-
7
- class Array
8
- include ::Enumerable
9
- include ::JSON::Ext::Generator::GeneratorMethods::Array
10
-
11
- def delete_eql(other); end
12
- end
13
-
14
- File::RUBY19 = T.let(T.unsafe(nil), TrueClass)
15
-
16
- class Flay
17
- def initialize(option = T.unsafe(nil)); end
18
-
19
- def analyze(filter = T.unsafe(nil)); end
20
- def collapse_and_label(ary); end
21
- def filter_sexp(exp); end
22
- def hashes; end
23
- def identical; end
24
- def identical=(_arg0); end
25
- def mass_threshold; end
26
- def mass_threshold=(_arg0); end
27
- def masses; end
28
- def masses=(_arg0); end
29
- def n_way_diff(*data); end
30
- def option; end
31
- def pad_with_empty_strings(ary); end
32
- def process(*files); end
33
- def process_fuzzy(node, difference); end
34
- def process_rb(file); end
35
- def process_sexp(pt); end
36
- def prune; end
37
- def prune_conservatively; end
38
- def prune_liberally; end
39
- def report(io = T.unsafe(nil)); end
40
- def sexp_to_rb(sexp); end
41
- def split_and_group(ary); end
42
- def summary; end
43
- def total; end
44
- def total=(_arg0); end
45
- def update_masses; end
46
-
47
- class << self
48
- def default_options; end
49
- def load_plugins; end
50
- def parse_options(args = T.unsafe(nil)); end
51
- def run(args = T.unsafe(nil)); end
52
- end
53
- end
54
-
55
- Flay::DEFAULT_IGNORE = T.let(T.unsafe(nil), String)
56
-
57
- class Flay::Item < ::Struct
58
- def identical?; end
59
- end
60
-
61
- class Flay::Location < ::Struct
62
- def fuzzy?; end
63
- end
64
-
65
- Flay::MAX_AVG_MASS = T.let(T.unsafe(nil), Integer)
66
- Flay::MAX_NODE_SIZE = T.let(T.unsafe(nil), Integer)
67
- Flay::VERSION = T.let(T.unsafe(nil), String)
68
-
69
- class Sexp < ::Array
70
- def initialize(*args); end
71
-
72
- def +(o); end
73
- def /(pattern); end
74
- def ==(obj); end
75
- def =~(pattern); end
76
- def [](a); end
77
- def add(_arg0); end
78
- def add_all(x); end
79
- def all_structural_subhashes; end
80
- def array_type?; end
81
- def block_pass?; end
82
- def check_line_numbers; end
83
- def code_index; end
84
- def comments; end
85
- def comments=(_arg0); end
86
- def compact; end
87
- def deep_each(&block); end
88
- def depth; end
89
- def each_of_type(t, &b); end
90
- def each_sexp; end
91
- def eql?(o); end
92
- def file; end
93
- def file=(_arg0); end
94
- def find_and_replace_all(from, to); end
95
- def find_node(name, delete = T.unsafe(nil)); end
96
- def find_nodes(name); end
97
- def gsub(pattern, repl); end
98
- def has_code?; end
99
- def hash; end
100
- def head; end
101
- def inspect; end
102
- def line(n = T.unsafe(nil)); end
103
- def line=(_arg0); end
104
- def line_max; end
105
- def line_min; end
106
- def map(&blk); end
107
- def mass; end
108
- def method_missing(meth, delete = T.unsafe(nil)); end
109
- def modified; end
110
- def modified=(_arg0); end
111
- def modified?; end
112
- def new(*body); end
113
- def nil_line?; end
114
- def node_type; end
115
- def paren; end
116
- def paren=(_arg0); end
117
- def pretty_print(q); end
118
- def pure_ruby_hash; end
119
- def replace_sexp(pattern, &block); end
120
- def respond_to?(msg, private = T.unsafe(nil)); end
121
- def rest(from = T.unsafe(nil)); end
122
- def satisfy?(pattern); end
123
- def search_each(pattern, &block); end
124
- def sexp_body(from = T.unsafe(nil)); end
125
- def sexp_body=(v); end
126
- def sexp_type; end
127
- def sexp_type=(v); end
128
- def split_at(n); end
129
- def split_code; end
130
- def structural_hash; end
131
- def structure; end
132
- def sub(pattern, repl); end
133
- def to_a; end
134
- def to_s; end
135
- def to_sym; end
136
- def value; end
137
- def values(from = T.unsafe(nil)); end
138
-
139
- private
140
-
141
- def initialize_copy(o); end
142
-
143
- class << self
144
- def -(arg); end
145
- def _; end
146
- def ___; end
147
- def all(*args); end
148
- def any(*args); end
149
- def atom; end
150
- def child(child); end
151
- def from_array(a); end
152
- def include(child); end
153
- def k(klass); end
154
- def m(*values); end
155
- def not?(arg); end
156
- def q(*args); end
157
- def s(*args); end
158
- def t(name); end
159
- end
160
- end
161
-
162
- Sexp::MAX_INT32 = T.let(T.unsafe(nil), Integer)
163
- Sexp::NODE_NAMES = T.let(T.unsafe(nil), Hash)
164
- Sexp::UNASSIGNED = T.let(T.unsafe(nil), Object)
165
-
166
- class String
167
- include ::Comparable
168
- include ::JSON::Ext::Generator::GeneratorMethods::String
169
- include ::Colorize::InstanceMethods
170
- extend ::JSON::Ext::Generator::GeneratorMethods::String::Extend
171
- extend ::Colorize::ClassMethods
172
-
173
- def group; end
174
- def group=(_arg0); end
175
- end
176
-
177
- String::BLANK_RE = T.let(T.unsafe(nil), Regexp)
178
- String::ENCODED_BLANKS = T.let(T.unsafe(nil), Concurrent::Map)
@@ -1,70 +0,0 @@
1
- # DO NOT EDIT MANUALLY
2
- # This is an autogenerated file for types exported from the `flog` gem.
3
- # Please instead update this file by running `bin/tapioca sync`.
4
-
5
- # typed: true
6
-
7
- File::RUBY19 = T.let(T.unsafe(nil), TrueClass)
8
-
9
- class Flog < ::MethodBasedSexpProcessor
10
- def initialize(option = T.unsafe(nil)); end
11
-
12
- def add_to_score(name, score = T.unsafe(nil)); end
13
- def average; end
14
- def calculate; end
15
- def calculate_total_scores; end
16
- def calls; end
17
- def dsl_name?(args); end
18
- def each_by_score(max = T.unsafe(nil)); end
19
- def flog(*files); end
20
- def flog_ruby(ruby, file = T.unsafe(nil), timeout = T.unsafe(nil)); end
21
- def flog_ruby!(ruby, file = T.unsafe(nil), timeout = T.unsafe(nil)); end
22
- def mass; end
23
- def max_method; end
24
- def max_score; end
25
- def method_scores; end
26
- def multiplier; end
27
- def multiplier=(_arg0); end
28
- def no_method; end
29
- def option; end
30
- def penalize_by(bonus); end
31
- def process_alias(exp); end
32
- def process_and(exp); end
33
- def process_attrasgn(exp); end
34
- def process_block(exp); end
35
- def process_block_pass(exp); end
36
- def process_call(exp); end
37
- def process_case(exp); end
38
- def process_class(exp); end
39
- def process_dasgn_curr(exp); end
40
- def process_else(exp); end
41
- def process_iasgn(exp); end
42
- def process_if(exp); end
43
- def process_iter(exp); end
44
- def process_lasgn(exp); end
45
- def process_lit(exp); end
46
- def process_masgn(exp); end
47
- def process_or(exp); end
48
- def process_rescue(exp); end
49
- def process_safe_call(exp); end
50
- def process_sclass(exp); end
51
- def process_super(exp); end
52
- def process_until(exp); end
53
- def process_when(exp); end
54
- def process_while(exp); end
55
- def process_yield(exp); end
56
- def reset; end
57
- def score_method(tally); end
58
- def scores; end
59
- def threshold; end
60
- def threshold=(_arg0); end
61
- def total_score; end
62
- def totals; end
63
- end
64
-
65
- Flog::BRANCHING = T.let(T.unsafe(nil), Array)
66
- Flog::DEFAULT_THRESHOLD = T.let(T.unsafe(nil), Float)
67
- Flog::OTHER_SCORES = T.let(T.unsafe(nil), Hash)
68
- Flog::SCORES = T.let(T.unsafe(nil), Hash)
69
- Flog::THRESHOLD = T.let(T.unsafe(nil), Float)
70
- Flog::VERSION = T.let(T.unsafe(nil), String)
@@ -1,8 +0,0 @@
1
- # DO NOT EDIT MANUALLY
2
- # This is an autogenerated file for types exported from the `formatador` 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
@@ -1,49 +0,0 @@
1
- # DO NOT EDIT MANUALLY
2
- # This is an autogenerated file for types exported from the `guard-compat` 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
- module Guard::Compat
32
- class << self
33
- def matching_files(plugin, files); end
34
- def watched_directories; end
35
- end
36
- end
37
-
38
- module Guard::Compat::UI
39
- class << self
40
- def color(text, *colors); end
41
- def color_enabled?; end
42
- def debug(message, options = T.unsafe(nil)); end
43
- def deprecation(message, options = T.unsafe(nil)); end
44
- def error(message, options = T.unsafe(nil)); end
45
- def info(message, options = T.unsafe(nil)); end
46
- def notify(msg, options = T.unsafe(nil)); end
47
- def warning(message, options = T.unsafe(nil)); end
48
- end
49
- end
@@ -1,233 +0,0 @@
1
- # DO NOT EDIT MANUALLY
2
- # This is an autogenerated file for types exported from the `guard-rspec` 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::RSpec < ::Guard::Plugin
32
- def initialize(options = T.unsafe(nil)); end
33
-
34
- def options; end
35
- def options=(_arg0); end
36
- def reload; end
37
- def run_all; end
38
- def run_on_modifications(paths); end
39
- def runner; end
40
- def runner=(_arg0); end
41
- def start; end
42
-
43
- private
44
-
45
- def _throw_if_failed; end
46
- end
47
-
48
- class Guard::RSpec::Command < ::String
49
- def initialize(paths, options = T.unsafe(nil)); end
50
-
51
- def options; end
52
- def options=(_arg0); end
53
- def paths; end
54
- def paths=(_arg0); end
55
-
56
- private
57
-
58
- def _cmd_include_formatter?; end
59
- def _guard_formatter; end
60
- def _parts; end
61
- def _paths(options); end
62
- def _rspec_formatters; end
63
- def _visual_formatter; end
64
- end
65
-
66
- Guard::RSpec::Command::FAILURE_EXIT_CODE = T.let(T.unsafe(nil), Integer)
67
-
68
- class Guard::RSpec::Deprecator
69
- def initialize(options = T.unsafe(nil)); end
70
-
71
- def options; end
72
- def options=(_arg0); end
73
- def warns_about_deprecated_options; end
74
-
75
- private
76
-
77
- def _deprecated(message); end
78
- def _exclude_option; end
79
- def _focus_on_failed_option; end
80
- def _keep_failed_option; end
81
- def _spec_opts_env; end
82
- def _use_cmd_option; end
83
- def _version_option; end
84
-
85
- class << self
86
- def warns_about_deprecated_options(options = T.unsafe(nil)); end
87
- end
88
- end
89
-
90
- module Guard::RSpec::Inspectors; end
91
-
92
- class Guard::RSpec::Inspectors::BaseInspector
93
- def initialize(options = T.unsafe(nil)); end
94
-
95
- def failed(_locations); end
96
- def options; end
97
- def options=(_arg0); end
98
- def paths(_paths); end
99
- def reload; end
100
- def spec_paths; end
101
- def spec_paths=(_arg0); end
102
-
103
- private
104
-
105
- def _clean(paths); end
106
- def _collect_files(pattern); end
107
- def _paths_with_chdir(paths, chdir); end
108
- def _select_only_spec_dirs(paths); end
109
- def _select_only_spec_files(paths); end
110
- def _spec_paths_with_chdir; end
111
- end
112
-
113
- class Guard::RSpec::Inspectors::Factory
114
- class << self
115
- def create(options = T.unsafe(nil)); end
116
- end
117
- end
118
-
119
- class Guard::RSpec::Inspectors::FocusedInspector < ::Guard::RSpec::Inspectors::BaseInspector
120
- def initialize(options = T.unsafe(nil)); end
121
-
122
- def failed(locations); end
123
- def focused_locations; end
124
- def focused_locations=(_arg0); end
125
- def paths(paths); end
126
- def reload; end
127
- end
128
-
129
- class Guard::RSpec::Inspectors::KeepingInspector < ::Guard::RSpec::Inspectors::BaseInspector
130
- def initialize(options = T.unsafe(nil)); end
131
-
132
- def failed(locations); end
133
- def failed_locations; end
134
- def failed_locations=(_arg0); end
135
- def paths(paths); end
136
- def reload; end
137
-
138
- private
139
-
140
- def _location_path(location); end
141
- def _with_failed_locations(paths); end
142
- end
143
-
144
- class Guard::RSpec::Inspectors::SimpleInspector < ::Guard::RSpec::Inspectors::BaseInspector
145
- def failed(_locations); end
146
- def paths(paths); end
147
- def reload; end
148
- end
149
-
150
- class Guard::RSpec::Notifier
151
- def initialize(options = T.unsafe(nil)); end
152
-
153
- def notify(summary); end
154
- def notify_failure; end
155
- def options; end
156
- def options=(_arg0); end
157
-
158
- private
159
-
160
- def _image(failure_count, pending_count); end
161
- def _parse_summary(summary); end
162
- def _priority(image); end
163
- end
164
-
165
- module Guard::RSpec::Options
166
- class << self
167
- def with_defaults(options = T.unsafe(nil)); end
168
-
169
- private
170
-
171
- def _deep_merge(hash1, hash2); end
172
- end
173
- end
174
-
175
- Guard::RSpec::Options::DEFAULTS = T.let(T.unsafe(nil), Hash)
176
-
177
- class Guard::RSpec::RSpecProcess
178
- def initialize(command, formatter_tmp_file, options = T.unsafe(nil)); end
179
-
180
- def all_green?; end
181
- def options; end
182
- def results; end
183
-
184
- private
185
-
186
- def _read_results; end
187
- def _really_run; end
188
- def _run; end
189
- def _warn_unless_absolute_path(formatter_tmp_file); end
190
- def _with_desired_bundler_env; end
191
- def command; end
192
- def exit_code; end
193
- def formatter_tmp_file; end
194
- end
195
-
196
- class Guard::RSpec::RSpecProcess::Failure < ::RuntimeError; end
197
-
198
- class Guard::RSpec::Results
199
- def initialize(filename); end
200
-
201
- def failed_paths; end
202
- def summary; end
203
- end
204
-
205
- class Guard::RSpec::Results::InvalidData < ::RuntimeError; end
206
-
207
- class Guard::RSpec::Runner
208
- def initialize(options = T.unsafe(nil)); end
209
-
210
- def inspector; end
211
- def inspector=(_arg0); end
212
- def notifier; end
213
- def notifier=(_arg0); end
214
- def options; end
215
- def options=(_arg0); end
216
- def reload; end
217
- def run(paths); end
218
- def run_all; end
219
-
220
- private
221
-
222
- def _open_launchy; end
223
- def _really_run(cmd, options); end
224
- def _results_file(results_file, chdir); end
225
- def _run(paths, options, &block); end
226
- end
227
-
228
- class Guard::RSpec::Runner::NoCmdOptionError < ::RuntimeError
229
- def initialize; end
230
- end
231
-
232
- class Guard::RSpecDefaults; end
233
- Guard::RSpecDefaults::TEMPORARY_FILE_PATH = T.let(T.unsafe(nil), String)
@@ -1,66 +0,0 @@
1
- # DO NOT EDIT MANUALLY
2
- # This is an autogenerated file for types exported from the `guard-rubocop` 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::RuboCop < ::Guard::Plugin
32
- def initialize(options = T.unsafe(nil)); end
33
-
34
- def failed_paths; end
35
- def options; end
36
- def reload; end
37
- def run_all; end
38
- def run_on_additions(paths); end
39
- def run_on_modifications(paths); end
40
- def start; end
41
-
42
- private
43
-
44
- def clean_paths(paths); end
45
- def included_in_other_path?(target_path, other_paths); end
46
- def inspect_with_rubocop(paths = T.unsafe(nil)); end
47
- def run_partially(paths); end
48
- def smart_path(path); end
49
- end
50
-
51
- class Guard::RuboCop::Runner
52
- def initialize(options); end
53
-
54
- def args_specified_by_user; end
55
- def build_command(paths); end
56
- def failed_paths; end
57
- def include_formatter_for_console?(cli_args); end
58
- def json_file_path; end
59
- def notify(passed); end
60
- def open_launchy_if_needed; end
61
- def pluralize(number, thing, options = T.unsafe(nil)); end
62
- def result; end
63
- def run(paths = T.unsafe(nil)); end
64
- def should_add_default_formatter_for_console?; end
65
- def summary_text; end
66
- end
@@ -1,69 +0,0 @@
1
- # DO NOT EDIT MANUALLY
2
- # This is an autogenerated file for types exported from the `guard-shell` 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::Dsl
32
- extend ::Guard::Deprecated::Dsl::ClassMethods
33
-
34
- def callback(*args, &block); end
35
- def clearing(on); end
36
- def directories(directories); end
37
- def eager(command); end
38
- def evaluate(contents, filename, lineno); end
39
- def filter(*regexps); end
40
- def filter!(*regexps); end
41
- def group(*args); end
42
- def guard(name, options = T.unsafe(nil)); end
43
- def ignore(*regexps); end
44
- def ignore!(*regexps); end
45
- def interactor(options); end
46
- def logger(options); end
47
- def n(msg, title = T.unsafe(nil), image = T.unsafe(nil)); end
48
- def notification(notifier, opts = T.unsafe(nil)); end
49
- def scope(scope = T.unsafe(nil)); end
50
- def watch(pattern, &action); end
51
-
52
- private
53
-
54
- def _cleanup_backtrace(backtrace); end
55
- end
56
-
57
- Guard::Dsl::WARN_INVALID_LOG_LEVEL = T.let(T.unsafe(nil), String)
58
- Guard::Dsl::WARN_INVALID_LOG_OPTIONS = T.let(T.unsafe(nil), String)
59
-
60
- class Guard::Shell < ::Guard::Plugin
61
- def available_watchers; end
62
- def run_all; end
63
- def run_on_modifications(res); end
64
- def start; end
65
- def stop; end
66
- end
67
-
68
- module Guard::ShellVersion; end
69
- Guard::ShellVersion::VERSION = T.let(T.unsafe(nil), String)