rbs 1.6.1 → 1.6.2

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: cffc862a61abaf040b4873bca9c7c93bf191400b079763825c7bfa34ff066410
4
- data.tar.gz: 3771aaa34f52b4eda197ca53f2d09d0a474cd73daa9e11fd71e39ef6d2bbcccf
3
+ metadata.gz: de88dd41e7cee057e4668ffd3ed94e91d5d09746cdbfcd26602cc04b9ef2abd1
4
+ data.tar.gz: '06092d8a703d157bc214f81155bc24009491db68073fbcedc5fde9b09aca85e7'
5
5
  SHA512:
6
- metadata.gz: 713cf7abebe3f03bdd6c1c7be31173db1e210180bb50b33f3587990eba18eb934668ec5d4ad6bf9e89848da29b559a493c2a2636fa319601b8af4c4b91e0d4a8
7
- data.tar.gz: ec10a533cda84779326b21f5d00e5f9a139f6c5a8bf392640eaa52a8a1dd01b1181e7bb24709dae2fa8bdb35785e0b47fd5ff1ccc88b06fbc3ce6852975bf2a9
6
+ metadata.gz: 2a53e2b25733fd63c832748ae629275becb31badd9b120cf2b8c72c66cea7e084d0aefefeaa09c00f2364ab1335ee030b0b54e8a14f3f7dbe08e1523cfe1d7e2
7
+ data.tar.gz: 66b02700d2a81f5d8367451356af01a0cac8b0152194adb5f844abf92ffdfc16bcec975f2e21302477b32ee344242d3e0407105c3cf4e7a78387fa454003a418
data/CHANGELOG.md CHANGED
@@ -2,6 +2,17 @@
2
2
 
3
3
  ## master
4
4
 
5
+ ## 1.6.2 (2021-09-09)
6
+
7
+ ## Signature updates
8
+
9
+ * `Enumerator::Lazy#force` ([\#782](https://github.com/ruby/rbs/pull/782))
10
+ * `IO.readlines` ([\#780](https://github.com/ruby/rbs/pull/780))
11
+
12
+ ## Miscellaneous
13
+
14
+ * Set `$XDG_CACHE_HOME` during test ([\#781](https://github.com/ruby/rbs/pull/781))
15
+
5
16
  ## 1.6.1 (2021-09-05)
6
17
 
7
18
  This is a minor release including test fixes.
data/core/enumerator.rbs CHANGED
@@ -249,6 +249,7 @@ class Enumerator::Generator[out Elem] < Object
249
249
  end
250
250
 
251
251
  class Enumerator::Lazy[out Elem, out Return] < Enumerator[Elem, Return]
252
+ alias force to_a
252
253
  end
253
254
 
254
255
  class Enumerator::Yielder < Object
data/core/io.rbs CHANGED
@@ -749,7 +749,7 @@ class IO < Object
749
749
 
750
750
  def self.read: (String name, ?Integer length, ?Integer offset, ?external_encoding: String external_encoding, ?internal_encoding: String internal_encoding, ?encoding: String encoding, ?textmode: untyped textmode, ?binmode: untyped binmode, ?autoclose: untyped autoclose, ?mode: String mode) -> String
751
751
 
752
- def self.readlines: (String name, ?String sep, ?Integer limit, ?external_encoding: String external_encoding, ?internal_encoding: String internal_encoding, ?encoding: String encoding, ?textmode: untyped textmode, ?binmode: untyped binmode, ?autoclose: untyped autoclose, ?mode: String mode) -> ::Array[String]
752
+ def self.readlines: (String name, ?String sep, ?Integer limit, ?external_encoding: String external_encoding, ?internal_encoding: String internal_encoding, ?encoding: String encoding, ?textmode: untyped textmode, ?binmode: untyped binmode, ?autoclose: untyped autoclose, ?mode: String mode, ?chomp: boolish) -> ::Array[String]
753
753
 
754
754
  def self.select: [X, Y, Z] (::Array[X & io]? read_array, ?::Array[Y & io]? write_array, ?::Array[Z & io]? error_array) -> [Array[X], Array[Y], Array[Z]]
755
755
  | [X, Y, Z] (::Array[X & io]? read_array, ?::Array[Y & io]? write_array, ?::Array[Z & io]? error_array, Numeric? timeout) -> [Array[X], Array[Y], Array[Z]]?
data/lib/rbs/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module RBS
2
- VERSION = "1.6.1"
2
+ VERSION = "1.6.2"
3
3
  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: 1.6.1
4
+ version: 1.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Soutaro Matsumoto
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-09-05 00:00:00.000000000 Z
11
+ date: 2021-09-09 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.
@@ -319,7 +319,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
319
319
  - !ruby/object:Gem::Version
320
320
  version: '0'
321
321
  requirements: []
322
- rubygems_version: 3.2.15
322
+ rubygems_version: 3.2.22
323
323
  signing_key:
324
324
  specification_version: 4
325
325
  summary: Type signature for Ruby.