sorbet-rails 0.5.4 → 0.5.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 +1 -1
- data/README.md +48 -17
- data/lib/bundled_rbi/parameters.rbi +50 -0
- data/lib/sorbet-rails.rb +1 -0
- data/lib/sorbet-rails/gem_plugins/friendly_id_plugin.rb +1 -1
- data/lib/sorbet-rails/gem_plugins/kaminari_plugin.rb +1 -1
- data/lib/sorbet-rails/gem_plugins/pg_search_plugin.rb +1 -1
- data/lib/sorbet-rails/mailer_rbi_formatter.rb +2 -2
- data/lib/sorbet-rails/model_plugins/active_record_assoc.rb +1 -1
- data/lib/sorbet-rails/model_plugins/active_record_attribute.rb +1 -1
- data/lib/sorbet-rails/model_plugins/active_record_enum.rb +1 -1
- data/lib/sorbet-rails/model_plugins/active_record_finder_methods.rb +1 -1
- data/lib/sorbet-rails/model_plugins/active_record_named_scope.rb +1 -1
- data/lib/sorbet-rails/model_plugins/active_record_querying.rb +1 -1
- data/lib/sorbet-rails/model_plugins/active_relation_where_not.rb +1 -1
- data/lib/sorbet-rails/model_plugins/active_storage_methods.rb +1 -1
- data/lib/sorbet-rails/model_plugins/base.rb +1 -1
- data/lib/sorbet-rails/model_plugins/custom_finder_methods.rb +1 -1
- data/lib/sorbet-rails/model_plugins/enumerable_collections.rb +1 -1
- data/lib/sorbet-rails/model_plugins/plugins.rb +0 -1
- data/lib/sorbet-rails/model_rbi_formatter.rb +5 -3
- data/lib/sorbet-rails/{model_plugins → rails_mixins}/active_record_overrides.rb +0 -0
- data/lib/sorbet-rails/{custom_finder_methods.rb → rails_mixins/custom_finder_methods.rb} +1 -1
- data/lib/sorbet-rails/rails_mixins/custom_params_methods.rb +46 -0
- data/lib/sorbet-rails/railtie.rb +8 -1
- data/lib/sorbet-rails/routes_rbi_formatter.rb +1 -2
- data/lib/sorbet-rails/tasks/rails_rbi.rake +22 -0
- data/lib/sorbet-rails/type_assert/type_assert.rb +18 -0
- data/lib/sorbet-rails/type_assert/type_assert_impl.rb +26 -0
- data/lib/sorbet-rails/type_assert/type_assert_interface.rb +16 -0
- data/sorbet-rails.gemspec +2 -2
- data/spec/custom_finder_methods_spec.rb +5 -0
- data/spec/custom_params_methods_spec.rb +138 -0
- data/spec/generators/sorbet_test_cases.rb +49 -0
- data/spec/model_rbi_formatter_spec.rb +10 -3
- data/spec/sorbet_spec.rb +1 -5
- data/spec/support/v4.2/Gemfile.lock +3 -3
- data/spec/support/v4.2/sorbet_test_cases.rb +49 -0
- data/spec/support/v5.0/Gemfile.lock +3 -3
- data/spec/support/v5.0/sorbet_test_cases.rb +49 -0
- data/spec/support/v5.1/Gemfile.lock +3 -3
- data/spec/support/v5.1/sorbet_test_cases.rb +49 -0
- data/spec/support/v5.2/Gemfile.lock +3 -3
- data/spec/support/v5.2/sorbet_test_cases.rb +49 -0
- data/spec/support/v6.0/Gemfile.lock +3 -3
- data/spec/support/v6.0/sorbet_test_cases.rb +49 -0
- data/spec/test_data/v4.2/expected_helpers.rbi +1 -1
- data/spec/test_data/v4.2/expected_helpers_with_application_and_devise_helpers.rbi +1 -1
- data/spec/test_data/v4.2/expected_potion.rbi +3 -3
- data/spec/test_data/v4.2/expected_spell_book.rbi +3 -3
- data/spec/test_data/v4.2/expected_wand.rbi +3 -3
- data/spec/test_data/v4.2/expected_wizard.rbi +3 -3
- data/spec/test_data/v4.2/expected_wizard_wo_spellbook.rbi +3 -3
- data/spec/test_data/v5.0/expected_helpers.rbi +1 -1
- data/spec/test_data/v5.0/expected_helpers_with_application_and_devise_helpers.rbi +1 -1
- data/spec/test_data/v5.0/expected_internal_metadata.rbi +3 -3
- data/spec/test_data/v5.0/expected_potion.rbi +3 -3
- data/spec/test_data/v5.0/expected_schema_migration.rbi +3 -3
- data/spec/test_data/v5.0/expected_spell_book.rbi +3 -3
- data/spec/test_data/v5.0/expected_wand.rbi +3 -3
- data/spec/test_data/v5.0/expected_wizard.rbi +3 -3
- data/spec/test_data/v5.0/expected_wizard_wo_spellbook.rbi +3 -3
- data/spec/test_data/v5.1/expected_helpers.rbi +1 -1
- data/spec/test_data/v5.1/expected_helpers_with_application_and_devise_helpers.rbi +1 -1
- data/spec/test_data/v5.1/expected_internal_metadata.rbi +3 -3
- data/spec/test_data/v5.1/expected_potion.rbi +3 -3
- data/spec/test_data/v5.1/expected_schema_migration.rbi +3 -3
- data/spec/test_data/v5.1/expected_spell_book.rbi +3 -3
- data/spec/test_data/v5.1/expected_wand.rbi +3 -3
- data/spec/test_data/v5.1/expected_wizard.rbi +3 -3
- data/spec/test_data/v5.1/expected_wizard_wo_spellbook.rbi +3 -3
- data/spec/test_data/v5.2/expected_attachment.rbi +3 -3
- data/spec/test_data/v5.2/expected_blob.rbi +3 -3
- data/spec/test_data/v5.2/expected_helpers.rbi +1 -1
- data/spec/test_data/v5.2/expected_helpers_with_application_and_devise_helpers.rbi +1 -1
- data/spec/test_data/v5.2/expected_internal_metadata.rbi +3 -3
- data/spec/test_data/v5.2/expected_potion.rbi +3 -3
- data/spec/test_data/v5.2/expected_schema_migration.rbi +3 -3
- data/spec/test_data/v5.2/expected_spell_book.rbi +3 -3
- data/spec/test_data/v5.2/expected_wand.rbi +3 -3
- data/spec/test_data/v5.2/expected_wizard.rbi +3 -3
- data/spec/test_data/v5.2/expected_wizard_wo_spellbook.rbi +3 -3
- data/spec/test_data/v6.0/expected_attachment.rbi +3 -3
- data/spec/test_data/v6.0/expected_blob.rbi +3 -3
- data/spec/test_data/v6.0/expected_helpers.rbi +1 -1
- data/spec/test_data/v6.0/expected_helpers_with_application_and_devise_helpers.rbi +1 -1
- data/spec/test_data/v6.0/expected_internal_metadata.rbi +3 -3
- data/spec/test_data/v6.0/expected_potion.rbi +3 -3
- data/spec/test_data/v6.0/expected_schema_migration.rbi +3 -3
- data/spec/test_data/v6.0/expected_spell_book.rbi +3 -3
- data/spec/test_data/v6.0/expected_wand.rbi +3 -3
- data/spec/test_data/v6.0/expected_wizard.rbi +3 -3
- data/spec/test_data/v6.0/expected_wizard_wo_spellbook.rbi +3 -3
- metadata +12 -33
- data/spec/test_data/v5.2-no-sorbet/expected_attachment.rbi +0 -725
- data/spec/test_data/v5.2-no-sorbet/expected_blob.rbi +0 -755
- data/spec/test_data/v5.2-no-sorbet/expected_helpers.rbi +0 -22
- data/spec/test_data/v5.2-no-sorbet/expected_helpers_with_application_and_devise_helpers.rbi +0 -29
- data/spec/test_data/v5.2-no-sorbet/expected_internal_metadata.rbi +0 -749
- data/spec/test_data/v5.2-no-sorbet/expected_no_routes.rbi +0 -4
- data/spec/test_data/v5.2-no-sorbet/expected_potion.rbi +0 -708
- data/spec/test_data/v5.2-no-sorbet/expected_routes.rbi +0 -54
- data/spec/test_data/v5.2-no-sorbet/expected_schema_migration.rbi +0 -722
- data/spec/test_data/v5.2-no-sorbet/expected_spell_book.rbi +0 -822
- data/spec/test_data/v5.2-no-sorbet/expected_srb_tc_output.txt +0 -1
- data/spec/test_data/v5.2-no-sorbet/expected_wand.rbi +0 -933
- data/spec/test_data/v5.2-no-sorbet/expected_wizard.rbi +0 -885
- data/spec/test_data/v5.2-no-sorbet/expected_wizard_wo_spellbook.rbi +0 -885
@@ -500,7 +500,7 @@ class Wizard::ActiveRecord_Relation < ActiveRecord::Relation
|
|
500
500
|
sig { params(args: T.untyped).returns(T::Boolean) }
|
501
501
|
def one?(*args); end
|
502
502
|
|
503
|
-
sig {
|
503
|
+
sig { override.params(block: T.proc.params(e: Wizard).void).void }
|
504
504
|
def each(&block); end
|
505
505
|
|
506
506
|
sig { params(level: T.nilable(Integer)).returns(T::Array[Wizard]) }
|
@@ -682,7 +682,7 @@ class Wizard::ActiveRecord_AssociationRelation < ActiveRecord::AssociationRelati
|
|
682
682
|
sig { params(args: T.untyped).returns(T::Boolean) }
|
683
683
|
def one?(*args); end
|
684
684
|
|
685
|
-
sig {
|
685
|
+
sig { override.params(block: T.proc.params(e: Wizard).void).void }
|
686
686
|
def each(&block); end
|
687
687
|
|
688
688
|
sig { params(level: T.nilable(Integer)).returns(T::Array[Wizard]) }
|
@@ -863,7 +863,7 @@ class Wizard::ActiveRecord_Associations_CollectionProxy < ActiveRecord::Associat
|
|
863
863
|
sig { params(args: T.untyped).returns(T::Boolean) }
|
864
864
|
def one?(*args); end
|
865
865
|
|
866
|
-
sig {
|
866
|
+
sig { override.params(block: T.proc.params(e: Wizard).void).void }
|
867
867
|
def each(&block); end
|
868
868
|
|
869
869
|
sig { params(level: T.nilable(Integer)).returns(T::Array[Wizard]) }
|
@@ -361,7 +361,7 @@ class ActiveRecord::InternalMetadata::ActiveRecord_Relation < ActiveRecord::Rela
|
|
361
361
|
sig { params(args: T.untyped).returns(T::Boolean) }
|
362
362
|
def one?(*args); end
|
363
363
|
|
364
|
-
sig {
|
364
|
+
sig { override.params(block: T.proc.params(e: ActiveRecord::InternalMetadata).void).void }
|
365
365
|
def each(&block); end
|
366
366
|
|
367
367
|
sig { params(level: T.nilable(Integer)).returns(T::Array[ActiveRecord::InternalMetadata]) }
|
@@ -528,7 +528,7 @@ class ActiveRecord::InternalMetadata::ActiveRecord_AssociationRelation < ActiveR
|
|
528
528
|
sig { params(args: T.untyped).returns(T::Boolean) }
|
529
529
|
def one?(*args); end
|
530
530
|
|
531
|
-
sig {
|
531
|
+
sig { override.params(block: T.proc.params(e: ActiveRecord::InternalMetadata).void).void }
|
532
532
|
def each(&block); end
|
533
533
|
|
534
534
|
sig { params(level: T.nilable(Integer)).returns(T::Array[ActiveRecord::InternalMetadata]) }
|
@@ -694,7 +694,7 @@ class ActiveRecord::InternalMetadata::ActiveRecord_Associations_CollectionProxy
|
|
694
694
|
sig { params(args: T.untyped).returns(T::Boolean) }
|
695
695
|
def one?(*args); end
|
696
696
|
|
697
|
-
sig {
|
697
|
+
sig { override.params(block: T.proc.params(e: ActiveRecord::InternalMetadata).void).void }
|
698
698
|
def each(&block); end
|
699
699
|
|
700
700
|
sig { params(level: T.nilable(Integer)).returns(T::Array[ActiveRecord::InternalMetadata]) }
|
@@ -320,7 +320,7 @@ class Potion::ActiveRecord_Relation < ActiveRecord::Relation
|
|
320
320
|
sig { params(args: T.untyped).returns(T::Boolean) }
|
321
321
|
def one?(*args); end
|
322
322
|
|
323
|
-
sig {
|
323
|
+
sig { override.params(block: T.proc.params(e: Potion).void).void }
|
324
324
|
def each(&block); end
|
325
325
|
|
326
326
|
sig { params(level: T.nilable(Integer)).returns(T::Array[Potion]) }
|
@@ -487,7 +487,7 @@ class Potion::ActiveRecord_AssociationRelation < ActiveRecord::AssociationRelati
|
|
487
487
|
sig { params(args: T.untyped).returns(T::Boolean) }
|
488
488
|
def one?(*args); end
|
489
489
|
|
490
|
-
sig {
|
490
|
+
sig { override.params(block: T.proc.params(e: Potion).void).void }
|
491
491
|
def each(&block); end
|
492
492
|
|
493
493
|
sig { params(level: T.nilable(Integer)).returns(T::Array[Potion]) }
|
@@ -653,7 +653,7 @@ class Potion::ActiveRecord_Associations_CollectionProxy < ActiveRecord::Associat
|
|
653
653
|
sig { params(args: T.untyped).returns(T::Boolean) }
|
654
654
|
def one?(*args); end
|
655
655
|
|
656
|
-
sig {
|
656
|
+
sig { override.params(block: T.proc.params(e: Potion).void).void }
|
657
657
|
def each(&block); end
|
658
658
|
|
659
659
|
sig { params(level: T.nilable(Integer)).returns(T::Array[Potion]) }
|
@@ -334,7 +334,7 @@ class ActiveRecord::SchemaMigration::ActiveRecord_Relation < ActiveRecord::Relat
|
|
334
334
|
sig { params(args: T.untyped).returns(T::Boolean) }
|
335
335
|
def one?(*args); end
|
336
336
|
|
337
|
-
sig {
|
337
|
+
sig { override.params(block: T.proc.params(e: ActiveRecord::SchemaMigration).void).void }
|
338
338
|
def each(&block); end
|
339
339
|
|
340
340
|
sig { params(level: T.nilable(Integer)).returns(T::Array[ActiveRecord::SchemaMigration]) }
|
@@ -501,7 +501,7 @@ class ActiveRecord::SchemaMigration::ActiveRecord_AssociationRelation < ActiveRe
|
|
501
501
|
sig { params(args: T.untyped).returns(T::Boolean) }
|
502
502
|
def one?(*args); end
|
503
503
|
|
504
|
-
sig {
|
504
|
+
sig { override.params(block: T.proc.params(e: ActiveRecord::SchemaMigration).void).void }
|
505
505
|
def each(&block); end
|
506
506
|
|
507
507
|
sig { params(level: T.nilable(Integer)).returns(T::Array[ActiveRecord::SchemaMigration]) }
|
@@ -667,7 +667,7 @@ class ActiveRecord::SchemaMigration::ActiveRecord_Associations_CollectionProxy <
|
|
667
667
|
sig { params(args: T.untyped).returns(T::Boolean) }
|
668
668
|
def one?(*args); end
|
669
669
|
|
670
|
-
sig {
|
670
|
+
sig { override.params(block: T.proc.params(e: ActiveRecord::SchemaMigration).void).void }
|
671
671
|
def each(&block); end
|
672
672
|
|
673
673
|
sig { params(level: T.nilable(Integer)).returns(T::Array[ActiveRecord::SchemaMigration]) }
|
@@ -416,7 +416,7 @@ class SpellBook::ActiveRecord_Relation < ActiveRecord::Relation
|
|
416
416
|
sig { params(args: T.untyped).returns(T::Boolean) }
|
417
417
|
def one?(*args); end
|
418
418
|
|
419
|
-
sig {
|
419
|
+
sig { override.params(block: T.proc.params(e: SpellBook).void).void }
|
420
420
|
def each(&block); end
|
421
421
|
|
422
422
|
sig { params(level: T.nilable(Integer)).returns(T::Array[SpellBook]) }
|
@@ -592,7 +592,7 @@ class SpellBook::ActiveRecord_AssociationRelation < ActiveRecord::AssociationRel
|
|
592
592
|
sig { params(args: T.untyped).returns(T::Boolean) }
|
593
593
|
def one?(*args); end
|
594
594
|
|
595
|
-
sig {
|
595
|
+
sig { override.params(block: T.proc.params(e: SpellBook).void).void }
|
596
596
|
def each(&block); end
|
597
597
|
|
598
598
|
sig { params(level: T.nilable(Integer)).returns(T::Array[SpellBook]) }
|
@@ -767,7 +767,7 @@ class SpellBook::ActiveRecord_Associations_CollectionProxy < ActiveRecord::Assoc
|
|
767
767
|
sig { params(args: T.untyped).returns(T::Boolean) }
|
768
768
|
def one?(*args); end
|
769
769
|
|
770
|
-
sig {
|
770
|
+
sig { override.params(block: T.proc.params(e: SpellBook).void).void }
|
771
771
|
def each(&block); end
|
772
772
|
|
773
773
|
sig { params(level: T.nilable(Integer)).returns(T::Array[SpellBook]) }
|
@@ -503,7 +503,7 @@ class Wand::ActiveRecord_Relation < ActiveRecord::Relation
|
|
503
503
|
sig { params(args: T.untyped).returns(T::Boolean) }
|
504
504
|
def one?(*args); end
|
505
505
|
|
506
|
-
sig {
|
506
|
+
sig { override.params(block: T.proc.params(e: Wand).void).void }
|
507
507
|
def each(&block); end
|
508
508
|
|
509
509
|
sig { params(level: T.nilable(Integer)).returns(T::Array[Wand]) }
|
@@ -682,7 +682,7 @@ class Wand::ActiveRecord_AssociationRelation < ActiveRecord::AssociationRelation
|
|
682
682
|
sig { params(args: T.untyped).returns(T::Boolean) }
|
683
683
|
def one?(*args); end
|
684
684
|
|
685
|
-
sig {
|
685
|
+
sig { override.params(block: T.proc.params(e: Wand).void).void }
|
686
686
|
def each(&block); end
|
687
687
|
|
688
688
|
sig { params(level: T.nilable(Integer)).returns(T::Array[Wand]) }
|
@@ -860,7 +860,7 @@ class Wand::ActiveRecord_Associations_CollectionProxy < ActiveRecord::Associatio
|
|
860
860
|
sig { params(args: T.untyped).returns(T::Boolean) }
|
861
861
|
def one?(*args); end
|
862
862
|
|
863
|
-
sig {
|
863
|
+
sig { override.params(block: T.proc.params(e: Wand).void).void }
|
864
864
|
def each(&block); end
|
865
865
|
|
866
866
|
sig { params(level: T.nilable(Integer)).returns(T::Array[Wand]) }
|
@@ -683,7 +683,7 @@ class Wizard::ActiveRecord_Relation < ActiveRecord::Relation
|
|
683
683
|
sig { params(args: T.untyped).returns(T::Boolean) }
|
684
684
|
def one?(*args); end
|
685
685
|
|
686
|
-
sig {
|
686
|
+
sig { override.params(block: T.proc.params(e: Wizard).void).void }
|
687
687
|
def each(&block); end
|
688
688
|
|
689
689
|
sig { params(level: T.nilable(Integer)).returns(T::Array[Wizard]) }
|
@@ -904,7 +904,7 @@ class Wizard::ActiveRecord_AssociationRelation < ActiveRecord::AssociationRelati
|
|
904
904
|
sig { params(args: T.untyped).returns(T::Boolean) }
|
905
905
|
def one?(*args); end
|
906
906
|
|
907
|
-
sig {
|
907
|
+
sig { override.params(block: T.proc.params(e: Wizard).void).void }
|
908
908
|
def each(&block); end
|
909
909
|
|
910
910
|
sig { params(level: T.nilable(Integer)).returns(T::Array[Wizard]) }
|
@@ -1124,7 +1124,7 @@ class Wizard::ActiveRecord_Associations_CollectionProxy < ActiveRecord::Associat
|
|
1124
1124
|
sig { params(args: T.untyped).returns(T::Boolean) }
|
1125
1125
|
def one?(*args); end
|
1126
1126
|
|
1127
|
-
sig {
|
1127
|
+
sig { override.params(block: T.proc.params(e: Wizard).void).void }
|
1128
1128
|
def each(&block); end
|
1129
1129
|
|
1130
1130
|
sig { params(level: T.nilable(Integer)).returns(T::Array[Wizard]) }
|
@@ -683,7 +683,7 @@ class Wizard::ActiveRecord_Relation < ActiveRecord::Relation
|
|
683
683
|
sig { params(args: T.untyped).returns(T::Boolean) }
|
684
684
|
def one?(*args); end
|
685
685
|
|
686
|
-
sig {
|
686
|
+
sig { override.params(block: T.proc.params(e: Wizard).void).void }
|
687
687
|
def each(&block); end
|
688
688
|
|
689
689
|
sig { params(level: T.nilable(Integer)).returns(T::Array[Wizard]) }
|
@@ -904,7 +904,7 @@ class Wizard::ActiveRecord_AssociationRelation < ActiveRecord::AssociationRelati
|
|
904
904
|
sig { params(args: T.untyped).returns(T::Boolean) }
|
905
905
|
def one?(*args); end
|
906
906
|
|
907
|
-
sig {
|
907
|
+
sig { override.params(block: T.proc.params(e: Wizard).void).void }
|
908
908
|
def each(&block); end
|
909
909
|
|
910
910
|
sig { params(level: T.nilable(Integer)).returns(T::Array[Wizard]) }
|
@@ -1124,7 +1124,7 @@ class Wizard::ActiveRecord_Associations_CollectionProxy < ActiveRecord::Associat
|
|
1124
1124
|
sig { params(args: T.untyped).returns(T::Boolean) }
|
1125
1125
|
def one?(*args); end
|
1126
1126
|
|
1127
|
-
sig {
|
1127
|
+
sig { override.params(block: T.proc.params(e: Wizard).void).void }
|
1128
1128
|
def each(&block); end
|
1129
1129
|
|
1130
1130
|
sig { params(level: T.nilable(Integer)).returns(T::Array[Wizard]) }
|
@@ -373,7 +373,7 @@ class ActiveRecord::InternalMetadata::ActiveRecord_Relation < ActiveRecord::Rela
|
|
373
373
|
sig { params(args: T.untyped).returns(T::Boolean) }
|
374
374
|
def one?(*args); end
|
375
375
|
|
376
|
-
sig {
|
376
|
+
sig { override.params(block: T.proc.params(e: ActiveRecord::InternalMetadata).void).void }
|
377
377
|
def each(&block); end
|
378
378
|
|
379
379
|
sig { params(level: T.nilable(Integer)).returns(T::Array[ActiveRecord::InternalMetadata]) }
|
@@ -546,7 +546,7 @@ class ActiveRecord::InternalMetadata::ActiveRecord_AssociationRelation < ActiveR
|
|
546
546
|
sig { params(args: T.untyped).returns(T::Boolean) }
|
547
547
|
def one?(*args); end
|
548
548
|
|
549
|
-
sig {
|
549
|
+
sig { override.params(block: T.proc.params(e: ActiveRecord::InternalMetadata).void).void }
|
550
550
|
def each(&block); end
|
551
551
|
|
552
552
|
sig { params(level: T.nilable(Integer)).returns(T::Array[ActiveRecord::InternalMetadata]) }
|
@@ -718,7 +718,7 @@ class ActiveRecord::InternalMetadata::ActiveRecord_Associations_CollectionProxy
|
|
718
718
|
sig { params(args: T.untyped).returns(T::Boolean) }
|
719
719
|
def one?(*args); end
|
720
720
|
|
721
|
-
sig {
|
721
|
+
sig { override.params(block: T.proc.params(e: ActiveRecord::InternalMetadata).void).void }
|
722
722
|
def each(&block); end
|
723
723
|
|
724
724
|
sig { params(level: T.nilable(Integer)).returns(T::Array[ActiveRecord::InternalMetadata]) }
|
@@ -332,7 +332,7 @@ class Potion::ActiveRecord_Relation < ActiveRecord::Relation
|
|
332
332
|
sig { params(args: T.untyped).returns(T::Boolean) }
|
333
333
|
def one?(*args); end
|
334
334
|
|
335
|
-
sig {
|
335
|
+
sig { override.params(block: T.proc.params(e: Potion).void).void }
|
336
336
|
def each(&block); end
|
337
337
|
|
338
338
|
sig { params(level: T.nilable(Integer)).returns(T::Array[Potion]) }
|
@@ -505,7 +505,7 @@ class Potion::ActiveRecord_AssociationRelation < ActiveRecord::AssociationRelati
|
|
505
505
|
sig { params(args: T.untyped).returns(T::Boolean) }
|
506
506
|
def one?(*args); end
|
507
507
|
|
508
|
-
sig {
|
508
|
+
sig { override.params(block: T.proc.params(e: Potion).void).void }
|
509
509
|
def each(&block); end
|
510
510
|
|
511
511
|
sig { params(level: T.nilable(Integer)).returns(T::Array[Potion]) }
|
@@ -677,7 +677,7 @@ class Potion::ActiveRecord_Associations_CollectionProxy < ActiveRecord::Associat
|
|
677
677
|
sig { params(args: T.untyped).returns(T::Boolean) }
|
678
678
|
def one?(*args); end
|
679
679
|
|
680
|
-
sig {
|
680
|
+
sig { override.params(block: T.proc.params(e: Potion).void).void }
|
681
681
|
def each(&block); end
|
682
682
|
|
683
683
|
sig { params(level: T.nilable(Integer)).returns(T::Array[Potion]) }
|
@@ -346,7 +346,7 @@ class ActiveRecord::SchemaMigration::ActiveRecord_Relation < ActiveRecord::Relat
|
|
346
346
|
sig { params(args: T.untyped).returns(T::Boolean) }
|
347
347
|
def one?(*args); end
|
348
348
|
|
349
|
-
sig {
|
349
|
+
sig { override.params(block: T.proc.params(e: ActiveRecord::SchemaMigration).void).void }
|
350
350
|
def each(&block); end
|
351
351
|
|
352
352
|
sig { params(level: T.nilable(Integer)).returns(T::Array[ActiveRecord::SchemaMigration]) }
|
@@ -519,7 +519,7 @@ class ActiveRecord::SchemaMigration::ActiveRecord_AssociationRelation < ActiveRe
|
|
519
519
|
sig { params(args: T.untyped).returns(T::Boolean) }
|
520
520
|
def one?(*args); end
|
521
521
|
|
522
|
-
sig {
|
522
|
+
sig { override.params(block: T.proc.params(e: ActiveRecord::SchemaMigration).void).void }
|
523
523
|
def each(&block); end
|
524
524
|
|
525
525
|
sig { params(level: T.nilable(Integer)).returns(T::Array[ActiveRecord::SchemaMigration]) }
|
@@ -691,7 +691,7 @@ class ActiveRecord::SchemaMigration::ActiveRecord_Associations_CollectionProxy <
|
|
691
691
|
sig { params(args: T.untyped).returns(T::Boolean) }
|
692
692
|
def one?(*args); end
|
693
693
|
|
694
|
-
sig {
|
694
|
+
sig { override.params(block: T.proc.params(e: ActiveRecord::SchemaMigration).void).void }
|
695
695
|
def each(&block); end
|
696
696
|
|
697
697
|
sig { params(level: T.nilable(Integer)).returns(T::Array[ActiveRecord::SchemaMigration]) }
|
@@ -428,7 +428,7 @@ class SpellBook::ActiveRecord_Relation < ActiveRecord::Relation
|
|
428
428
|
sig { params(args: T.untyped).returns(T::Boolean) }
|
429
429
|
def one?(*args); end
|
430
430
|
|
431
|
-
sig {
|
431
|
+
sig { override.params(block: T.proc.params(e: SpellBook).void).void }
|
432
432
|
def each(&block); end
|
433
433
|
|
434
434
|
sig { params(level: T.nilable(Integer)).returns(T::Array[SpellBook]) }
|
@@ -610,7 +610,7 @@ class SpellBook::ActiveRecord_AssociationRelation < ActiveRecord::AssociationRel
|
|
610
610
|
sig { params(args: T.untyped).returns(T::Boolean) }
|
611
611
|
def one?(*args); end
|
612
612
|
|
613
|
-
sig {
|
613
|
+
sig { override.params(block: T.proc.params(e: SpellBook).void).void }
|
614
614
|
def each(&block); end
|
615
615
|
|
616
616
|
sig { params(level: T.nilable(Integer)).returns(T::Array[SpellBook]) }
|
@@ -791,7 +791,7 @@ class SpellBook::ActiveRecord_Associations_CollectionProxy < ActiveRecord::Assoc
|
|
791
791
|
sig { params(args: T.untyped).returns(T::Boolean) }
|
792
792
|
def one?(*args); end
|
793
793
|
|
794
|
-
sig {
|
794
|
+
sig { override.params(block: T.proc.params(e: SpellBook).void).void }
|
795
795
|
def each(&block); end
|
796
796
|
|
797
797
|
sig { params(level: T.nilable(Integer)).returns(T::Array[SpellBook]) }
|
@@ -515,7 +515,7 @@ class Wand::ActiveRecord_Relation < ActiveRecord::Relation
|
|
515
515
|
sig { params(args: T.untyped).returns(T::Boolean) }
|
516
516
|
def one?(*args); end
|
517
517
|
|
518
|
-
sig {
|
518
|
+
sig { override.params(block: T.proc.params(e: Wand).void).void }
|
519
519
|
def each(&block); end
|
520
520
|
|
521
521
|
sig { params(level: T.nilable(Integer)).returns(T::Array[Wand]) }
|
@@ -700,7 +700,7 @@ class Wand::ActiveRecord_AssociationRelation < ActiveRecord::AssociationRelation
|
|
700
700
|
sig { params(args: T.untyped).returns(T::Boolean) }
|
701
701
|
def one?(*args); end
|
702
702
|
|
703
|
-
sig {
|
703
|
+
sig { override.params(block: T.proc.params(e: Wand).void).void }
|
704
704
|
def each(&block); end
|
705
705
|
|
706
706
|
sig { params(level: T.nilable(Integer)).returns(T::Array[Wand]) }
|
@@ -884,7 +884,7 @@ class Wand::ActiveRecord_Associations_CollectionProxy < ActiveRecord::Associatio
|
|
884
884
|
sig { params(args: T.untyped).returns(T::Boolean) }
|
885
885
|
def one?(*args); end
|
886
886
|
|
887
|
-
sig {
|
887
|
+
sig { override.params(block: T.proc.params(e: Wand).void).void }
|
888
888
|
def each(&block); end
|
889
889
|
|
890
890
|
sig { params(level: T.nilable(Integer)).returns(T::Array[Wand]) }
|
@@ -695,7 +695,7 @@ class Wizard::ActiveRecord_Relation < ActiveRecord::Relation
|
|
695
695
|
sig { params(args: T.untyped).returns(T::Boolean) }
|
696
696
|
def one?(*args); end
|
697
697
|
|
698
|
-
sig {
|
698
|
+
sig { override.params(block: T.proc.params(e: Wizard).void).void }
|
699
699
|
def each(&block); end
|
700
700
|
|
701
701
|
sig { params(level: T.nilable(Integer)).returns(T::Array[Wizard]) }
|
@@ -922,7 +922,7 @@ class Wizard::ActiveRecord_AssociationRelation < ActiveRecord::AssociationRelati
|
|
922
922
|
sig { params(args: T.untyped).returns(T::Boolean) }
|
923
923
|
def one?(*args); end
|
924
924
|
|
925
|
-
sig {
|
925
|
+
sig { override.params(block: T.proc.params(e: Wizard).void).void }
|
926
926
|
def each(&block); end
|
927
927
|
|
928
928
|
sig { params(level: T.nilable(Integer)).returns(T::Array[Wizard]) }
|
@@ -1148,7 +1148,7 @@ class Wizard::ActiveRecord_Associations_CollectionProxy < ActiveRecord::Associat
|
|
1148
1148
|
sig { params(args: T.untyped).returns(T::Boolean) }
|
1149
1149
|
def one?(*args); end
|
1150
1150
|
|
1151
|
-
sig {
|
1151
|
+
sig { override.params(block: T.proc.params(e: Wizard).void).void }
|
1152
1152
|
def each(&block); end
|
1153
1153
|
|
1154
1154
|
sig { params(level: T.nilable(Integer)).returns(T::Array[Wizard]) }
|
@@ -695,7 +695,7 @@ class Wizard::ActiveRecord_Relation < ActiveRecord::Relation
|
|
695
695
|
sig { params(args: T.untyped).returns(T::Boolean) }
|
696
696
|
def one?(*args); end
|
697
697
|
|
698
|
-
sig {
|
698
|
+
sig { override.params(block: T.proc.params(e: Wizard).void).void }
|
699
699
|
def each(&block); end
|
700
700
|
|
701
701
|
sig { params(level: T.nilable(Integer)).returns(T::Array[Wizard]) }
|
@@ -922,7 +922,7 @@ class Wizard::ActiveRecord_AssociationRelation < ActiveRecord::AssociationRelati
|
|
922
922
|
sig { params(args: T.untyped).returns(T::Boolean) }
|
923
923
|
def one?(*args); end
|
924
924
|
|
925
|
-
sig {
|
925
|
+
sig { override.params(block: T.proc.params(e: Wizard).void).void }
|
926
926
|
def each(&block); end
|
927
927
|
|
928
928
|
sig { params(level: T.nilable(Integer)).returns(T::Array[Wizard]) }
|
@@ -1148,7 +1148,7 @@ class Wizard::ActiveRecord_Associations_CollectionProxy < ActiveRecord::Associat
|
|
1148
1148
|
sig { params(args: T.untyped).returns(T::Boolean) }
|
1149
1149
|
def one?(*args); end
|
1150
1150
|
|
1151
|
-
sig {
|
1151
|
+
sig { override.params(block: T.proc.params(e: Wizard).void).void }
|
1152
1152
|
def each(&block); end
|
1153
1153
|
|
1154
1154
|
sig { params(level: T.nilable(Integer)).returns(T::Array[Wizard]) }
|
@@ -349,7 +349,7 @@ class ActiveStorage::Attachment::ActiveRecord_Relation < ActiveRecord::Relation
|
|
349
349
|
sig { params(args: T.untyped).returns(T::Boolean) }
|
350
350
|
def one?(*args); end
|
351
351
|
|
352
|
-
sig {
|
352
|
+
sig { override.params(block: T.proc.params(e: ActiveStorage::Attachment).void).void }
|
353
353
|
def each(&block); end
|
354
354
|
|
355
355
|
sig { params(level: T.nilable(Integer)).returns(T::Array[ActiveStorage::Attachment]) }
|
@@ -522,7 +522,7 @@ class ActiveStorage::Attachment::ActiveRecord_AssociationRelation < ActiveRecord
|
|
522
522
|
sig { params(args: T.untyped).returns(T::Boolean) }
|
523
523
|
def one?(*args); end
|
524
524
|
|
525
|
-
sig {
|
525
|
+
sig { override.params(block: T.proc.params(e: ActiveStorage::Attachment).void).void }
|
526
526
|
def each(&block); end
|
527
527
|
|
528
528
|
sig { params(level: T.nilable(Integer)).returns(T::Array[ActiveStorage::Attachment]) }
|
@@ -694,7 +694,7 @@ class ActiveStorage::Attachment::ActiveRecord_Associations_CollectionProxy < Act
|
|
694
694
|
sig { params(args: T.untyped).returns(T::Boolean) }
|
695
695
|
def one?(*args); end
|
696
696
|
|
697
|
-
sig {
|
697
|
+
sig { override.params(block: T.proc.params(e: ActiveStorage::Attachment).void).void }
|
698
698
|
def each(&block); end
|
699
699
|
|
700
700
|
sig { params(level: T.nilable(Integer)).returns(T::Array[ActiveStorage::Attachment]) }
|