muina 0.2.8 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +25 -0
- data/README.md +0 -35
- data/lib/muina/maybe/none.rb +61 -0
- data/lib/muina/maybe/some.rb +62 -0
- data/lib/muina/maybe.rb +13 -0
- data/lib/muina/result/failure.rb +7 -18
- data/lib/muina/result/success.rb +7 -18
- data/lib/muina/result.rb +6 -8
- data/lib/muina/version.rb +1 -2
- data/lib/muina.rb +0 -32
- metadata +24 -225
- data/.github/workflows/main.yml +0 -16
- data/.gitignore +0 -5
- data/.mutant.yml +0 -38
- data/.rspec +0 -4
- data/.rubocop.yml +0 -181
- data/.ruby-version +0 -1
- data/.simplecov +0 -14
- data/CHANGELOG.md +0 -38
- data/Gemfile +0 -34
- data/Gemfile.lock +0 -265
- data/Guardfile +0 -24
- data/Rakefile +0 -13
- data/SECURITY.md +0 -14
- data/bin/bundle +0 -114
- data/bin/console +0 -15
- data/bin/flay +0 -29
- data/bin/flog +0 -29
- data/bin/guard +0 -29
- data/bin/irb +0 -29
- data/bin/lefthook +0 -29
- data/bin/mutant +0 -29
- data/bin/parlour +0 -29
- data/bin/rake +0 -29
- data/bin/rspec +0 -29
- data/bin/rubocop +0 -29
- data/bin/setup +0 -8
- data/bin/srb +0 -29
- data/bin/srb-rbi +0 -29
- data/bin/tapioca +0 -29
- data/exe/muina +0 -11
- data/lefthook.yml +0 -39
- data/lib/muina/action/params_factory.rb +0 -17
- data/lib/muina/action/step/command.rb +0 -33
- data/lib/muina/action/step/failure.rb +0 -18
- data/lib/muina/action/step/query.rb +0 -35
- data/lib/muina/action/step/result.rb +0 -56
- data/lib/muina/action/step.rb +0 -13
- data/lib/muina/action.rb +0 -73
- data/lib/muina/any.rb +0 -7
- data/lib/muina/classes.rb +0 -7
- data/lib/muina/deprecator.rb +0 -93
- data/lib/muina/entity.rb +0 -20
- data/lib/muina/module.rb +0 -6
- data/lib/muina/parameters.rb +0 -7
- data/lib/muina/params.rb +0 -19
- data/lib/muina/private_creation.rb +0 -12
- data/lib/muina/result/factory.rb +0 -37
- data/lib/muina/result/null.rb +0 -25
- data/lib/muina/service.rb +0 -25
- data/lib/muina/symbol_hash.rb +0 -7
- data/lib/muina/unit.rb +0 -10
- data/lib/muina/untyped_array.rb +0 -7
- data/lib/muina/untyped_hash.rb +0 -7
- data/lib/muina/value.rb +0 -24
- data/muina.gemspec +0 -35
- data/rbi/muina.rbi +0 -311
- data/sorbet/config +0 -2
- data/sorbet/rbi/gems/actionpack@6.1.4.rbi +0 -5045
- data/sorbet/rbi/gems/actionview@6.1.4.rbi +0 -2416
- data/sorbet/rbi/gems/activesupport@6.1.4.rbi +0 -3778
- data/sorbet/rbi/gems/ast@2.4.2.rbi +0 -54
- data/sorbet/rbi/gems/awesome_print@1.9.2.rbi +0 -322
- data/sorbet/rbi/gems/builder@3.2.4.rbi +0 -8
- data/sorbet/rbi/gems/byebug@11.1.3.rbi +0 -18
- data/sorbet/rbi/gems/coderay@1.1.3.rbi +0 -8
- data/sorbet/rbi/gems/colorize@0.8.1.rbi +0 -39
- data/sorbet/rbi/gems/commander@4.6.0.rbi +0 -8
- data/sorbet/rbi/gems/concurrent-ruby@1.1.9.rbi +0 -2403
- data/sorbet/rbi/gems/crass@1.0.6.rbi +0 -123
- data/sorbet/rbi/gems/diff-lcs@1.4.4.rbi +0 -185
- data/sorbet/rbi/gems/docile@1.4.0.rbi +0 -54
- data/sorbet/rbi/gems/erubi@1.10.0.rbi +0 -36
- data/sorbet/rbi/gems/erubis@2.7.0.rbi +0 -8
- data/sorbet/rbi/gems/faker@2.18.0.rbi +0 -2469
- data/sorbet/rbi/gems/ffi@1.15.3.rbi +0 -8
- data/sorbet/rbi/gems/flay@2.12.1.rbi +0 -178
- data/sorbet/rbi/gems/flog@4.6.4.rbi +0 -70
- data/sorbet/rbi/gems/formatador@0.3.0.rbi +0 -8
- data/sorbet/rbi/gems/guard-compat@1.2.1.rbi +0 -49
- data/sorbet/rbi/gems/guard-rspec@4.7.3.rbi +0 -233
- data/sorbet/rbi/gems/guard-rubocop@1.4.0.rbi +0 -66
- data/sorbet/rbi/gems/guard-shell@0.7.2.rbi +0 -69
- data/sorbet/rbi/gems/guard@2.18.0.rbi +0 -617
- data/sorbet/rbi/gems/highline@2.0.3.rbi +0 -8
- data/sorbet/rbi/gems/i18n@1.8.10.rbi +0 -616
- data/sorbet/rbi/gems/io-console@0.5.9.rbi +0 -8
- data/sorbet/rbi/gems/irb@1.3.6.rbi +0 -452
- data/sorbet/rbi/gems/lefthook@0.7.6.rbi +0 -8
- data/sorbet/rbi/gems/listen@3.6.0.rbi +0 -476
- data/sorbet/rbi/gems/loofah@2.10.0.rbi +0 -223
- data/sorbet/rbi/gems/lumberjack@1.2.8.rbi +0 -431
- data/sorbet/rbi/gems/method_source@1.0.0.rbi +0 -8
- data/sorbet/rbi/gems/minitest@5.14.4.rbi +0 -344
- data/sorbet/rbi/gems/mutant-license@0.1.1.1.4043027289354708743625974235631451632228.0.rbi +0 -8
- data/sorbet/rbi/gems/mutant-rspec@0.10.32.rbi +0 -8
- data/sorbet/rbi/gems/mutant@0.10.32.rbi +0 -4154
- data/sorbet/rbi/gems/nenv@0.3.0.rbi +0 -88
- data/sorbet/rbi/gems/nokogiri@1.11.7.rbi +0 -1422
- data/sorbet/rbi/gems/notiffany@0.1.3.rbi +0 -331
- data/sorbet/rbi/gems/parallel@1.20.1.rbi +0 -113
- data/sorbet/rbi/gems/parlour@6.0.1.rbi +0 -1726
- data/sorbet/rbi/gems/parser@3.0.2.0.rbi +0 -1683
- data/sorbet/rbi/gems/path_expander@1.1.0.rbi +0 -24
- data/sorbet/rbi/gems/polyfill@1.9.0.rbi +0 -393
- data/sorbet/rbi/gems/pry@0.14.1.rbi +0 -8
- data/sorbet/rbi/gems/racc@1.5.2.rbi +0 -47
- data/sorbet/rbi/gems/rack-test@1.1.0.rbi +0 -272
- data/sorbet/rbi/gems/rack@2.2.3.rbi +0 -1618
- data/sorbet/rbi/gems/rails-dom-testing@2.0.3.rbi +0 -92
- data/sorbet/rbi/gems/rails-html-sanitizer@1.3.0.rbi +0 -183
- data/sorbet/rbi/gems/rainbow@3.0.0.rbi +0 -153
- data/sorbet/rbi/gems/rake@13.0.6.rbi +0 -808
- data/sorbet/rbi/gems/rb-fsevent@0.11.0.rbi +0 -8
- data/sorbet/rbi/gems/rb-inotify@0.10.1.rbi +0 -8
- data/sorbet/rbi/gems/regexp_parser@2.1.1.rbi +0 -1120
- data/sorbet/rbi/gems/reline@0.2.6.rbi +0 -662
- data/sorbet/rbi/gems/rexml@3.2.5.rbi +0 -672
- data/sorbet/rbi/gems/rspec-core@3.10.1.rbi +0 -2509
- data/sorbet/rbi/gems/rspec-expectations@3.10.1.rbi +0 -1574
- data/sorbet/rbi/gems/rspec-mocks@3.10.2.rbi +0 -1462
- data/sorbet/rbi/gems/rspec-support@3.10.2.rbi +0 -509
- data/sorbet/rbi/gems/rspec@3.10.0.rbi +0 -38
- data/sorbet/rbi/gems/rubocop-ast@1.8.0.rbi +0 -2194
- data/sorbet/rbi/gems/rubocop-performance@1.11.4.rbi +0 -899
- data/sorbet/rbi/gems/rubocop-rake@0.6.0.rbi +0 -118
- data/sorbet/rbi/gems/rubocop-rspec@2.4.0.rbi +0 -1805
- data/sorbet/rbi/gems/rubocop-sorbet@0.6.2.rbi +0 -288
- data/sorbet/rbi/gems/rubocop@1.18.4.rbi +0 -13197
- data/sorbet/rbi/gems/ruby-progressbar@1.11.0.rbi +0 -405
- data/sorbet/rbi/gems/ruby_parser@3.16.0.rbi +0 -4528
- data/sorbet/rbi/gems/safe_type@1.1.1.rbi +0 -157
- data/sorbet/rbi/gems/sexp_processor@4.15.3.rbi +0 -359
- data/sorbet/rbi/gems/shellany@0.0.1.rbi +0 -28
- data/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +0 -89
- data/sorbet/rbi/gems/simplecov@0.21.2.rbi +0 -577
- data/sorbet/rbi/gems/simplecov_json_formatter@0.1.3.rbi +0 -8
- data/sorbet/rbi/gems/sorbet-coerce@0.5.0.rbi +0 -42
- data/sorbet/rbi/gems/sorbet-rails@0.7.4.rbi +0 -8
- data/sorbet/rbi/gems/sorbet-struct-comparable@1.1.0.rbi +0 -17
- data/sorbet/rbi/gems/spoom@1.1.1.rbi +0 -1193
- data/sorbet/rbi/gems/tapioca@0.4.23.rbi +0 -1826
- data/sorbet/rbi/gems/thor@1.1.0.rbi +0 -838
- data/sorbet/rbi/gems/tzinfo@2.0.4.rbi +0 -856
- data/sorbet/rbi/gems/unicode-display_width@2.0.0.rbi +0 -26
- data/sorbet/rbi/gems/unparser@0.6.0.rbi +0 -2037
- data/sorbet/rbi/gems/zeitwerk@2.4.2.rbi +0 -173
- data/sorbet/rbi/todo.rbi +0 -8
- data/sorbet/rbi/typed_params.rbi +0 -7
- data/sorbet/tapioca/require.rb +0 -16
@@ -1,173 +0,0 @@
|
|
1
|
-
# DO NOT EDIT MANUALLY
|
2
|
-
# This is an autogenerated file for types exported from the `zeitwerk` gem.
|
3
|
-
# Please instead update this file by running `bin/tapioca sync`.
|
4
|
-
|
5
|
-
# typed: true
|
6
|
-
|
7
|
-
module Kernel
|
8
|
-
private
|
9
|
-
|
10
|
-
def require(path); end
|
11
|
-
|
12
|
-
class << self
|
13
|
-
def require(path); end
|
14
|
-
end
|
15
|
-
end
|
16
|
-
|
17
|
-
module Zeitwerk; end
|
18
|
-
class Zeitwerk::Error < ::StandardError; end
|
19
|
-
|
20
|
-
module Zeitwerk::ExplicitNamespace
|
21
|
-
extend ::Zeitwerk::RealModName
|
22
|
-
|
23
|
-
class << self
|
24
|
-
def cpaths; end
|
25
|
-
def mutex; end
|
26
|
-
def register(cpath, loader); end
|
27
|
-
def tracer; end
|
28
|
-
def unregister(loader); end
|
29
|
-
|
30
|
-
private
|
31
|
-
|
32
|
-
def disable_tracer_if_unneeded; end
|
33
|
-
def tracepoint_class_callback(event); end
|
34
|
-
end
|
35
|
-
end
|
36
|
-
|
37
|
-
class Zeitwerk::GemInflector < ::Zeitwerk::Inflector
|
38
|
-
def initialize(root_file); end
|
39
|
-
|
40
|
-
def camelize(basename, abspath); end
|
41
|
-
end
|
42
|
-
|
43
|
-
class Zeitwerk::Inflector
|
44
|
-
def camelize(basename, _abspath); end
|
45
|
-
def inflect(inflections); end
|
46
|
-
|
47
|
-
private
|
48
|
-
|
49
|
-
def overrides; end
|
50
|
-
end
|
51
|
-
|
52
|
-
class Zeitwerk::Loader
|
53
|
-
include ::Zeitwerk::RealModName
|
54
|
-
include ::Zeitwerk::Loader::Callbacks
|
55
|
-
|
56
|
-
def initialize; end
|
57
|
-
|
58
|
-
def autoloaded_dirs; end
|
59
|
-
def autoloads; end
|
60
|
-
def collapse(*glob_patterns); end
|
61
|
-
def collapse_dirs; end
|
62
|
-
def collapse_glob_patterns; end
|
63
|
-
def dirs; end
|
64
|
-
def do_not_eager_load(*paths); end
|
65
|
-
def eager_load; end
|
66
|
-
def eager_load_exclusions; end
|
67
|
-
def enable_reloading; end
|
68
|
-
def ignore(*glob_patterns); end
|
69
|
-
def ignored_glob_patterns; end
|
70
|
-
def ignored_paths; end
|
71
|
-
def inflector; end
|
72
|
-
def inflector=(_arg0); end
|
73
|
-
def lazy_subdirs; end
|
74
|
-
def log!; end
|
75
|
-
def logger; end
|
76
|
-
def logger=(_arg0); end
|
77
|
-
def manages?(dir); end
|
78
|
-
def mutex; end
|
79
|
-
def mutex2; end
|
80
|
-
def on_load(cpath, &block); end
|
81
|
-
def on_load_callbacks; end
|
82
|
-
def preload(*paths); end
|
83
|
-
def preloads; end
|
84
|
-
def push_dir(path, namespace: T.unsafe(nil)); end
|
85
|
-
def reload; end
|
86
|
-
def reloading_enabled?; end
|
87
|
-
def root_dirs; end
|
88
|
-
def setup; end
|
89
|
-
def tag; end
|
90
|
-
def tag=(tag); end
|
91
|
-
def to_unload; end
|
92
|
-
def unload; end
|
93
|
-
def unloadable_cpath?(cpath); end
|
94
|
-
def unloadable_cpaths; end
|
95
|
-
|
96
|
-
private
|
97
|
-
|
98
|
-
def actual_root_dirs; end
|
99
|
-
def autoload_file(parent, cname, file); end
|
100
|
-
def autoload_for?(parent, cname); end
|
101
|
-
def autoload_subdir(parent, cname, subdir); end
|
102
|
-
def cdef?(parent, cname); end
|
103
|
-
def cpath(parent, cname); end
|
104
|
-
def dir?(path); end
|
105
|
-
def do_preload; end
|
106
|
-
def do_preload_abspath(abspath); end
|
107
|
-
def do_preload_dir(dir); end
|
108
|
-
def do_preload_file(file); end
|
109
|
-
def expand_glob_patterns(glob_patterns); end
|
110
|
-
def expand_paths(paths); end
|
111
|
-
def log(message); end
|
112
|
-
def ls(dir); end
|
113
|
-
def promote_namespace_from_implicit_to_explicit(dir:, file:, parent:, cname:); end
|
114
|
-
def raise_if_conflicting_directory(dir); end
|
115
|
-
def recompute_collapse_dirs; end
|
116
|
-
def recompute_ignored_paths; end
|
117
|
-
def register_explicit_namespace(cpath); end
|
118
|
-
def ruby?(path); end
|
119
|
-
def set_autoload(parent, cname, abspath); end
|
120
|
-
def set_autoloads_in_dir(dir, parent); end
|
121
|
-
def strict_autoload_path(parent, cname); end
|
122
|
-
def unload_autoload(parent, cname); end
|
123
|
-
def unload_cref(parent, cname); end
|
124
|
-
|
125
|
-
class << self
|
126
|
-
def all_dirs; end
|
127
|
-
def default_logger; end
|
128
|
-
def default_logger=(_arg0); end
|
129
|
-
def eager_load_all; end
|
130
|
-
def for_gem; end
|
131
|
-
def mutex; end
|
132
|
-
def mutex=(_arg0); end
|
133
|
-
end
|
134
|
-
end
|
135
|
-
|
136
|
-
module Zeitwerk::Loader::Callbacks
|
137
|
-
include ::Zeitwerk::RealModName
|
138
|
-
|
139
|
-
def on_dir_autoloaded(dir); end
|
140
|
-
def on_file_autoloaded(file); end
|
141
|
-
def on_namespace_loaded(namespace); end
|
142
|
-
|
143
|
-
private
|
144
|
-
|
145
|
-
def run_on_load_callbacks(cpath); end
|
146
|
-
end
|
147
|
-
|
148
|
-
class Zeitwerk::NameError < ::NameError; end
|
149
|
-
|
150
|
-
module Zeitwerk::RealModName
|
151
|
-
def real_mod_name(mod); end
|
152
|
-
end
|
153
|
-
|
154
|
-
Zeitwerk::RealModName::UNBOUND_METHOD_MODULE_NAME = T.let(T.unsafe(nil), UnboundMethod)
|
155
|
-
|
156
|
-
module Zeitwerk::Registry
|
157
|
-
class << self
|
158
|
-
def autoloads; end
|
159
|
-
def inception?(cpath); end
|
160
|
-
def inceptions; end
|
161
|
-
def loader_for(path); end
|
162
|
-
def loader_for_gem(root_file); end
|
163
|
-
def loaders; end
|
164
|
-
def loaders_managing_gems; end
|
165
|
-
def on_unload(loader); end
|
166
|
-
def register_autoload(loader, realpath); end
|
167
|
-
def register_inception(cpath, realpath, loader); end
|
168
|
-
def register_loader(loader); end
|
169
|
-
def unregister_autoload(realpath); end
|
170
|
-
end
|
171
|
-
end
|
172
|
-
|
173
|
-
class Zeitwerk::ReloadingDisabledError < ::Zeitwerk::Error; end
|
data/sorbet/rbi/todo.rbi
DELETED
data/sorbet/rbi/typed_params.rbi
DELETED
data/sorbet/tapioca/require.rb
DELETED
@@ -1,16 +0,0 @@
|
|
1
|
-
# typed: strict
|
2
|
-
# frozen_string_literal: true
|
3
|
-
|
4
|
-
# DO NOT EDIT MANUALLY
|
5
|
-
# This is an autogenerated file for explicit gem requires.
|
6
|
-
# Please instead update this file by running `bin/tapioca require`.
|
7
|
-
|
8
|
-
require 'action_controller'
|
9
|
-
require 'action_controller/metal/exceptions'
|
10
|
-
require 'byebug'
|
11
|
-
require 'muina/module'
|
12
|
-
require 'simplecov'
|
13
|
-
require 'sorbet-rails/typed_params'
|
14
|
-
require 'sorbet-runtime'
|
15
|
-
require 'sorbet-struct-comparable'
|
16
|
-
require 'zeitwerk'
|