rbs 3.9.1 → 3.9.2

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: 6909722b4c6665b15d20004c29a6d661bd43eaa6605a55338cbb51b3b9cd6c2b
4
- data.tar.gz: f9e36cc5e3206c3fdd78d5df2eee8d11d2a3e7ca19178d03758c555b5dff4306
3
+ metadata.gz: 170d86a49dcb384a18b08feffedd7ff3edef07ff08305c566f84f613765af36d
4
+ data.tar.gz: '09975862bee26d90936c89c7d461c992829665b866053551ff02bd7a679ebd26'
5
5
  SHA512:
6
- metadata.gz: deb3fc1000baa0caa36c1fd9818c99faeca9ba19a4310f7d3650a1a09e56db0de9c977596cc3a9038c59a5d35476c9fbe2ac6856b8bd8ce1c9cb09fb753e466c
7
- data.tar.gz: 6953da211f451576ce291f389aaf9028bcf7b291bdad20e591d9e764b2b31af044706746f57e74889395fba49e08386e9c9eee1574df5d6d1ea93cd37226ef10
6
+ metadata.gz: 653e269661b10cce36470bf51163e2ecb056bd9a1714de6c9a6aeb2d3d659b95a73460737b74328fd594cdf6455ee3a90308d63898a447ddc99d8e36b10b9733
7
+ data.tar.gz: 27fe334fe021669723ad96918d6c01543cfe93b64217229668b7a77182df3c4fde89f4c98bb55577b0b12dc04658bfb735a3813f5d56c0f6b951fe6a8d993edb
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 3.9.2 (2025-03-31)
4
+
5
+ ### Library changes
6
+
7
+ * Change `{}` to `{ 0 }` ([#2354](https://github.com/ruby/rbs/pull/2354))
8
+
3
9
  ## 3.9.1 (2025-03-24)
4
10
 
5
11
  ### Miscellaneous
@@ -334,7 +334,7 @@ parserstate *alloc_parser(VALUE buffer, lexstate *lexer, int start_pos, int end_
334
334
  .vars = NULL,
335
335
  .last_comment = NULL,
336
336
 
337
- .constant_pool = {},
337
+ .constant_pool = { 0 },
338
338
  };
339
339
 
340
340
  // The parser's constant pool is mainly used for storing the names of type variables, which usually aren't many.
data/lib/rbs/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RBS
4
- VERSION = "3.9.1"
4
+ VERSION = "3.9.2"
5
5
  end
@@ -169,7 +169,7 @@ rbs_constant_pool_resize(rbs_constant_pool_t *pool) {
169
169
  }
170
170
 
171
171
  // This storage is initialized by `Init_rbs_extension()` in `main.c`.
172
- static rbs_constant_pool_t RBS_GLOBAL_CONSTANT_POOL_STORAGE = {};
172
+ static rbs_constant_pool_t RBS_GLOBAL_CONSTANT_POOL_STORAGE = { 0 };
173
173
  rbs_constant_pool_t *RBS_GLOBAL_CONSTANT_POOL = &RBS_GLOBAL_CONSTANT_POOL_STORAGE;
174
174
 
175
175
  /**
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rbs
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.9.1
4
+ version: 3.9.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Soutaro Matsumoto
8
8
  bindir: exe
9
9
  cert_chain: []
10
- date: 2025-03-24 00:00:00.000000000 Z
10
+ date: 2025-03-31 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: logger