rbs 2.7.0.pre.3 → 2.7.0
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/CHANGELOG.md +7 -0
- data/Gemfile.lock +1 -1
- data/core/symbol.rbs +1 -1
- data/lib/rbs/version.rb +1 -1
- data/stdlib/uri/0/file.rbs +1 -1
- data/stdlib/uri/0/generic.rbs +2 -2
- data/stdlib/uri/0/http.rbs +1 -1
- data/stdlib/uri/0/ldap.rbs +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d5774c0ae32533d1da69481ae4b413817580fd9974b445a67bef1faf4ff48080
|
|
4
|
+
data.tar.gz: 3f4552b3a91d2fc233f110b8682b73674454163a540d271c9f355daf6e61b5d3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: '0827ff2d63c104b99b07b5319f581b559b6dd7b6e9a26ae2f65d2fc5f8b9c435fff19690b9efe1dfed4c5d220c61c4afdb74203a2275b27bd95a934fbe467c16'
|
|
7
|
+
data.tar.gz: 7584c2471066032562ca5c3eb39dc8880e764f0fa880fcb9d1ee5e5b56b29fad9d2991b570b17ccf8b9e1f9ecf395c4719609d176dc2058fce6bfac03455d79f
|
data/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
## master
|
|
4
4
|
|
|
5
|
+
## 2.7.0 (2022-10-07)
|
|
6
|
+
|
|
7
|
+
### Signature updates
|
|
8
|
+
|
|
9
|
+
* `Symbol#start_with?` ([#1118](https://github.com/ruby/rbs/pull/1118))
|
|
10
|
+
* `URL::*.build` ([#1118](https://github.com/ruby/rbs/pull/1118))
|
|
11
|
+
|
|
5
12
|
## 2.7.0.pre.3 (2022-10-06)
|
|
6
13
|
|
|
7
14
|
### Signature updates
|
data/Gemfile.lock
CHANGED
data/core/symbol.rbs
CHANGED
|
@@ -434,7 +434,7 @@ class Symbol
|
|
|
434
434
|
# :hello.start_with?("heaven", "hell") #=> true
|
|
435
435
|
# :hello.start_with?("heaven", "paradise") #=> false
|
|
436
436
|
#
|
|
437
|
-
def start_with?: (*string prefixes) -> bool
|
|
437
|
+
def start_with?: (*string | Regexp prefixes) -> bool
|
|
438
438
|
|
|
439
439
|
# <!--
|
|
440
440
|
# rdoc-file=string.c
|
data/lib/rbs/version.rb
CHANGED
data/stdlib/uri/0/file.rbs
CHANGED
|
@@ -42,7 +42,7 @@ module URI
|
|
|
42
42
|
# uri2.to_s # => "file://host.example.com/ruby/src"
|
|
43
43
|
#
|
|
44
44
|
def self.build: (Array[String] args) -> URI::File
|
|
45
|
-
| ({ host: String
|
|
45
|
+
| ({ host: String?, path: String? }) -> URI::File
|
|
46
46
|
|
|
47
47
|
# <!--
|
|
48
48
|
# rdoc-file=lib/uri/file.rb
|
data/stdlib/uri/0/generic.rbs
CHANGED
|
@@ -154,7 +154,7 @@ module URI
|
|
|
154
154
|
# then it does URI::Escape.escape all URI components and tries again.
|
|
155
155
|
#
|
|
156
156
|
def self.build2: (Array[nil | String | Integer]) -> URI::Generic
|
|
157
|
-
| ({ scheme: String
|
|
157
|
+
| ({ scheme: String?, userinfo: String?, host: String?, port: Integer?, registry: String?, path: String?, opaque: String?, query: String?, fragment: String? }) -> URI::Generic
|
|
158
158
|
|
|
159
159
|
# <!--
|
|
160
160
|
# rdoc-file=lib/uri/generic.rb
|
|
@@ -172,7 +172,7 @@ module URI
|
|
|
172
172
|
# See ::new for hash keys to use or for order of array items.
|
|
173
173
|
#
|
|
174
174
|
def self.build: (Array[nil | String | Integer]) -> URI::Generic
|
|
175
|
-
| ({ scheme: String
|
|
175
|
+
| ({ scheme: String?, userinfo: String?, host: String?, port: Integer?, registry: String?, path: String?, opaque: String?, query: String?, fragment: String? }) -> URI::Generic
|
|
176
176
|
|
|
177
177
|
# <!--
|
|
178
178
|
# rdoc-file=lib/uri/generic.rb
|
data/stdlib/uri/0/http.rbs
CHANGED
|
@@ -46,7 +46,7 @@ module URI
|
|
|
46
46
|
# URIs as per RFC 1738.
|
|
47
47
|
#
|
|
48
48
|
def self.build: (Array[String | Integer] args) -> URI::HTTP
|
|
49
|
-
| ({ userinfo: String
|
|
49
|
+
| ({ userinfo: String?, host: String?, port: Integer?, path: String?, query: String?, fragment: String? }) -> URI::HTTP
|
|
50
50
|
|
|
51
51
|
# <!--
|
|
52
52
|
# rdoc-file=lib/uri/http.rb
|
data/stdlib/uri/0/ldap.rbs
CHANGED
|
@@ -50,7 +50,7 @@ module URI
|
|
|
50
50
|
# "/dc=example;dc=com", "query", nil, nil, nil])
|
|
51
51
|
#
|
|
52
52
|
def self.build: (Array[nil | String | Integer] args) -> URI::LDAP
|
|
53
|
-
| ({ host: String
|
|
53
|
+
| ({ host: String?, port: Integer?, dn: String?, attributes: String?, scope: String?, filter: String?, extensions: String? }) -> URI::LDAP
|
|
54
54
|
|
|
55
55
|
# <!--
|
|
56
56
|
# rdoc-file=lib/uri/ldap.rb
|
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: 2.7.0
|
|
4
|
+
version: 2.7.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Soutaro Matsumoto
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-10-
|
|
11
|
+
date: 2022-10-07 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.
|
|
@@ -433,9 +433,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
433
433
|
version: '2.6'
|
|
434
434
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
435
435
|
requirements:
|
|
436
|
-
- - "
|
|
436
|
+
- - ">="
|
|
437
437
|
- !ruby/object:Gem::Version
|
|
438
|
-
version:
|
|
438
|
+
version: '0'
|
|
439
439
|
requirements: []
|
|
440
440
|
rubygems_version: 3.3.7
|
|
441
441
|
signing_key:
|