rbs 3.2.0 → 3.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +15 -0
- data/Gemfile.lock +1 -1
- data/core/fiber.rbs +2 -2
- data/lib/rbs/environment.rb +6 -3
- data/lib/rbs/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 529f6ca8f4e9a3c6c81b8c69cbdd9470107a07f23051332fab951d3d1df19233
|
4
|
+
data.tar.gz: 5291bd4b15c66fc7fa4c80cf117dfef2fbb6112d2dc5d9b2608338d5b6bc6c84
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1b2e9c72861c2e13fcd7b9eb5fbcbb21764ebfe800681ece0d65fc83eb4ec8e12d837e97c312e954e5f784e78ca7f22e6c2c6dbcbfe6e793a9af390035b43afb
|
7
|
+
data.tar.gz: fdeb0b0f967399298bb891a5708cdfbcdd7d60386f4b006c74f230648a871dca1ba41155483c582a41c21d1481fa3d28273143e3302e4ea9f83457f5309b88dc
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,21 @@
|
|
2
2
|
|
3
3
|
## master
|
4
4
|
|
5
|
+
## 3.2.1 (2023-08-29)
|
6
|
+
|
7
|
+
### Signature updates
|
8
|
+
|
9
|
+
* `Fiber` (Backport [#1463](https://github.com/ruby/rbs/pull/1463))
|
10
|
+
|
11
|
+
### Library changes
|
12
|
+
|
13
|
+
* Fix error when undefined interface or alias (Backport [#1465](https://github.com/ruby/rbs/pull/1465))
|
14
|
+
|
15
|
+
### Miscellaneous
|
16
|
+
|
17
|
+
* Improve skip test message (Backport [#1476](https://github.com/ruby/rbs/pull/1476))
|
18
|
+
* Fix CI failure (Backport [#1464](https://github.com/ruby/rbs/pull/1464))
|
19
|
+
|
5
20
|
## 3.2.0 (2023-08-22)
|
6
21
|
|
7
22
|
### Signature updates
|
data/Gemfile.lock
CHANGED
data/core/fiber.rbs
CHANGED
@@ -86,7 +86,7 @@ class Fiber < Object
|
|
86
86
|
#
|
87
87
|
# See also Fiber::[]=.
|
88
88
|
#
|
89
|
-
def self.[]: (Symbol
|
89
|
+
def self.[]: (Symbol) -> untyped
|
90
90
|
|
91
91
|
# <!--
|
92
92
|
# rdoc-file=cont.c
|
@@ -99,7 +99,7 @@ class Fiber < Object
|
|
99
99
|
#
|
100
100
|
# See also Fiber::[].
|
101
101
|
#
|
102
|
-
def self.[]=: [A] (Symbol
|
102
|
+
def self.[]=: [A] (Symbol, A) -> A
|
103
103
|
|
104
104
|
# <!--
|
105
105
|
# rdoc-file=cont.c
|
data/lib/rbs/environment.rb
CHANGED
@@ -276,9 +276,9 @@ module RBS
|
|
276
276
|
end
|
277
277
|
|
278
278
|
def normalize_type_name?(name)
|
279
|
-
if name.class?
|
280
|
-
|
281
|
-
|
279
|
+
return normalize_module_name?(name) if name.class?
|
280
|
+
|
281
|
+
type_name =
|
282
282
|
unless name.namespace.empty?
|
283
283
|
parent = name.namespace.to_type_name
|
284
284
|
parent = normalize_module_name?(parent)
|
@@ -288,6 +288,9 @@ module RBS
|
|
288
288
|
else
|
289
289
|
name
|
290
290
|
end
|
291
|
+
|
292
|
+
if type_name?(type_name)
|
293
|
+
type_name
|
291
294
|
end
|
292
295
|
end
|
293
296
|
|
data/lib/rbs/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rbs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.2.
|
4
|
+
version: 3.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Soutaro Matsumoto
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-08-
|
11
|
+
date: 2023-08-29 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: RBS is the language for type signatures for Ruby and standard library
|
14
14
|
definitions.
|