rbs 3.9.4 → 3.9.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: 87d2bd9e9a3614197bf48bb627818de33e6229d916c9e69da54d869604291264
4
- data.tar.gz: bca64533203a4632c489eb799ebdfd2504761ea94a14459f0459a1e3f87fcb24
3
+ metadata.gz: 0d490d8913cfa35f6554fce9b6d23e441b2b5dc41da82ff94551d86cc4a95bfd
4
+ data.tar.gz: a352b325e582ccc60629f968dd29fba39ff2e0ffcbe0b2208711433dbfc4e4a5
5
5
  SHA512:
6
- metadata.gz: 8bed7eff9963856fc06bcb36f4f48f5fafebdf9e8caaa7df7d5f27a28a29b17e83d3145088e37fb86edd5ead6fb6aff3ecc9c857c517de5e753ef7dff4d58eb8
7
- data.tar.gz: 325b48fd2ebcada1975741733498770c321fe319da5e4c70517b6f2b4adbbd865b73f4dd8557e05268b10de1ce316a8bed7a191f7811fce3f1e6162b16abbb51
6
+ metadata.gz: e12fd282d0c28d5eaa981694a51b32b021033f2acae8ca63e84872f6f4737ccf2846df04f5d057225f8a06b260486bf6fabd6558ccdd502c84e3a622efb235e5
7
+ data.tar.gz: c043af2b405b3942450a18d92140bafddbca5449b8ab36c02c3fad5d25556d7408f71e2b304ae67e5610856a0ddd9e13ea79d3034087c0c3af3f9ca2dfa80b01
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 3.9.5 (2025-09-08)
4
+
5
+ ### Signature updates
6
+
7
+ * Merge pull request #2655 from ruby/silence-string-deprecation ([#2656](https://github.com/ruby/rbs/pull/2656))
8
+
9
+ ### Miscellaneous
10
+
11
+ * Allows the use of a path list as RBS_SKIP_TESTS ([#2641](https://github.com/ruby/rbs/pull/2641))
12
+ * Suppress to GCC warning with multi-line comment ([#2646](https://github.com/ruby/rbs/pull/2646))
13
+ * Backport to 3.9 ([#2487](https://github.com/ruby/rbs/pull/2487))
14
+ * Use erb instead of set for load path testing ([#2468](https://github.com/ruby/rbs/pull/2468))
15
+
3
16
  ## 3.9.4 (2025-05-15)
4
17
 
5
18
  ### Miscellaneous
data/core/string.rbs CHANGED
@@ -3580,4 +3580,15 @@ interface _ArefFromStringToString
3580
3580
  end
3581
3581
 
3582
3582
  %a{deprecated}
3583
- type String::encode_fallback = Hash[String, String] | Proc | Method | _ArefFromStringToString
3583
+ type String::encode_fallback = Hash[String, String] | Proc | Method | String::_ArefFromStringToString
3584
+
3585
+ # Don't use this interface directly
3586
+ #
3587
+ # This is a copy of `::_ArefFromStringToString` but without deprecated attribute.
3588
+ # This is a workaround to avoid deprecation warnings in `String::encode_fallback` type.
3589
+ #
3590
+ # This type will be deprecated soon once `::_ArefFromStringToString` and `String::encode_fallback` are removed.
3591
+ #
3592
+ interface String::_ArefFromStringToString
3593
+ def []: (String) -> String
3594
+ end
@@ -18,14 +18,15 @@ Init_rbs_extension(void)
18
18
  rbs__init_location();
19
19
  rbs__init_parser();
20
20
 
21
- // Calculated based on the number of unique strings used with the `INTERN` macro in `parser.c`.
22
- //
23
- // ```bash
24
- // grep -o 'INTERN("\([^"]*\)")' ext/rbs_extension/parser.c \
25
- // | sed 's/INTERN("\(.*\)")/\1/' \
26
- // | sort -u \
27
- // | wc -l
28
- // ```
21
+ /* Calculated based on the number of unique strings used with the `INTERN` macro in `parser.c`.
22
+ *
23
+ * ```bash
24
+ * grep -o 'INTERN("\([^"]*\)")' ext/rbs_extension/parser.c \
25
+ * | sed 's/INTERN("\(.*\)")/\1/' \
26
+ * | sort -u \
27
+ * | wc -l
28
+ * ```
29
+ */
29
30
  const size_t num_uniquely_interned_strings = 26;
30
31
  rbs_constant_pool_init(RBS_GLOBAL_CONSTANT_POOL, num_uniquely_interned_strings);
31
32
 
@@ -1,6 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require 'yaml'
4
+ require 'fileutils'
4
5
 
5
6
  require_relative './cli/colored_io'
6
7
  require_relative './collection/sources'
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.4"
4
+ VERSION = "3.9.5"
5
5
  end
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.4
4
+ version: 3.9.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Soutaro Matsumoto
8
8
  bindir: exe
9
9
  cert_chain: []
10
- date: 2025-05-15 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: logger
@@ -537,7 +537,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
537
537
  - !ruby/object:Gem::Version
538
538
  version: '0'
539
539
  requirements: []
540
- rubygems_version: 3.6.2
540
+ rubygems_version: 3.6.9
541
541
  specification_version: 4
542
542
  summary: Type signature for Ruby.
543
543
  test_files: []