sorbet-rails 0.6.5 → 0.6.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sorbet-rails/model_plugins/active_record_querying.rb +2 -2
- data/sorbet-rails.gemspec +1 -1
- data/spec/generators/sorbet_test_cases.rb +1 -1
- data/spec/support/v5.0/Gemfile.lock +1 -1
- data/spec/support/v5.0/sorbet_test_cases.rb +1 -1
- data/spec/support/v5.1/Gemfile.lock +1 -1
- data/spec/support/v5.1/sorbet_test_cases.rb +1 -1
- data/spec/support/v5.2/Gemfile.lock +1 -1
- data/spec/support/v5.2/sorbet_test_cases.rb +1 -1
- data/spec/support/v6.0/Gemfile.lock +1 -1
- data/spec/support/v6.0/sorbet_test_cases.rb +1 -1
- data/spec/test_data/v5.0/expected_headmaster.rbi +2 -2
- data/spec/test_data/v5.0/expected_internal_metadata.rbi +2 -2
- data/spec/test_data/v5.0/expected_potion.rbi +2 -2
- data/spec/test_data/v5.0/expected_robe.rbi +2 -2
- data/spec/test_data/v5.0/expected_schema_migration.rbi +2 -2
- data/spec/test_data/v5.0/expected_school.rbi +2 -2
- data/spec/test_data/v5.0/expected_spell.rbi +2 -2
- data/spec/test_data/v5.0/expected_spell/habtm_spell_books.rbi +2 -2
- data/spec/test_data/v5.0/expected_spell_book.rbi +2 -2
- data/spec/test_data/v5.0/expected_spell_book/habtm_spells.rbi +2 -2
- data/spec/test_data/v5.0/expected_squib.rbi +2 -2
- data/spec/test_data/v5.0/expected_subject.rbi +2 -2
- data/spec/test_data/v5.0/expected_subject/habtm_wizards.rbi +2 -2
- data/spec/test_data/v5.0/expected_wand.rbi +2 -2
- data/spec/test_data/v5.0/expected_wizard.rbi +2 -2
- data/spec/test_data/v5.0/expected_wizard/habtm_subjects.rbi +2 -2
- data/spec/test_data/v5.0/expected_wizard_wo_spellbook.rbi +2 -2
- data/spec/test_data/v5.1/expected_headmaster.rbi +2 -2
- data/spec/test_data/v5.1/expected_internal_metadata.rbi +2 -2
- data/spec/test_data/v5.1/expected_potion.rbi +2 -2
- data/spec/test_data/v5.1/expected_robe.rbi +2 -2
- data/spec/test_data/v5.1/expected_schema_migration.rbi +2 -2
- data/spec/test_data/v5.1/expected_school.rbi +2 -2
- data/spec/test_data/v5.1/expected_spell.rbi +2 -2
- data/spec/test_data/v5.1/expected_spell/habtm_spell_books.rbi +2 -2
- data/spec/test_data/v5.1/expected_spell_book.rbi +2 -2
- data/spec/test_data/v5.1/expected_spell_book/habtm_spells.rbi +2 -2
- data/spec/test_data/v5.1/expected_squib.rbi +2 -2
- data/spec/test_data/v5.1/expected_subject.rbi +2 -2
- data/spec/test_data/v5.1/expected_subject/habtm_wizards.rbi +2 -2
- data/spec/test_data/v5.1/expected_wand.rbi +2 -2
- data/spec/test_data/v5.1/expected_wizard.rbi +2 -2
- data/spec/test_data/v5.1/expected_wizard/habtm_subjects.rbi +2 -2
- data/spec/test_data/v5.1/expected_wizard_wo_spellbook.rbi +2 -2
- data/spec/test_data/v5.2/expected_attachment.rbi +2 -2
- data/spec/test_data/v5.2/expected_blob.rbi +2 -2
- data/spec/test_data/v5.2/expected_headmaster.rbi +2 -2
- data/spec/test_data/v5.2/expected_internal_metadata.rbi +2 -2
- data/spec/test_data/v5.2/expected_potion.rbi +2 -2
- data/spec/test_data/v5.2/expected_robe.rbi +2 -2
- data/spec/test_data/v5.2/expected_schema_migration.rbi +2 -2
- data/spec/test_data/v5.2/expected_school.rbi +2 -2
- data/spec/test_data/v5.2/expected_spell.rbi +2 -2
- data/spec/test_data/v5.2/expected_spell/habtm_spell_books.rbi +2 -2
- data/spec/test_data/v5.2/expected_spell_book.rbi +2 -2
- data/spec/test_data/v5.2/expected_spell_book/habtm_spells.rbi +2 -2
- data/spec/test_data/v5.2/expected_squib.rbi +2 -2
- data/spec/test_data/v5.2/expected_subject.rbi +2 -2
- data/spec/test_data/v5.2/expected_subject/habtm_wizards.rbi +2 -2
- data/spec/test_data/v5.2/expected_wand.rbi +2 -2
- data/spec/test_data/v5.2/expected_wizard.rbi +2 -2
- data/spec/test_data/v5.2/expected_wizard/habtm_subjects.rbi +2 -2
- data/spec/test_data/v5.2/expected_wizard_wo_spellbook.rbi +2 -2
- data/spec/test_data/v6.0/expected_attachment.rbi +2 -2
- data/spec/test_data/v6.0/expected_blob.rbi +2 -2
- data/spec/test_data/v6.0/expected_headmaster.rbi +2 -2
- data/spec/test_data/v6.0/expected_internal_metadata.rbi +2 -2
- data/spec/test_data/v6.0/expected_potion.rbi +2 -2
- data/spec/test_data/v6.0/expected_robe.rbi +2 -2
- data/spec/test_data/v6.0/expected_schema_migration.rbi +2 -2
- data/spec/test_data/v6.0/expected_school.rbi +2 -2
- data/spec/test_data/v6.0/expected_spell.rbi +2 -2
- data/spec/test_data/v6.0/expected_spell/habtm_spell_books.rbi +2 -2
- data/spec/test_data/v6.0/expected_spell_book.rbi +2 -2
- data/spec/test_data/v6.0/expected_spell_book/habtm_spells.rbi +2 -2
- data/spec/test_data/v6.0/expected_squib.rbi +2 -2
- data/spec/test_data/v6.0/expected_subject.rbi +2 -2
- data/spec/test_data/v6.0/expected_subject/habtm_wizards.rbi +2 -2
- data/spec/test_data/v6.0/expected_wand.rbi +2 -2
- data/spec/test_data/v6.0/expected_wizard.rbi +2 -2
- data/spec/test_data/v6.0/expected_wizard/habtm_subjects.rbi +2 -2
- data/spec/test_data/v6.0/expected_wizard_wo_spellbook.rbi +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f6f3cc66ce41d3adeddca63531a8d5f6dd98ccc8f936a41d89215ed33423bc2d
|
4
|
+
data.tar.gz: 9ca5aa9adc679b3e230f3a2fa0c1116bd679a42af9df53821ccbbace6ad6db67
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 012505f4ca8d8eed70dba2309dcdecba0fcd76d8695e55e5301fe9c16c033ffccb330acc631a5f38a867f4b8b7dc73e665bad40d3bca767096b741b10c745d95
|
7
|
+
data.tar.gz: c8b3e2eb74c5bc1f44cc3130deb36c693c4b24aeed08698d4c36da28794f12b228c5b855030106e3b4d41f6d79bb71f38c90c674561551621599051629186931
|
@@ -74,7 +74,7 @@ class SorbetRails::ModelPlugins::ActiveRecordQuerying < SorbetRails::ModelPlugin
|
|
74
74
|
Parameter.new("error_on_ignore:", type: "T.nilable(T::Boolean)", default: "nil"),
|
75
75
|
Parameter.new("&block", type: "T.nilable(T.proc.params(e: #{inner_type}).void)"),
|
76
76
|
],
|
77
|
-
return_type: "
|
77
|
+
return_type: "ActiveRecord::Batches::BatchEnumerator",
|
78
78
|
)
|
79
79
|
end
|
80
|
-
end
|
80
|
+
end
|
data/sorbet-rails.gemspec
CHANGED
@@ -64,7 +64,7 @@ T.assert_type!(Wizard.find_each, T::Enumerator[Wizard])
|
|
64
64
|
Wizard.find_in_batches { |w| T.assert_type!(w, T::Array[Wizard]) }
|
65
65
|
T.assert_type!(Wizard.find_in_batches, T::Enumerator[T::Array[Wizard]])
|
66
66
|
Wizard.in_batches { |w| T.assert_type!(w, Wizard::ActiveRecord_Relation) }
|
67
|
-
T.assert_type!(Wizard.in_batches,
|
67
|
+
T.assert_type!(Wizard.in_batches, ActiveRecord::Batches::BatchEnumerator)
|
68
68
|
# T.assert_type!(Wizard.destroy_all, T::Array[Wizard]) # Ignored until we add support
|
69
69
|
T.assert_type!(Wizard.any?, T::Boolean)
|
70
70
|
T.assert_type!(Wizard.many?, T::Boolean)
|
@@ -64,7 +64,7 @@ T.assert_type!(Wizard.find_each, T::Enumerator[Wizard])
|
|
64
64
|
Wizard.find_in_batches { |w| T.assert_type!(w, T::Array[Wizard]) }
|
65
65
|
T.assert_type!(Wizard.find_in_batches, T::Enumerator[T::Array[Wizard]])
|
66
66
|
Wizard.in_batches { |w| T.assert_type!(w, Wizard::ActiveRecord_Relation) }
|
67
|
-
T.assert_type!(Wizard.in_batches,
|
67
|
+
T.assert_type!(Wizard.in_batches, ActiveRecord::Batches::BatchEnumerator)
|
68
68
|
# T.assert_type!(Wizard.destroy_all, T::Array[Wizard]) # Ignored until we add support
|
69
69
|
T.assert_type!(Wizard.any?, T::Boolean)
|
70
70
|
T.assert_type!(Wizard.many?, T::Boolean)
|
@@ -64,7 +64,7 @@ T.assert_type!(Wizard.find_each, T::Enumerator[Wizard])
|
|
64
64
|
Wizard.find_in_batches { |w| T.assert_type!(w, T::Array[Wizard]) }
|
65
65
|
T.assert_type!(Wizard.find_in_batches, T::Enumerator[T::Array[Wizard]])
|
66
66
|
Wizard.in_batches { |w| T.assert_type!(w, Wizard::ActiveRecord_Relation) }
|
67
|
-
T.assert_type!(Wizard.in_batches,
|
67
|
+
T.assert_type!(Wizard.in_batches, ActiveRecord::Batches::BatchEnumerator)
|
68
68
|
# T.assert_type!(Wizard.destroy_all, T::Array[Wizard]) # Ignored until we add support
|
69
69
|
T.assert_type!(Wizard.any?, T::Boolean)
|
70
70
|
T.assert_type!(Wizard.many?, T::Boolean)
|
@@ -64,7 +64,7 @@ T.assert_type!(Wizard.find_each, T::Enumerator[Wizard])
|
|
64
64
|
Wizard.find_in_batches { |w| T.assert_type!(w, T::Array[Wizard]) }
|
65
65
|
T.assert_type!(Wizard.find_in_batches, T::Enumerator[T::Array[Wizard]])
|
66
66
|
Wizard.in_batches { |w| T.assert_type!(w, Wizard::ActiveRecord_Relation) }
|
67
|
-
T.assert_type!(Wizard.in_batches,
|
67
|
+
T.assert_type!(Wizard.in_batches, ActiveRecord::Batches::BatchEnumerator)
|
68
68
|
# T.assert_type!(Wizard.destroy_all, T::Array[Wizard]) # Ignored until we add support
|
69
69
|
T.assert_type!(Wizard.any?, T::Boolean)
|
70
70
|
T.assert_type!(Wizard.many?, T::Boolean)
|
@@ -64,7 +64,7 @@ T.assert_type!(Wizard.find_each, T::Enumerator[Wizard])
|
|
64
64
|
Wizard.find_in_batches { |w| T.assert_type!(w, T::Array[Wizard]) }
|
65
65
|
T.assert_type!(Wizard.find_in_batches, T::Enumerator[T::Array[Wizard]])
|
66
66
|
Wizard.in_batches { |w| T.assert_type!(w, Wizard::ActiveRecord_Relation) }
|
67
|
-
T.assert_type!(Wizard.in_batches,
|
67
|
+
T.assert_type!(Wizard.in_batches, ActiveRecord::Batches::BatchEnumerator)
|
68
68
|
# T.assert_type!(Wizard.destroy_all, T::Array[Wizard]) # Ignored until we add support
|
69
69
|
T.assert_type!(Wizard.any?, T::Boolean)
|
70
70
|
T.assert_type!(Wizard.many?, T::Boolean)
|
@@ -168,7 +168,7 @@ module Headmaster::QueryMethodsReturningRelation
|
|
168
168
|
load: T.nilable(T::Boolean),
|
169
169
|
error_on_ignore: T.nilable(T::Boolean),
|
170
170
|
block: T.nilable(T.proc.params(e: Headmaster::ActiveRecord_Relation).void)
|
171
|
-
).returns(
|
171
|
+
).returns(ActiveRecord::Batches::BatchEnumerator)
|
172
172
|
end
|
173
173
|
def in_batches(of: 1000, start: nil, finish: nil, load: false, error_on_ignore: nil, &block); end
|
174
174
|
end
|
@@ -266,7 +266,7 @@ module Headmaster::QueryMethodsReturningAssociationRelation
|
|
266
266
|
load: T.nilable(T::Boolean),
|
267
267
|
error_on_ignore: T.nilable(T::Boolean),
|
268
268
|
block: T.nilable(T.proc.params(e: Headmaster::ActiveRecord_AssociationRelation).void)
|
269
|
-
).returns(
|
269
|
+
).returns(ActiveRecord::Batches::BatchEnumerator)
|
270
270
|
end
|
271
271
|
def in_batches(of: 1000, start: nil, finish: nil, load: false, error_on_ignore: nil, &block); end
|
272
272
|
end
|
@@ -162,7 +162,7 @@ module ActiveRecord::InternalMetadata::QueryMethodsReturningRelation
|
|
162
162
|
load: T.nilable(T::Boolean),
|
163
163
|
error_on_ignore: T.nilable(T::Boolean),
|
164
164
|
block: T.nilable(T.proc.params(e: ActiveRecord::InternalMetadata::ActiveRecord_Relation).void)
|
165
|
-
).returns(
|
165
|
+
).returns(ActiveRecord::Batches::BatchEnumerator)
|
166
166
|
end
|
167
167
|
def in_batches(of: 1000, start: nil, finish: nil, load: false, error_on_ignore: nil, &block); end
|
168
168
|
end
|
@@ -260,7 +260,7 @@ module ActiveRecord::InternalMetadata::QueryMethodsReturningAssociationRelation
|
|
260
260
|
load: T.nilable(T::Boolean),
|
261
261
|
error_on_ignore: T.nilable(T::Boolean),
|
262
262
|
block: T.nilable(T.proc.params(e: ActiveRecord::InternalMetadata::ActiveRecord_AssociationRelation).void)
|
263
|
-
).returns(
|
263
|
+
).returns(ActiveRecord::Batches::BatchEnumerator)
|
264
264
|
end
|
265
265
|
def in_batches(of: 1000, start: nil, finish: nil, load: false, error_on_ignore: nil, &block); end
|
266
266
|
end
|
@@ -132,7 +132,7 @@ module Potion::QueryMethodsReturningRelation
|
|
132
132
|
load: T.nilable(T::Boolean),
|
133
133
|
error_on_ignore: T.nilable(T::Boolean),
|
134
134
|
block: T.nilable(T.proc.params(e: Potion::ActiveRecord_Relation).void)
|
135
|
-
).returns(
|
135
|
+
).returns(ActiveRecord::Batches::BatchEnumerator)
|
136
136
|
end
|
137
137
|
def in_batches(of: 1000, start: nil, finish: nil, load: false, error_on_ignore: nil, &block); end
|
138
138
|
end
|
@@ -230,7 +230,7 @@ module Potion::QueryMethodsReturningAssociationRelation
|
|
230
230
|
load: T.nilable(T::Boolean),
|
231
231
|
error_on_ignore: T.nilable(T::Boolean),
|
232
232
|
block: T.nilable(T.proc.params(e: Potion::ActiveRecord_AssociationRelation).void)
|
233
|
-
).returns(
|
233
|
+
).returns(ActiveRecord::Batches::BatchEnumerator)
|
234
234
|
end
|
235
235
|
def in_batches(of: 1000, start: nil, finish: nil, load: false, error_on_ignore: nil, &block); end
|
236
236
|
end
|
@@ -153,7 +153,7 @@ module Robe::QueryMethodsReturningRelation
|
|
153
153
|
load: T.nilable(T::Boolean),
|
154
154
|
error_on_ignore: T.nilable(T::Boolean),
|
155
155
|
block: T.nilable(T.proc.params(e: Robe::ActiveRecord_Relation).void)
|
156
|
-
).returns(
|
156
|
+
).returns(ActiveRecord::Batches::BatchEnumerator)
|
157
157
|
end
|
158
158
|
def in_batches(of: 1000, start: nil, finish: nil, load: false, error_on_ignore: nil, &block); end
|
159
159
|
end
|
@@ -251,7 +251,7 @@ module Robe::QueryMethodsReturningAssociationRelation
|
|
251
251
|
load: T.nilable(T::Boolean),
|
252
252
|
error_on_ignore: T.nilable(T::Boolean),
|
253
253
|
block: T.nilable(T.proc.params(e: Robe::ActiveRecord_AssociationRelation).void)
|
254
|
-
).returns(
|
254
|
+
).returns(ActiveRecord::Batches::BatchEnumerator)
|
255
255
|
end
|
256
256
|
def in_batches(of: 1000, start: nil, finish: nil, load: false, error_on_ignore: nil, &block); end
|
257
257
|
end
|
@@ -135,7 +135,7 @@ module ActiveRecord::SchemaMigration::QueryMethodsReturningRelation
|
|
135
135
|
load: T.nilable(T::Boolean),
|
136
136
|
error_on_ignore: T.nilable(T::Boolean),
|
137
137
|
block: T.nilable(T.proc.params(e: ActiveRecord::SchemaMigration::ActiveRecord_Relation).void)
|
138
|
-
).returns(
|
138
|
+
).returns(ActiveRecord::Batches::BatchEnumerator)
|
139
139
|
end
|
140
140
|
def in_batches(of: 1000, start: nil, finish: nil, load: false, error_on_ignore: nil, &block); end
|
141
141
|
end
|
@@ -233,7 +233,7 @@ module ActiveRecord::SchemaMigration::QueryMethodsReturningAssociationRelation
|
|
233
233
|
load: T.nilable(T::Boolean),
|
234
234
|
error_on_ignore: T.nilable(T::Boolean),
|
235
235
|
block: T.nilable(T.proc.params(e: ActiveRecord::SchemaMigration::ActiveRecord_AssociationRelation).void)
|
236
|
-
).returns(
|
236
|
+
).returns(ActiveRecord::Batches::BatchEnumerator)
|
237
237
|
end
|
238
238
|
def in_batches(of: 1000, start: nil, finish: nil, load: false, error_on_ignore: nil, &block); end
|
239
239
|
end
|
@@ -153,7 +153,7 @@ module School::QueryMethodsReturningRelation
|
|
153
153
|
load: T.nilable(T::Boolean),
|
154
154
|
error_on_ignore: T.nilable(T::Boolean),
|
155
155
|
block: T.nilable(T.proc.params(e: School::ActiveRecord_Relation).void)
|
156
|
-
).returns(
|
156
|
+
).returns(ActiveRecord::Batches::BatchEnumerator)
|
157
157
|
end
|
158
158
|
def in_batches(of: 1000, start: nil, finish: nil, load: false, error_on_ignore: nil, &block); end
|
159
159
|
end
|
@@ -251,7 +251,7 @@ module School::QueryMethodsReturningAssociationRelation
|
|
251
251
|
load: T.nilable(T::Boolean),
|
252
252
|
error_on_ignore: T.nilable(T::Boolean),
|
253
253
|
block: T.nilable(T.proc.params(e: School::ActiveRecord_AssociationRelation).void)
|
254
|
-
).returns(
|
254
|
+
).returns(ActiveRecord::Batches::BatchEnumerator)
|
255
255
|
end
|
256
256
|
def in_batches(of: 1000, start: nil, finish: nil, load: false, error_on_ignore: nil, &block); end
|
257
257
|
end
|
@@ -156,7 +156,7 @@ module Spell::QueryMethodsReturningRelation
|
|
156
156
|
load: T.nilable(T::Boolean),
|
157
157
|
error_on_ignore: T.nilable(T::Boolean),
|
158
158
|
block: T.nilable(T.proc.params(e: Spell::ActiveRecord_Relation).void)
|
159
|
-
).returns(
|
159
|
+
).returns(ActiveRecord::Batches::BatchEnumerator)
|
160
160
|
end
|
161
161
|
def in_batches(of: 1000, start: nil, finish: nil, load: false, error_on_ignore: nil, &block); end
|
162
162
|
end
|
@@ -254,7 +254,7 @@ module Spell::QueryMethodsReturningAssociationRelation
|
|
254
254
|
load: T.nilable(T::Boolean),
|
255
255
|
error_on_ignore: T.nilable(T::Boolean),
|
256
256
|
block: T.nilable(T.proc.params(e: Spell::ActiveRecord_AssociationRelation).void)
|
257
|
-
).returns(
|
257
|
+
).returns(ActiveRecord::Batches::BatchEnumerator)
|
258
258
|
end
|
259
259
|
def in_batches(of: 1000, start: nil, finish: nil, load: false, error_on_ignore: nil, &block); end
|
260
260
|
end
|
@@ -159,7 +159,7 @@ module Spell::HABTM_SpellBooks::QueryMethodsReturningRelation
|
|
159
159
|
load: T.nilable(T::Boolean),
|
160
160
|
error_on_ignore: T.nilable(T::Boolean),
|
161
161
|
block: T.nilable(T.proc.params(e: Spell::HABTM_SpellBooks::ActiveRecord_Relation).void)
|
162
|
-
).returns(
|
162
|
+
).returns(ActiveRecord::Batches::BatchEnumerator)
|
163
163
|
end
|
164
164
|
def in_batches(of: 1000, start: nil, finish: nil, load: false, error_on_ignore: nil, &block); end
|
165
165
|
end
|
@@ -257,7 +257,7 @@ module Spell::HABTM_SpellBooks::QueryMethodsReturningAssociationRelation
|
|
257
257
|
load: T.nilable(T::Boolean),
|
258
258
|
error_on_ignore: T.nilable(T::Boolean),
|
259
259
|
block: T.nilable(T.proc.params(e: Spell::HABTM_SpellBooks::ActiveRecord_AssociationRelation).void)
|
260
|
-
).returns(
|
260
|
+
).returns(ActiveRecord::Batches::BatchEnumerator)
|
261
261
|
end
|
262
262
|
def in_batches(of: 1000, start: nil, finish: nil, load: false, error_on_ignore: nil, &block); end
|
263
263
|
end
|
@@ -299,7 +299,7 @@ module SpellBook::QueryMethodsReturningRelation
|
|
299
299
|
load: T.nilable(T::Boolean),
|
300
300
|
error_on_ignore: T.nilable(T::Boolean),
|
301
301
|
block: T.nilable(T.proc.params(e: SpellBook::ActiveRecord_Relation).void)
|
302
|
-
).returns(
|
302
|
+
).returns(ActiveRecord::Batches::BatchEnumerator)
|
303
303
|
end
|
304
304
|
def in_batches(of: 1000, start: nil, finish: nil, load: false, error_on_ignore: nil, &block); end
|
305
305
|
end
|
@@ -397,7 +397,7 @@ module SpellBook::QueryMethodsReturningAssociationRelation
|
|
397
397
|
load: T.nilable(T::Boolean),
|
398
398
|
error_on_ignore: T.nilable(T::Boolean),
|
399
399
|
block: T.nilable(T.proc.params(e: SpellBook::ActiveRecord_AssociationRelation).void)
|
400
|
-
).returns(
|
400
|
+
).returns(ActiveRecord::Batches::BatchEnumerator)
|
401
401
|
end
|
402
402
|
def in_batches(of: 1000, start: nil, finish: nil, load: false, error_on_ignore: nil, &block); end
|
403
403
|
end
|
@@ -159,7 +159,7 @@ module SpellBook::HABTM_Spells::QueryMethodsReturningRelation
|
|
159
159
|
load: T.nilable(T::Boolean),
|
160
160
|
error_on_ignore: T.nilable(T::Boolean),
|
161
161
|
block: T.nilable(T.proc.params(e: SpellBook::HABTM_Spells::ActiveRecord_Relation).void)
|
162
|
-
).returns(
|
162
|
+
).returns(ActiveRecord::Batches::BatchEnumerator)
|
163
163
|
end
|
164
164
|
def in_batches(of: 1000, start: nil, finish: nil, load: false, error_on_ignore: nil, &block); end
|
165
165
|
end
|
@@ -257,7 +257,7 @@ module SpellBook::HABTM_Spells::QueryMethodsReturningAssociationRelation
|
|
257
257
|
load: T.nilable(T::Boolean),
|
258
258
|
error_on_ignore: T.nilable(T::Boolean),
|
259
259
|
block: T.nilable(T.proc.params(e: SpellBook::HABTM_Spells::ActiveRecord_AssociationRelation).void)
|
260
|
-
).returns(
|
260
|
+
).returns(ActiveRecord::Batches::BatchEnumerator)
|
261
261
|
end
|
262
262
|
def in_batches(of: 1000, start: nil, finish: nil, load: false, error_on_ignore: nil, &block); end
|
263
263
|
end
|
@@ -665,7 +665,7 @@ module Squib::QueryMethodsReturningRelation
|
|
665
665
|
load: T.nilable(T::Boolean),
|
666
666
|
error_on_ignore: T.nilable(T::Boolean),
|
667
667
|
block: T.nilable(T.proc.params(e: Squib::ActiveRecord_Relation).void)
|
668
|
-
).returns(
|
668
|
+
).returns(ActiveRecord::Batches::BatchEnumerator)
|
669
669
|
end
|
670
670
|
def in_batches(of: 1000, start: nil, finish: nil, load: false, error_on_ignore: nil, &block); end
|
671
671
|
end
|
@@ -763,7 +763,7 @@ module Squib::QueryMethodsReturningAssociationRelation
|
|
763
763
|
load: T.nilable(T::Boolean),
|
764
764
|
error_on_ignore: T.nilable(T::Boolean),
|
765
765
|
block: T.nilable(T.proc.params(e: Squib::ActiveRecord_AssociationRelation).void)
|
766
|
-
).returns(
|
766
|
+
).returns(ActiveRecord::Batches::BatchEnumerator)
|
767
767
|
end
|
768
768
|
def in_batches(of: 1000, start: nil, finish: nil, load: false, error_on_ignore: nil, &block); end
|
769
769
|
end
|
@@ -156,7 +156,7 @@ module Subject::QueryMethodsReturningRelation
|
|
156
156
|
load: T.nilable(T::Boolean),
|
157
157
|
error_on_ignore: T.nilable(T::Boolean),
|
158
158
|
block: T.nilable(T.proc.params(e: Subject::ActiveRecord_Relation).void)
|
159
|
-
).returns(
|
159
|
+
).returns(ActiveRecord::Batches::BatchEnumerator)
|
160
160
|
end
|
161
161
|
def in_batches(of: 1000, start: nil, finish: nil, load: false, error_on_ignore: nil, &block); end
|
162
162
|
end
|
@@ -254,7 +254,7 @@ module Subject::QueryMethodsReturningAssociationRelation
|
|
254
254
|
load: T.nilable(T::Boolean),
|
255
255
|
error_on_ignore: T.nilable(T::Boolean),
|
256
256
|
block: T.nilable(T.proc.params(e: Subject::ActiveRecord_AssociationRelation).void)
|
257
|
-
).returns(
|
257
|
+
).returns(ActiveRecord::Batches::BatchEnumerator)
|
258
258
|
end
|
259
259
|
def in_batches(of: 1000, start: nil, finish: nil, load: false, error_on_ignore: nil, &block); end
|
260
260
|
end
|
@@ -159,7 +159,7 @@ module Subject::HABTM_Wizards::QueryMethodsReturningRelation
|
|
159
159
|
load: T.nilable(T::Boolean),
|
160
160
|
error_on_ignore: T.nilable(T::Boolean),
|
161
161
|
block: T.nilable(T.proc.params(e: Subject::HABTM_Wizards::ActiveRecord_Relation).void)
|
162
|
-
).returns(
|
162
|
+
).returns(ActiveRecord::Batches::BatchEnumerator)
|
163
163
|
end
|
164
164
|
def in_batches(of: 1000, start: nil, finish: nil, load: false, error_on_ignore: nil, &block); end
|
165
165
|
end
|
@@ -257,7 +257,7 @@ module Subject::HABTM_Wizards::QueryMethodsReturningAssociationRelation
|
|
257
257
|
load: T.nilable(T::Boolean),
|
258
258
|
error_on_ignore: T.nilable(T::Boolean),
|
259
259
|
block: T.nilable(T.proc.params(e: Subject::HABTM_Wizards::ActiveRecord_AssociationRelation).void)
|
260
|
-
).returns(
|
260
|
+
).returns(ActiveRecord::Batches::BatchEnumerator)
|
261
261
|
end
|
262
262
|
def in_batches(of: 1000, start: nil, finish: nil, load: false, error_on_ignore: nil, &block); end
|
263
263
|
end
|
@@ -381,7 +381,7 @@ module Wand::QueryMethodsReturningRelation
|
|
381
381
|
load: T.nilable(T::Boolean),
|
382
382
|
error_on_ignore: T.nilable(T::Boolean),
|
383
383
|
block: T.nilable(T.proc.params(e: Wand::ActiveRecord_Relation).void)
|
384
|
-
).returns(
|
384
|
+
).returns(ActiveRecord::Batches::BatchEnumerator)
|
385
385
|
end
|
386
386
|
def in_batches(of: 1000, start: nil, finish: nil, load: false, error_on_ignore: nil, &block); end
|
387
387
|
end
|
@@ -479,7 +479,7 @@ module Wand::QueryMethodsReturningAssociationRelation
|
|
479
479
|
load: T.nilable(T::Boolean),
|
480
480
|
error_on_ignore: T.nilable(T::Boolean),
|
481
481
|
block: T.nilable(T.proc.params(e: Wand::ActiveRecord_AssociationRelation).void)
|
482
|
-
).returns(
|
482
|
+
).returns(ActiveRecord::Batches::BatchEnumerator)
|
483
483
|
end
|
484
484
|
def in_batches(of: 1000, start: nil, finish: nil, load: false, error_on_ignore: nil, &block); end
|
485
485
|
end
|
@@ -741,7 +741,7 @@ module Wizard::QueryMethodsReturningRelation
|
|
741
741
|
load: T.nilable(T::Boolean),
|
742
742
|
error_on_ignore: T.nilable(T::Boolean),
|
743
743
|
block: T.nilable(T.proc.params(e: Wizard::ActiveRecord_Relation).void)
|
744
|
-
).returns(
|
744
|
+
).returns(ActiveRecord::Batches::BatchEnumerator)
|
745
745
|
end
|
746
746
|
def in_batches(of: 1000, start: nil, finish: nil, load: false, error_on_ignore: nil, &block); end
|
747
747
|
end
|
@@ -839,7 +839,7 @@ module Wizard::QueryMethodsReturningAssociationRelation
|
|
839
839
|
load: T.nilable(T::Boolean),
|
840
840
|
error_on_ignore: T.nilable(T::Boolean),
|
841
841
|
block: T.nilable(T.proc.params(e: Wizard::ActiveRecord_AssociationRelation).void)
|
842
|
-
).returns(
|
842
|
+
).returns(ActiveRecord::Batches::BatchEnumerator)
|
843
843
|
end
|
844
844
|
def in_batches(of: 1000, start: nil, finish: nil, load: false, error_on_ignore: nil, &block); end
|
845
845
|
end
|
@@ -159,7 +159,7 @@ module Wizard::HABTM_Subjects::QueryMethodsReturningRelation
|
|
159
159
|
load: T.nilable(T::Boolean),
|
160
160
|
error_on_ignore: T.nilable(T::Boolean),
|
161
161
|
block: T.nilable(T.proc.params(e: Wizard::HABTM_Subjects::ActiveRecord_Relation).void)
|
162
|
-
).returns(
|
162
|
+
).returns(ActiveRecord::Batches::BatchEnumerator)
|
163
163
|
end
|
164
164
|
def in_batches(of: 1000, start: nil, finish: nil, load: false, error_on_ignore: nil, &block); end
|
165
165
|
end
|
@@ -257,7 +257,7 @@ module Wizard::HABTM_Subjects::QueryMethodsReturningAssociationRelation
|
|
257
257
|
load: T.nilable(T::Boolean),
|
258
258
|
error_on_ignore: T.nilable(T::Boolean),
|
259
259
|
block: T.nilable(T.proc.params(e: Wizard::HABTM_Subjects::ActiveRecord_AssociationRelation).void)
|
260
|
-
).returns(
|
260
|
+
).returns(ActiveRecord::Batches::BatchEnumerator)
|
261
261
|
end
|
262
262
|
def in_batches(of: 1000, start: nil, finish: nil, load: false, error_on_ignore: nil, &block); end
|
263
263
|
end
|
@@ -735,7 +735,7 @@ module Wizard::QueryMethodsReturningRelation
|
|
735
735
|
load: T.nilable(T::Boolean),
|
736
736
|
error_on_ignore: T.nilable(T::Boolean),
|
737
737
|
block: T.nilable(T.proc.params(e: Wizard::ActiveRecord_Relation).void)
|
738
|
-
).returns(
|
738
|
+
).returns(ActiveRecord::Batches::BatchEnumerator)
|
739
739
|
end
|
740
740
|
def in_batches(of: 1000, start: nil, finish: nil, load: false, error_on_ignore: nil, &block); end
|
741
741
|
end
|
@@ -833,7 +833,7 @@ module Wizard::QueryMethodsReturningAssociationRelation
|
|
833
833
|
load: T.nilable(T::Boolean),
|
834
834
|
error_on_ignore: T.nilable(T::Boolean),
|
835
835
|
block: T.nilable(T.proc.params(e: Wizard::ActiveRecord_AssociationRelation).void)
|
836
|
-
).returns(
|
836
|
+
).returns(ActiveRecord::Batches::BatchEnumerator)
|
837
837
|
end
|
838
838
|
def in_batches(of: 1000, start: nil, finish: nil, load: false, error_on_ignore: nil, &block); end
|
839
839
|
end
|
@@ -171,7 +171,7 @@ module Headmaster::QueryMethodsReturningRelation
|
|
171
171
|
load: T.nilable(T::Boolean),
|
172
172
|
error_on_ignore: T.nilable(T::Boolean),
|
173
173
|
block: T.nilable(T.proc.params(e: Headmaster::ActiveRecord_Relation).void)
|
174
|
-
).returns(
|
174
|
+
).returns(ActiveRecord::Batches::BatchEnumerator)
|
175
175
|
end
|
176
176
|
def in_batches(of: 1000, start: nil, finish: nil, load: false, error_on_ignore: nil, &block); end
|
177
177
|
end
|
@@ -272,7 +272,7 @@ module Headmaster::QueryMethodsReturningAssociationRelation
|
|
272
272
|
load: T.nilable(T::Boolean),
|
273
273
|
error_on_ignore: T.nilable(T::Boolean),
|
274
274
|
block: T.nilable(T.proc.params(e: Headmaster::ActiveRecord_AssociationRelation).void)
|
275
|
-
).returns(
|
275
|
+
).returns(ActiveRecord::Batches::BatchEnumerator)
|
276
276
|
end
|
277
277
|
def in_batches(of: 1000, start: nil, finish: nil, load: false, error_on_ignore: nil, &block); end
|
278
278
|
end
|