clean-architecture 5.0.2 → 6.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (166) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/ci.yml +15 -19
  3. data/.gitignore +4 -0
  4. data/CHANGELOG.md +4 -0
  5. data/Gemfile +1 -0
  6. data/README.md +1 -585
  7. data/bin/tapioca +29 -0
  8. data/clean-architecture.gemspec +4 -4
  9. data/lib/clean-architecture.rb +4 -1
  10. data/lib/clean_architecture/adapters/all.rb +1 -1
  11. data/lib/clean_architecture/adapters/attribute_hash_base.rb +47 -20
  12. data/lib/clean_architecture/all.rb +1 -4
  13. data/lib/clean_architecture/builders/abstract_active_record_entity_builder.rb +43 -13
  14. data/lib/clean_architecture/builders/all.rb +1 -1
  15. data/lib/clean_architecture/checks/all.rb +1 -1
  16. data/lib/clean_architecture/checks/authorization.rb +11 -9
  17. data/lib/clean_architecture/entities/all.rb +1 -3
  18. data/lib/clean_architecture/entities/failure_details.rb +27 -17
  19. data/lib/clean_architecture/matchers/all.rb +1 -1
  20. data/lib/clean_architecture/matchers/use_case_result.rb +9 -3
  21. data/lib/clean_architecture/queries/all.rb +1 -1
  22. data/lib/clean_architecture/queries/http_failure_code.rb +8 -20
  23. data/lib/clean_architecture/queries/http_success_code.rb +14 -7
  24. data/lib/clean_architecture/serializers/all.rb +1 -1
  25. data/lib/clean_architecture/serializers/html_response_from_result.rb +7 -1
  26. data/lib/clean_architecture/serializers/json_response_from_result.rb +4 -4
  27. data/lib/clean_architecture/version.rb +1 -1
  28. data/nix/sources.json +14 -0
  29. data/nix/sources.nix +174 -0
  30. data/run_ci.sh +7 -0
  31. data/shell.nix +17 -12
  32. data/sorbet/config +4 -0
  33. data/sorbet/{rbi/gems → dry-monads-sorbet}/dry-monads.rbi +176 -94
  34. data/sorbet/rbi/gems/activemodel@6.1.4.1.rbi +1292 -0
  35. data/sorbet/rbi/gems/activerecord@6.1.4.1.rbi +8092 -0
  36. data/sorbet/rbi/gems/activesupport@6.1.4.1.rbi +3531 -0
  37. data/sorbet/rbi/gems/{ast.rbi → ast@2.4.2.rbi} +28 -22
  38. data/sorbet/rbi/gems/byebug@11.1.3.rbi +1568 -0
  39. data/sorbet/rbi/gems/coderay@1.1.3.rbi +1005 -0
  40. data/sorbet/rbi/gems/concurrent-ruby@1.1.9.rbi +915 -0
  41. data/sorbet/rbi/gems/diff-lcs@1.4.4.rbi +8 -0
  42. data/sorbet/rbi/gems/docile@1.4.0.rbi +54 -0
  43. data/sorbet/rbi/gems/dry-core@0.7.1.rbi +92 -0
  44. data/sorbet/rbi/gems/dry-equalizer@0.3.0.rbi +28 -0
  45. data/sorbet/rbi/gems/dry-matcher@0.9.0.rbi +56 -0
  46. data/sorbet/rbi/gems/dry-monads-sorbet@1.1.7.rbi +41 -0
  47. data/sorbet/rbi/gems/dry-monads@1.4.0.rbi +697 -0
  48. data/sorbet/rbi/gems/em-websocket@0.5.2.rbi +8 -0
  49. data/sorbet/rbi/gems/eventmachine@1.2.7.rbi +45 -0
  50. data/sorbet/rbi/gems/ffi@1.15.4.rbi +8 -0
  51. data/sorbet/rbi/gems/formatador@0.3.0.rbi +8 -0
  52. data/sorbet/rbi/gems/guard-compat@1.2.1.rbi +31 -0
  53. data/sorbet/rbi/gems/guard-livereload@2.5.2.rbi +8 -0
  54. data/sorbet/rbi/gems/guard-rspec@4.7.3.rbi +211 -0
  55. data/sorbet/rbi/gems/guard@2.18.0.rbi +8 -0
  56. data/sorbet/rbi/gems/http_parser.rb@0.6.0.rbi +8 -0
  57. data/sorbet/rbi/gems/i18n@1.8.10.rbi +8 -0
  58. data/sorbet/rbi/gems/listen@3.7.0.rbi +8 -0
  59. data/sorbet/rbi/gems/lumberjack@1.2.8.rbi +8 -0
  60. data/sorbet/rbi/gems/method_source@1.0.0.rbi +72 -0
  61. data/sorbet/rbi/gems/minitest@5.14.4.rbi +344 -0
  62. data/sorbet/rbi/gems/multi_json@1.15.0.rbi +8 -0
  63. data/sorbet/rbi/gems/nenv@0.3.0.rbi +8 -0
  64. data/sorbet/rbi/gems/notiffany@0.1.3.rbi +8 -0
  65. data/sorbet/rbi/gems/parallel@1.21.0.rbi +113 -0
  66. data/sorbet/rbi/gems/{parser.rbi → parser@3.0.2.0.rbi} +966 -699
  67. data/sorbet/rbi/gems/pry-byebug@3.9.0.rbi +461 -0
  68. data/sorbet/rbi/gems/{pry.rbi → pry@0.13.1.rbi} +2191 -1605
  69. data/sorbet/rbi/gems/{rainbow.rbi → rainbow@3.0.0.rbi} +90 -55
  70. data/sorbet/rbi/gems/{rake.rbi → rake@13.0.6.rbi} +578 -427
  71. data/sorbet/rbi/gems/rb-fsevent@0.11.0.rbi +8 -0
  72. data/sorbet/rbi/gems/rb-inotify@0.10.1.rbi +8 -0
  73. data/sorbet/rbi/gems/rb-readline@0.5.5.rbi +884 -0
  74. data/sorbet/rbi/gems/rbi@0.0.6.rbi +1405 -0
  75. data/sorbet/rbi/gems/regexp_parser@2.1.1.rbi +1120 -0
  76. data/sorbet/rbi/gems/{rexml.rbi → rexml@3.2.5.rbi} +562 -479
  77. data/sorbet/rbi/gems/{rspec-core.rbi → rspec-core@3.10.1.rbi} +2317 -1533
  78. data/sorbet/rbi/gems/rspec-expectations@3.10.1.rbi +1574 -0
  79. data/sorbet/rbi/gems/rspec-mocks@3.10.2.rbi +1462 -0
  80. data/sorbet/rbi/gems/rspec-support@3.10.2.rbi +509 -0
  81. data/sorbet/rbi/gems/rspec@3.10.0.rbi +38 -0
  82. data/sorbet/rbi/gems/rubocop-ast@1.12.0.rbi +1938 -0
  83. data/sorbet/rbi/gems/rubocop-rspec@2.5.0.rbi +1786 -0
  84. data/sorbet/rbi/gems/rubocop@1.22.1.rbi +13252 -0
  85. data/sorbet/rbi/gems/ruby-progressbar@1.11.0.rbi +405 -0
  86. data/sorbet/rbi/gems/shellany@0.0.1.rbi +8 -0
  87. data/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +89 -0
  88. data/sorbet/rbi/gems/simplecov@0.21.2.rbi +577 -0
  89. data/sorbet/rbi/gems/simplecov_json_formatter@0.1.3.rbi +8 -0
  90. data/sorbet/rbi/gems/sorbet-struct-comparable@1.1.0.rbi +17 -0
  91. data/sorbet/rbi/gems/spoom@1.1.5.rbi +1241 -0
  92. data/sorbet/rbi/gems/stackprof@0.2.17.rbi +98 -0
  93. data/sorbet/rbi/gems/tapioca@0.5.2.rbi +949 -0
  94. data/sorbet/rbi/gems/thor@1.1.0.rbi +839 -0
  95. data/sorbet/rbi/gems/tzinfo@2.0.4.rbi +8 -0
  96. data/sorbet/rbi/gems/unicode-display_width@2.1.0.rbi +26 -0
  97. data/sorbet/rbi/gems/unparser@0.6.0.rbi +8 -0
  98. data/sorbet/rbi/gems/zeitwerk@2.4.2.rbi +8 -0
  99. data/sorbet/tapioca/require.rb +9 -0
  100. metadata +88 -91
  101. data/.ruby-version +0 -1
  102. data/lib/clean_architecture/entities/targeted_parameters.rb +0 -24
  103. data/lib/clean_architecture/entities/untargeted_parameters.rb +0 -21
  104. data/lib/clean_architecture/interfaces/all.rb +0 -12
  105. data/lib/clean_architecture/interfaces/authorization_parameters.rb +0 -19
  106. data/lib/clean_architecture/interfaces/base_parameters.rb +0 -24
  107. data/lib/clean_architecture/interfaces/jsonable.rb +0 -16
  108. data/lib/clean_architecture/interfaces/targeted_parameters.rb +0 -19
  109. data/lib/clean_architecture/interfaces/use_case.rb +0 -20
  110. data/lib/clean_architecture/interfaces/use_case_actor.rb +0 -20
  111. data/lib/clean_architecture/interfaces/use_case_target.rb +0 -24
  112. data/lib/clean_architecture/types.rb +0 -8
  113. data/lib/clean_architecture/use_cases/abstract_use_case.rb +0 -63
  114. data/lib/clean_architecture/use_cases/all.rb +0 -10
  115. data/lib/clean_architecture/use_cases/contract.rb +0 -9
  116. data/lib/clean_architecture/use_cases/errors.rb +0 -58
  117. data/lib/clean_architecture/use_cases/form.rb +0 -116
  118. data/lib/clean_architecture/use_cases/parameters.rb +0 -43
  119. data/sorbet/rbi/gems/activemodel.rbi +0 -75
  120. data/sorbet/rbi/gems/activesupport.rbi +0 -440
  121. data/sorbet/rbi/gems/byebug.rbi +0 -1040
  122. data/sorbet/rbi/gems/coderay.rbi +0 -92
  123. data/sorbet/rbi/gems/concurrent-ruby.rbi +0 -1586
  124. data/sorbet/rbi/gems/docile.rbi +0 -32
  125. data/sorbet/rbi/gems/dry-configurable.rbi +0 -139
  126. data/sorbet/rbi/gems/dry-container.rbi +0 -89
  127. data/sorbet/rbi/gems/dry-core.rbi +0 -80
  128. data/sorbet/rbi/gems/dry-equalizer.rbi +0 -26
  129. data/sorbet/rbi/gems/dry-inflector.rbi +0 -73
  130. data/sorbet/rbi/gems/dry-initializer.rbi +0 -209
  131. data/sorbet/rbi/gems/dry-logic.rbi +0 -305
  132. data/sorbet/rbi/gems/dry-matcher.rbi +0 -34
  133. data/sorbet/rbi/gems/dry-schema.rbi +0 -786
  134. data/sorbet/rbi/gems/dry-struct.rbi +0 -137
  135. data/sorbet/rbi/gems/dry-types.rbi +0 -709
  136. data/sorbet/rbi/gems/dry-validation.rbi +0 -288
  137. data/sorbet/rbi/gems/duckface-interfaces.rbi +0 -94
  138. data/sorbet/rbi/gems/i18n.rbi +0 -133
  139. data/sorbet/rbi/gems/jaro_winkler.rbi +0 -15
  140. data/sorbet/rbi/gems/method_source.rbi +0 -64
  141. data/sorbet/rbi/gems/parallel.rbi +0 -82
  142. data/sorbet/rbi/gems/pry-byebug.rbi +0 -155
  143. data/sorbet/rbi/gems/rb-readline.rbi +0 -767
  144. data/sorbet/rbi/gems/rspec-expectations.rbi +0 -398
  145. data/sorbet/rbi/gems/rspec-mocks.rbi +0 -816
  146. data/sorbet/rbi/gems/rspec-support.rbi +0 -271
  147. data/sorbet/rbi/gems/rspec.rbi +0 -15
  148. data/sorbet/rbi/gems/rubocop-rspec.rbi +0 -922
  149. data/sorbet/rbi/gems/rubocop.rbi +0 -7319
  150. data/sorbet/rbi/gems/ruby-progressbar.rbi +0 -305
  151. data/sorbet/rbi/gems/simplecov-html.rbi +0 -35
  152. data/sorbet/rbi/gems/simplecov.rbi +0 -361
  153. data/sorbet/rbi/gems/stackprof.rbi +0 -52
  154. data/sorbet/rbi/gems/unicode-display_width.rbi +0 -17
  155. data/sorbet/rbi/hidden-definitions/errors.txt +0 -8580
  156. data/sorbet/rbi/hidden-definitions/hidden.rbi +0 -17036
  157. data/sorbet/rbi/sorbet-typed/lib/activemodel/all/activemodel.rbi +0 -452
  158. data/sorbet/rbi/sorbet-typed/lib/activesupport/>=6.0.0.rc1/activesupport.rbi +0 -23
  159. data/sorbet/rbi/sorbet-typed/lib/activesupport/all/activesupport.rbi +0 -979
  160. data/sorbet/rbi/sorbet-typed/lib/bundler/all/bundler.rbi +0 -8684
  161. data/sorbet/rbi/sorbet-typed/lib/minitest/all/minitest.rbi +0 -108
  162. data/sorbet/rbi/sorbet-typed/lib/rainbow/all/rainbow.rbi +0 -276
  163. data/sorbet/rbi/sorbet-typed/lib/ruby/all/gem.rbi +0 -4222
  164. data/sorbet/rbi/sorbet-typed/lib/ruby/all/open3.rbi +0 -111
  165. data/sorbet/rbi/sorbet-typed/lib/ruby/all/resolv.rbi +0 -543
  166. data/sorbet/rbi/todo.rbi +0 -10
@@ -1,440 +0,0 @@
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/activesupport/all/activesupport.rbi
9
- #
10
- # activesupport-6.0.2.1
11
-
12
- class Hash
13
- def blank?; end
14
- def deep_merge!(other_hash, &block); end
15
- def deep_merge(other_hash, &block); end
16
- def except!(*keys); end
17
- def except(*keys); end
18
- def extract!(*keys); end
19
- def extractable_options?; end
20
- def slice!(*keys); end
21
- end
22
- module ActiveSupport
23
- def self.eager_load!; end
24
- def self.gem_version; end
25
- def self.test_order; end
26
- def self.test_order=(obj); end
27
- def self.to_time_preserves_timezone; end
28
- def self.to_time_preserves_timezone=(value); end
29
- def self.version; end
30
- def test_order; end
31
- def test_order=(obj); end
32
- extend ActiveSupport::Autoload
33
- extend ActiveSupport::LazyLoadHooks
34
- end
35
- module ActiveSupport::LazyLoadHooks
36
- def execute_hook(name, base, options, block); end
37
- def on_load(name, options = nil, &block); end
38
- def run_load_hooks(name, base = nil); end
39
- def self.extended(base); end
40
- def with_execution_control(name, block, once); end
41
- end
42
- module Kernel
43
- def class_eval(*args, &block); end
44
- end
45
- class Module
46
- def cattr_accessor(*syms, instance_reader: nil, instance_writer: nil, instance_accessor: nil, default: nil, &blk); end
47
- def cattr_reader(*syms, instance_reader: nil, instance_accessor: nil, default: nil); end
48
- def cattr_writer(*syms, instance_writer: nil, instance_accessor: nil, default: nil); end
49
- def delegate(*methods, to: nil, prefix: nil, allow_nil: nil, private: nil); end
50
- def delegate_missing_to(target); end
51
- def deprecate(*method_names); end
52
- def mattr_accessor(*syms, instance_reader: nil, instance_writer: nil, instance_accessor: nil, default: nil, &blk); end
53
- def mattr_reader(*syms, instance_reader: nil, instance_accessor: nil, default: nil); end
54
- def mattr_writer(*syms, instance_writer: nil, instance_accessor: nil, default: nil); end
55
- def method_visibility(method); end
56
- def module_parent; end
57
- def module_parent_name; end
58
- def module_parents; end
59
- def parent; end
60
- def parent_name; end
61
- def parents; end
62
- def redefine_method(method, &block); end
63
- def redefine_singleton_method(method, &block); end
64
- def silence_redefinition_of_method(method); end
65
- end
66
- class Module::DelegationError < NoMethodError
67
- end
68
- class ActiveSupport::Deprecation
69
- def self.behavior(*args, &block); end
70
- def self.behavior=(arg); end
71
- def self.debug(*args, &block); end
72
- def self.debug=(arg); end
73
- def self.deprecate_methods(*args, &block); end
74
- def self.deprecation_horizon(*args, &block); end
75
- def self.deprecation_horizon=(arg); end
76
- def self.deprecation_warning(deprecated_method_name, message = nil, caller_backtrace = nil); end
77
- def self.gem_name(*args, &block); end
78
- def self.gem_name=(arg); end
79
- def self.initialize(*args, &block); end
80
- def self.instance; end
81
- def self.silence(*args, &block); end
82
- def self.silenced(*args, &block); end
83
- def self.silenced=(arg); end
84
- def self.warn(message = nil, callstack = nil); end
85
- extend ActiveSupport::Deprecation::InstanceDelegator::ClassMethods
86
- extend Singleton::SingletonClassMethods
87
- include ActiveSupport::Deprecation::Behavior
88
- include ActiveSupport::Deprecation::InstanceDelegator
89
- include ActiveSupport::Deprecation::MethodWrapper
90
- include ActiveSupport::Deprecation::Reporting
91
- include Singleton
92
- end
93
- module ActiveSupport::Deprecation::InstanceDelegator
94
- def self.included(base); end
95
- end
96
- module ActiveSupport::Deprecation::InstanceDelegator::ClassMethods
97
- def include(included_module); end
98
- def method_added(method_name); end
99
- end
100
- module ActiveSupport::Deprecation::InstanceDelegator::OverrideDelegators
101
- def deprecation_warning(deprecated_method_name, message = nil, caller_backtrace = nil); end
102
- def warn(message = nil, callstack = nil); end
103
- end
104
- module ActiveSupport::Notifications
105
- def self.instrument(name, payload = nil); end
106
- def self.instrumenter; end
107
- def self.notifier; end
108
- def self.notifier=(arg0); end
109
- def self.publish(name, *args); end
110
- def self.subscribe(*args, &block); end
111
- def self.subscribed(callback, *args, &block); end
112
- def self.unsubscribe(subscriber_or_name); end
113
- end
114
- class ActiveSupport::Notifications::Instrumenter
115
- def finish(name, payload); end
116
- def finish_with_state(listeners_state, name, payload); end
117
- def id; end
118
- def initialize(notifier); end
119
- def instrument(name, payload = nil); end
120
- def start(name, payload); end
121
- def unique_id; end
122
- end
123
- class ActiveSupport::Notifications::Event
124
- def <<(event); end
125
- def allocations; end
126
- def children; end
127
- def cpu_time; end
128
- def duration; end
129
- def end; end
130
- def end=(ending); end
131
- def finish!; end
132
- def idle_time; end
133
- def initialize(name, start, ending, transaction_id, payload); end
134
- def name; end
135
- def now; end
136
- def now_allocations; end
137
- def now_cpu; end
138
- def parent_of?(event); end
139
- def payload; end
140
- def self.clock_gettime_supported?; end
141
- def start!; end
142
- def time; end
143
- def transaction_id; end
144
- end
145
- class ActiveSupport::Notifications::Fanout
146
- def finish(name, id, payload, listeners = nil); end
147
- def initialize; end
148
- def listeners_for(name); end
149
- def listening?(name); end
150
- def lock; end
151
- def locked?; end
152
- def publish(name, *args); end
153
- def start(name, id, payload); end
154
- def subscribe(pattern = nil, callable = nil, &block); end
155
- def synchronize(&block); end
156
- def try_lock; end
157
- def unlock; end
158
- def unsubscribe(subscriber_or_name); end
159
- def wait; end
160
- include Mutex_m
161
- end
162
- module ActiveSupport::Notifications::Fanout::Subscribers
163
- def self.event_object_subscriber(pattern, block); end
164
- def self.new(pattern, listener); end
165
- def self.wrap_all(pattern, subscriber); end
166
- end
167
- class ActiveSupport::Notifications::Fanout::Subscribers::Matcher
168
- def ===(name); end
169
- def exclusions; end
170
- def initialize(pattern); end
171
- def pattern; end
172
- def self.wrap(pattern); end
173
- def unsubscribe!(name); end
174
- end
175
- class ActiveSupport::Notifications::Fanout::Subscribers::Evented
176
- def finish(name, id, payload); end
177
- def initialize(pattern, delegate); end
178
- def matches?(name); end
179
- def pattern; end
180
- def publish(name, *args); end
181
- def start(name, id, payload); end
182
- def subscribed_to?(name); end
183
- def unsubscribe!(name); end
184
- end
185
- class ActiveSupport::Notifications::Fanout::Subscribers::Timed < ActiveSupport::Notifications::Fanout::Subscribers::Evented
186
- def finish(name, id, payload); end
187
- def publish(name, *args); end
188
- def start(name, id, payload); end
189
- end
190
- class ActiveSupport::Notifications::Fanout::Subscribers::EventObject < ActiveSupport::Notifications::Fanout::Subscribers::Evented
191
- def build_event(name, id, payload); end
192
- def finish(name, id, payload); end
193
- def start(name, id, payload); end
194
- end
195
- class ActiveSupport::Notifications::Fanout::Subscribers::AllMessages
196
- def finish(name, id, payload); end
197
- def initialize(delegate); end
198
- def matches?(arg0); end
199
- def publish(name, *args); end
200
- def start(name, id, payload); end
201
- def subscribed_to?(name); end
202
- def unsubscribe!(*arg0); end
203
- end
204
- module ActiveSupport::PerThreadRegistry
205
- def instance; end
206
- def method_missing(name, *args, &block); end
207
- def self.extended(object); end
208
- end
209
- class ActiveSupport::Notifications::InstrumentationRegistry
210
- def initialize; end
211
- def instrumenter_for(notifier); end
212
- extend ActiveSupport::PerThreadRegistry
213
- end
214
- class ActiveSupport::DeprecationException < StandardError
215
- end
216
- module ActiveSupport::Deprecation::Behavior
217
- def arity_coerce(behavior); end
218
- def behavior; end
219
- def behavior=(behavior); end
220
- def debug; end
221
- def debug=(arg0); end
222
- end
223
- module ActiveSupport::Deprecation::Reporting
224
- def _extract_callstack(callstack); end
225
- def deprecated_method_warning(method_name, message = nil); end
226
- def deprecation_caller_message(callstack); end
227
- def deprecation_message(callstack, message = nil); end
228
- def deprecation_warning(deprecated_method_name, message = nil, caller_backtrace = nil); end
229
- def extract_callstack(callstack); end
230
- def gem_name; end
231
- def gem_name=(arg0); end
232
- def ignored_callstack(path); end
233
- def silence; end
234
- def silenced; end
235
- def silenced=(arg0); end
236
- def warn(message = nil, callstack = nil); end
237
- end
238
- module ActiveSupport::Deprecation::DeprecatedConstantAccessor
239
- def self.included(base); end
240
- end
241
- class Array
242
- def blank?; end
243
- def extract_options!; end
244
- end
245
- module ActiveSupport::Deprecation::MethodWrapper
246
- def deprecate_methods(target_module, *method_names); end
247
- end
248
- class ActiveSupport::Deprecation::DeprecationProxy
249
- def inspect; end
250
- def method_missing(called, *args, &block); end
251
- def self.new(*args, &block); end
252
- end
253
- class ActiveSupport::Deprecation::DeprecatedObjectProxy < ActiveSupport::Deprecation::DeprecationProxy
254
- def initialize(object, message, deprecator = nil); end
255
- def target; end
256
- def warn(callstack, called, args); end
257
- end
258
- class ActiveSupport::Deprecation::DeprecatedInstanceVariableProxy < ActiveSupport::Deprecation::DeprecationProxy
259
- def initialize(instance, method, var = nil, deprecator = nil); end
260
- def target; end
261
- def warn(callstack, called, args); end
262
- end
263
- class ActiveSupport::Deprecation::DeprecatedConstantProxy < Module
264
- def class; end
265
- def const_missing(name); end
266
- def initialize(old_const, new_const, deprecator = nil, message: nil); end
267
- def inspect; end
268
- def method_missing(called, *args, &block); end
269
- def self.new(*args, &block); end
270
- def target; end
271
- end
272
- module ActiveSupport::Inflector
273
- def apply_inflections(word, rules, locale = nil); end
274
- def camelize(term, uppercase_first_letter = nil); end
275
- def classify(table_name); end
276
- def const_regexp(camel_cased_word); end
277
- def constantize(camel_cased_word); end
278
- def dasherize(underscored_word); end
279
- def deconstantize(path); end
280
- def demodulize(path); end
281
- def foreign_key(class_name, separate_class_name_and_id_with_underscore = nil); end
282
- def humanize(lower_case_and_underscored_word, capitalize: nil, keep_id_suffix: nil); end
283
- def inflections(locale = nil); end
284
- def ordinal(number); end
285
- def ordinalize(number); end
286
- def parameterize(string, separator: nil, preserve_case: nil, locale: nil); end
287
- def pluralize(word, locale = nil); end
288
- def safe_constantize(camel_cased_word); end
289
- def singularize(word, locale = nil); end
290
- def tableize(class_name); end
291
- def titleize(word, keep_id_suffix: nil); end
292
- def transliterate(string, replacement = nil, locale: nil); end
293
- def underscore(camel_cased_word); end
294
- def upcase_first(string); end
295
- extend ActiveSupport::Inflector
296
- extend ActiveSupport::Inflector
297
- end
298
- class ActiveSupport::Inflector::Inflections
299
- def acronym(word); end
300
- def acronyms; end
301
- def acronyms_camelize_regex; end
302
- def acronyms_underscore_regex; end
303
- def clear(scope = nil); end
304
- def define_acronym_regex_patterns; end
305
- def human(rule, replacement); end
306
- def humans; end
307
- def initialize; end
308
- def initialize_dup(orig); end
309
- def irregular(singular, plural); end
310
- def plural(rule, replacement); end
311
- def plurals; end
312
- def self.instance(locale = nil); end
313
- def singular(rule, replacement); end
314
- def singulars; end
315
- def uncountable(*words); end
316
- def uncountables; end
317
- end
318
- class ActiveSupport::Inflector::Inflections::Uncountables < Array
319
- def <<(*word); end
320
- def add(words); end
321
- def delete(entry); end
322
- def initialize; end
323
- def to_regex(string); end
324
- def uncountable?(str); end
325
- end
326
- module ActiveSupport::Autoload
327
- def autoload(const_name, path = nil); end
328
- def autoload_at(path); end
329
- def autoload_under(path); end
330
- def autoloads; end
331
- def eager_autoload; end
332
- def eager_load!; end
333
- def self.extended(base); end
334
- end
335
- module ActiveSupport::VERSION
336
- end
337
- module ActiveSupport::Concern
338
- def append_features(base); end
339
- def class_methods(&class_methods_module_definition); end
340
- def included(base = nil, &block); end
341
- def self.extended(base); end
342
- end
343
- class ActiveSupport::Concern::MultipleIncludedBlocks < StandardError
344
- def initialize; end
345
- end
346
- module ActiveSupport::LoggerThreadSafeLevel
347
- def add(severity, message = nil, progname = nil, &block); end
348
- def after_initialize; end
349
- def debug?; end
350
- def error?; end
351
- def fatal?; end
352
- def info?; end
353
- def level; end
354
- def local_level; end
355
- def local_level=(level); end
356
- def local_log_id; end
357
- def unknown?; end
358
- def warn?; end
359
- extend ActiveSupport::Concern
360
- end
361
- module LoggerSilence
362
- extend ActiveSupport::Concern
363
- end
364
- module ActiveSupport::LoggerSilence
365
- def silence(temporary_level = nil); end
366
- extend ActiveSupport::Concern
367
- end
368
- class ActiveSupport::Logger < Logger
369
- def initialize(*args); end
370
- def self.broadcast(logger); end
371
- def self.local_levels; end
372
- def self.local_levels=(obj); end
373
- def self.logger_outputs_to?(logger, *sources); end
374
- def self.silencer; end
375
- def self.silencer=(obj); end
376
- def silencer; end
377
- def silencer=(obj); end
378
- include ActiveSupport::LoggerSilence
379
- include ActiveSupport::LoggerThreadSafeLevel
380
- end
381
- class ActiveSupport::Logger::SimpleFormatter < Logger::Formatter
382
- def call(severity, timestamp, progname, msg); end
383
- end
384
- module DateAndTime
385
- end
386
- module DateAndTime::Compatibility
387
- def preserve_timezone; end
388
- def self.preserve_timezone; end
389
- def self.preserve_timezone=(obj); end
390
- end
391
- class Object < BasicObject
392
- def blank?; end
393
- def presence; end
394
- def present?; end
395
- end
396
- class NilClass
397
- def blank?; end
398
- end
399
- class FalseClass
400
- def blank?; end
401
- end
402
- class TrueClass
403
- def blank?; end
404
- end
405
- class String
406
- def blank?; end
407
- def camelcase(first_letter = nil); end
408
- def camelize(first_letter = nil); end
409
- def classify; end
410
- def constantize; end
411
- def dasherize; end
412
- def deconstantize; end
413
- def demodulize; end
414
- def foreign_key(separate_class_name_and_id_with_underscore = nil); end
415
- def humanize(capitalize: nil, keep_id_suffix: nil); end
416
- def is_utf8?; end
417
- def mb_chars; end
418
- def parameterize(separator: nil, preserve_case: nil, locale: nil); end
419
- def pluralize(count = nil, locale = nil); end
420
- def safe_constantize; end
421
- def singularize(locale = nil); end
422
- def tableize; end
423
- def titlecase(keep_id_suffix: nil); end
424
- def titleize(keep_id_suffix: nil); end
425
- def underscore; end
426
- def upcase_first; end
427
- end
428
- class Numeric
429
- def blank?; end
430
- end
431
- class Time
432
- def blank?; end
433
- end
434
- class Class < Module
435
- def class_attribute(*attrs, instance_accessor: nil, instance_reader: nil, instance_writer: nil, instance_predicate: nil, default: nil); end
436
- end
437
- module ActiveSupport::Multibyte
438
- def self.proxy_class; end
439
- def self.proxy_class=(klass); end
440
- end