muina 0.2.7 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (159) 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 +57 -0
  5. data/lib/muina/maybe/some.rb +61 -0
  6. data/lib/muina/maybe.rb +13 -0
  7. data/lib/muina/version.rb +1 -2
  8. data/lib/muina.rb +0 -32
  9. metadata +24 -226
  10. data/.github/workflows/main.yml +0 -16
  11. data/.gitignore +0 -5
  12. data/.mutant.yml +0 -38
  13. data/.rspec +0 -4
  14. data/.rubocop.yml +0 -172
  15. data/.ruby-version +0 -1
  16. data/.simplecov +0 -14
  17. data/CHANGELOG.md +0 -38
  18. data/Gemfile +0 -34
  19. data/Gemfile.lock +0 -265
  20. data/Guardfile +0 -24
  21. data/Rakefile +0 -13
  22. data/SECURITY.md +0 -14
  23. data/bin/bundle +0 -114
  24. data/bin/console +0 -15
  25. data/bin/flay +0 -29
  26. data/bin/flog +0 -29
  27. data/bin/guard +0 -29
  28. data/bin/irb +0 -29
  29. data/bin/lefthook +0 -29
  30. data/bin/mutant +0 -29
  31. data/bin/parlour +0 -29
  32. data/bin/rake +0 -29
  33. data/bin/rspec +0 -29
  34. data/bin/rubocop +0 -29
  35. data/bin/setup +0 -8
  36. data/bin/srb +0 -29
  37. data/bin/srb-rbi +0 -29
  38. data/bin/tapioca +0 -29
  39. data/exe/muina +0 -11
  40. data/lefthook.yml +0 -39
  41. data/lib/muina/action/params_factory.rb +0 -17
  42. data/lib/muina/action/step/command.rb +0 -31
  43. data/lib/muina/action/step/failure.rb +0 -18
  44. data/lib/muina/action/step/query.rb +0 -31
  45. data/lib/muina/action/step/result.rb +0 -51
  46. data/lib/muina/action/step.rb +0 -13
  47. data/lib/muina/action.rb +0 -73
  48. data/lib/muina/any.rb +0 -7
  49. data/lib/muina/classes.rb +0 -7
  50. data/lib/muina/module.rb +0 -6
  51. data/lib/muina/parameters.rb +0 -7
  52. data/lib/muina/params.rb +0 -19
  53. data/lib/muina/private_creation.rb +0 -12
  54. data/lib/muina/result/factory.rb +0 -37
  55. data/lib/muina/result/failure.rb +0 -31
  56. data/lib/muina/result/null.rb +0 -25
  57. data/lib/muina/result/success.rb +0 -31
  58. data/lib/muina/result.rb +0 -17
  59. data/lib/muina/service.rb +0 -37
  60. data/lib/muina/symbol_hash.rb +0 -7
  61. data/lib/muina/unit.rb +0 -10
  62. data/lib/muina/untyped_array.rb +0 -7
  63. data/lib/muina/untyped_hash.rb +0 -7
  64. data/lib/muina/value.rb +0 -16
  65. data/muina.gemspec +0 -35
  66. data/rbi/muina.rbi +0 -268
  67. data/sorbet/config +0 -2
  68. data/sorbet/rbi/gems/actionpack@6.1.4.rbi +0 -5045
  69. data/sorbet/rbi/gems/actionview@6.1.4.rbi +0 -2416
  70. data/sorbet/rbi/gems/activesupport@6.1.4.rbi +0 -3778
  71. data/sorbet/rbi/gems/ast@2.4.2.rbi +0 -54
  72. data/sorbet/rbi/gems/awesome_print@1.9.2.rbi +0 -322
  73. data/sorbet/rbi/gems/builder@3.2.4.rbi +0 -8
  74. data/sorbet/rbi/gems/byebug@11.1.3.rbi +0 -18
  75. data/sorbet/rbi/gems/coderay@1.1.3.rbi +0 -8
  76. data/sorbet/rbi/gems/colorize@0.8.1.rbi +0 -39
  77. data/sorbet/rbi/gems/commander@4.6.0.rbi +0 -8
  78. data/sorbet/rbi/gems/concurrent-ruby@1.1.9.rbi +0 -2403
  79. data/sorbet/rbi/gems/crass@1.0.6.rbi +0 -123
  80. data/sorbet/rbi/gems/diff-lcs@1.4.4.rbi +0 -185
  81. data/sorbet/rbi/gems/docile@1.4.0.rbi +0 -54
  82. data/sorbet/rbi/gems/erubi@1.10.0.rbi +0 -36
  83. data/sorbet/rbi/gems/erubis@2.7.0.rbi +0 -8
  84. data/sorbet/rbi/gems/faker@2.18.0.rbi +0 -2469
  85. data/sorbet/rbi/gems/ffi@1.15.3.rbi +0 -8
  86. data/sorbet/rbi/gems/flay@2.12.1.rbi +0 -178
  87. data/sorbet/rbi/gems/flog@4.6.4.rbi +0 -70
  88. data/sorbet/rbi/gems/formatador@0.3.0.rbi +0 -8
  89. data/sorbet/rbi/gems/guard-compat@1.2.1.rbi +0 -49
  90. data/sorbet/rbi/gems/guard-rspec@4.7.3.rbi +0 -233
  91. data/sorbet/rbi/gems/guard-rubocop@1.4.0.rbi +0 -66
  92. data/sorbet/rbi/gems/guard-shell@0.7.2.rbi +0 -69
  93. data/sorbet/rbi/gems/guard@2.18.0.rbi +0 -617
  94. data/sorbet/rbi/gems/highline@2.0.3.rbi +0 -8
  95. data/sorbet/rbi/gems/i18n@1.8.10.rbi +0 -616
  96. data/sorbet/rbi/gems/io-console@0.5.9.rbi +0 -8
  97. data/sorbet/rbi/gems/irb@1.3.6.rbi +0 -452
  98. data/sorbet/rbi/gems/lefthook@0.7.6.rbi +0 -8
  99. data/sorbet/rbi/gems/listen@3.6.0.rbi +0 -476
  100. data/sorbet/rbi/gems/loofah@2.10.0.rbi +0 -223
  101. data/sorbet/rbi/gems/lumberjack@1.2.8.rbi +0 -431
  102. data/sorbet/rbi/gems/method_source@1.0.0.rbi +0 -8
  103. data/sorbet/rbi/gems/minitest@5.14.4.rbi +0 -344
  104. data/sorbet/rbi/gems/mutant-license@0.1.1.1.4043027289354708743625974235631451632228.0.rbi +0 -8
  105. data/sorbet/rbi/gems/mutant-rspec@0.10.32.rbi +0 -8
  106. data/sorbet/rbi/gems/mutant@0.10.32.rbi +0 -4154
  107. data/sorbet/rbi/gems/nenv@0.3.0.rbi +0 -88
  108. data/sorbet/rbi/gems/nokogiri@1.11.7.rbi +0 -1422
  109. data/sorbet/rbi/gems/notiffany@0.1.3.rbi +0 -331
  110. data/sorbet/rbi/gems/parallel@1.20.1.rbi +0 -113
  111. data/sorbet/rbi/gems/parlour@6.0.1.rbi +0 -1726
  112. data/sorbet/rbi/gems/parser@3.0.2.0.rbi +0 -1683
  113. data/sorbet/rbi/gems/path_expander@1.1.0.rbi +0 -24
  114. data/sorbet/rbi/gems/polyfill@1.9.0.rbi +0 -393
  115. data/sorbet/rbi/gems/pry@0.14.1.rbi +0 -8
  116. data/sorbet/rbi/gems/racc@1.5.2.rbi +0 -47
  117. data/sorbet/rbi/gems/rack-test@1.1.0.rbi +0 -272
  118. data/sorbet/rbi/gems/rack@2.2.3.rbi +0 -1618
  119. data/sorbet/rbi/gems/rails-dom-testing@2.0.3.rbi +0 -92
  120. data/sorbet/rbi/gems/rails-html-sanitizer@1.3.0.rbi +0 -183
  121. data/sorbet/rbi/gems/rainbow@3.0.0.rbi +0 -153
  122. data/sorbet/rbi/gems/rake@13.0.6.rbi +0 -808
  123. data/sorbet/rbi/gems/rb-fsevent@0.11.0.rbi +0 -8
  124. data/sorbet/rbi/gems/rb-inotify@0.10.1.rbi +0 -8
  125. data/sorbet/rbi/gems/regexp_parser@2.1.1.rbi +0 -1120
  126. data/sorbet/rbi/gems/reline@0.2.6.rbi +0 -662
  127. data/sorbet/rbi/gems/rexml@3.2.5.rbi +0 -672
  128. data/sorbet/rbi/gems/rspec-core@3.10.1.rbi +0 -2509
  129. data/sorbet/rbi/gems/rspec-expectations@3.10.1.rbi +0 -1574
  130. data/sorbet/rbi/gems/rspec-mocks@3.10.2.rbi +0 -1462
  131. data/sorbet/rbi/gems/rspec-support@3.10.2.rbi +0 -509
  132. data/sorbet/rbi/gems/rspec@3.10.0.rbi +0 -38
  133. data/sorbet/rbi/gems/rubocop-ast@1.8.0.rbi +0 -2194
  134. data/sorbet/rbi/gems/rubocop-performance@1.11.4.rbi +0 -899
  135. data/sorbet/rbi/gems/rubocop-rake@0.6.0.rbi +0 -118
  136. data/sorbet/rbi/gems/rubocop-rspec@2.4.0.rbi +0 -1805
  137. data/sorbet/rbi/gems/rubocop-sorbet@0.6.2.rbi +0 -288
  138. data/sorbet/rbi/gems/rubocop@1.18.4.rbi +0 -13197
  139. data/sorbet/rbi/gems/ruby-progressbar@1.11.0.rbi +0 -405
  140. data/sorbet/rbi/gems/ruby_parser@3.16.0.rbi +0 -4528
  141. data/sorbet/rbi/gems/safe_type@1.1.1.rbi +0 -157
  142. data/sorbet/rbi/gems/sexp_processor@4.15.3.rbi +0 -359
  143. data/sorbet/rbi/gems/shellany@0.0.1.rbi +0 -28
  144. data/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +0 -89
  145. data/sorbet/rbi/gems/simplecov@0.21.2.rbi +0 -577
  146. data/sorbet/rbi/gems/simplecov_json_formatter@0.1.3.rbi +0 -8
  147. data/sorbet/rbi/gems/sorbet-coerce@0.5.0.rbi +0 -42
  148. data/sorbet/rbi/gems/sorbet-rails@0.7.4.rbi +0 -8
  149. data/sorbet/rbi/gems/sorbet-struct-comparable@1.1.0.rbi +0 -17
  150. data/sorbet/rbi/gems/spoom@1.1.1.rbi +0 -1193
  151. data/sorbet/rbi/gems/tapioca@0.4.23.rbi +0 -1826
  152. data/sorbet/rbi/gems/thor@1.1.0.rbi +0 -838
  153. data/sorbet/rbi/gems/tzinfo@2.0.4.rbi +0 -856
  154. data/sorbet/rbi/gems/unicode-display_width@2.0.0.rbi +0 -26
  155. data/sorbet/rbi/gems/unparser@0.6.0.rbi +0 -2037
  156. data/sorbet/rbi/gems/zeitwerk@2.4.2.rbi +0 -173
  157. data/sorbet/rbi/todo.rbi +0 -8
  158. data/sorbet/rbi/typed_params.rbi +0 -7
  159. data/sorbet/tapioca/require.rb +0 -16
@@ -1,272 +0,0 @@
1
- # DO NOT EDIT MANUALLY
2
- # This is an autogenerated file for types exported from the `rack-test` gem.
3
- # Please instead update this file by running `bin/tapioca sync`.
4
-
5
- # typed: true
6
-
7
- module Rack
8
- class << self
9
- def release; end
10
- def version; end
11
- end
12
- end
13
-
14
- Rack::CACHE_CONTROL = T.let(T.unsafe(nil), String)
15
- Rack::CONTENT_LENGTH = T.let(T.unsafe(nil), String)
16
- Rack::CONTENT_TYPE = T.let(T.unsafe(nil), String)
17
- Rack::DELETE = T.let(T.unsafe(nil), String)
18
- Rack::ETAG = T.let(T.unsafe(nil), String)
19
- Rack::EXPIRES = T.let(T.unsafe(nil), String)
20
- Rack::File = Rack::Files
21
- Rack::GET = T.let(T.unsafe(nil), String)
22
- Rack::HEAD = T.let(T.unsafe(nil), String)
23
- Rack::HTTPS = T.let(T.unsafe(nil), String)
24
- Rack::HTTP_COOKIE = T.let(T.unsafe(nil), String)
25
- Rack::HTTP_HOST = T.let(T.unsafe(nil), String)
26
- Rack::HTTP_PORT = T.let(T.unsafe(nil), String)
27
- Rack::HTTP_VERSION = T.let(T.unsafe(nil), String)
28
- Rack::LINK = T.let(T.unsafe(nil), String)
29
-
30
- class Rack::MockSession
31
- def initialize(app, default_host = T.unsafe(nil)); end
32
-
33
- def after_request(&block); end
34
- def clear_cookies; end
35
- def cookie_jar; end
36
- def cookie_jar=(_arg0); end
37
- def default_host; end
38
- def last_request; end
39
- def last_response; end
40
- def request(uri, env); end
41
- def set_cookie(cookie, uri = T.unsafe(nil)); end
42
- end
43
-
44
- Rack::OPTIONS = T.let(T.unsafe(nil), String)
45
- Rack::PATCH = T.let(T.unsafe(nil), String)
46
- Rack::PATH_INFO = T.let(T.unsafe(nil), String)
47
- Rack::POST = T.let(T.unsafe(nil), String)
48
- Rack::PUT = T.let(T.unsafe(nil), String)
49
- Rack::QUERY_STRING = T.let(T.unsafe(nil), String)
50
- Rack::RACK_ERRORS = T.let(T.unsafe(nil), String)
51
- Rack::RACK_HIJACK = T.let(T.unsafe(nil), String)
52
- Rack::RACK_HIJACK_IO = T.let(T.unsafe(nil), String)
53
- Rack::RACK_INPUT = T.let(T.unsafe(nil), String)
54
- Rack::RACK_IS_HIJACK = T.let(T.unsafe(nil), String)
55
- Rack::RACK_LOGGER = T.let(T.unsafe(nil), String)
56
- Rack::RACK_METHODOVERRIDE_ORIGINAL_METHOD = T.let(T.unsafe(nil), String)
57
- Rack::RACK_MULTIPART_BUFFER_SIZE = T.let(T.unsafe(nil), String)
58
- Rack::RACK_MULTIPART_TEMPFILE_FACTORY = T.let(T.unsafe(nil), String)
59
- Rack::RACK_MULTIPROCESS = T.let(T.unsafe(nil), String)
60
- Rack::RACK_MULTITHREAD = T.let(T.unsafe(nil), String)
61
- Rack::RACK_RECURSIVE_INCLUDE = T.let(T.unsafe(nil), String)
62
- Rack::RACK_REQUEST_COOKIE_HASH = T.let(T.unsafe(nil), String)
63
- Rack::RACK_REQUEST_COOKIE_STRING = T.let(T.unsafe(nil), String)
64
- Rack::RACK_REQUEST_FORM_HASH = T.let(T.unsafe(nil), String)
65
- Rack::RACK_REQUEST_FORM_INPUT = T.let(T.unsafe(nil), String)
66
- Rack::RACK_REQUEST_FORM_VARS = T.let(T.unsafe(nil), String)
67
- Rack::RACK_REQUEST_QUERY_HASH = T.let(T.unsafe(nil), String)
68
- Rack::RACK_REQUEST_QUERY_STRING = T.let(T.unsafe(nil), String)
69
- Rack::RACK_RUNONCE = T.let(T.unsafe(nil), String)
70
- Rack::RACK_SESSION = T.let(T.unsafe(nil), String)
71
- Rack::RACK_SESSION_OPTIONS = T.let(T.unsafe(nil), String)
72
- Rack::RACK_SESSION_UNPACKED_COOKIE_DATA = T.let(T.unsafe(nil), String)
73
- Rack::RACK_SHOWSTATUS_DETAIL = T.let(T.unsafe(nil), String)
74
- Rack::RACK_TEMPFILES = T.let(T.unsafe(nil), String)
75
- Rack::RACK_URL_SCHEME = T.let(T.unsafe(nil), String)
76
- Rack::RACK_VERSION = T.let(T.unsafe(nil), String)
77
- Rack::RELEASE = T.let(T.unsafe(nil), String)
78
- Rack::REQUEST_METHOD = T.let(T.unsafe(nil), String)
79
- Rack::REQUEST_PATH = T.let(T.unsafe(nil), String)
80
- Rack::SCRIPT_NAME = T.let(T.unsafe(nil), String)
81
- Rack::SERVER_NAME = T.let(T.unsafe(nil), String)
82
- Rack::SERVER_PORT = T.let(T.unsafe(nil), String)
83
- Rack::SERVER_PROTOCOL = T.let(T.unsafe(nil), String)
84
- Rack::SET_COOKIE = T.let(T.unsafe(nil), String)
85
- Rack::TRACE = T.let(T.unsafe(nil), String)
86
- Rack::TRANSFER_ENCODING = T.let(T.unsafe(nil), String)
87
-
88
- module Rack::Test
89
- class << self
90
- def encoding_aware_strings?; end
91
- end
92
- end
93
-
94
- class Rack::Test::Cookie
95
- include ::Rack::Utils
96
-
97
- def initialize(raw, uri = T.unsafe(nil), default_host = T.unsafe(nil)); end
98
-
99
- def <=>(other); end
100
- def domain; end
101
- def empty?; end
102
- def expired?; end
103
- def expires; end
104
- def http_only?; end
105
- def matches?(uri); end
106
- def name; end
107
- def path; end
108
- def raw; end
109
- def replaces?(other); end
110
- def secure?; end
111
- def to_h; end
112
- def to_hash; end
113
- def valid?(uri); end
114
- def value; end
115
-
116
- protected
117
-
118
- def default_uri; end
119
- end
120
-
121
- class Rack::Test::CookieJar
122
- def initialize(cookies = T.unsafe(nil), default_host = T.unsafe(nil)); end
123
-
124
- def <<(new_cookie); end
125
- def [](name); end
126
- def []=(name, value); end
127
- def delete(name); end
128
- def for(uri); end
129
- def get_cookie(name); end
130
- def merge(raw_cookies, uri = T.unsafe(nil)); end
131
- def to_hash; end
132
-
133
- protected
134
-
135
- def hash_for(uri = T.unsafe(nil)); end
136
- end
137
-
138
- Rack::Test::CookieJar::DELIMITER = T.let(T.unsafe(nil), String)
139
- Rack::Test::DEFAULT_HOST = T.let(T.unsafe(nil), String)
140
- class Rack::Test::Error < ::StandardError; end
141
- Rack::Test::MULTIPART_BOUNDARY = T.let(T.unsafe(nil), String)
142
-
143
- module Rack::Test::Methods
144
- extend ::Forwardable
145
-
146
- def _current_session_names; end
147
- def authorize(*args, &block); end
148
- def basic_authorize(*args, &block); end
149
- def build_rack_mock_session; end
150
- def build_rack_test_session(name); end
151
- def clear_cookies(*args, &block); end
152
- def current_session; end
153
- def custom_request(*args, &block); end
154
- def delete(*args, &block); end
155
- def digest_authorize(*args, &block); end
156
- def env(*args, &block); end
157
- def follow_redirect!(*args, &block); end
158
- def get(*args, &block); end
159
- def head(*args, &block); end
160
- def header(*args, &block); end
161
- def last_request(*args, &block); end
162
- def last_response(*args, &block); end
163
- def options(*args, &block); end
164
- def patch(*args, &block); end
165
- def post(*args, &block); end
166
- def put(*args, &block); end
167
- def rack_mock_session(name = T.unsafe(nil)); end
168
- def rack_test_session(name = T.unsafe(nil)); end
169
- def request(*args, &block); end
170
- def set_cookie(*args, &block); end
171
- def with_session(name); end
172
- end
173
-
174
- Rack::Test::Methods::METHODS = T.let(T.unsafe(nil), Array)
175
-
176
- class Rack::Test::MockDigestRequest
177
- def initialize(params); end
178
-
179
- def method; end
180
- def method_missing(sym); end
181
- def response(password); end
182
- end
183
-
184
- class Rack::Test::Session
185
- include ::Rack::Utils
186
- include ::Rack::Test::Utils
187
- extend ::Forwardable
188
-
189
- def initialize(mock_session); end
190
-
191
- def authorize(username, password); end
192
- def basic_authorize(username, password); end
193
- def clear_cookies(*args, &block); end
194
- def custom_request(verb, uri, params = T.unsafe(nil), env = T.unsafe(nil), &block); end
195
- def delete(uri, params = T.unsafe(nil), env = T.unsafe(nil), &block); end
196
- def digest_authorize(username, password); end
197
- def env(name, value); end
198
- def follow_redirect!; end
199
- def get(uri, params = T.unsafe(nil), env = T.unsafe(nil), &block); end
200
- def head(uri, params = T.unsafe(nil), env = T.unsafe(nil), &block); end
201
- def header(name, value); end
202
- def last_request(*args, &block); end
203
- def last_response(*args, &block); end
204
- def options(uri, params = T.unsafe(nil), env = T.unsafe(nil), &block); end
205
- def patch(uri, params = T.unsafe(nil), env = T.unsafe(nil), &block); end
206
- def post(uri, params = T.unsafe(nil), env = T.unsafe(nil), &block); end
207
- def put(uri, params = T.unsafe(nil), env = T.unsafe(nil), &block); end
208
- def request(uri, env = T.unsafe(nil), &block); end
209
- def set_cookie(*args, &block); end
210
-
211
- private
212
-
213
- def default_env; end
214
- def digest_auth_configured?; end
215
- def digest_auth_header; end
216
- def env_for(uri, env); end
217
- def headers_for_env; end
218
- def params_to_string(params); end
219
- def parse_uri(path, env); end
220
- def process_request(uri, env); end
221
- def retry_with_digest_auth?(env); end
222
- end
223
-
224
- class Rack::Test::UploadedFile
225
- def initialize(content, content_type = T.unsafe(nil), binary = T.unsafe(nil), original_filename: T.unsafe(nil)); end
226
-
227
- def content_type; end
228
- def content_type=(_arg0); end
229
- def local_path; end
230
- def method_missing(method_name, *args, &block); end
231
- def original_filename; end
232
- def path; end
233
- def tempfile; end
234
-
235
- private
236
-
237
- def initialize_from_file_path(path); end
238
- def initialize_from_stringio(stringio, original_filename); end
239
- def respond_to_missing?(method_name, include_private = T.unsafe(nil)); end
240
-
241
- class << self
242
- def actually_finalize(file); end
243
- def finalize(file); end
244
- end
245
- end
246
-
247
- module Rack::Test::Utils
248
- include ::Rack::Utils
249
- extend ::Rack::Utils
250
-
251
- private
252
-
253
- def build_file_part(parameter_name, uploaded_file); end
254
- def build_multipart(params, first = T.unsafe(nil), multipart = T.unsafe(nil)); end
255
- def build_nested_query(value, prefix = T.unsafe(nil)); end
256
- def build_parts(parameters); end
257
- def build_primitive_part(parameter_name, value); end
258
- def get_parts(parameters); end
259
-
260
- class << self
261
- def build_file_part(parameter_name, uploaded_file); end
262
- def build_multipart(params, first = T.unsafe(nil), multipart = T.unsafe(nil)); end
263
- def build_nested_query(value, prefix = T.unsafe(nil)); end
264
- def build_parts(parameters); end
265
- def build_primitive_part(parameter_name, value); end
266
- def get_parts(parameters); end
267
- end
268
- end
269
-
270
- Rack::Test::VERSION = T.let(T.unsafe(nil), String)
271
- Rack::UNLINK = T.let(T.unsafe(nil), String)
272
- Rack::VERSION = T.let(T.unsafe(nil), Array)