muina 0.2.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.github/workflows/main.yml +16 -0
- data/.gitignore +5 -0
- data/.mutant.yml +38 -0
- data/.rspec +4 -0
- data/.rubocop.yml +172 -0
- data/.ruby-version +1 -0
- data/.simplecov +14 -0
- data/CHANGELOG.md +38 -0
- data/Gemfile +34 -0
- data/Gemfile.lock +265 -0
- data/Guardfile +24 -0
- data/README.md +36 -0
- data/Rakefile +13 -0
- data/SECURITY.md +14 -0
- data/bin/bundle +114 -0
- data/bin/console +15 -0
- data/bin/flay +29 -0
- data/bin/flog +29 -0
- data/bin/guard +29 -0
- data/bin/irb +29 -0
- data/bin/lefthook +29 -0
- data/bin/mutant +29 -0
- data/bin/parlour +29 -0
- data/bin/rake +29 -0
- data/bin/rspec +29 -0
- data/bin/rubocop +29 -0
- data/bin/setup +8 -0
- data/bin/srb +29 -0
- data/bin/srb-rbi +29 -0
- data/bin/tapioca +29 -0
- data/exe/muina +11 -0
- data/lefthook.yml +39 -0
- data/lib/muina/action/params_factory.rb +17 -0
- data/lib/muina/action/step/command.rb +31 -0
- data/lib/muina/action/step/failure.rb +18 -0
- data/lib/muina/action/step/query.rb +31 -0
- data/lib/muina/action/step/result.rb +51 -0
- data/lib/muina/action/step.rb +13 -0
- data/lib/muina/action.rb +73 -0
- data/lib/muina/any.rb +7 -0
- data/lib/muina/classes.rb +7 -0
- data/lib/muina/module.rb +6 -0
- data/lib/muina/parameters.rb +7 -0
- data/lib/muina/params.rb +19 -0
- data/lib/muina/private_creation.rb +12 -0
- data/lib/muina/result/factory.rb +37 -0
- data/lib/muina/result/failure.rb +31 -0
- data/lib/muina/result/null.rb +25 -0
- data/lib/muina/result/success.rb +31 -0
- data/lib/muina/result.rb +17 -0
- data/lib/muina/service.rb +37 -0
- data/lib/muina/symbol_hash.rb +7 -0
- data/lib/muina/unit.rb +10 -0
- data/lib/muina/untyped_array.rb +7 -0
- data/lib/muina/untyped_hash.rb +7 -0
- data/lib/muina/value.rb +16 -0
- data/lib/muina/version.rb +7 -0
- data/lib/muina.rb +42 -0
- data/muina.gemspec +35 -0
- data/rbi/muina.rbi +268 -0
- data/sorbet/config +2 -0
- data/sorbet/rbi/gems/actionpack@6.1.4.rbi +5045 -0
- data/sorbet/rbi/gems/actionview@6.1.4.rbi +2416 -0
- data/sorbet/rbi/gems/activesupport@6.1.4.rbi +3778 -0
- data/sorbet/rbi/gems/ast@2.4.2.rbi +54 -0
- data/sorbet/rbi/gems/awesome_print@1.9.2.rbi +322 -0
- data/sorbet/rbi/gems/builder@3.2.4.rbi +8 -0
- data/sorbet/rbi/gems/byebug@11.1.3.rbi +18 -0
- data/sorbet/rbi/gems/coderay@1.1.3.rbi +8 -0
- data/sorbet/rbi/gems/colorize@0.8.1.rbi +39 -0
- data/sorbet/rbi/gems/commander@4.6.0.rbi +8 -0
- data/sorbet/rbi/gems/concurrent-ruby@1.1.9.rbi +2403 -0
- data/sorbet/rbi/gems/crass@1.0.6.rbi +123 -0
- data/sorbet/rbi/gems/diff-lcs@1.4.4.rbi +185 -0
- data/sorbet/rbi/gems/docile@1.4.0.rbi +54 -0
- data/sorbet/rbi/gems/erubi@1.10.0.rbi +36 -0
- data/sorbet/rbi/gems/erubis@2.7.0.rbi +8 -0
- data/sorbet/rbi/gems/faker@2.18.0.rbi +2469 -0
- data/sorbet/rbi/gems/ffi@1.15.3.rbi +8 -0
- data/sorbet/rbi/gems/flay@2.12.1.rbi +178 -0
- data/sorbet/rbi/gems/flog@4.6.4.rbi +70 -0
- data/sorbet/rbi/gems/formatador@0.3.0.rbi +8 -0
- data/sorbet/rbi/gems/guard-compat@1.2.1.rbi +49 -0
- data/sorbet/rbi/gems/guard-rspec@4.7.3.rbi +233 -0
- data/sorbet/rbi/gems/guard-rubocop@1.4.0.rbi +66 -0
- data/sorbet/rbi/gems/guard-shell@0.7.2.rbi +69 -0
- data/sorbet/rbi/gems/guard@2.18.0.rbi +617 -0
- data/sorbet/rbi/gems/highline@2.0.3.rbi +8 -0
- data/sorbet/rbi/gems/i18n@1.8.10.rbi +616 -0
- data/sorbet/rbi/gems/io-console@0.5.9.rbi +8 -0
- data/sorbet/rbi/gems/irb@1.3.6.rbi +452 -0
- data/sorbet/rbi/gems/lefthook@0.7.6.rbi +8 -0
- data/sorbet/rbi/gems/listen@3.6.0.rbi +476 -0
- data/sorbet/rbi/gems/loofah@2.10.0.rbi +223 -0
- data/sorbet/rbi/gems/lumberjack@1.2.8.rbi +431 -0
- data/sorbet/rbi/gems/method_source@1.0.0.rbi +8 -0
- data/sorbet/rbi/gems/minitest@5.14.4.rbi +344 -0
- data/sorbet/rbi/gems/mutant-license@0.1.1.1.4043027289354708743625974235631451632228.0.rbi +8 -0
- data/sorbet/rbi/gems/mutant-rspec@0.10.32.rbi +8 -0
- data/sorbet/rbi/gems/mutant@0.10.32.rbi +4154 -0
- data/sorbet/rbi/gems/nenv@0.3.0.rbi +88 -0
- data/sorbet/rbi/gems/nokogiri@1.11.7.rbi +1422 -0
- data/sorbet/rbi/gems/notiffany@0.1.3.rbi +331 -0
- data/sorbet/rbi/gems/parallel@1.20.1.rbi +113 -0
- data/sorbet/rbi/gems/parlour@6.0.1.rbi +1726 -0
- data/sorbet/rbi/gems/parser@3.0.2.0.rbi +1683 -0
- data/sorbet/rbi/gems/path_expander@1.1.0.rbi +24 -0
- data/sorbet/rbi/gems/polyfill@1.9.0.rbi +393 -0
- data/sorbet/rbi/gems/pry@0.14.1.rbi +8 -0
- data/sorbet/rbi/gems/racc@1.5.2.rbi +47 -0
- data/sorbet/rbi/gems/rack-test@1.1.0.rbi +272 -0
- data/sorbet/rbi/gems/rack@2.2.3.rbi +1618 -0
- data/sorbet/rbi/gems/rails-dom-testing@2.0.3.rbi +92 -0
- data/sorbet/rbi/gems/rails-html-sanitizer@1.3.0.rbi +183 -0
- data/sorbet/rbi/gems/rainbow@3.0.0.rbi +153 -0
- data/sorbet/rbi/gems/rake@13.0.6.rbi +808 -0
- data/sorbet/rbi/gems/rb-fsevent@0.11.0.rbi +8 -0
- data/sorbet/rbi/gems/rb-inotify@0.10.1.rbi +8 -0
- data/sorbet/rbi/gems/regexp_parser@2.1.1.rbi +1120 -0
- data/sorbet/rbi/gems/reline@0.2.6.rbi +662 -0
- data/sorbet/rbi/gems/rexml@3.2.5.rbi +672 -0
- data/sorbet/rbi/gems/rspec-core@3.10.1.rbi +2509 -0
- data/sorbet/rbi/gems/rspec-expectations@3.10.1.rbi +1574 -0
- data/sorbet/rbi/gems/rspec-mocks@3.10.2.rbi +1462 -0
- data/sorbet/rbi/gems/rspec-support@3.10.2.rbi +509 -0
- data/sorbet/rbi/gems/rspec@3.10.0.rbi +38 -0
- data/sorbet/rbi/gems/rubocop-ast@1.8.0.rbi +2194 -0
- data/sorbet/rbi/gems/rubocop-performance@1.11.4.rbi +899 -0
- data/sorbet/rbi/gems/rubocop-rake@0.6.0.rbi +118 -0
- data/sorbet/rbi/gems/rubocop-rspec@2.4.0.rbi +1805 -0
- data/sorbet/rbi/gems/rubocop-sorbet@0.6.2.rbi +288 -0
- data/sorbet/rbi/gems/rubocop@1.18.4.rbi +13197 -0
- data/sorbet/rbi/gems/ruby-progressbar@1.11.0.rbi +405 -0
- data/sorbet/rbi/gems/ruby_parser@3.16.0.rbi +4528 -0
- data/sorbet/rbi/gems/safe_type@1.1.1.rbi +157 -0
- data/sorbet/rbi/gems/sexp_processor@4.15.3.rbi +359 -0
- data/sorbet/rbi/gems/shellany@0.0.1.rbi +28 -0
- data/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +89 -0
- data/sorbet/rbi/gems/simplecov@0.21.2.rbi +577 -0
- data/sorbet/rbi/gems/simplecov_json_formatter@0.1.3.rbi +8 -0
- data/sorbet/rbi/gems/sorbet-coerce@0.5.0.rbi +42 -0
- data/sorbet/rbi/gems/sorbet-rails@0.7.4.rbi +8 -0
- data/sorbet/rbi/gems/sorbet-struct-comparable@1.1.0.rbi +17 -0
- data/sorbet/rbi/gems/spoom@1.1.1.rbi +1193 -0
- data/sorbet/rbi/gems/tapioca@0.4.23.rbi +1826 -0
- data/sorbet/rbi/gems/thor@1.1.0.rbi +838 -0
- data/sorbet/rbi/gems/tzinfo@2.0.4.rbi +856 -0
- data/sorbet/rbi/gems/unicode-display_width@2.0.0.rbi +26 -0
- data/sorbet/rbi/gems/unparser@0.6.0.rbi +2037 -0
- data/sorbet/rbi/gems/zeitwerk@2.4.2.rbi +173 -0
- data/sorbet/rbi/todo.rbi +8 -0
- data/sorbet/rbi/typed_params.rbi +7 -0
- data/sorbet/tapioca/require.rb +16 -0
- metadata +269 -0
@@ -0,0 +1,8 @@
|
|
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
|
@@ -0,0 +1,178 @@
|
|
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)
|
@@ -0,0 +1,70 @@
|
|
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)
|
@@ -0,0 +1,8 @@
|
|
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
|
@@ -0,0 +1,49 @@
|
|
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
|
@@ -0,0 +1,233 @@
|
|
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)
|
@@ -0,0 +1,66 @@
|
|
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
|
@@ -0,0 +1,69 @@
|
|
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)
|