sorbet-rails 0.7.27 → 0.7.33
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ci-master.yml +2 -0
- data/.github/workflows/publish-gem.yml +9 -19
- data/README.md +14 -2
- data/lib/sorbet-rails/active_record_rbi_formatter.rb +3 -3
- data/lib/sorbet-rails/gem_plugins/aasm_plugin.rb +7 -2
- data/lib/sorbet-rails/model_column_utils.rb +1 -1
- data/lib/sorbet-rails/model_plugins/active_record_assoc.rb +1 -1
- data/lib/sorbet-rails/model_plugins/active_record_querying.rb +13 -0
- data/lib/sorbet-rails/model_rbi_formatter.rb +3 -3
- data/lib/sorbet-rails/rails_mixins/custom_finder_methods.rb +8 -0
- data/sorbet-rails.gemspec +2 -2
- data/spec/custom_finder_methods_spec.rb +23 -0
- data/spec/sorbet_spec.rb +3 -0
- data/spec/support/v5.2/Gemfile.lock +76 -67
- data/spec/support/v6.0/Gemfile.lock +93 -85
- data/spec/support/v6.1/Gemfile +1 -1
- data/spec/support/v6.1/Gemfile.lock +115 -108
- data/spec/support/v6.1/sorbet_test_cases.rb +3 -0
- data/spec/test_data/v5.2/expected_active_record_relation.rbi +2 -2
- 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_habtm_subjects.rbi +3 -3
- data/spec/test_data/v5.2/expected_habtm_wizards.rbi +3 -3
- data/spec/test_data/v5.2/expected_headmaster.rbi +3 -3
- 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_robe.rbi +3 -3
- data/spec/test_data/v5.2/expected_schema_migration.rbi +3 -3
- data/spec/test_data/v5.2/expected_school.rbi +3 -3
- data/spec/test_data/v5.2/expected_spell/habtm_spell_books.rbi +3 -3
- data/spec/test_data/v5.2/expected_spell.rbi +3 -3
- data/spec/test_data/v5.2/expected_spell_book/habtm_spell_books.rbi +3 -3
- data/spec/test_data/v5.2/expected_spell_book/habtm_spells.rbi +3 -3
- data/spec/test_data/v5.2/expected_spell_book.rbi +3 -3
- data/spec/test_data/v5.2/expected_squib.rbi +3 -3
- data/spec/test_data/v5.2/expected_subject/habtm_wizards.rbi +3 -3
- data/spec/test_data/v5.2/expected_subject.rbi +3 -3
- data/spec/test_data/v5.2/expected_wand.rbi +3 -3
- data/spec/test_data/v5.2/expected_wizard/habtm_subjects.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 +6 -6
- data/spec/test_data/v6.0/expected_active_record_relation.rbi +2 -2
- 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_habtm_subjects.rbi +3 -3
- data/spec/test_data/v6.0/expected_habtm_wizards.rbi +3 -3
- data/spec/test_data/v6.0/expected_headmaster.rbi +3 -3
- 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_robe.rbi +3 -3
- data/spec/test_data/v6.0/expected_schema_migration.rbi +3 -3
- data/spec/test_data/v6.0/expected_school.rbi +3 -3
- data/spec/test_data/v6.0/expected_spell/habtm_spell_books.rbi +3 -3
- data/spec/test_data/v6.0/expected_spell.rbi +3 -3
- data/spec/test_data/v6.0/expected_spell_book/habtm_spell_books.rbi +3 -3
- data/spec/test_data/v6.0/expected_spell_book/habtm_spells.rbi +3 -3
- data/spec/test_data/v6.0/expected_spell_book.rbi +3 -3
- data/spec/test_data/v6.0/expected_squib.rbi +3 -3
- data/spec/test_data/v6.0/expected_subject/habtm_wizards.rbi +3 -3
- data/spec/test_data/v6.0/expected_subject.rbi +3 -3
- data/spec/test_data/v6.0/expected_wand.rbi +3 -3
- data/spec/test_data/v6.0/expected_wizard/habtm_subjects.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 +6 -6
- data/spec/test_data/v6.1/expected_active_record_relation.rbi +2 -2
- data/spec/test_data/v6.1/expected_attachment.rbi +9 -3
- data/spec/test_data/v6.1/expected_blob.rbi +9 -3
- data/spec/test_data/v6.1/expected_habtm_subjects.rbi +3 -3
- data/spec/test_data/v6.1/expected_habtm_wizards.rbi +3 -3
- data/spec/test_data/v6.1/expected_headmaster.rbi +9 -3
- data/spec/test_data/v6.1/expected_internal_metadata.rbi +9 -3
- data/spec/test_data/v6.1/expected_potion.rbi +9 -3
- data/spec/test_data/v6.1/expected_record.rbi +9 -3
- data/spec/test_data/v6.1/expected_robe.rbi +9 -3
- data/spec/test_data/v6.1/expected_schema_migration.rbi +9 -3
- data/spec/test_data/v6.1/expected_school.rbi +9 -3
- data/spec/test_data/v6.1/expected_spell/habtm_spell_books.rbi +9 -3
- data/spec/test_data/v6.1/expected_spell.rbi +9 -3
- data/spec/test_data/v6.1/expected_spell_book/habtm_spell_books.rbi +3 -3
- data/spec/test_data/v6.1/expected_spell_book/habtm_spells.rbi +9 -3
- data/spec/test_data/v6.1/expected_spell_book.rbi +9 -3
- data/spec/test_data/v6.1/expected_squib.rbi +9 -3
- data/spec/test_data/v6.1/expected_subject/habtm_wizards.rbi +9 -3
- data/spec/test_data/v6.1/expected_subject.rbi +9 -3
- data/spec/test_data/v6.1/expected_variant_record.rbi +9 -3
- data/spec/test_data/v6.1/expected_wand.rbi +9 -3
- data/spec/test_data/v6.1/expected_wizard/habtm_subjects.rbi +9 -3
- data/spec/test_data/v6.1/expected_wizard.rbi +9 -3
- data/spec/test_data/v6.1/expected_wizard_wo_spellbook.rbi +12 -6
- metadata +3 -3
@@ -1,66 +1,66 @@
|
|
1
1
|
PATH
|
2
2
|
remote: ../../..
|
3
3
|
specs:
|
4
|
-
sorbet-rails (0.7.
|
4
|
+
sorbet-rails (0.7.32)
|
5
5
|
method_source (>= 0.9.2)
|
6
6
|
parlour (>= 4.0.1)
|
7
7
|
parser (>= 2.7)
|
8
8
|
sorbet-coerce (>= 0.2.6)
|
9
|
-
sorbet-runtime (>= 0.5)
|
9
|
+
sorbet-runtime (>= 0.5.9892)
|
10
10
|
|
11
11
|
GEM
|
12
12
|
remote: https://rubygems.org/
|
13
13
|
specs:
|
14
|
-
actioncable (6.0.4)
|
15
|
-
actionpack (= 6.0.4)
|
14
|
+
actioncable (6.0.4.7)
|
15
|
+
actionpack (= 6.0.4.7)
|
16
16
|
nio4r (~> 2.0)
|
17
17
|
websocket-driver (>= 0.6.1)
|
18
|
-
actionmailbox (6.0.4)
|
19
|
-
actionpack (= 6.0.4)
|
20
|
-
activejob (= 6.0.4)
|
21
|
-
activerecord (= 6.0.4)
|
22
|
-
activestorage (= 6.0.4)
|
23
|
-
activesupport (= 6.0.4)
|
18
|
+
actionmailbox (6.0.4.7)
|
19
|
+
actionpack (= 6.0.4.7)
|
20
|
+
activejob (= 6.0.4.7)
|
21
|
+
activerecord (= 6.0.4.7)
|
22
|
+
activestorage (= 6.0.4.7)
|
23
|
+
activesupport (= 6.0.4.7)
|
24
24
|
mail (>= 2.7.1)
|
25
|
-
actionmailer (6.0.4)
|
26
|
-
actionpack (= 6.0.4)
|
27
|
-
actionview (= 6.0.4)
|
28
|
-
activejob (= 6.0.4)
|
25
|
+
actionmailer (6.0.4.7)
|
26
|
+
actionpack (= 6.0.4.7)
|
27
|
+
actionview (= 6.0.4.7)
|
28
|
+
activejob (= 6.0.4.7)
|
29
29
|
mail (~> 2.5, >= 2.5.4)
|
30
30
|
rails-dom-testing (~> 2.0)
|
31
|
-
actionpack (6.0.4)
|
32
|
-
actionview (= 6.0.4)
|
33
|
-
activesupport (= 6.0.4)
|
31
|
+
actionpack (6.0.4.7)
|
32
|
+
actionview (= 6.0.4.7)
|
33
|
+
activesupport (= 6.0.4.7)
|
34
34
|
rack (~> 2.0, >= 2.0.8)
|
35
35
|
rack-test (>= 0.6.3)
|
36
36
|
rails-dom-testing (~> 2.0)
|
37
37
|
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
38
|
-
actiontext (6.0.4)
|
39
|
-
actionpack (= 6.0.4)
|
40
|
-
activerecord (= 6.0.4)
|
41
|
-
activestorage (= 6.0.4)
|
42
|
-
activesupport (= 6.0.4)
|
38
|
+
actiontext (6.0.4.7)
|
39
|
+
actionpack (= 6.0.4.7)
|
40
|
+
activerecord (= 6.0.4.7)
|
41
|
+
activestorage (= 6.0.4.7)
|
42
|
+
activesupport (= 6.0.4.7)
|
43
43
|
nokogiri (>= 1.8.5)
|
44
|
-
actionview (6.0.4)
|
45
|
-
activesupport (= 6.0.4)
|
44
|
+
actionview (6.0.4.7)
|
45
|
+
activesupport (= 6.0.4.7)
|
46
46
|
builder (~> 3.1)
|
47
47
|
erubi (~> 1.4)
|
48
48
|
rails-dom-testing (~> 2.0)
|
49
49
|
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
50
|
-
activejob (6.0.4)
|
51
|
-
activesupport (= 6.0.4)
|
50
|
+
activejob (6.0.4.7)
|
51
|
+
activesupport (= 6.0.4.7)
|
52
52
|
globalid (>= 0.3.6)
|
53
|
-
activemodel (6.0.4)
|
54
|
-
activesupport (= 6.0.4)
|
55
|
-
activerecord (6.0.4)
|
56
|
-
activemodel (= 6.0.4)
|
57
|
-
activesupport (= 6.0.4)
|
58
|
-
activestorage (6.0.4)
|
59
|
-
actionpack (= 6.0.4)
|
60
|
-
activejob (= 6.0.4)
|
61
|
-
activerecord (= 6.0.4)
|
53
|
+
activemodel (6.0.4.7)
|
54
|
+
activesupport (= 6.0.4.7)
|
55
|
+
activerecord (6.0.4.7)
|
56
|
+
activemodel (= 6.0.4.7)
|
57
|
+
activesupport (= 6.0.4.7)
|
58
|
+
activestorage (6.0.4.7)
|
59
|
+
actionpack (= 6.0.4.7)
|
60
|
+
activejob (= 6.0.4.7)
|
61
|
+
activerecord (= 6.0.4.7)
|
62
62
|
marcel (~> 1.0.0)
|
63
|
-
activesupport (6.0.4)
|
63
|
+
activesupport (6.0.4.7)
|
64
64
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
65
65
|
i18n (>= 0.7, < 2)
|
66
66
|
minitest (~> 5.1)
|
@@ -72,97 +72,105 @@ GEM
|
|
72
72
|
byebug (11.1.3)
|
73
73
|
commander (4.6.0)
|
74
74
|
highline (~> 2.0.0)
|
75
|
-
concurrent-ruby (1.1.
|
75
|
+
concurrent-ruby (1.1.10)
|
76
76
|
crass (1.0.6)
|
77
77
|
erubi (1.10.0)
|
78
|
-
globalid (0.
|
79
|
-
activesupport (>=
|
78
|
+
globalid (1.0.0)
|
79
|
+
activesupport (>= 5.0)
|
80
80
|
highline (2.0.3)
|
81
|
-
i18n (1.
|
81
|
+
i18n (1.10.0)
|
82
82
|
concurrent-ruby (~> 1.0)
|
83
|
-
jbuilder (2.11.
|
83
|
+
jbuilder (2.11.5)
|
84
|
+
actionview (>= 5.0.0)
|
84
85
|
activesupport (>= 5.0.0)
|
85
|
-
loofah (2.
|
86
|
+
loofah (2.16.0)
|
86
87
|
crass (~> 1.0.2)
|
87
88
|
nokogiri (>= 1.5.9)
|
88
89
|
mail (2.7.1)
|
89
90
|
mini_mime (>= 0.1.1)
|
90
|
-
marcel (1.0.
|
91
|
+
marcel (1.0.2)
|
91
92
|
method_source (1.0.0)
|
92
|
-
mini_mime (1.1.
|
93
|
-
mini_portile2 (2.
|
94
|
-
minitest (5.
|
95
|
-
nio4r (2.5.
|
96
|
-
nokogiri (1.
|
97
|
-
mini_portile2 (~> 2.
|
93
|
+
mini_mime (1.1.2)
|
94
|
+
mini_portile2 (2.8.0)
|
95
|
+
minitest (5.15.0)
|
96
|
+
nio4r (2.5.8)
|
97
|
+
nokogiri (1.13.4)
|
98
|
+
mini_portile2 (~> 2.8.0)
|
98
99
|
racc (~> 1.4)
|
99
|
-
nokogiri (1.
|
100
|
+
nokogiri (1.13.4-x86_64-darwin)
|
100
101
|
racc (~> 1.4)
|
101
|
-
parlour (
|
102
|
+
parlour (7.0.0)
|
102
103
|
commander (~> 4.5)
|
103
104
|
parser
|
104
105
|
rainbow (~> 3.0)
|
105
106
|
sorbet-runtime (>= 0.5)
|
106
|
-
parser (3.
|
107
|
+
parser (3.1.2.0)
|
107
108
|
ast (~> 2.4.1)
|
108
109
|
polyfill (1.9.0)
|
109
|
-
puma (4.3.
|
110
|
+
puma (4.3.12)
|
110
111
|
nio4r (~> 2.0)
|
111
|
-
racc (1.
|
112
|
+
racc (1.6.0)
|
112
113
|
rack (2.2.3)
|
113
114
|
rack-test (1.1.0)
|
114
115
|
rack (>= 1.0, < 3)
|
115
|
-
rails (6.0.4)
|
116
|
-
actioncable (= 6.0.4)
|
117
|
-
actionmailbox (= 6.0.4)
|
118
|
-
actionmailer (= 6.0.4)
|
119
|
-
actionpack (= 6.0.4)
|
120
|
-
actiontext (= 6.0.4)
|
121
|
-
actionview (= 6.0.4)
|
122
|
-
activejob (= 6.0.4)
|
123
|
-
activemodel (= 6.0.4)
|
124
|
-
activerecord (= 6.0.4)
|
125
|
-
activestorage (= 6.0.4)
|
126
|
-
activesupport (= 6.0.4)
|
116
|
+
rails (6.0.4.7)
|
117
|
+
actioncable (= 6.0.4.7)
|
118
|
+
actionmailbox (= 6.0.4.7)
|
119
|
+
actionmailer (= 6.0.4.7)
|
120
|
+
actionpack (= 6.0.4.7)
|
121
|
+
actiontext (= 6.0.4.7)
|
122
|
+
actionview (= 6.0.4.7)
|
123
|
+
activejob (= 6.0.4.7)
|
124
|
+
activemodel (= 6.0.4.7)
|
125
|
+
activerecord (= 6.0.4.7)
|
126
|
+
activestorage (= 6.0.4.7)
|
127
|
+
activesupport (= 6.0.4.7)
|
127
128
|
bundler (>= 1.3.0)
|
128
|
-
railties (= 6.0.4)
|
129
|
+
railties (= 6.0.4.7)
|
129
130
|
sprockets-rails (>= 2.0.0)
|
130
131
|
rails-dom-testing (2.0.3)
|
131
132
|
activesupport (>= 4.2.0)
|
132
133
|
nokogiri (>= 1.6)
|
133
|
-
rails-html-sanitizer (1.
|
134
|
+
rails-html-sanitizer (1.4.2)
|
134
135
|
loofah (~> 2.3)
|
135
|
-
railties (6.0.4)
|
136
|
-
actionpack (= 6.0.4)
|
137
|
-
activesupport (= 6.0.4)
|
136
|
+
railties (6.0.4.7)
|
137
|
+
actionpack (= 6.0.4.7)
|
138
|
+
activesupport (= 6.0.4.7)
|
138
139
|
method_source
|
139
140
|
rake (>= 0.8.7)
|
140
141
|
thor (>= 0.20.3, < 2.0)
|
141
|
-
rainbow (3.
|
142
|
+
rainbow (3.1.1)
|
142
143
|
rake (13.0.6)
|
143
144
|
safe_type (1.1.1)
|
144
|
-
sorbet (0.5.
|
145
|
-
sorbet-static (= 0.5.
|
145
|
+
sorbet (0.5.9892)
|
146
|
+
sorbet-static (= 0.5.9892)
|
146
147
|
sorbet-coerce (0.5.0)
|
147
148
|
polyfill (~> 1.8)
|
148
149
|
safe_type (~> 1.1, >= 1.1.1)
|
149
150
|
sorbet-runtime (>= 0.4.4704)
|
150
|
-
sorbet-runtime (0.5.
|
151
|
-
sorbet-static (0.5.
|
152
|
-
sorbet-static (0.5.
|
153
|
-
|
151
|
+
sorbet-runtime (0.5.9892)
|
152
|
+
sorbet-static (0.5.9892-universal-darwin-14)
|
153
|
+
sorbet-static (0.5.9892-universal-darwin-15)
|
154
|
+
sorbet-static (0.5.9892-universal-darwin-16)
|
155
|
+
sorbet-static (0.5.9892-universal-darwin-17)
|
156
|
+
sorbet-static (0.5.9892-universal-darwin-18)
|
157
|
+
sorbet-static (0.5.9892-universal-darwin-19)
|
158
|
+
sorbet-static (0.5.9892-universal-darwin-20)
|
159
|
+
sorbet-static (0.5.9892-universal-darwin-21)
|
160
|
+
sorbet-static (0.5.9892-x86_64-linux)
|
161
|
+
sprockets (4.0.3)
|
154
162
|
concurrent-ruby (~> 1.0)
|
155
163
|
rack (> 1, < 3)
|
156
|
-
sprockets-rails (3.
|
157
|
-
actionpack (>=
|
158
|
-
activesupport (>=
|
164
|
+
sprockets-rails (3.4.2)
|
165
|
+
actionpack (>= 5.2)
|
166
|
+
activesupport (>= 5.2)
|
159
167
|
sprockets (>= 3.0.0)
|
160
168
|
sqlite3 (1.4.2)
|
161
|
-
thor (1.1
|
169
|
+
thor (1.2.1)
|
162
170
|
thread_safe (0.3.6)
|
163
171
|
tzinfo (1.2.9)
|
164
172
|
thread_safe (~> 0.1)
|
165
|
-
web-console (4.
|
173
|
+
web-console (4.2.0)
|
166
174
|
actionview (>= 6.0.0)
|
167
175
|
activemodel (>= 6.0.0)
|
168
176
|
bindex (>= 0.4.0)
|
@@ -170,7 +178,7 @@ GEM
|
|
170
178
|
websocket-driver (0.7.5)
|
171
179
|
websocket-extensions (>= 0.1.0)
|
172
180
|
websocket-extensions (0.1.5)
|
173
|
-
zeitwerk (2.4
|
181
|
+
zeitwerk (2.5.4)
|
174
182
|
|
175
183
|
PLATFORMS
|
176
184
|
ruby
|
@@ -189,4 +197,4 @@ DEPENDENCIES
|
|
189
197
|
web-console (>= 3.3.0)
|
190
198
|
|
191
199
|
BUNDLED WITH
|
192
|
-
2.2.
|
200
|
+
2.2.32
|
data/spec/support/v6.1/Gemfile
CHANGED
@@ -1,177 +1,187 @@
|
|
1
1
|
PATH
|
2
2
|
remote: ../../..
|
3
3
|
specs:
|
4
|
-
sorbet-rails (0.7.
|
4
|
+
sorbet-rails (0.7.32)
|
5
5
|
method_source (>= 0.9.2)
|
6
6
|
parlour (>= 4.0.1)
|
7
7
|
parser (>= 2.7)
|
8
8
|
sorbet-coerce (>= 0.2.6)
|
9
|
-
sorbet-runtime (>= 0.5)
|
9
|
+
sorbet-runtime (>= 0.5.9892)
|
10
10
|
|
11
11
|
GEM
|
12
12
|
remote: https://rubygems.org/
|
13
13
|
specs:
|
14
|
-
actioncable (6.
|
15
|
-
actionpack (= 6.
|
14
|
+
actioncable (6.1.5)
|
15
|
+
actionpack (= 6.1.5)
|
16
|
+
activesupport (= 6.1.5)
|
16
17
|
nio4r (~> 2.0)
|
17
18
|
websocket-driver (>= 0.6.1)
|
18
|
-
actionmailbox (6.
|
19
|
-
actionpack (= 6.
|
20
|
-
activejob (= 6.
|
21
|
-
activerecord (= 6.
|
22
|
-
activestorage (= 6.
|
23
|
-
activesupport (= 6.
|
19
|
+
actionmailbox (6.1.5)
|
20
|
+
actionpack (= 6.1.5)
|
21
|
+
activejob (= 6.1.5)
|
22
|
+
activerecord (= 6.1.5)
|
23
|
+
activestorage (= 6.1.5)
|
24
|
+
activesupport (= 6.1.5)
|
24
25
|
mail (>= 2.7.1)
|
25
|
-
actionmailer (6.
|
26
|
-
actionpack (= 6.
|
27
|
-
actionview (= 6.
|
28
|
-
activejob (= 6.
|
26
|
+
actionmailer (6.1.5)
|
27
|
+
actionpack (= 6.1.5)
|
28
|
+
actionview (= 6.1.5)
|
29
|
+
activejob (= 6.1.5)
|
30
|
+
activesupport (= 6.1.5)
|
29
31
|
mail (~> 2.5, >= 2.5.4)
|
30
32
|
rails-dom-testing (~> 2.0)
|
31
|
-
actionpack (6.
|
32
|
-
actionview (= 6.
|
33
|
-
activesupport (= 6.
|
34
|
-
rack (~> 2.0, >= 2.0.
|
33
|
+
actionpack (6.1.5)
|
34
|
+
actionview (= 6.1.5)
|
35
|
+
activesupport (= 6.1.5)
|
36
|
+
rack (~> 2.0, >= 2.0.9)
|
35
37
|
rack-test (>= 0.6.3)
|
36
38
|
rails-dom-testing (~> 2.0)
|
37
39
|
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
38
|
-
actiontext (6.
|
39
|
-
actionpack (= 6.
|
40
|
-
activerecord (= 6.
|
41
|
-
activestorage (= 6.
|
42
|
-
activesupport (= 6.
|
40
|
+
actiontext (6.1.5)
|
41
|
+
actionpack (= 6.1.5)
|
42
|
+
activerecord (= 6.1.5)
|
43
|
+
activestorage (= 6.1.5)
|
44
|
+
activesupport (= 6.1.5)
|
43
45
|
nokogiri (>= 1.8.5)
|
44
|
-
actionview (6.
|
45
|
-
activesupport (= 6.
|
46
|
+
actionview (6.1.5)
|
47
|
+
activesupport (= 6.1.5)
|
46
48
|
builder (~> 3.1)
|
47
49
|
erubi (~> 1.4)
|
48
50
|
rails-dom-testing (~> 2.0)
|
49
51
|
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
50
|
-
activejob (6.
|
51
|
-
activesupport (= 6.
|
52
|
+
activejob (6.1.5)
|
53
|
+
activesupport (= 6.1.5)
|
52
54
|
globalid (>= 0.3.6)
|
53
|
-
activemodel (6.
|
54
|
-
activesupport (= 6.
|
55
|
-
activerecord (6.
|
56
|
-
activemodel (= 6.
|
57
|
-
activesupport (= 6.
|
58
|
-
activestorage (6.
|
59
|
-
actionpack (= 6.
|
60
|
-
activejob (= 6.
|
61
|
-
activerecord (= 6.
|
62
|
-
|
63
|
-
|
55
|
+
activemodel (6.1.5)
|
56
|
+
activesupport (= 6.1.5)
|
57
|
+
activerecord (6.1.5)
|
58
|
+
activemodel (= 6.1.5)
|
59
|
+
activesupport (= 6.1.5)
|
60
|
+
activestorage (6.1.5)
|
61
|
+
actionpack (= 6.1.5)
|
62
|
+
activejob (= 6.1.5)
|
63
|
+
activerecord (= 6.1.5)
|
64
|
+
activesupport (= 6.1.5)
|
65
|
+
marcel (~> 1.0)
|
66
|
+
mini_mime (>= 1.1.0)
|
67
|
+
activesupport (6.1.5)
|
64
68
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
65
|
-
i18n (>=
|
66
|
-
minitest (
|
67
|
-
tzinfo (~>
|
68
|
-
zeitwerk (~> 2.
|
69
|
+
i18n (>= 1.6, < 2)
|
70
|
+
minitest (>= 5.1)
|
71
|
+
tzinfo (~> 2.0)
|
72
|
+
zeitwerk (~> 2.3)
|
69
73
|
ast (2.4.2)
|
70
74
|
bindex (0.8.1)
|
71
75
|
builder (3.2.4)
|
72
76
|
byebug (11.1.3)
|
73
77
|
commander (4.6.0)
|
74
78
|
highline (~> 2.0.0)
|
75
|
-
concurrent-ruby (1.1.
|
79
|
+
concurrent-ruby (1.1.10)
|
76
80
|
crass (1.0.6)
|
77
|
-
erubi (1.
|
78
|
-
globalid (0.
|
79
|
-
activesupport (>=
|
81
|
+
erubi (1.10.0)
|
82
|
+
globalid (1.0.0)
|
83
|
+
activesupport (>= 5.0)
|
80
84
|
highline (2.0.3)
|
81
|
-
i18n (1.
|
85
|
+
i18n (1.10.0)
|
82
86
|
concurrent-ruby (~> 1.0)
|
83
|
-
jbuilder (2.
|
87
|
+
jbuilder (2.11.5)
|
88
|
+
actionview (>= 5.0.0)
|
84
89
|
activesupport (>= 5.0.0)
|
85
|
-
loofah (2.
|
90
|
+
loofah (2.16.0)
|
86
91
|
crass (~> 1.0.2)
|
87
92
|
nokogiri (>= 1.5.9)
|
88
93
|
mail (2.7.1)
|
89
94
|
mini_mime (>= 0.1.1)
|
90
|
-
marcel (0.
|
91
|
-
mimemagic (~> 0.3.2)
|
95
|
+
marcel (1.0.2)
|
92
96
|
method_source (1.0.0)
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
mini_portile2 (~> 2.5.0)
|
97
|
+
mini_mime (1.1.2)
|
98
|
+
mini_portile2 (2.8.0)
|
99
|
+
minitest (5.15.0)
|
100
|
+
nio4r (2.5.8)
|
101
|
+
nokogiri (1.13.4)
|
102
|
+
mini_portile2 (~> 2.8.0)
|
100
103
|
racc (~> 1.4)
|
101
|
-
nokogiri (1.
|
104
|
+
nokogiri (1.13.4-x86_64-darwin)
|
102
105
|
racc (~> 1.4)
|
103
|
-
parlour (
|
106
|
+
parlour (7.0.0)
|
104
107
|
commander (~> 4.5)
|
105
108
|
parser
|
106
109
|
rainbow (~> 3.0)
|
107
110
|
sorbet-runtime (>= 0.5)
|
108
|
-
parser (3.
|
111
|
+
parser (3.1.2.0)
|
109
112
|
ast (~> 2.4.1)
|
110
113
|
polyfill (1.9.0)
|
111
|
-
puma (
|
114
|
+
puma (5.6.4)
|
112
115
|
nio4r (~> 2.0)
|
113
|
-
racc (1.
|
116
|
+
racc (1.6.0)
|
114
117
|
rack (2.2.3)
|
115
118
|
rack-test (1.1.0)
|
116
119
|
rack (>= 1.0, < 3)
|
117
|
-
rails (6.
|
118
|
-
actioncable (= 6.
|
119
|
-
actionmailbox (= 6.
|
120
|
-
actionmailer (= 6.
|
121
|
-
actionpack (= 6.
|
122
|
-
actiontext (= 6.
|
123
|
-
actionview (= 6.
|
124
|
-
activejob (= 6.
|
125
|
-
activemodel (= 6.
|
126
|
-
activerecord (= 6.
|
127
|
-
activestorage (= 6.
|
128
|
-
activesupport (= 6.
|
129
|
-
bundler (>= 1.
|
130
|
-
railties (= 6.
|
120
|
+
rails (6.1.5)
|
121
|
+
actioncable (= 6.1.5)
|
122
|
+
actionmailbox (= 6.1.5)
|
123
|
+
actionmailer (= 6.1.5)
|
124
|
+
actionpack (= 6.1.5)
|
125
|
+
actiontext (= 6.1.5)
|
126
|
+
actionview (= 6.1.5)
|
127
|
+
activejob (= 6.1.5)
|
128
|
+
activemodel (= 6.1.5)
|
129
|
+
activerecord (= 6.1.5)
|
130
|
+
activestorage (= 6.1.5)
|
131
|
+
activesupport (= 6.1.5)
|
132
|
+
bundler (>= 1.15.0)
|
133
|
+
railties (= 6.1.5)
|
131
134
|
sprockets-rails (>= 2.0.0)
|
132
135
|
rails-dom-testing (2.0.3)
|
133
136
|
activesupport (>= 4.2.0)
|
134
137
|
nokogiri (>= 1.6)
|
135
|
-
rails-html-sanitizer (1.
|
138
|
+
rails-html-sanitizer (1.4.2)
|
136
139
|
loofah (~> 2.3)
|
137
|
-
railties (6.
|
138
|
-
actionpack (= 6.
|
139
|
-
activesupport (= 6.
|
140
|
+
railties (6.1.5)
|
141
|
+
actionpack (= 6.1.5)
|
142
|
+
activesupport (= 6.1.5)
|
140
143
|
method_source
|
141
|
-
rake (>=
|
142
|
-
thor (
|
143
|
-
rainbow (3.
|
144
|
-
rake (13.0.
|
144
|
+
rake (>= 12.2)
|
145
|
+
thor (~> 1.0)
|
146
|
+
rainbow (3.1.1)
|
147
|
+
rake (13.0.6)
|
145
148
|
safe_type (1.1.1)
|
146
|
-
sorbet (0.5.
|
147
|
-
sorbet-static (= 0.5.
|
148
|
-
sorbet-coerce (0.
|
149
|
+
sorbet (0.5.9892)
|
150
|
+
sorbet-static (= 0.5.9892)
|
151
|
+
sorbet-coerce (0.5.0)
|
149
152
|
polyfill (~> 1.8)
|
150
153
|
safe_type (~> 1.1, >= 1.1.1)
|
151
154
|
sorbet-runtime (>= 0.4.4704)
|
152
|
-
sorbet-runtime (0.5.
|
153
|
-
sorbet-static (0.5.
|
154
|
-
|
155
|
+
sorbet-runtime (0.5.9892)
|
156
|
+
sorbet-static (0.5.9892-universal-darwin-14)
|
157
|
+
sorbet-static (0.5.9892-universal-darwin-15)
|
158
|
+
sorbet-static (0.5.9892-universal-darwin-16)
|
159
|
+
sorbet-static (0.5.9892-universal-darwin-17)
|
160
|
+
sorbet-static (0.5.9892-universal-darwin-18)
|
161
|
+
sorbet-static (0.5.9892-universal-darwin-19)
|
162
|
+
sorbet-static (0.5.9892-universal-darwin-20)
|
163
|
+
sorbet-static (0.5.9892-universal-darwin-21)
|
164
|
+
sorbet-static (0.5.9892-x86_64-linux)
|
165
|
+
sprockets (4.0.3)
|
155
166
|
concurrent-ruby (~> 1.0)
|
156
167
|
rack (> 1, < 3)
|
157
|
-
sprockets-rails (3.2
|
158
|
-
actionpack (>=
|
159
|
-
activesupport (>=
|
168
|
+
sprockets-rails (3.4.2)
|
169
|
+
actionpack (>= 5.2)
|
170
|
+
activesupport (>= 5.2)
|
160
171
|
sprockets (>= 3.0.0)
|
161
172
|
sqlite3 (1.4.2)
|
162
|
-
thor (1.
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
web-console (4.0.4)
|
173
|
+
thor (1.2.1)
|
174
|
+
tzinfo (2.0.4)
|
175
|
+
concurrent-ruby (~> 1.0)
|
176
|
+
web-console (4.2.0)
|
167
177
|
actionview (>= 6.0.0)
|
168
178
|
activemodel (>= 6.0.0)
|
169
179
|
bindex (>= 0.4.0)
|
170
180
|
railties (>= 6.0.0)
|
171
|
-
websocket-driver (0.7.
|
181
|
+
websocket-driver (0.7.5)
|
172
182
|
websocket-extensions (>= 0.1.0)
|
173
183
|
websocket-extensions (0.1.5)
|
174
|
-
zeitwerk (2.
|
184
|
+
zeitwerk (2.5.4)
|
175
185
|
|
176
186
|
PLATFORMS
|
177
187
|
ruby
|
@@ -180,17 +190,14 @@ PLATFORMS
|
|
180
190
|
DEPENDENCIES
|
181
191
|
byebug
|
182
192
|
jbuilder (~> 2.7)
|
183
|
-
puma (~>
|
184
|
-
rails (~> 6.
|
193
|
+
puma (~> 5.0)
|
194
|
+
rails (~> 6.1.4)
|
185
195
|
sorbet
|
186
196
|
sorbet-rails!
|
187
197
|
sorbet-runtime
|
188
198
|
sqlite3 (~> 1.4)
|
189
199
|
tzinfo-data
|
190
|
-
web-console (>=
|
191
|
-
|
192
|
-
RUBY VERSION
|
193
|
-
ruby 2.5.5p157
|
200
|
+
web-console (>= 4.1.0)
|
194
201
|
|
195
202
|
BUNDLED WITH
|
196
|
-
2.2.
|
203
|
+
2.2.32
|
@@ -86,6 +86,7 @@ T.assert_type!(Wizard.eager_load(:spell_books), Wizard::ActiveRecord_Relation)
|
|
86
86
|
T.assert_type!(Wizard.order(:id), Wizard::ActiveRecord_Relation)
|
87
87
|
T.assert_type!(Wizard.select { |r| r.id == 1 }, T::Array[Wizard])
|
88
88
|
T.assert_type!(Wizard.select_columns(:id, :name), Wizard::ActiveRecord_Relation)
|
89
|
+
T.assert_type!(Wizard.where_missing(:wand), Wizard::ActiveRecord_Relation)
|
89
90
|
|
90
91
|
# Finder methods -- ActiveRecord::Relation
|
91
92
|
T.assert_type!(Wizard.all.exists?(name: 'Harry Potter'), T::Boolean)
|
@@ -150,6 +151,7 @@ T.assert_type!(Wizard.all.eager_load(:spell_books), Wizard::ActiveRecord_Relatio
|
|
150
151
|
T.assert_type!(Wizard.all.order(:id), Wizard::ActiveRecord_Relation)
|
151
152
|
T.assert_type!(Wizard.all.select { |r| r.id == 1 }, T::Array[Wizard])
|
152
153
|
T.assert_type!(Wizard.all.select_columns(:id, :name), Wizard::ActiveRecord_Relation)
|
154
|
+
T.assert_type!(Wizard.all.where_missing(:wand), Wizard::ActiveRecord_Relation)
|
153
155
|
# Enumerable methods
|
154
156
|
Wizard.all.each { |w| T.assert_type!(w, Wizard) }
|
155
157
|
Wizard.all.map { |w| T.assert_type!(w, Wizard) }
|
@@ -220,6 +222,7 @@ T.assert_type!(spell_books.eager_load(:wizard), SpellBook::ActiveRecord_Associat
|
|
220
222
|
T.assert_type!(spell_books.order(:id), SpellBook::ActiveRecord_AssociationRelation)
|
221
223
|
T.assert_type!(spell_books.select { |r| r.id == 1 }, T::Array[SpellBook])
|
222
224
|
T.assert_type!(spell_books.select_columns(:id, :name), SpellBook::ActiveRecord_AssociationRelation)
|
225
|
+
T.assert_type!(spell_books.where_missing(:wizard), SpellBook::ActiveRecord_AssociationRelation)
|
223
226
|
|
224
227
|
# Enumerable methods
|
225
228
|
spell_books.each { |s| T.assert_type!(s, SpellBook) }
|
@@ -133,7 +133,7 @@ class ActiveRecord::Relation
|
|
133
133
|
end
|
134
134
|
|
135
135
|
class ActiveRecord::AssociationRelation < ActiveRecord::Relation
|
136
|
-
Elem = type_member
|
136
|
+
Elem = type_member {{fixed: T.untyped}}
|
137
137
|
|
138
138
|
sig { params(args: T.untyped, block: T.nilable(T.proc.params(object: Elem).void)).returns(Elem) }
|
139
139
|
def new(*args, &block); end
|
@@ -149,7 +149,7 @@ class ActiveRecord::AssociationRelation < ActiveRecord::Relation
|
|
149
149
|
end
|
150
150
|
|
151
151
|
class ActiveRecord::Associations::CollectionProxy < ActiveRecord::Relation
|
152
|
-
Elem = type_member
|
152
|
+
Elem = type_member {{fixed: T.untyped}}
|
153
153
|
|
154
154
|
sig { params(attributes: T.untyped, block: T.nilable(T.proc.params(object: Elem).void)).returns(Elem) }
|
155
155
|
def new(attributes = nil, &block); end
|
@@ -281,20 +281,20 @@ class ActiveStorage::Attachment::ActiveRecord_Relation < ActiveRecord::Relation
|
|
281
281
|
include ActiveStorage::Attachment::ActiveRelation_WhereNot
|
282
282
|
include ActiveStorage::Attachment::CustomFinderMethods
|
283
283
|
include ActiveStorage::Attachment::QueryMethodsReturningRelation
|
284
|
-
Elem = type_member
|
284
|
+
Elem = type_member {{fixed: ActiveStorage::Attachment}}
|
285
285
|
end
|
286
286
|
|
287
287
|
class ActiveStorage::Attachment::ActiveRecord_AssociationRelation < ActiveRecord::AssociationRelation
|
288
288
|
include ActiveStorage::Attachment::ActiveRelation_WhereNot
|
289
289
|
include ActiveStorage::Attachment::CustomFinderMethods
|
290
290
|
include ActiveStorage::Attachment::QueryMethodsReturningAssociationRelation
|
291
|
-
Elem = type_member
|
291
|
+
Elem = type_member {{fixed: ActiveStorage::Attachment}}
|
292
292
|
end
|
293
293
|
|
294
294
|
class ActiveStorage::Attachment::ActiveRecord_Associations_CollectionProxy < ActiveRecord::Associations::CollectionProxy
|
295
295
|
include ActiveStorage::Attachment::CustomFinderMethods
|
296
296
|
include ActiveStorage::Attachment::QueryMethodsReturningAssociationRelation
|
297
|
-
Elem = type_member
|
297
|
+
Elem = type_member {{fixed: ActiveStorage::Attachment}}
|
298
298
|
|
299
299
|
sig { params(records: T.any(ActiveStorage::Attachment, T::Array[ActiveStorage::Attachment])).returns(T.self_type) }
|
300
300
|
def <<(*records); end
|