rails-on-sorbet 0.3.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/lib/rails/on/sorbet/version.rb +1 -1
- data/lib/tapioca/dsl/compilers/rails_on_sorbet_active_record.rb +6 -6
- data/rbi/typed_relation.rbi +0 -5
- 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: 0d2e5584be831c2f9ee13193b7330f3c4fcfcb38e23b58e647e447ea44fba206
|
4
|
+
data.tar.gz: f1dcacdc4b00dd531400fb81b208e2ed0593f241156978adf8846c131c89cdfb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5065d66ccba78ecf89b3b0aa3acc1db333b7223d048b5fe6584170d8f87219d3e0cd9a20595b8cd115ab309aaf777ab0a3c16de21d82dd08b2bb1606145f29a1
|
7
|
+
data.tar.gz: 8054062e2ccb3ef943a08735ecb54358c901ace2b387cc6c25022062b0ccd9ede91ca11498f5e6726d2def2b4097930a35adfccc00ed5dd8c977d80e721bb112
|
data/CHANGELOG.md
CHANGED
@@ -12,6 +12,13 @@ Add changes in new features here. Do not change the gem's version in pull/merge
|
|
12
12
|
### Changes
|
13
13
|
-
|
14
14
|
|
15
|
+
## [0.3.1] - 20.10.2025
|
16
|
+
|
17
|
+
[Diff](https://github.com/espago/rails-on-sorbet/compare/v0.3.0...v0.3.1)
|
18
|
+
|
19
|
+
### Changes
|
20
|
+
- Fix `Tapioca::Compilers::RailsOnSorbetActiveRecordRelations` and `TypedRelation` definitions
|
21
|
+
|
15
22
|
## [0.3.0] - 20.10.2025
|
16
23
|
|
17
24
|
[Diff](https://github.com/espago/rails-on-sorbet/compare/v0.2.8...v0.3.0)
|
@@ -29,18 +29,18 @@ module Tapioca
|
|
29
29
|
private_relation_where_chain = klass.create_class('PrivateRelationWhereChain')
|
30
30
|
private_relation_where_chain.create_include('::TypedRelation::WhereChain')
|
31
31
|
|
32
|
-
private_collection_proxy = klass.create_class('PrivateCollectionProxy')
|
33
|
-
private_collection_proxy.create_include('::TypedRelation::CollectionProxy')
|
34
|
-
|
35
32
|
|
36
33
|
private_association_relation = klass.create_class('PrivateAssociationRelation')
|
37
|
-
private_association_relation.create_include('::
|
34
|
+
private_association_relation.create_include('::TypedAssociation::Relation')
|
38
35
|
|
39
36
|
private_relation_group_chain = klass.create_class('PrivateAssociationRelationGroupChain')
|
40
|
-
private_relation_group_chain.create_include('::
|
37
|
+
private_relation_group_chain.create_include('::TypedAssociation::Relation::GroupChain')
|
41
38
|
|
42
39
|
private_relation_where_chain = klass.create_class('PrivateAssociationRelationWhereChain')
|
43
|
-
private_relation_where_chain.create_include('::
|
40
|
+
private_relation_where_chain.create_include('::TypedAssociation::Relation::WhereChain')
|
41
|
+
|
42
|
+
private_collection_proxy = klass.create_class('PrivateCollectionProxy')
|
43
|
+
private_collection_proxy.create_include('::TypedAssociation::CollectionProxy')
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
data/rbi/typed_relation.rbi
CHANGED
@@ -416,7 +416,6 @@ module TypedCommonRelationMethods
|
|
416
416
|
end
|
417
417
|
|
418
418
|
# @abstract
|
419
|
-
# @requires_ancestor: ActiveRecord::Relation
|
420
419
|
module TypedRelation
|
421
420
|
Elem = type_member(:out)
|
422
421
|
|
@@ -468,7 +467,6 @@ module TypedRelation
|
|
468
467
|
def sum(column_name = nil, &block); end
|
469
468
|
end
|
470
469
|
|
471
|
-
# @requires_ancestor: ::ActiveRecord::QueryMethods::WhereChain
|
472
470
|
# @abstract
|
473
471
|
module WhereChain
|
474
472
|
Elem = type_member(:out)
|
@@ -808,7 +806,6 @@ module TypedAssociation
|
|
808
806
|
end
|
809
807
|
|
810
808
|
# @abstract
|
811
|
-
# @requires_ancestor: ActiveRecord::AssociationRelation
|
812
809
|
module Relation
|
813
810
|
include TypedCommonRelationMethods
|
814
811
|
include TypedGeneratedAssociationRelationMethods
|
@@ -822,7 +819,6 @@ module TypedAssociation
|
|
822
819
|
def WhereChain(val); end
|
823
820
|
end
|
824
821
|
|
825
|
-
# @requires_ancestor: ::ActiveRecord::QueryMethods::WhereChain
|
826
822
|
# @abstract
|
827
823
|
module WhereChain
|
828
824
|
Elem = type_member(:out)
|
@@ -879,7 +875,6 @@ module TypedAssociation
|
|
879
875
|
end
|
880
876
|
end
|
881
877
|
|
882
|
-
# @requires_ancestor: ActiveRecord::Associations::CollectionProxy
|
883
878
|
# @abstract
|
884
879
|
module CollectionProxy
|
885
880
|
include TypedCommonRelationMethods
|