tapioca 0.16.6 → 0.16.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/ruby_lsp/tapioca/addon.rb +2 -2
- data/lib/tapioca/dsl/compilers/active_record_relations.rb +1 -1
- data/lib/tapioca/version.rb +1 -1
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 72d868353abd88ee0f1b29b098a89259e9ff1ec4248ae2a5d23f4cfa599f24b3
|
4
|
+
data.tar.gz: 721b57e0409ed03b3d10571cd49c7f258afd3fdd405cf6c61dfde5d339539169
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8fab73b06ace7ab4c6efab4ac0d0b9566d629f4f02bbce249d8b786136c89212f2e35087402067a984b2ac40e29b8ea26aa4aa1f9caf0d543fbdee6938f87a68
|
7
|
+
data.tar.gz: '07609a1bd007962ff193ae2bdd2d1cf8c97b0504d4d3c0932697f45fd134833ddefca9197dc280a816598ee573ad2c4f0c314f1131929eea1a15e6eda3546b3c'
|
data/README.md
CHANGED
@@ -180,7 +180,7 @@ Options:
|
|
180
180
|
[--include-dependencies], [--no-include-dependencies], [--skip-include-dependencies] # Generate RBI files for dependencies of the given gem(s)
|
181
181
|
# Default: false
|
182
182
|
--typed, -t, [--typed-overrides=gem:level [gem:level ...]] # Override for typed sigils for generated gem RBIs
|
183
|
-
# Default: {"activesupport"=>"false"}
|
183
|
+
# Default: {"activesupport" => "false"}
|
184
184
|
[--verify], [--no-verify], [--skip-verify] # Verify RBIs are up-to-date
|
185
185
|
# Default: false
|
186
186
|
[--doc], [--no-doc], [--skip-doc] # Include YARD documentation from sources when generating RBIs. Warning: this might be slow
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# typed: strict
|
2
2
|
# frozen_string_literal: true
|
3
3
|
|
4
|
-
RubyLsp::Addon.depend_on_ruby_lsp!(">= 0.
|
4
|
+
RubyLsp::Addon.depend_on_ruby_lsp!(">= 0.23.1", "< 0.24")
|
5
5
|
|
6
6
|
begin
|
7
7
|
# The Tapioca add-on depends on the Rails add-on to add a runtime component to the runtime server. We can allow the
|
@@ -79,7 +79,7 @@ module RubyLsp
|
|
79
79
|
next if path.end_with?("_test.rb", "_spec.rb")
|
80
80
|
next unless file_updated?(change, path)
|
81
81
|
|
82
|
-
entries = T.must(@index).entries_for(
|
82
|
+
entries = T.must(@index).entries_for(change[:uri])
|
83
83
|
next unless entries
|
84
84
|
|
85
85
|
entries.filter_map do |entry|
|
@@ -597,7 +597,7 @@ module Tapioca
|
|
597
597
|
sig.return_type = mod == relation_methods_module ? RelationClassName : AssociationRelationClassName
|
598
598
|
end
|
599
599
|
method.add_sig do |sig|
|
600
|
-
sig.add_param("blk", "T.proc.params(record: #{constant_name}).returns(
|
600
|
+
sig.add_param("blk", "T.proc.params(record: #{constant_name}).returns(BasicObject)")
|
601
601
|
sig.return_type = "T::Array[#{constant_name}]"
|
602
602
|
end
|
603
603
|
end
|
data/lib/tapioca/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tapioca
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.16.
|
4
|
+
version: 0.16.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ufuk Kayserilioglu
|
@@ -10,8 +10,22 @@ authors:
|
|
10
10
|
- Peter Zhu
|
11
11
|
bindir: exe
|
12
12
|
cert_chain: []
|
13
|
-
date: 2025-01-
|
13
|
+
date: 2025-01-09 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: benchmark
|
17
|
+
requirement: !ruby/object:Gem::Requirement
|
18
|
+
requirements:
|
19
|
+
- - ">="
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
requirements:
|
26
|
+
- - ">="
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
version: '0'
|
15
29
|
- !ruby/object:Gem::Dependency
|
16
30
|
name: bundler
|
17
31
|
requirement: !ruby/object:Gem::Requirement
|