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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3785c4b5642259ae2d30d7fc88b188283a43367053a2cf958238f800a1aef7dc
4
- data.tar.gz: a15b431352b349d6d0d3eb034b0a892bc85502ddd5c1158bd41980baee01760a
3
+ metadata.gz: 529f6ca8f4e9a3c6c81b8c69cbdd9470107a07f23051332fab951d3d1df19233
4
+ data.tar.gz: 5291bd4b15c66fc7fa4c80cf117dfef2fbb6112d2dc5d9b2608338d5b6bc6c84
5
5
  SHA512:
6
- metadata.gz: fec87dba1128481d962646c4a2cc0d8243cc18971584633c1565d70fc2d8d09c94823b60990c4c6ad9ad3167e8c60421c60bfb5f194c1bcbd5079bff7a454ee5
7
- data.tar.gz: f5f0ead8e4db8c05b11f9d6bbad2be09f0f3951701c58bbf5ffbe62ec2e5ce149dfe53a82b9f7f3cded1871fb80b78177e19fbce5775368f0907bf5b686c8e74
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
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rbs (3.2.0)
4
+ rbs (3.2.1)
5
5
 
6
6
  PATH
7
7
  remote: test/assets/test-gem
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 | String) -> untyped
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 | String, A) -> A
102
+ def self.[]=: [A] (Symbol, A) -> A
103
103
 
104
104
  # <!--
105
105
  # rdoc-file=cont.c
@@ -276,9 +276,9 @@ module RBS
276
276
  end
277
277
 
278
278
  def normalize_type_name?(name)
279
- if name.class?
280
- normalize_module_name?(name)
281
- else
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RBS
4
- VERSION = "3.2.0"
4
+ VERSION = "3.2.1"
5
5
  end
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.0
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-22 00:00:00.000000000 Z
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.