sorbet-rails 0.7.23 → 0.7.27
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +8 -0
- data/lib/sorbet-rails/active_record_rbi_formatter.rb +1 -1
- data/lib/sorbet-rails/model_plugins/active_record_querying.rb +1 -1
- data/lib/sorbet-rails/model_rbi_formatter.rb +4 -1
- data/spec/test_data/v5.2/expected_active_record_base.rbi +4 -4
- data/spec/test_data/v5.2/expected_active_record_relation.rbi +4 -4
- 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/habtm_spell_books.rbi +2 -2
- data/spec/test_data/v5.2/expected_spell.rbi +2 -2
- data/spec/test_data/v5.2/expected_spell_book/habtm_spells.rbi +2 -2
- data/spec/test_data/v5.2/expected_spell_book.rbi +2 -2
- data/spec/test_data/v5.2/expected_squib.rbi +2 -2
- data/spec/test_data/v5.2/expected_subject/habtm_wizards.rbi +2 -2
- data/spec/test_data/v5.2/expected_subject.rbi +2 -2
- data/spec/test_data/v5.2/expected_wand.rbi +2 -2
- data/spec/test_data/v5.2/expected_wizard/habtm_subjects.rbi +2 -2
- data/spec/test_data/v5.2/expected_wizard.rbi +2 -2
- data/spec/test_data/v5.2/expected_wizard_wo_spellbook.rbi +2 -2
- data/spec/test_data/v6.0/expected_active_record_base.rbi +4 -4
- data/spec/test_data/v6.0/expected_active_record_relation.rbi +4 -4
- 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/habtm_spell_books.rbi +2 -2
- data/spec/test_data/v6.0/expected_spell.rbi +2 -2
- data/spec/test_data/v6.0/expected_spell_book/habtm_spells.rbi +2 -2
- data/spec/test_data/v6.0/expected_spell_book.rbi +2 -2
- data/spec/test_data/v6.0/expected_squib.rbi +2 -2
- data/spec/test_data/v6.0/expected_subject/habtm_wizards.rbi +2 -2
- data/spec/test_data/v6.0/expected_subject.rbi +2 -2
- data/spec/test_data/v6.0/expected_wand.rbi +2 -2
- data/spec/test_data/v6.0/expected_wizard/habtm_subjects.rbi +2 -2
- data/spec/test_data/v6.0/expected_wizard.rbi +2 -2
- data/spec/test_data/v6.0/expected_wizard_wo_spellbook.rbi +2 -2
- data/spec/test_data/v6.1/expected_active_record_base.rbi +4 -4
- data/spec/test_data/v6.1/expected_active_record_relation.rbi +4 -4
- data/spec/test_data/v6.1/expected_attachment.rbi +2 -2
- data/spec/test_data/v6.1/expected_blob.rbi +2 -2
- data/spec/test_data/v6.1/expected_headmaster.rbi +2 -2
- data/spec/test_data/v6.1/expected_internal_metadata.rbi +2 -2
- data/spec/test_data/v6.1/expected_potion.rbi +2 -2
- data/spec/test_data/v6.1/expected_record.rbi +2 -2
- data/spec/test_data/v6.1/expected_robe.rbi +2 -2
- data/spec/test_data/v6.1/expected_schema_migration.rbi +2 -2
- data/spec/test_data/v6.1/expected_school.rbi +2 -2
- data/spec/test_data/v6.1/expected_spell/habtm_spell_books.rbi +2 -2
- data/spec/test_data/v6.1/expected_spell.rbi +2 -2
- data/spec/test_data/v6.1/expected_spell_book/habtm_spells.rbi +2 -2
- data/spec/test_data/v6.1/expected_spell_book.rbi +2 -2
- data/spec/test_data/v6.1/expected_squib.rbi +2 -2
- data/spec/test_data/v6.1/expected_subject/habtm_wizards.rbi +2 -2
- data/spec/test_data/v6.1/expected_subject.rbi +2 -2
- data/spec/test_data/v6.1/expected_variant_record.rbi +2 -2
- data/spec/test_data/v6.1/expected_wand.rbi +2 -2
- data/spec/test_data/v6.1/expected_wizard/habtm_subjects.rbi +2 -2
- data/spec/test_data/v6.1/expected_wizard.rbi +2 -2
- data/spec/test_data/v6.1/expected_wizard_wo_spellbook.rbi +2 -2
- metadata +1 -1
@@ -172,7 +172,7 @@ module ActiveStorage::VariantRecord::QueryMethodsReturningRelation
|
|
172
172
|
sig { params(block: T.proc.params(e: ActiveStorage::VariantRecord).returns(T::Boolean)).returns(T::Array[ActiveStorage::VariantRecord]) }
|
173
173
|
def select(&block); end
|
174
174
|
|
175
|
-
sig { params(args: T.any(String, Symbol)).returns(ActiveStorage::VariantRecord::ActiveRecord_Relation) }
|
175
|
+
sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(ActiveStorage::VariantRecord::ActiveRecord_Relation) }
|
176
176
|
def select_columns(*args); end
|
177
177
|
|
178
178
|
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveStorage::VariantRecord::ActiveRecord_Relation) }
|
@@ -288,7 +288,7 @@ module ActiveStorage::VariantRecord::QueryMethodsReturningAssociationRelation
|
|
288
288
|
sig { params(block: T.proc.params(e: ActiveStorage::VariantRecord).returns(T::Boolean)).returns(T::Array[ActiveStorage::VariantRecord]) }
|
289
289
|
def select(&block); end
|
290
290
|
|
291
|
-
sig { params(args: T.any(String, Symbol)).returns(ActiveStorage::VariantRecord::ActiveRecord_AssociationRelation) }
|
291
|
+
sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(ActiveStorage::VariantRecord::ActiveRecord_AssociationRelation) }
|
292
292
|
def select_columns(*args); end
|
293
293
|
|
294
294
|
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveStorage::VariantRecord::ActiveRecord_AssociationRelation) }
|
@@ -463,7 +463,7 @@ module Wand::QueryMethodsReturningRelation
|
|
463
463
|
sig { params(block: T.proc.params(e: Wand).returns(T::Boolean)).returns(T::Array[Wand]) }
|
464
464
|
def select(&block); end
|
465
465
|
|
466
|
-
sig { params(args: T.any(String, Symbol)).returns(Wand::ActiveRecord_Relation) }
|
466
|
+
sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(Wand::ActiveRecord_Relation) }
|
467
467
|
def select_columns(*args); end
|
468
468
|
|
469
469
|
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(Wand::ActiveRecord_Relation) }
|
@@ -579,7 +579,7 @@ module Wand::QueryMethodsReturningAssociationRelation
|
|
579
579
|
sig { params(block: T.proc.params(e: Wand).returns(T::Boolean)).returns(T::Array[Wand]) }
|
580
580
|
def select(&block); end
|
581
581
|
|
582
|
-
sig { params(args: T.any(String, Symbol)).returns(Wand::ActiveRecord_AssociationRelation) }
|
582
|
+
sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(Wand::ActiveRecord_AssociationRelation) }
|
583
583
|
def select_columns(*args); end
|
584
584
|
|
585
585
|
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(Wand::ActiveRecord_AssociationRelation) }
|
@@ -187,7 +187,7 @@ module Wizard::HABTM_Subjects::QueryMethodsReturningRelation
|
|
187
187
|
sig { params(block: T.proc.params(e: Wizard::HABTM_Subjects).returns(T::Boolean)).returns(T::Array[Wizard::HABTM_Subjects]) }
|
188
188
|
def select(&block); end
|
189
189
|
|
190
|
-
sig { params(args: T.any(String, Symbol)).returns(Wizard::HABTM_Subjects::ActiveRecord_Relation) }
|
190
|
+
sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(Wizard::HABTM_Subjects::ActiveRecord_Relation) }
|
191
191
|
def select_columns(*args); end
|
192
192
|
|
193
193
|
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(Wizard::HABTM_Subjects::ActiveRecord_Relation) }
|
@@ -303,7 +303,7 @@ module Wizard::HABTM_Subjects::QueryMethodsReturningAssociationRelation
|
|
303
303
|
sig { params(block: T.proc.params(e: Wizard::HABTM_Subjects).returns(T::Boolean)).returns(T::Array[Wizard::HABTM_Subjects]) }
|
304
304
|
def select(&block); end
|
305
305
|
|
306
|
-
sig { params(args: T.any(String, Symbol)).returns(Wizard::HABTM_Subjects::ActiveRecord_AssociationRelation) }
|
306
|
+
sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(Wizard::HABTM_Subjects::ActiveRecord_AssociationRelation) }
|
307
307
|
def select_columns(*args); end
|
308
308
|
|
309
309
|
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(Wizard::HABTM_Subjects::ActiveRecord_AssociationRelation) }
|
@@ -1100,7 +1100,7 @@ module Wizard::QueryMethodsReturningRelation
|
|
1100
1100
|
sig { params(block: T.proc.params(e: Wizard).returns(T::Boolean)).returns(T::Array[Wizard]) }
|
1101
1101
|
def select(&block); end
|
1102
1102
|
|
1103
|
-
sig { params(args: T.any(String, Symbol)).returns(Wizard::ActiveRecord_Relation) }
|
1103
|
+
sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(Wizard::ActiveRecord_Relation) }
|
1104
1104
|
def select_columns(*args); end
|
1105
1105
|
|
1106
1106
|
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(Wizard::ActiveRecord_Relation) }
|
@@ -1216,7 +1216,7 @@ module Wizard::QueryMethodsReturningAssociationRelation
|
|
1216
1216
|
sig { params(block: T.proc.params(e: Wizard).returns(T::Boolean)).returns(T::Array[Wizard]) }
|
1217
1217
|
def select(&block); end
|
1218
1218
|
|
1219
|
-
sig { params(args: T.any(String, Symbol)).returns(Wizard::ActiveRecord_AssociationRelation) }
|
1219
|
+
sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(Wizard::ActiveRecord_AssociationRelation) }
|
1220
1220
|
def select_columns(*args); end
|
1221
1221
|
|
1222
1222
|
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(Wizard::ActiveRecord_AssociationRelation) }
|
@@ -1100,7 +1100,7 @@ module Wizard::QueryMethodsReturningRelation
|
|
1100
1100
|
sig { params(block: T.proc.params(e: Wizard).returns(T::Boolean)).returns(T::Array[Wizard]) }
|
1101
1101
|
def select(&block); end
|
1102
1102
|
|
1103
|
-
sig { params(args: T.any(String, Symbol)).returns(Wizard::ActiveRecord_Relation) }
|
1103
|
+
sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(Wizard::ActiveRecord_Relation) }
|
1104
1104
|
def select_columns(*args); end
|
1105
1105
|
|
1106
1106
|
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(Wizard::ActiveRecord_Relation) }
|
@@ -1216,7 +1216,7 @@ module Wizard::QueryMethodsReturningAssociationRelation
|
|
1216
1216
|
sig { params(block: T.proc.params(e: Wizard).returns(T::Boolean)).returns(T::Array[Wizard]) }
|
1217
1217
|
def select(&block); end
|
1218
1218
|
|
1219
|
-
sig { params(args: T.any(String, Symbol)).returns(Wizard::ActiveRecord_AssociationRelation) }
|
1219
|
+
sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(Wizard::ActiveRecord_AssociationRelation) }
|
1220
1220
|
def select_columns(*args); end
|
1221
1221
|
|
1222
1222
|
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(Wizard::ActiveRecord_AssociationRelation) }
|