clean-architecture 2.0.0 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (118) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/rspec.yml +21 -0
  3. data/.gitignore +1 -0
  4. data/.ruby-version +1 -1
  5. data/CHANGELOG.md +42 -0
  6. data/Gemfile +1 -0
  7. data/README.md +423 -4
  8. data/clean-architecture.gemspec +9 -5
  9. data/generate_require_files.rb +1 -0
  10. data/lib/clean-architecture.rb +1 -0
  11. data/lib/clean_architecture/adapters/all.rb +1 -0
  12. data/lib/clean_architecture/adapters/attribute_hash_base.rb +1 -0
  13. data/lib/clean_architecture/all.rb +3 -0
  14. data/lib/clean_architecture/builders/abstract_active_record_entity_builder.rb +124 -0
  15. data/lib/clean_architecture/builders/all.rb +6 -0
  16. data/lib/clean_architecture/checks/all.rb +1 -0
  17. data/lib/clean_architecture/checks/authorization.rb +1 -0
  18. data/lib/clean_architecture/entities/all.rb +1 -0
  19. data/lib/clean_architecture/entities/failure_details.rb +2 -1
  20. data/lib/clean_architecture/entities/targeted_parameters.rb +1 -0
  21. data/lib/clean_architecture/entities/untargeted_parameters.rb +1 -0
  22. data/lib/clean_architecture/interfaces/all.rb +1 -0
  23. data/lib/clean_architecture/interfaces/authorization_parameters.rb +1 -0
  24. data/lib/clean_architecture/interfaces/base_parameters.rb +1 -0
  25. data/lib/clean_architecture/interfaces/jsonable.rb +1 -0
  26. data/lib/clean_architecture/interfaces/success_payload.rb +1 -0
  27. data/lib/clean_architecture/interfaces/targeted_parameters.rb +1 -0
  28. data/lib/clean_architecture/interfaces/use_case.rb +1 -0
  29. data/lib/clean_architecture/interfaces/use_case_actor.rb +1 -0
  30. data/lib/clean_architecture/interfaces/use_case_target.rb +1 -0
  31. data/lib/clean_architecture/matchers/all.rb +1 -0
  32. data/lib/clean_architecture/matchers/use_case_result.rb +1 -0
  33. data/lib/clean_architecture/queries/all.rb +1 -0
  34. data/lib/clean_architecture/queries/http_failure_code.rb +1 -0
  35. data/lib/clean_architecture/queries/http_success_code.rb +1 -0
  36. data/lib/clean_architecture/serializers/all.rb +1 -0
  37. data/lib/clean_architecture/serializers/html_response_from_result.rb +1 -0
  38. data/lib/clean_architecture/serializers/json_response_from_result.rb +1 -0
  39. data/lib/clean_architecture/serializers/success_collection_payload.rb +1 -0
  40. data/lib/clean_architecture/serializers/success_payload.rb +1 -0
  41. data/lib/clean_architecture/types.rb +2 -1
  42. data/lib/clean_architecture/use_cases/abstract_use_case.rb +62 -0
  43. data/lib/clean_architecture/use_cases/all.rb +10 -0
  44. data/lib/clean_architecture/use_cases/contract.rb +9 -0
  45. data/lib/clean_architecture/use_cases/errors.rb +57 -0
  46. data/lib/clean_architecture/use_cases/form.rb +116 -0
  47. data/lib/clean_architecture/use_cases/parameters.rb +42 -0
  48. data/lib/clean_architecture/version.rb +2 -1
  49. data/sorbet/config +2 -0
  50. data/sorbet/rbi/gems/activemodel.rbi +74 -0
  51. data/sorbet/rbi/gems/activesupport.rbi +440 -0
  52. data/sorbet/rbi/gems/ast.rbi +47 -0
  53. data/sorbet/rbi/gems/axiom-types.rbi +159 -0
  54. data/sorbet/rbi/gems/byebug.rbi +1039 -0
  55. data/sorbet/rbi/gems/codeclimate-engine-rb.rbi +123 -0
  56. data/sorbet/rbi/gems/coderay.rbi +91 -0
  57. data/sorbet/rbi/gems/coercible.rbi +156 -0
  58. data/sorbet/rbi/gems/concurrent-ruby.rbi +1587 -0
  59. data/sorbet/rbi/gems/descendants_tracker.rbi +17 -0
  60. data/sorbet/rbi/gems/docile.rbi +31 -0
  61. data/sorbet/rbi/gems/dry-configurable.rbi +89 -0
  62. data/sorbet/rbi/gems/dry-container.rbi +88 -0
  63. data/sorbet/rbi/gems/dry-core.rbi +79 -0
  64. data/sorbet/rbi/gems/dry-equalizer.rbi +25 -0
  65. data/sorbet/rbi/gems/dry-inflector.rbi +72 -0
  66. data/sorbet/rbi/gems/dry-initializer.rbi +209 -0
  67. data/sorbet/rbi/gems/dry-logic.rbi +304 -0
  68. data/sorbet/rbi/gems/dry-matcher.rbi +33 -0
  69. data/sorbet/rbi/gems/dry-monads.rbi +508 -0
  70. data/sorbet/rbi/gems/dry-schema.rbi +790 -0
  71. data/sorbet/rbi/gems/dry-struct.rbi +165 -0
  72. data/sorbet/rbi/gems/dry-types.rbi +688 -0
  73. data/sorbet/rbi/gems/dry-validation.rbi +284 -0
  74. data/sorbet/rbi/gems/duckface-interfaces.rbi +93 -0
  75. data/sorbet/rbi/gems/equalizer.rbi +22 -0
  76. data/sorbet/rbi/gems/i18n.rbi +132 -0
  77. data/sorbet/rbi/gems/ice_nine.rbi +66 -0
  78. data/sorbet/rbi/gems/jaro_winkler.rbi +14 -0
  79. data/sorbet/rbi/gems/kwalify.rbi +339 -0
  80. data/sorbet/rbi/gems/method_source.rbi +63 -0
  81. data/sorbet/rbi/gems/parallel.rbi +81 -0
  82. data/sorbet/rbi/gems/parser.rbi +1293 -0
  83. data/sorbet/rbi/gems/pry-byebug.rbi +149 -0
  84. data/sorbet/rbi/gems/pry.rbi +1964 -0
  85. data/sorbet/rbi/gems/psych.rbi +462 -0
  86. data/sorbet/rbi/gems/rainbow.rbi +117 -0
  87. data/sorbet/rbi/gems/rake.rbi +634 -0
  88. data/sorbet/rbi/gems/rb-readline.rbi +766 -0
  89. data/sorbet/rbi/gems/reek.rbi +1066 -0
  90. data/sorbet/rbi/gems/rspec-core.rbi +1658 -0
  91. data/sorbet/rbi/gems/rspec-expectations.rbi +430 -0
  92. data/sorbet/rbi/gems/rspec-mocks.rbi +815 -0
  93. data/sorbet/rbi/gems/rspec-support.rbi +268 -0
  94. data/sorbet/rbi/gems/rspec.rbi +14 -0
  95. data/sorbet/rbi/gems/rubocop-rspec.rbi +875 -0
  96. data/sorbet/rbi/gems/rubocop.rbi +7014 -0
  97. data/sorbet/rbi/gems/ruby-progressbar.rbi +304 -0
  98. data/sorbet/rbi/gems/simplecov-html.rbi +30 -0
  99. data/sorbet/rbi/gems/simplecov.rbi +225 -0
  100. data/sorbet/rbi/gems/stackprof.rbi +51 -0
  101. data/sorbet/rbi/gems/thread_safe.rbi +81 -0
  102. data/sorbet/rbi/gems/timecop.rbi +97 -0
  103. data/sorbet/rbi/gems/unicode-display_width.rbi +16 -0
  104. data/sorbet/rbi/gems/virtus.rbi +421 -0
  105. data/sorbet/rbi/hidden-definitions/errors.txt +7332 -0
  106. data/sorbet/rbi/hidden-definitions/hidden.rbi +17521 -0
  107. data/sorbet/rbi/sorbet-typed/lib/activemodel/all/activemodel.rbi +422 -0
  108. data/sorbet/rbi/sorbet-typed/lib/activesupport/>=6.0.0.rc1/activesupport.rbi +23 -0
  109. data/sorbet/rbi/sorbet-typed/lib/activesupport/all/activesupport.rbi +625 -0
  110. data/sorbet/rbi/sorbet-typed/lib/bundler/all/bundler.rbi +8684 -0
  111. data/sorbet/rbi/sorbet-typed/lib/minitest/all/minitest.rbi +99 -0
  112. data/sorbet/rbi/sorbet-typed/lib/rainbow/all/rainbow.rbi +254 -0
  113. data/sorbet/rbi/sorbet-typed/lib/ruby/all/gem.rbi +4222 -0
  114. data/sorbet/rbi/sorbet-typed/lib/ruby/all/open3.rbi +111 -0
  115. data/sorbet/rbi/sorbet-typed/lib/ruby/all/resolv.rbi +543 -0
  116. data/sorbet/rbi/todo.rbi +12 -0
  117. metadata +156 -24
  118. data/Gemfile.lock +0 -187
@@ -0,0 +1,462 @@
1
+ # This file is autogenerated. Do not edit it by hand. Regenerate it with:
2
+ # srb rbi gems
3
+
4
+ # typed: true
5
+ #
6
+ # If you would like to make changes to this file, great! Please create the gem's shim here:
7
+ #
8
+ # https://github.com/sorbet/sorbet-typed/new/master?filename=lib/psych/all/psych.rbi
9
+ #
10
+ # psych-3.1.0
11
+ module Psych
12
+ def self.add_builtin_type(type_tag, &block); end
13
+ def self.add_domain_type(domain, type_tag, &block); end
14
+ def self.add_tag(tag, klass); end
15
+ def self.domain_types; end
16
+ def self.domain_types=(arg0); end
17
+ def self.dump(o, io = nil, options = nil); end
18
+ def self.dump_stream(*objects); end
19
+ def self.dump_tags; end
20
+ def self.dump_tags=(arg0); end
21
+ def self.libyaml_version; end
22
+ def self.load(yaml, legacy_filename = nil, filename: nil, fallback: nil, symbolize_names: nil); end
23
+ def self.load_file(filename, fallback: nil); end
24
+ def self.load_stream(yaml, legacy_filename = nil, filename: nil, fallback: nil); end
25
+ def self.load_tags; end
26
+ def self.load_tags=(arg0); end
27
+ def self.parse(yaml, legacy_filename = nil, filename: nil, fallback: nil); end
28
+ def self.parse_caller(at); end
29
+ def self.parse_file(filename, fallback: nil); end
30
+ def self.parse_stream(yaml, legacy_filename = nil, filename: nil, &block); end
31
+ def self.parser; end
32
+ def self.remove_type(type_tag); end
33
+ def self.safe_load(yaml, legacy_permitted_classes = nil, legacy_permitted_symbols = nil, legacy_aliases = nil, legacy_filename = nil, permitted_classes: nil, permitted_symbols: nil, aliases: nil, filename: nil, fallback: nil, symbolize_names: nil); end
34
+ def self.symbolize_names!(result); end
35
+ def self.to_json(object); end
36
+ def self.warn_with_uplevel(message, uplevel: nil); end
37
+ end
38
+ class Psych::Exception < RuntimeError
39
+ end
40
+ class Psych::BadAlias < Psych::Exception
41
+ end
42
+ class Psych::DisallowedClass < Psych::Exception
43
+ def initialize(klass_name); end
44
+ end
45
+ class Psych::SyntaxError < Psych::Exception
46
+ def column; end
47
+ def context; end
48
+ def file; end
49
+ def initialize(file, line, col, offset, problem, context); end
50
+ def line; end
51
+ def offset; end
52
+ def problem; end
53
+ end
54
+ class Psych::Parser
55
+ def external_encoding=(arg0); end
56
+ def handler; end
57
+ def handler=(arg0); end
58
+ def initialize(handler = nil); end
59
+ def mark; end
60
+ def parse(*arg0); end
61
+ end
62
+ class Psych::Emitter < Psych::Handler
63
+ def alias(arg0); end
64
+ def canonical; end
65
+ def canonical=(arg0); end
66
+ def end_document(arg0); end
67
+ def end_mapping; end
68
+ def end_sequence; end
69
+ def end_stream; end
70
+ def indentation; end
71
+ def indentation=(arg0); end
72
+ def initialize(*arg0); end
73
+ def line_width; end
74
+ def line_width=(arg0); end
75
+ def scalar(arg0, arg1, arg2, arg3, arg4, arg5); end
76
+ def start_document(arg0, arg1, arg2); end
77
+ def start_mapping(arg0, arg1, arg2, arg3); end
78
+ def start_sequence(arg0, arg1, arg2, arg3); end
79
+ def start_stream(arg0); end
80
+ end
81
+ class Psych::Visitors::ToRuby < Psych::Visitors::Visitor
82
+ def accept(target); end
83
+ def build_exception(arg0, arg1); end
84
+ def class_loader; end
85
+ def deserialize(o); end
86
+ def init_with(o, h, node); end
87
+ def initialize(ss, class_loader); end
88
+ def merge_key(hash, key, val); end
89
+ def register(node, object); end
90
+ def register_empty(object); end
91
+ def resolve_class(klassname); end
92
+ def revive(klass, node); end
93
+ def revive_hash(hash, o); end
94
+ def self.create; end
95
+ def visit_Psych_Nodes_Alias(o); end
96
+ def visit_Psych_Nodes_Document(o); end
97
+ def visit_Psych_Nodes_Mapping(o); end
98
+ def visit_Psych_Nodes_Scalar(o); end
99
+ def visit_Psych_Nodes_Sequence(o); end
100
+ def visit_Psych_Nodes_Stream(o); end
101
+ end
102
+ class Psych::ClassLoader
103
+ def big_decimal; end
104
+ def complex; end
105
+ def date; end
106
+ def date_time; end
107
+ def exception; end
108
+ def find(klassname); end
109
+ def initialize; end
110
+ def load(klassname); end
111
+ def object; end
112
+ def path2class(arg0); end
113
+ def psych_omap; end
114
+ def psych_set; end
115
+ def range; end
116
+ def rational; end
117
+ def regexp; end
118
+ def resolve(klassname); end
119
+ def struct; end
120
+ def symbol; end
121
+ def symbolize(sym); end
122
+ end
123
+ class Psych::Visitors::YAMLTree < Psych::Visitors::Visitor
124
+ def <<(object); end
125
+ def accept(target); end
126
+ def binary?(string); end
127
+ def dump_coder(o); end
128
+ def dump_ivars(target); end
129
+ def dump_list(o); end
130
+ def emit_coder(c, o); end
131
+ def finish; end
132
+ def finished; end
133
+ def finished?; end
134
+ def format_time(time); end
135
+ def initialize(emitter, ss, options); end
136
+ def private_iv_get(arg0, arg1); end
137
+ def push(object); end
138
+ def register(target, yaml_obj); end
139
+ def self.create(options = nil, emitter = nil); end
140
+ def start(encoding = nil); end
141
+ def started; end
142
+ def started?; end
143
+ def tree; end
144
+ def visit_Array(o); end
145
+ def visit_BasicObject(o); end
146
+ def visit_BigDecimal(o); end
147
+ def visit_Class(o); end
148
+ def visit_Complex(o); end
149
+ def visit_Date(o); end
150
+ def visit_DateTime(o); end
151
+ def visit_Delegator(o); end
152
+ def visit_Encoding(o); end
153
+ def visit_Enumerator(o); end
154
+ def visit_Exception(o); end
155
+ def visit_FalseClass(o); end
156
+ def visit_Float(o); end
157
+ def visit_Hash(o); end
158
+ def visit_Integer(o); end
159
+ def visit_Module(o); end
160
+ def visit_NameError(o); end
161
+ def visit_NilClass(o); end
162
+ def visit_Object(o); end
163
+ def visit_Psych_Omap(o); end
164
+ def visit_Psych_Set(o); end
165
+ def visit_Range(o); end
166
+ def visit_Rational(o); end
167
+ def visit_Regexp(o); end
168
+ def visit_String(o); end
169
+ def visit_Struct(o); end
170
+ def visit_Symbol(o); end
171
+ def visit_Time(o); end
172
+ def visit_TrueClass(o); end
173
+ def visit_array_subclass(o); end
174
+ def visit_hash_subclass(o); end
175
+ end
176
+ class Psych::Omap < Hash
177
+ end
178
+ class Psych::Set < Hash
179
+ end
180
+ class Psych::ClassLoader::Restricted < Psych::ClassLoader
181
+ def find(klassname); end
182
+ def initialize(classes, symbols); end
183
+ def symbolize(sym); end
184
+ end
185
+ class Psych::ScalarScanner
186
+ def class_loader; end
187
+ def initialize(class_loader); end
188
+ def parse_int(string); end
189
+ def parse_time(string); end
190
+ def tokenize(string); end
191
+ end
192
+ module Psych::Nodes
193
+ end
194
+ class Psych::Nodes::Node
195
+ def alias?; end
196
+ def children; end
197
+ def document?; end
198
+ def each(&block); end
199
+ def end_column; end
200
+ def end_column=(arg0); end
201
+ def end_line; end
202
+ def end_line=(arg0); end
203
+ def initialize; end
204
+ def mapping?; end
205
+ def scalar?; end
206
+ def sequence?; end
207
+ def start_column; end
208
+ def start_column=(arg0); end
209
+ def start_line; end
210
+ def start_line=(arg0); end
211
+ def stream?; end
212
+ def tag; end
213
+ def to_ruby; end
214
+ def to_yaml(io = nil, options = nil); end
215
+ def transform; end
216
+ def yaml(io = nil, options = nil); end
217
+ include Enumerable
218
+ end
219
+ class Psych::Nodes::Stream < Psych::Nodes::Node
220
+ def encoding; end
221
+ def encoding=(arg0); end
222
+ def initialize(encoding = nil); end
223
+ def stream?; end
224
+ end
225
+ class Psych::Nodes::Document < Psych::Nodes::Node
226
+ def document?; end
227
+ def implicit; end
228
+ def implicit=(arg0); end
229
+ def implicit_end; end
230
+ def implicit_end=(arg0); end
231
+ def initialize(version = nil, tag_directives = nil, implicit = nil); end
232
+ def root; end
233
+ def tag_directives; end
234
+ def tag_directives=(arg0); end
235
+ def version; end
236
+ def version=(arg0); end
237
+ end
238
+ class Psych::Nodes::Sequence < Psych::Nodes::Node
239
+ def anchor; end
240
+ def anchor=(arg0); end
241
+ def implicit; end
242
+ def implicit=(arg0); end
243
+ def initialize(anchor = nil, tag = nil, implicit = nil, style = nil); end
244
+ def sequence?; end
245
+ def style; end
246
+ def style=(arg0); end
247
+ def tag; end
248
+ def tag=(arg0); end
249
+ end
250
+ class Psych::Nodes::Scalar < Psych::Nodes::Node
251
+ def anchor; end
252
+ def anchor=(arg0); end
253
+ def initialize(value, anchor = nil, tag = nil, plain = nil, quoted = nil, style = nil); end
254
+ def plain; end
255
+ def plain=(arg0); end
256
+ def quoted; end
257
+ def quoted=(arg0); end
258
+ def scalar?; end
259
+ def style; end
260
+ def style=(arg0); end
261
+ def tag; end
262
+ def tag=(arg0); end
263
+ def value; end
264
+ def value=(arg0); end
265
+ end
266
+ class Psych::Nodes::Mapping < Psych::Nodes::Node
267
+ def anchor; end
268
+ def anchor=(arg0); end
269
+ def implicit; end
270
+ def implicit=(arg0); end
271
+ def initialize(anchor = nil, tag = nil, implicit = nil, style = nil); end
272
+ def mapping?; end
273
+ def style; end
274
+ def style=(arg0); end
275
+ def tag; end
276
+ def tag=(arg0); end
277
+ end
278
+ class Psych::Nodes::Alias < Psych::Nodes::Node
279
+ def alias?; end
280
+ def anchor; end
281
+ def anchor=(arg0); end
282
+ def initialize(anchor); end
283
+ end
284
+ module Psych::Streaming
285
+ def register(target, obj); end
286
+ def start(encoding = nil); end
287
+ end
288
+ module Psych::Streaming::ClassMethods
289
+ def new(io); end
290
+ end
291
+ module Psych::Visitors
292
+ end
293
+ class Psych::Visitors::Visitor
294
+ def accept(target); end
295
+ def visit(target); end
296
+ end
297
+ class Psych::Visitors::NoAliasRuby < Psych::Visitors::ToRuby
298
+ def visit_Psych_Nodes_Alias(o); end
299
+ end
300
+ class Psych::Visitors::Emitter < Psych::Visitors::Visitor
301
+ def initialize(io, options = nil); end
302
+ def visit_Psych_Nodes_Alias(o); end
303
+ def visit_Psych_Nodes_Document(o); end
304
+ def visit_Psych_Nodes_Mapping(o); end
305
+ def visit_Psych_Nodes_Scalar(o); end
306
+ def visit_Psych_Nodes_Sequence(o); end
307
+ def visit_Psych_Nodes_Stream(o); end
308
+ end
309
+ class Psych::Handler
310
+ def alias(anchor); end
311
+ def empty; end
312
+ def end_document(implicit); end
313
+ def end_mapping; end
314
+ def end_sequence; end
315
+ def end_stream; end
316
+ def event_location(start_line, start_column, end_line, end_column); end
317
+ def scalar(value, anchor, tag, plain, quoted, style); end
318
+ def start_document(version, tag_directives, implicit); end
319
+ def start_mapping(anchor, tag, implicit, style); end
320
+ def start_sequence(anchor, tag, implicit, style); end
321
+ def start_stream(encoding); end
322
+ def streaming?; end
323
+ end
324
+ class Psych::Handler::DumperOptions
325
+ def canonical; end
326
+ def canonical=(arg0); end
327
+ def indentation; end
328
+ def indentation=(arg0); end
329
+ def initialize; end
330
+ def line_width; end
331
+ def line_width=(arg0); end
332
+ end
333
+ class Psych::TreeBuilder < Psych::Handler
334
+ def alias(anchor); end
335
+ def end_document(implicit_end = nil); end
336
+ def end_mapping; end
337
+ def end_sequence; end
338
+ def end_stream; end
339
+ def event_location(start_line, start_column, end_line, end_column); end
340
+ def initialize; end
341
+ def pop; end
342
+ def push(value); end
343
+ def root; end
344
+ def scalar(value, anchor, tag, plain, quoted, style); end
345
+ def set_end_location(node); end
346
+ def set_location(node); end
347
+ def set_start_location(node); end
348
+ def start_document(version, tag_directives, implicit); end
349
+ def start_mapping(anchor, tag, implicit, style); end
350
+ def start_sequence(anchor, tag, implicit, style); end
351
+ def start_stream(encoding); end
352
+ end
353
+ class Psych::Visitors::YAMLTree::Registrar
354
+ def id_for(target); end
355
+ def initialize; end
356
+ def key?(target); end
357
+ def node_for(target); end
358
+ def register(target, node); end
359
+ end
360
+ module Psych::JSON
361
+ end
362
+ module Psych::JSON::RubyEvents
363
+ def visit_DateTime(o); end
364
+ def visit_String(o); end
365
+ def visit_Symbol(o); end
366
+ def visit_Time(o); end
367
+ end
368
+ class Psych::Visitors::JSONTree < Psych::Visitors::YAMLTree
369
+ def accept(target); end
370
+ def self.create(options = nil); end
371
+ include Psych::JSON::RubyEvents
372
+ end
373
+ class Psych::Visitors::DepthFirst < Psych::Visitors::Visitor
374
+ def initialize(block); end
375
+ def nary(o); end
376
+ def terminal(o); end
377
+ def visit_Psych_Nodes_Alias(o); end
378
+ def visit_Psych_Nodes_Document(o); end
379
+ def visit_Psych_Nodes_Mapping(o); end
380
+ def visit_Psych_Nodes_Scalar(o); end
381
+ def visit_Psych_Nodes_Sequence(o); end
382
+ def visit_Psych_Nodes_Stream(o); end
383
+ end
384
+ class Anonymous_Struct_44 < Struct
385
+ def column; end
386
+ def column=(_); end
387
+ def index; end
388
+ def index=(_); end
389
+ def line; end
390
+ def line=(_); end
391
+ def self.[](*arg0); end
392
+ def self.inspect; end
393
+ def self.members; end
394
+ def self.new(*arg0); end
395
+ end
396
+ class Psych::Parser::Mark < Anonymous_Struct_44
397
+ end
398
+ class Psych::Coder
399
+ def [](k); end
400
+ def []=(k, v); end
401
+ def add(k, v); end
402
+ def implicit; end
403
+ def implicit=(arg0); end
404
+ def initialize(tag); end
405
+ def map(tag = nil, style = nil); end
406
+ def map=(map); end
407
+ def object; end
408
+ def object=(arg0); end
409
+ def represent_map(tag, map); end
410
+ def represent_object(tag, obj); end
411
+ def represent_scalar(tag, value); end
412
+ def represent_seq(tag, list); end
413
+ def scalar(*args); end
414
+ def scalar=(value); end
415
+ def seq; end
416
+ def seq=(list); end
417
+ def style; end
418
+ def style=(arg0); end
419
+ def tag; end
420
+ def tag=(arg0); end
421
+ def type; end
422
+ end
423
+ module Kernel
424
+ def y(*objects); end
425
+ end
426
+ class Object < BasicObject
427
+ def self.yaml_tag(url); end
428
+ def to_yaml(options = nil); end
429
+ end
430
+ class Psych::Stream < Psych::Visitors::YAMLTree
431
+ extend Psych::Streaming::ClassMethods
432
+ include Psych::Streaming
433
+ end
434
+ class Psych::Stream::Emitter < Psych::Emitter
435
+ def end_document(implicit_end = nil); end
436
+ def streaming?; end
437
+ end
438
+ module Psych::JSON::YAMLEvents
439
+ def end_document(implicit_end = nil); end
440
+ def scalar(value, anchor, tag, plain, quoted, style); end
441
+ def start_document(version, tag_directives, implicit); end
442
+ def start_mapping(anchor, tag, implicit, style); end
443
+ def start_sequence(anchor, tag, implicit, style); end
444
+ end
445
+ class Psych::JSON::TreeBuilder < Psych::TreeBuilder
446
+ include Psych::JSON::YAMLEvents
447
+ end
448
+ class Psych::JSON::Stream < Psych::Visitors::JSONTree
449
+ extend Psych::Streaming::ClassMethods
450
+ include Psych::JSON::RubyEvents
451
+ include Psych::Streaming
452
+ end
453
+ class Psych::JSON::Stream::Emitter < Psych::Stream::Emitter
454
+ include Psych::JSON::YAMLEvents
455
+ end
456
+ module Psych::Handlers
457
+ end
458
+ class Psych::Handlers::DocumentStream < Psych::TreeBuilder
459
+ def end_document(implicit_end = nil); end
460
+ def initialize(&block); end
461
+ def start_document(version, tag_directives, implicit); end
462
+ end