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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5a42a478b0396f43dd9e6505c18ac69ca8c32e6ef00b298e6d6e4a8c12536b17
4
- data.tar.gz: f24ab38ee1d78f1633f7d580ea5be8f93e13c9c6550d11b5d5bc4171d974929b
3
+ metadata.gz: 72d868353abd88ee0f1b29b098a89259e9ff1ec4248ae2a5d23f4cfa599f24b3
4
+ data.tar.gz: 721b57e0409ed03b3d10571cd49c7f258afd3fdd405cf6c61dfde5d339539169
5
5
  SHA512:
6
- metadata.gz: f623d3b5e66a081728d9ae4b3dde4c6c976829ffbd6e606a64def2e8aff489c09911396ca72146c901f72a11d432d6c86ae840e278b8d85fd8ee756e97776542
7
- data.tar.gz: e7686bcfed28858bfb8f162ee0bd8a7c9a6cdf286c7227a86032025934b04fa72c29f21c41d7a3c5668edb8aad2d39bf2808a2d98799a7434e94aa9b921c3cf8
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.22.1", "< 0.23")
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(path)
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(T::Boolean)")
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
@@ -2,5 +2,5 @@
2
2
  # frozen_string_literal: true
3
3
 
4
4
  module Tapioca
5
- VERSION = "0.16.6"
5
+ VERSION = "0.16.7"
6
6
  end
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.6
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-06 00:00:00.000000000 Z
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