rbs_loading_optimizer 0.1.0 → 0.1.2
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 91bf4e7ef982077f4dc208fb623334f52f9e97d37ff4c2f8d4bd2e37a9f7ecfd
|
4
|
+
data.tar.gz: 7a686dcfc1ff9f1f0300b8a00893b58b316cfbd361251a80d48760696108a63b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5a0207861ab5fa420aef88b6fe065db7e0651f3685def35efd0595e5621ed9822e1b05d0d0377100585f8aa4f2833569797d0ffb69d7ae2821c846a7dc288d4a
|
7
|
+
data.tar.gz: 75abd34eed5d0419a8f536927d3073ea5fcdd430db2d88c87a01eac63ea299647902d2b6bb30ee94a262db739a20e9e74613418f63841f162c1c823b1a7e61bc
|
@@ -49,10 +49,11 @@ module RBS
|
|
49
49
|
alias original_resolve_type_names resolve_type_names
|
50
50
|
|
51
51
|
def resolve_type_names(only: nil)
|
52
|
-
original_resolve_type_names(only:)
|
53
|
-
|
54
|
-
|
55
|
-
|
52
|
+
original_resolve_type_names(only:).tap do |resolved_env|
|
53
|
+
# NOTE: Write the environment to the cache file
|
54
|
+
resolve_env.modified_time = modified_time
|
55
|
+
write_cache("system.rbs", resolved_env)
|
56
|
+
end
|
56
57
|
end
|
57
58
|
|
58
59
|
alias original_resolve_declaration resolve_declaration
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rbs_loading_optimizer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Takeshi KOMIYA
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-06-
|
11
|
+
date: 2023-06-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rbs
|