rbs_loading_optimizer 0.1.0 → 0.1.1

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: 02e4af2f1212ecde2369a00e2eae1c04b74c7c414c7b36deedd06f71b5f23c3a
4
- data.tar.gz: 72bfb4e4a4495fd5c7ae18296837c9ea355b29ca34d80fa2bde4825a42a639dc
3
+ metadata.gz: 6361d131bf629fc199635e03c9d02a254be314025aa18fbd4a1519003d9370d2
4
+ data.tar.gz: 2331e5f1befb54195587f7c17c84081563f8908943a5060c4125e9062347c200
5
5
  SHA512:
6
- metadata.gz: 4733ef23a79ab88a3e361e90e00e48826c38160272b6a8a2d5b12f86855137a1c349bfd73fce62fcad07ee481e01d36e6e66f597ea0ed9de0d6703b3e6d40c95
7
- data.tar.gz: ebcdeed24d072e32f6d2e24d5151082ed50878b3504f530115f77dcf1e28f3aeaa803077e912599c0ebd0f15c89da9acb9707c546dd2c15403029cf638ca658c
6
+ metadata.gz: 5ffaeae79cf6414d13e7c35a5cbcac46f963085437c54c787fe35fcc39fd25dc729bc4aa29f435a71d9948be5c1f69a6112ff044d4643db067cdc1d181b5ada1
7
+ data.tar.gz: 5d644b3c61c70d247569a4c69dd372e76aa59fe82e96ee5e22e9d2eb4304b758b3706711915584dedaa59271896adce1bcfa727150481fa7981d31009b56291a
@@ -49,10 +49,10 @@ 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
- # NOTE: Write the environment to the cache file
55
- write_cache("system.rbs", self)
52
+ original_resolve_type_names(only:).tap do |resolved_env|
53
+ # NOTE: Write the environment to the cache file
54
+ write_cache("system.rbs", resolved_env)
55
+ end
56
56
  end
57
57
 
58
58
  alias original_resolve_declaration resolve_declaration
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RbsLoadingOptimizer
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.1"
5
5
  end
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.0
4
+ version: 0.1.1
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-07 00:00:00.000000000 Z
11
+ date: 2023-06-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rbs