sorbet-rails 0.6.4 → 0.6.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +2 -0
- data/lib/sorbet-rails/active_record_rbi_formatter.rb +8 -2
- data/lib/sorbet-rails/model_plugins/active_record_querying.rb +28 -1
- data/lib/sorbet-rails/model_plugins/active_storage_methods.rb +1 -1
- data/lib/sorbet-rails/model_utils.rb +1 -1
- data/sorbet-rails.gemspec +1 -1
- data/spec/generators/sorbet_test_cases.rb +16 -8
- data/spec/support/v5.0/Gemfile.lock +2 -2
- data/spec/support/v5.0/sorbet_test_cases.rb +16 -8
- data/spec/support/v5.1/Gemfile.lock +2 -2
- data/spec/support/v5.1/sorbet_test_cases.rb +16 -8
- data/spec/support/v5.2/Gemfile.lock +2 -2
- data/spec/support/v5.2/sorbet_test_cases.rb +16 -8
- data/spec/support/v6.0/Gemfile.lock +2 -2
- data/spec/support/v6.0/sorbet_test_cases.rb +16 -8
- data/spec/test_data/v5.0/expected_active_record_base.rbi +2 -2
- data/spec/test_data/v5.0/expected_active_record_relation.rbi +2 -2
- data/spec/test_data/v5.0/expected_headmaster.rbi +24 -0
- data/spec/test_data/v5.0/expected_internal_metadata.rbi +24 -0
- data/spec/test_data/v5.0/expected_potion.rbi +24 -0
- data/spec/test_data/v5.0/expected_robe.rbi +24 -0
- data/spec/test_data/v5.0/expected_schema_migration.rbi +24 -0
- data/spec/test_data/v5.0/expected_school.rbi +24 -0
- data/spec/test_data/v5.0/expected_spell.rbi +24 -0
- data/spec/test_data/v5.0/expected_spell/habtm_spell_books.rbi +24 -0
- data/spec/test_data/v5.0/expected_spell_book.rbi +24 -0
- data/spec/test_data/v5.0/expected_spell_book/habtm_spells.rbi +24 -0
- data/spec/test_data/v5.0/expected_squib.rbi +24 -0
- data/spec/test_data/v5.0/expected_subject.rbi +24 -0
- data/spec/test_data/v5.0/expected_subject/habtm_wizards.rbi +24 -0
- data/spec/test_data/v5.0/expected_wand.rbi +24 -0
- data/spec/test_data/v5.0/expected_wizard.rbi +24 -0
- data/spec/test_data/v5.0/expected_wizard/habtm_subjects.rbi +24 -0
- data/spec/test_data/v5.0/expected_wizard_wo_spellbook.rbi +24 -0
- data/spec/test_data/v5.1/expected_active_record_base.rbi +2 -2
- data/spec/test_data/v5.1/expected_active_record_relation.rbi +2 -2
- data/spec/test_data/v5.1/expected_headmaster.rbi +24 -0
- data/spec/test_data/v5.1/expected_internal_metadata.rbi +24 -0
- data/spec/test_data/v5.1/expected_potion.rbi +24 -0
- data/spec/test_data/v5.1/expected_robe.rbi +24 -0
- data/spec/test_data/v5.1/expected_schema_migration.rbi +24 -0
- data/spec/test_data/v5.1/expected_school.rbi +24 -0
- data/spec/test_data/v5.1/expected_spell.rbi +24 -0
- data/spec/test_data/v5.1/expected_spell/habtm_spell_books.rbi +24 -0
- data/spec/test_data/v5.1/expected_spell_book.rbi +24 -0
- data/spec/test_data/v5.1/expected_spell_book/habtm_spells.rbi +24 -0
- data/spec/test_data/v5.1/expected_squib.rbi +24 -0
- data/spec/test_data/v5.1/expected_subject.rbi +24 -0
- data/spec/test_data/v5.1/expected_subject/habtm_wizards.rbi +24 -0
- data/spec/test_data/v5.1/expected_wand.rbi +24 -0
- data/spec/test_data/v5.1/expected_wizard.rbi +24 -0
- data/spec/test_data/v5.1/expected_wizard/habtm_subjects.rbi +24 -0
- data/spec/test_data/v5.1/expected_wizard_wo_spellbook.rbi +24 -0
- data/spec/test_data/v5.2/expected_active_record_base.rbi +2 -2
- data/spec/test_data/v5.2/expected_active_record_relation.rbi +2 -2
- data/spec/test_data/v5.2/expected_attachment.rbi +24 -0
- data/spec/test_data/v5.2/expected_blob.rbi +24 -0
- data/spec/test_data/v5.2/expected_headmaster.rbi +24 -0
- data/spec/test_data/v5.2/expected_internal_metadata.rbi +24 -0
- data/spec/test_data/v5.2/expected_potion.rbi +24 -0
- data/spec/test_data/v5.2/expected_robe.rbi +24 -0
- data/spec/test_data/v5.2/expected_schema_migration.rbi +24 -0
- data/spec/test_data/v5.2/expected_school.rbi +24 -0
- data/spec/test_data/v5.2/expected_spell.rbi +24 -0
- data/spec/test_data/v5.2/expected_spell/habtm_spell_books.rbi +24 -0
- data/spec/test_data/v5.2/expected_spell_book.rbi +24 -0
- data/spec/test_data/v5.2/expected_spell_book/habtm_spells.rbi +24 -0
- data/spec/test_data/v5.2/expected_squib.rbi +24 -0
- data/spec/test_data/v5.2/expected_subject.rbi +24 -0
- data/spec/test_data/v5.2/expected_subject/habtm_wizards.rbi +24 -0
- data/spec/test_data/v5.2/expected_wand.rbi +24 -0
- data/spec/test_data/v5.2/expected_wizard.rbi +24 -0
- data/spec/test_data/v5.2/expected_wizard/habtm_subjects.rbi +24 -0
- data/spec/test_data/v5.2/expected_wizard_wo_spellbook.rbi +24 -0
- data/spec/test_data/v6.0/expected_active_record_base.rbi +2 -2
- data/spec/test_data/v6.0/expected_active_record_relation.rbi +10 -10
- data/spec/test_data/v6.0/expected_attachment.rbi +24 -0
- data/spec/test_data/v6.0/expected_blob.rbi +74 -38
- data/spec/test_data/v6.0/expected_headmaster.rbi +24 -0
- data/spec/test_data/v6.0/expected_internal_metadata.rbi +24 -0
- data/spec/test_data/v6.0/expected_potion.rbi +24 -0
- data/spec/test_data/v6.0/expected_robe.rbi +24 -0
- data/spec/test_data/v6.0/expected_routes.rbi +14 -7
- data/spec/test_data/v6.0/expected_schema_migration.rbi +24 -0
- data/spec/test_data/v6.0/expected_school.rbi +24 -0
- data/spec/test_data/v6.0/expected_spell.rbi +24 -0
- data/spec/test_data/v6.0/expected_spell/habtm_spell_books.rbi +24 -0
- data/spec/test_data/v6.0/expected_spell_book.rbi +119 -53
- data/spec/test_data/v6.0/expected_spell_book/habtm_spells.rbi +24 -0
- data/spec/test_data/v6.0/expected_squib.rbi +346 -100
- data/spec/test_data/v6.0/expected_subject.rbi +24 -0
- data/spec/test_data/v6.0/expected_subject/habtm_wizards.rbi +24 -0
- data/spec/test_data/v6.0/expected_wand.rbi +128 -56
- data/spec/test_data/v6.0/expected_wizard.rbi +346 -100
- data/spec/test_data/v6.0/expected_wizard/habtm_subjects.rbi +24 -0
- data/spec/test_data/v6.0/expected_wizard_wo_spellbook.rbi +346 -100
- metadata +1 -1
@@ -81,7 +81,7 @@ class ActiveRecord::Relation
|
|
81
81
|
def first_or_initialize(attributes = nil, &block); end
|
82
82
|
|
83
83
|
sig do
|
84
|
-
|
84
|
+
params(
|
85
85
|
start: T.nilable(Integer),
|
86
86
|
finish: T.nilable(Integer),
|
87
87
|
batch_size: T.nilable(Integer),
|
@@ -92,7 +92,7 @@ class ActiveRecord::Relation
|
|
92
92
|
def find_each(start: nil, finish: nil, batch_size: 1000, error_on_ignore: nil, &block); end
|
93
93
|
|
94
94
|
sig do
|
95
|
-
|
95
|
+
params(
|
96
96
|
start: T.nilable(Integer),
|
97
97
|
finish: T.nilable(Integer),
|
98
98
|
batch_size: T.nilable(Integer),
|
@@ -159,6 +159,18 @@ module Headmaster::QueryMethodsReturningRelation
|
|
159
159
|
|
160
160
|
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(Headmaster::ActiveRecord_Relation) }
|
161
161
|
def extending(*args, &block); end
|
162
|
+
|
163
|
+
sig do
|
164
|
+
params(
|
165
|
+
of: T.nilable(Integer),
|
166
|
+
start: T.nilable(Integer),
|
167
|
+
finish: T.nilable(Integer),
|
168
|
+
load: T.nilable(T::Boolean),
|
169
|
+
error_on_ignore: T.nilable(T::Boolean),
|
170
|
+
block: T.nilable(T.proc.params(e: Headmaster::ActiveRecord_Relation).void)
|
171
|
+
).returns(T::Enumerable[Headmaster::ActiveRecord_Relation])
|
172
|
+
end
|
173
|
+
def in_batches(of: 1000, start: nil, finish: nil, load: false, error_on_ignore: nil, &block); end
|
162
174
|
end
|
163
175
|
|
164
176
|
module Headmaster::QueryMethodsReturningAssociationRelation
|
@@ -245,6 +257,18 @@ module Headmaster::QueryMethodsReturningAssociationRelation
|
|
245
257
|
|
246
258
|
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(Headmaster::ActiveRecord_AssociationRelation) }
|
247
259
|
def extending(*args, &block); end
|
260
|
+
|
261
|
+
sig do
|
262
|
+
params(
|
263
|
+
of: T.nilable(Integer),
|
264
|
+
start: T.nilable(Integer),
|
265
|
+
finish: T.nilable(Integer),
|
266
|
+
load: T.nilable(T::Boolean),
|
267
|
+
error_on_ignore: T.nilable(T::Boolean),
|
268
|
+
block: T.nilable(T.proc.params(e: Headmaster::ActiveRecord_AssociationRelation).void)
|
269
|
+
).returns(T::Enumerable[Headmaster::ActiveRecord_AssociationRelation])
|
270
|
+
end
|
271
|
+
def in_batches(of: 1000, start: nil, finish: nil, load: false, error_on_ignore: nil, &block); end
|
248
272
|
end
|
249
273
|
|
250
274
|
class Headmaster::ActiveRecord_Relation < ActiveRecord::Relation
|
@@ -153,6 +153,18 @@ module ActiveRecord::InternalMetadata::QueryMethodsReturningRelation
|
|
153
153
|
|
154
154
|
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveRecord::InternalMetadata::ActiveRecord_Relation) }
|
155
155
|
def extending(*args, &block); end
|
156
|
+
|
157
|
+
sig do
|
158
|
+
params(
|
159
|
+
of: T.nilable(Integer),
|
160
|
+
start: T.nilable(Integer),
|
161
|
+
finish: T.nilable(Integer),
|
162
|
+
load: T.nilable(T::Boolean),
|
163
|
+
error_on_ignore: T.nilable(T::Boolean),
|
164
|
+
block: T.nilable(T.proc.params(e: ActiveRecord::InternalMetadata::ActiveRecord_Relation).void)
|
165
|
+
).returns(T::Enumerable[ActiveRecord::InternalMetadata::ActiveRecord_Relation])
|
166
|
+
end
|
167
|
+
def in_batches(of: 1000, start: nil, finish: nil, load: false, error_on_ignore: nil, &block); end
|
156
168
|
end
|
157
169
|
|
158
170
|
module ActiveRecord::InternalMetadata::QueryMethodsReturningAssociationRelation
|
@@ -239,6 +251,18 @@ module ActiveRecord::InternalMetadata::QueryMethodsReturningAssociationRelation
|
|
239
251
|
|
240
252
|
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveRecord::InternalMetadata::ActiveRecord_AssociationRelation) }
|
241
253
|
def extending(*args, &block); end
|
254
|
+
|
255
|
+
sig do
|
256
|
+
params(
|
257
|
+
of: T.nilable(Integer),
|
258
|
+
start: T.nilable(Integer),
|
259
|
+
finish: T.nilable(Integer),
|
260
|
+
load: T.nilable(T::Boolean),
|
261
|
+
error_on_ignore: T.nilable(T::Boolean),
|
262
|
+
block: T.nilable(T.proc.params(e: ActiveRecord::InternalMetadata::ActiveRecord_AssociationRelation).void)
|
263
|
+
).returns(T::Enumerable[ActiveRecord::InternalMetadata::ActiveRecord_AssociationRelation])
|
264
|
+
end
|
265
|
+
def in_batches(of: 1000, start: nil, finish: nil, load: false, error_on_ignore: nil, &block); end
|
242
266
|
end
|
243
267
|
|
244
268
|
class ActiveRecord::InternalMetadata::ActiveRecord_Relation < ActiveRecord::Relation
|
@@ -123,6 +123,18 @@ module Potion::QueryMethodsReturningRelation
|
|
123
123
|
|
124
124
|
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(Potion::ActiveRecord_Relation) }
|
125
125
|
def extending(*args, &block); end
|
126
|
+
|
127
|
+
sig do
|
128
|
+
params(
|
129
|
+
of: T.nilable(Integer),
|
130
|
+
start: T.nilable(Integer),
|
131
|
+
finish: T.nilable(Integer),
|
132
|
+
load: T.nilable(T::Boolean),
|
133
|
+
error_on_ignore: T.nilable(T::Boolean),
|
134
|
+
block: T.nilable(T.proc.params(e: Potion::ActiveRecord_Relation).void)
|
135
|
+
).returns(T::Enumerable[Potion::ActiveRecord_Relation])
|
136
|
+
end
|
137
|
+
def in_batches(of: 1000, start: nil, finish: nil, load: false, error_on_ignore: nil, &block); end
|
126
138
|
end
|
127
139
|
|
128
140
|
module Potion::QueryMethodsReturningAssociationRelation
|
@@ -209,6 +221,18 @@ module Potion::QueryMethodsReturningAssociationRelation
|
|
209
221
|
|
210
222
|
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(Potion::ActiveRecord_AssociationRelation) }
|
211
223
|
def extending(*args, &block); end
|
224
|
+
|
225
|
+
sig do
|
226
|
+
params(
|
227
|
+
of: T.nilable(Integer),
|
228
|
+
start: T.nilable(Integer),
|
229
|
+
finish: T.nilable(Integer),
|
230
|
+
load: T.nilable(T::Boolean),
|
231
|
+
error_on_ignore: T.nilable(T::Boolean),
|
232
|
+
block: T.nilable(T.proc.params(e: Potion::ActiveRecord_AssociationRelation).void)
|
233
|
+
).returns(T::Enumerable[Potion::ActiveRecord_AssociationRelation])
|
234
|
+
end
|
235
|
+
def in_batches(of: 1000, start: nil, finish: nil, load: false, error_on_ignore: nil, &block); end
|
212
236
|
end
|
213
237
|
|
214
238
|
class Potion::ActiveRecord_Relation < ActiveRecord::Relation
|
@@ -144,6 +144,18 @@ module Robe::QueryMethodsReturningRelation
|
|
144
144
|
|
145
145
|
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(Robe::ActiveRecord_Relation) }
|
146
146
|
def extending(*args, &block); end
|
147
|
+
|
148
|
+
sig do
|
149
|
+
params(
|
150
|
+
of: T.nilable(Integer),
|
151
|
+
start: T.nilable(Integer),
|
152
|
+
finish: T.nilable(Integer),
|
153
|
+
load: T.nilable(T::Boolean),
|
154
|
+
error_on_ignore: T.nilable(T::Boolean),
|
155
|
+
block: T.nilable(T.proc.params(e: Robe::ActiveRecord_Relation).void)
|
156
|
+
).returns(T::Enumerable[Robe::ActiveRecord_Relation])
|
157
|
+
end
|
158
|
+
def in_batches(of: 1000, start: nil, finish: nil, load: false, error_on_ignore: nil, &block); end
|
147
159
|
end
|
148
160
|
|
149
161
|
module Robe::QueryMethodsReturningAssociationRelation
|
@@ -230,6 +242,18 @@ module Robe::QueryMethodsReturningAssociationRelation
|
|
230
242
|
|
231
243
|
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(Robe::ActiveRecord_AssociationRelation) }
|
232
244
|
def extending(*args, &block); end
|
245
|
+
|
246
|
+
sig do
|
247
|
+
params(
|
248
|
+
of: T.nilable(Integer),
|
249
|
+
start: T.nilable(Integer),
|
250
|
+
finish: T.nilable(Integer),
|
251
|
+
load: T.nilable(T::Boolean),
|
252
|
+
error_on_ignore: T.nilable(T::Boolean),
|
253
|
+
block: T.nilable(T.proc.params(e: Robe::ActiveRecord_AssociationRelation).void)
|
254
|
+
).returns(T::Enumerable[Robe::ActiveRecord_AssociationRelation])
|
255
|
+
end
|
256
|
+
def in_batches(of: 1000, start: nil, finish: nil, load: false, error_on_ignore: nil, &block); end
|
233
257
|
end
|
234
258
|
|
235
259
|
class Robe::ActiveRecord_Relation < ActiveRecord::Relation
|
@@ -126,6 +126,18 @@ module ActiveRecord::SchemaMigration::QueryMethodsReturningRelation
|
|
126
126
|
|
127
127
|
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveRecord::SchemaMigration::ActiveRecord_Relation) }
|
128
128
|
def extending(*args, &block); end
|
129
|
+
|
130
|
+
sig do
|
131
|
+
params(
|
132
|
+
of: T.nilable(Integer),
|
133
|
+
start: T.nilable(Integer),
|
134
|
+
finish: T.nilable(Integer),
|
135
|
+
load: T.nilable(T::Boolean),
|
136
|
+
error_on_ignore: T.nilable(T::Boolean),
|
137
|
+
block: T.nilable(T.proc.params(e: ActiveRecord::SchemaMigration::ActiveRecord_Relation).void)
|
138
|
+
).returns(T::Enumerable[ActiveRecord::SchemaMigration::ActiveRecord_Relation])
|
139
|
+
end
|
140
|
+
def in_batches(of: 1000, start: nil, finish: nil, load: false, error_on_ignore: nil, &block); end
|
129
141
|
end
|
130
142
|
|
131
143
|
module ActiveRecord::SchemaMigration::QueryMethodsReturningAssociationRelation
|
@@ -212,6 +224,18 @@ module ActiveRecord::SchemaMigration::QueryMethodsReturningAssociationRelation
|
|
212
224
|
|
213
225
|
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveRecord::SchemaMigration::ActiveRecord_AssociationRelation) }
|
214
226
|
def extending(*args, &block); end
|
227
|
+
|
228
|
+
sig do
|
229
|
+
params(
|
230
|
+
of: T.nilable(Integer),
|
231
|
+
start: T.nilable(Integer),
|
232
|
+
finish: T.nilable(Integer),
|
233
|
+
load: T.nilable(T::Boolean),
|
234
|
+
error_on_ignore: T.nilable(T::Boolean),
|
235
|
+
block: T.nilable(T.proc.params(e: ActiveRecord::SchemaMigration::ActiveRecord_AssociationRelation).void)
|
236
|
+
).returns(T::Enumerable[ActiveRecord::SchemaMigration::ActiveRecord_AssociationRelation])
|
237
|
+
end
|
238
|
+
def in_batches(of: 1000, start: nil, finish: nil, load: false, error_on_ignore: nil, &block); end
|
215
239
|
end
|
216
240
|
|
217
241
|
class ActiveRecord::SchemaMigration::ActiveRecord_Relation < ActiveRecord::Relation
|
@@ -144,6 +144,18 @@ module School::QueryMethodsReturningRelation
|
|
144
144
|
|
145
145
|
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(School::ActiveRecord_Relation) }
|
146
146
|
def extending(*args, &block); end
|
147
|
+
|
148
|
+
sig do
|
149
|
+
params(
|
150
|
+
of: T.nilable(Integer),
|
151
|
+
start: T.nilable(Integer),
|
152
|
+
finish: T.nilable(Integer),
|
153
|
+
load: T.nilable(T::Boolean),
|
154
|
+
error_on_ignore: T.nilable(T::Boolean),
|
155
|
+
block: T.nilable(T.proc.params(e: School::ActiveRecord_Relation).void)
|
156
|
+
).returns(T::Enumerable[School::ActiveRecord_Relation])
|
157
|
+
end
|
158
|
+
def in_batches(of: 1000, start: nil, finish: nil, load: false, error_on_ignore: nil, &block); end
|
147
159
|
end
|
148
160
|
|
149
161
|
module School::QueryMethodsReturningAssociationRelation
|
@@ -230,6 +242,18 @@ module School::QueryMethodsReturningAssociationRelation
|
|
230
242
|
|
231
243
|
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(School::ActiveRecord_AssociationRelation) }
|
232
244
|
def extending(*args, &block); end
|
245
|
+
|
246
|
+
sig do
|
247
|
+
params(
|
248
|
+
of: T.nilable(Integer),
|
249
|
+
start: T.nilable(Integer),
|
250
|
+
finish: T.nilable(Integer),
|
251
|
+
load: T.nilable(T::Boolean),
|
252
|
+
error_on_ignore: T.nilable(T::Boolean),
|
253
|
+
block: T.nilable(T.proc.params(e: School::ActiveRecord_AssociationRelation).void)
|
254
|
+
).returns(T::Enumerable[School::ActiveRecord_AssociationRelation])
|
255
|
+
end
|
256
|
+
def in_batches(of: 1000, start: nil, finish: nil, load: false, error_on_ignore: nil, &block); end
|
233
257
|
end
|
234
258
|
|
235
259
|
class School::ActiveRecord_Relation < ActiveRecord::Relation
|
@@ -147,6 +147,18 @@ module Spell::QueryMethodsReturningRelation
|
|
147
147
|
|
148
148
|
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(Spell::ActiveRecord_Relation) }
|
149
149
|
def extending(*args, &block); end
|
150
|
+
|
151
|
+
sig do
|
152
|
+
params(
|
153
|
+
of: T.nilable(Integer),
|
154
|
+
start: T.nilable(Integer),
|
155
|
+
finish: T.nilable(Integer),
|
156
|
+
load: T.nilable(T::Boolean),
|
157
|
+
error_on_ignore: T.nilable(T::Boolean),
|
158
|
+
block: T.nilable(T.proc.params(e: Spell::ActiveRecord_Relation).void)
|
159
|
+
).returns(T::Enumerable[Spell::ActiveRecord_Relation])
|
160
|
+
end
|
161
|
+
def in_batches(of: 1000, start: nil, finish: nil, load: false, error_on_ignore: nil, &block); end
|
150
162
|
end
|
151
163
|
|
152
164
|
module Spell::QueryMethodsReturningAssociationRelation
|
@@ -233,6 +245,18 @@ module Spell::QueryMethodsReturningAssociationRelation
|
|
233
245
|
|
234
246
|
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(Spell::ActiveRecord_AssociationRelation) }
|
235
247
|
def extending(*args, &block); end
|
248
|
+
|
249
|
+
sig do
|
250
|
+
params(
|
251
|
+
of: T.nilable(Integer),
|
252
|
+
start: T.nilable(Integer),
|
253
|
+
finish: T.nilable(Integer),
|
254
|
+
load: T.nilable(T::Boolean),
|
255
|
+
error_on_ignore: T.nilable(T::Boolean),
|
256
|
+
block: T.nilable(T.proc.params(e: Spell::ActiveRecord_AssociationRelation).void)
|
257
|
+
).returns(T::Enumerable[Spell::ActiveRecord_AssociationRelation])
|
258
|
+
end
|
259
|
+
def in_batches(of: 1000, start: nil, finish: nil, load: false, error_on_ignore: nil, &block); end
|
236
260
|
end
|
237
261
|
|
238
262
|
class Spell::ActiveRecord_Relation < ActiveRecord::Relation
|
@@ -150,6 +150,18 @@ module Spell::HABTM_SpellBooks::QueryMethodsReturningRelation
|
|
150
150
|
|
151
151
|
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(Spell::HABTM_SpellBooks::ActiveRecord_Relation) }
|
152
152
|
def extending(*args, &block); end
|
153
|
+
|
154
|
+
sig do
|
155
|
+
params(
|
156
|
+
of: T.nilable(Integer),
|
157
|
+
start: T.nilable(Integer),
|
158
|
+
finish: T.nilable(Integer),
|
159
|
+
load: T.nilable(T::Boolean),
|
160
|
+
error_on_ignore: T.nilable(T::Boolean),
|
161
|
+
block: T.nilable(T.proc.params(e: Spell::HABTM_SpellBooks::ActiveRecord_Relation).void)
|
162
|
+
).returns(T::Enumerable[Spell::HABTM_SpellBooks::ActiveRecord_Relation])
|
163
|
+
end
|
164
|
+
def in_batches(of: 1000, start: nil, finish: nil, load: false, error_on_ignore: nil, &block); end
|
153
165
|
end
|
154
166
|
|
155
167
|
module Spell::HABTM_SpellBooks::QueryMethodsReturningAssociationRelation
|
@@ -236,6 +248,18 @@ module Spell::HABTM_SpellBooks::QueryMethodsReturningAssociationRelation
|
|
236
248
|
|
237
249
|
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(Spell::HABTM_SpellBooks::ActiveRecord_AssociationRelation) }
|
238
250
|
def extending(*args, &block); end
|
251
|
+
|
252
|
+
sig do
|
253
|
+
params(
|
254
|
+
of: T.nilable(Integer),
|
255
|
+
start: T.nilable(Integer),
|
256
|
+
finish: T.nilable(Integer),
|
257
|
+
load: T.nilable(T::Boolean),
|
258
|
+
error_on_ignore: T.nilable(T::Boolean),
|
259
|
+
block: T.nilable(T.proc.params(e: Spell::HABTM_SpellBooks::ActiveRecord_AssociationRelation).void)
|
260
|
+
).returns(T::Enumerable[Spell::HABTM_SpellBooks::ActiveRecord_AssociationRelation])
|
261
|
+
end
|
262
|
+
def in_batches(of: 1000, start: nil, finish: nil, load: false, error_on_ignore: nil, &block); end
|
239
263
|
end
|
240
264
|
|
241
265
|
class Spell::HABTM_SpellBooks::ActiveRecord_Relation < ActiveRecord::Relation
|
@@ -290,6 +290,18 @@ module SpellBook::QueryMethodsReturningRelation
|
|
290
290
|
|
291
291
|
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(SpellBook::ActiveRecord_Relation) }
|
292
292
|
def extending(*args, &block); end
|
293
|
+
|
294
|
+
sig do
|
295
|
+
params(
|
296
|
+
of: T.nilable(Integer),
|
297
|
+
start: T.nilable(Integer),
|
298
|
+
finish: T.nilable(Integer),
|
299
|
+
load: T.nilable(T::Boolean),
|
300
|
+
error_on_ignore: T.nilable(T::Boolean),
|
301
|
+
block: T.nilable(T.proc.params(e: SpellBook::ActiveRecord_Relation).void)
|
302
|
+
).returns(T::Enumerable[SpellBook::ActiveRecord_Relation])
|
303
|
+
end
|
304
|
+
def in_batches(of: 1000, start: nil, finish: nil, load: false, error_on_ignore: nil, &block); end
|
293
305
|
end
|
294
306
|
|
295
307
|
module SpellBook::QueryMethodsReturningAssociationRelation
|
@@ -376,4 +388,16 @@ module SpellBook::QueryMethodsReturningAssociationRelation
|
|
376
388
|
|
377
389
|
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(SpellBook::ActiveRecord_AssociationRelation) }
|
378
390
|
def extending(*args, &block); end
|
391
|
+
|
392
|
+
sig do
|
393
|
+
params(
|
394
|
+
of: T.nilable(Integer),
|
395
|
+
start: T.nilable(Integer),
|
396
|
+
finish: T.nilable(Integer),
|
397
|
+
load: T.nilable(T::Boolean),
|
398
|
+
error_on_ignore: T.nilable(T::Boolean),
|
399
|
+
block: T.nilable(T.proc.params(e: SpellBook::ActiveRecord_AssociationRelation).void)
|
400
|
+
).returns(T::Enumerable[SpellBook::ActiveRecord_AssociationRelation])
|
401
|
+
end
|
402
|
+
def in_batches(of: 1000, start: nil, finish: nil, load: false, error_on_ignore: nil, &block); end
|
379
403
|
end
|
@@ -150,6 +150,18 @@ module SpellBook::HABTM_Spells::QueryMethodsReturningRelation
|
|
150
150
|
|
151
151
|
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(SpellBook::HABTM_Spells::ActiveRecord_Relation) }
|
152
152
|
def extending(*args, &block); end
|
153
|
+
|
154
|
+
sig do
|
155
|
+
params(
|
156
|
+
of: T.nilable(Integer),
|
157
|
+
start: T.nilable(Integer),
|
158
|
+
finish: T.nilable(Integer),
|
159
|
+
load: T.nilable(T::Boolean),
|
160
|
+
error_on_ignore: T.nilable(T::Boolean),
|
161
|
+
block: T.nilable(T.proc.params(e: SpellBook::HABTM_Spells::ActiveRecord_Relation).void)
|
162
|
+
).returns(T::Enumerable[SpellBook::HABTM_Spells::ActiveRecord_Relation])
|
163
|
+
end
|
164
|
+
def in_batches(of: 1000, start: nil, finish: nil, load: false, error_on_ignore: nil, &block); end
|
153
165
|
end
|
154
166
|
|
155
167
|
module SpellBook::HABTM_Spells::QueryMethodsReturningAssociationRelation
|
@@ -236,6 +248,18 @@ module SpellBook::HABTM_Spells::QueryMethodsReturningAssociationRelation
|
|
236
248
|
|
237
249
|
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(SpellBook::HABTM_Spells::ActiveRecord_AssociationRelation) }
|
238
250
|
def extending(*args, &block); end
|
251
|
+
|
252
|
+
sig do
|
253
|
+
params(
|
254
|
+
of: T.nilable(Integer),
|
255
|
+
start: T.nilable(Integer),
|
256
|
+
finish: T.nilable(Integer),
|
257
|
+
load: T.nilable(T::Boolean),
|
258
|
+
error_on_ignore: T.nilable(T::Boolean),
|
259
|
+
block: T.nilable(T.proc.params(e: SpellBook::HABTM_Spells::ActiveRecord_AssociationRelation).void)
|
260
|
+
).returns(T::Enumerable[SpellBook::HABTM_Spells::ActiveRecord_AssociationRelation])
|
261
|
+
end
|
262
|
+
def in_batches(of: 1000, start: nil, finish: nil, load: false, error_on_ignore: nil, &block); end
|
239
263
|
end
|
240
264
|
|
241
265
|
class SpellBook::HABTM_Spells::ActiveRecord_Relation < ActiveRecord::Relation
|
@@ -656,6 +656,18 @@ module Squib::QueryMethodsReturningRelation
|
|
656
656
|
|
657
657
|
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(Squib::ActiveRecord_Relation) }
|
658
658
|
def extending(*args, &block); end
|
659
|
+
|
660
|
+
sig do
|
661
|
+
params(
|
662
|
+
of: T.nilable(Integer),
|
663
|
+
start: T.nilable(Integer),
|
664
|
+
finish: T.nilable(Integer),
|
665
|
+
load: T.nilable(T::Boolean),
|
666
|
+
error_on_ignore: T.nilable(T::Boolean),
|
667
|
+
block: T.nilable(T.proc.params(e: Squib::ActiveRecord_Relation).void)
|
668
|
+
).returns(T::Enumerable[Squib::ActiveRecord_Relation])
|
669
|
+
end
|
670
|
+
def in_batches(of: 1000, start: nil, finish: nil, load: false, error_on_ignore: nil, &block); end
|
659
671
|
end
|
660
672
|
|
661
673
|
module Squib::QueryMethodsReturningAssociationRelation
|
@@ -742,4 +754,16 @@ module Squib::QueryMethodsReturningAssociationRelation
|
|
742
754
|
|
743
755
|
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(Squib::ActiveRecord_AssociationRelation) }
|
744
756
|
def extending(*args, &block); end
|
757
|
+
|
758
|
+
sig do
|
759
|
+
params(
|
760
|
+
of: T.nilable(Integer),
|
761
|
+
start: T.nilable(Integer),
|
762
|
+
finish: T.nilable(Integer),
|
763
|
+
load: T.nilable(T::Boolean),
|
764
|
+
error_on_ignore: T.nilable(T::Boolean),
|
765
|
+
block: T.nilable(T.proc.params(e: Squib::ActiveRecord_AssociationRelation).void)
|
766
|
+
).returns(T::Enumerable[Squib::ActiveRecord_AssociationRelation])
|
767
|
+
end
|
768
|
+
def in_batches(of: 1000, start: nil, finish: nil, load: false, error_on_ignore: nil, &block); end
|
745
769
|
end
|
@@ -147,6 +147,18 @@ module Subject::QueryMethodsReturningRelation
|
|
147
147
|
|
148
148
|
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(Subject::ActiveRecord_Relation) }
|
149
149
|
def extending(*args, &block); end
|
150
|
+
|
151
|
+
sig do
|
152
|
+
params(
|
153
|
+
of: T.nilable(Integer),
|
154
|
+
start: T.nilable(Integer),
|
155
|
+
finish: T.nilable(Integer),
|
156
|
+
load: T.nilable(T::Boolean),
|
157
|
+
error_on_ignore: T.nilable(T::Boolean),
|
158
|
+
block: T.nilable(T.proc.params(e: Subject::ActiveRecord_Relation).void)
|
159
|
+
).returns(T::Enumerable[Subject::ActiveRecord_Relation])
|
160
|
+
end
|
161
|
+
def in_batches(of: 1000, start: nil, finish: nil, load: false, error_on_ignore: nil, &block); end
|
150
162
|
end
|
151
163
|
|
152
164
|
module Subject::QueryMethodsReturningAssociationRelation
|
@@ -233,6 +245,18 @@ module Subject::QueryMethodsReturningAssociationRelation
|
|
233
245
|
|
234
246
|
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(Subject::ActiveRecord_AssociationRelation) }
|
235
247
|
def extending(*args, &block); end
|
248
|
+
|
249
|
+
sig do
|
250
|
+
params(
|
251
|
+
of: T.nilable(Integer),
|
252
|
+
start: T.nilable(Integer),
|
253
|
+
finish: T.nilable(Integer),
|
254
|
+
load: T.nilable(T::Boolean),
|
255
|
+
error_on_ignore: T.nilable(T::Boolean),
|
256
|
+
block: T.nilable(T.proc.params(e: Subject::ActiveRecord_AssociationRelation).void)
|
257
|
+
).returns(T::Enumerable[Subject::ActiveRecord_AssociationRelation])
|
258
|
+
end
|
259
|
+
def in_batches(of: 1000, start: nil, finish: nil, load: false, error_on_ignore: nil, &block); end
|
236
260
|
end
|
237
261
|
|
238
262
|
class Subject::ActiveRecord_Relation < ActiveRecord::Relation
|