rbs 3.9.3 → 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 +4 -4
- data/.github/workflows/ruby.yml +0 -4
- data/.github/workflows/typecheck.yml +0 -2
- data/CHANGELOG.md +20 -0
- data/core/string.rbs +12 -1
- data/ext/rbs_extension/main.c +9 -8
- data/lib/rbs/collection.rb +1 -0
- data/lib/rbs/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0d490d8913cfa35f6554fce9b6d23e441b2b5dc41da82ff94551d86cc4a95bfd
|
4
|
+
data.tar.gz: a352b325e582ccc60629f968dd29fba39ff2e0ffcbe0b2208711433dbfc4e4a5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e12fd282d0c28d5eaa981694a51b32b021033f2acae8ca63e84872f6f4737ccf2846df04f5d057225f8a06b260486bf6fabd6558ccdd502c84e3a622efb235e5
|
7
|
+
data.tar.gz: c043af2b405b3942450a18d92140bafddbca5449b8ab36c02c3fad5d25556d7408f71e2b304ae67e5610856a0ddd9e13ea79d3034087c0c3af3f9ca2dfa80b01
|
data/.github/workflows/ruby.yml
CHANGED
@@ -44,8 +44,6 @@ jobs:
|
|
44
44
|
bundler: none
|
45
45
|
- name: Set working directory as safe
|
46
46
|
run: git config --global --add safe.directory $(pwd)
|
47
|
-
- name: Set up permission
|
48
|
-
run: chmod -R o-w /opt/hostedtoolcache/Ruby
|
49
47
|
- name: Install dependencies
|
50
48
|
run: |
|
51
49
|
sudo apt-get update
|
@@ -90,8 +88,6 @@ jobs:
|
|
90
88
|
bundler-cache: none
|
91
89
|
- name: Set working directory as safe
|
92
90
|
run: git config --global --add safe.directory $(pwd)
|
93
|
-
- name: Set up permission
|
94
|
-
run: chmod -R o-w /opt/hostedtoolcache/Ruby
|
95
91
|
- name: Install dependencies
|
96
92
|
run: |
|
97
93
|
sudo apt-get update
|
@@ -20,8 +20,6 @@ jobs:
|
|
20
20
|
bundler: none
|
21
21
|
- name: Set working directory as safe
|
22
22
|
run: git config --global --add safe.directory $(pwd)
|
23
|
-
- name: Set up permission
|
24
|
-
run: chmod -R o-w /opt/hostedtoolcache/Ruby
|
25
23
|
- name: Install dependencies
|
26
24
|
run: |
|
27
25
|
sudo apt-get update
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,25 @@
|
|
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
|
+
|
16
|
+
## 3.9.4 (2025-05-15)
|
17
|
+
|
18
|
+
### Miscellaneous
|
19
|
+
|
20
|
+
* Backport test/CI fixes to 3.9 ([#2487](https://github.com/ruby/rbs/pull/2487))
|
21
|
+
* Use erb instead of set for load path testing ([#2468](https://github.com/ruby/rbs/pull/2468))
|
22
|
+
|
3
23
|
## 3.9.3 (2025-05-09)
|
4
24
|
|
5
25
|
### 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
|
data/ext/rbs_extension/main.c
CHANGED
@@ -18,14 +18,15 @@ Init_rbs_extension(void)
|
|
18
18
|
rbs__init_location();
|
19
19
|
rbs__init_parser();
|
20
20
|
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
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
|
|
data/lib/rbs/collection.rb
CHANGED
data/lib/rbs/version.rb
CHANGED
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
|
+
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:
|
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.
|
540
|
+
rubygems_version: 3.6.9
|
541
541
|
specification_version: 4
|
542
542
|
summary: Type signature for Ruby.
|
543
543
|
test_files: []
|