tapioca 0.17.4 → 0.17.5

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8b36e9553bee2459f120edeb6eeaf9a77b25051c352750d17f473445c36d6d4d
4
- data.tar.gz: f4777498dd0ed927e8d27f6f49fd0f01d372f2658bb1f6cd0c17494c436977cb
3
+ metadata.gz: 302108d7d02504d88d18e3b0ae4832e2fd6c891e83f6428d69d5c4f6773a3a73
4
+ data.tar.gz: 646642051b0b9d8736ad30e45d0b1bcfbe82f92b980f0909c45dc7f2337e0ce1
5
5
  SHA512:
6
- metadata.gz: 9d1c5fd8a3af303cbeb24593e3f448c43592389cb28d94be69035d8ba84a33c82ca462e8445d55ef13bcde62a32bccf8333fcbc91d546468a2e5070732fb51c9
7
- data.tar.gz: edcc7dc4de8a1975ef2a396ce014137c6f20b796bfa680c8cf5a4e8fba37a04c5127f16bf6965af22993cb2c6e399937972176571e1fcb96efc260a74381f76d
6
+ metadata.gz: c6a75f400e82b9f311f0f53713a843a94a3e444a6a52b09d83abd818226a058ec78f02e43b193e864fc90f895ecad0425e7b9d160aaa7c4681b354392a7ad594
7
+ data.tar.gz: 831256628c364563d69fe8d742f9fe0a973e12275bdbb5498a6af83c664036aa199ec0a94bf9ba527d3165723bf17aa5852e9eb2b993ccc0ed7439ef0f663a68
@@ -19,13 +19,15 @@ module RubyLsp
19
19
  when "load_compilers_and_extensions"
20
20
  # Load DSL extensions and compilers ahead of time, so that we don't have to pay the price of invoking
21
21
  # `Gem.find_files` on every execution, which is quite expensive
22
- @loader = ::Tapioca::Loaders::Dsl.new(
23
- tapioca_path: ::Tapioca::TAPIOCA_DIR,
24
- eager_load: false,
25
- app_root: params[:workspace_path],
26
- halt_upon_load_error: false,
27
- )
28
- @loader.load_dsl_extensions_and_compilers
22
+ with_notification_wrapper("load_compilers_and_extensions", "Loading DSL compilers") do
23
+ @loader = ::Tapioca::Loaders::Dsl.new(
24
+ tapioca_path: ::Tapioca::TAPIOCA_DIR,
25
+ eager_load: false,
26
+ app_root: params[:workspace_path],
27
+ halt_upon_load_error: false,
28
+ )
29
+ @loader.load_dsl_extensions_and_compilers
30
+ end
29
31
  when "dsl"
30
32
  fork do
31
33
  with_notification_wrapper("dsl", "Generating DSL RBIs") do
@@ -29,29 +29,33 @@ module Tapioca
29
29
  # # post.rbi
30
30
  # # typed: true
31
31
  # class Post
32
- # sig { returns(T.nilable(::String)) }
33
- # def title; end
32
+ # include SmartPropertiesGeneratedMethods
34
33
  #
35
- # sig { params(title: T.nilable(::String)).returns(T.nilable(::String)) }
36
- # def title=(title); end
34
+ # module SmartPropertiesGeneratedMethods
35
+ # sig { returns(T.nilable(::String)) }
36
+ # def title; end
37
37
  #
38
- # sig { returns(::String) }
39
- # def description; end
38
+ # sig { params(title: T.nilable(::String)).returns(T.nilable(::String)) }
39
+ # def title=(title); end
40
40
  #
41
- # sig { params(description: ::String).returns(::String) }
42
- # def description=(description); end
41
+ # sig { returns(::String) }
42
+ # def description; end
43
43
  #
44
- # sig { returns(T.nilable(T::Boolean)) }
45
- # def published?; end
44
+ # sig { params(description: ::String).returns(::String) }
45
+ # def description=(description); end
46
46
  #
47
- # sig { params(published: T.nilable(T::Boolean)).returns(T.nilable(T::Boolean)) }
48
- # def published=(published); end
47
+ # sig { returns(T.nilable(T::Boolean)) }
48
+ # def published?; end
49
49
  #
50
- # sig { returns(T.nilable(T::Boolean)) }
51
- # def enabled; end
50
+ # sig { params(published: T.nilable(T::Boolean)).returns(T.nilable(T::Boolean)) }
51
+ # def published=(published); end
52
52
  #
53
- # sig { params(enabled: T.nilable(T::Boolean)).returns(T.nilable(T::Boolean)) }
54
- # def enabled=(enabled); end
53
+ # sig { returns(T.nilable(T::Boolean)) }
54
+ # def enabled; end
55
+ #
56
+ # sig { params(enabled: T.nilable(T::Boolean)).returns(T.nilable(T::Boolean)) }
57
+ # def enabled=(enabled); end
58
+ # end
55
59
  # end
56
60
  # ~~~
57
61
  #: [ConstantType = singleton(::SmartProperties)]
@@ -2,5 +2,5 @@
2
2
  # frozen_string_literal: true
3
3
 
4
4
  module Tapioca
5
- VERSION = "0.17.4"
5
+ VERSION = "0.17.5"
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.17.4
4
+ version: 0.17.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ufuk Kayserilioglu