rbs 1.7.0.beta.3 → 1.7.0.beta.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -9
- data/lib/rbs/parser_aux.rb +33 -33
- data/lib/rbs/version.rb +1 -1
- data/sig/parser.rbs +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: afd173e37912ce2897a5ff7b9ec6e54bed7258abd7015ac80ae5fa9baa380df5
|
4
|
+
data.tar.gz: 77b07c52dc592c5f5b01df9d4ab8c91d59942c67f158a8f3386926922e197042
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e03c35027deec7e866534c1f79fe02060ea5672a3e3e8abe9ac1ae5940f2dd7cd99eeed5ee71d9a5991b3074984a6daaaa58d09c380b0cdcb40c568bae50427d
|
7
|
+
data.tar.gz: 92a8cc1a171669ca98c5e323293258ff774747712fb24c0b342e28da866077fc10f4c4bbb2699857842ca7bba9829c014c3b69b5e80a1690aa77027f55c7b083
|
data/CHANGELOG.md
CHANGED
@@ -2,28 +2,29 @@
|
|
2
2
|
|
3
3
|
## master
|
4
4
|
|
5
|
-
## 1.7.0 (beta.
|
5
|
+
## 1.7.0 (beta.4)
|
6
6
|
|
7
|
-
|
7
|
+
### Signature updates
|
8
8
|
|
9
9
|
* io/console ([\#783](https://github.com/ruby/rbs/pull/783))
|
10
10
|
* `Net::HTTPRequest` ([\#784](https://github.com/ruby/rbs/pull/784))
|
11
11
|
* `Tempfile.new`, `Tempfile.create` ([\#792](https://github.com/ruby/rbs/pull/792), [\#791](https://github.com/ruby/rbs/pull/791))
|
12
12
|
|
13
|
-
|
13
|
+
### Library changes
|
14
14
|
|
15
15
|
* Fix unexpected `CollectionNotAvailable` without `gems` from git source ([\#795](https://github.com/ruby/rbs/pull/795))
|
16
16
|
* Replace RBS::Parser ([#788](https://github.com/ruby/rbs/pull/788), [#789](https://github.com/ruby/rbs/pull/789))
|
17
17
|
* Print deprecation warning ([\#801](https://github.com/ruby/rbs/pull/801))
|
18
|
+
* Make `Parser::KEYWORDS` a hash ([\#804](https://github.com/ruby/rbs/pull/804))
|
18
19
|
|
19
20
|
## 1.6.2 (2021-09-09)
|
20
21
|
|
21
|
-
|
22
|
+
### Signature updates
|
22
23
|
|
23
24
|
* `Enumerator::Lazy#force` ([\#782](https://github.com/ruby/rbs/pull/782))
|
24
25
|
* `IO.readlines` ([\#780](https://github.com/ruby/rbs/pull/780))
|
25
26
|
|
26
|
-
|
27
|
+
### Miscellaneous
|
27
28
|
|
28
29
|
* Set `$XDG_CACHE_HOME` during test ([\#781](https://github.com/ruby/rbs/pull/781))
|
29
30
|
|
@@ -31,7 +32,7 @@
|
|
31
32
|
|
32
33
|
This is a minor release including test fixes.
|
33
34
|
|
34
|
-
|
35
|
+
### Miscellaneous
|
35
36
|
|
36
37
|
* Fix stdlib test for `Resolv::Hosts` by removing `/etc/hosts` dependency ([\#779](https://github.com/ruby/rbs/pull/779))
|
37
38
|
* Fix bundler related test for test-bundled-gems ([\#778](https://github.com/ruby/rbs/pull/778))
|
@@ -43,18 +44,18 @@ The command helps you manage RBS files from gem_rbs_collection or other reposito
|
|
43
44
|
|
44
45
|
This feature is a preview, and any feedback is welcome!
|
45
46
|
|
46
|
-
|
47
|
+
### Signature updates
|
47
48
|
|
48
49
|
* objspace ([\#763](https://github.com/ruby/rbs/pull/763), [\#776](https://github.com/ruby/rbs/pull/776))
|
49
50
|
* tempfile ([\#767](https://github.com/ruby/rbs/pull/767), [\#775](https://github.com/ruby/rbs/pull/775))
|
50
51
|
* `IO#set_encoding_by_bom` ([\#106](https://github.com/ruby/rbs/pull/106))
|
51
52
|
* `OpenSSL::PKey::EC#dh_compute_key` ([\#775](https://github.com/ruby/rbs/pull/775))
|
52
53
|
|
53
|
-
|
54
|
+
### Library changes
|
54
55
|
|
55
56
|
* Add `rbs collection` ([\#589](https://github.com/ruby/rbs/pull/589), [\#772](https://github.com/ruby/rbs/pull/772), [\#773](https://github.com/ruby/rbs/pull/773))
|
56
57
|
|
57
|
-
|
58
|
+
### Miscellaneous
|
58
59
|
|
59
60
|
* Let `bin/annotate-with-rdoc` process nested constants/classes ([\#766](https://github.com/ruby/rbs/pull/766), [\#768](https://github.com/ruby/rbs/pull/768))
|
60
61
|
* Stop printing version mismatch message in CI ([\#777](https://github.com/ruby/rbs/pull/777))
|
data/lib/rbs/parser_aux.rb
CHANGED
@@ -26,38 +26,38 @@ module RBS
|
|
26
26
|
autoload :LexerError, "rbs/parser_compat/lexer_error"
|
27
27
|
autoload :LocatedValue, "rbs/parser_compat/located_value"
|
28
28
|
|
29
|
-
KEYWORDS =
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
29
|
+
KEYWORDS = %w(
|
30
|
+
bool
|
31
|
+
bot
|
32
|
+
class
|
33
|
+
instance
|
34
|
+
interface
|
35
|
+
nil
|
36
|
+
self
|
37
|
+
singleton
|
38
|
+
top
|
39
|
+
void
|
40
|
+
type
|
41
|
+
unchecked
|
42
|
+
in
|
43
|
+
out
|
44
|
+
end
|
45
|
+
def
|
46
|
+
include
|
47
|
+
extend
|
48
|
+
prepend
|
49
|
+
alias
|
50
|
+
module
|
51
|
+
attr_reader
|
52
|
+
attr_writer
|
53
|
+
attr_accessor
|
54
|
+
public
|
55
|
+
private
|
56
|
+
untyped
|
57
|
+
true
|
58
|
+
false
|
59
|
+
).each_with_object({}) do |keyword, hash|
|
60
|
+
hash[keyword] = nil
|
61
|
+
end
|
62
62
|
end
|
63
63
|
end
|
data/lib/rbs/version.rb
CHANGED
data/sig/parser.rbs
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: 1.7.0.beta.
|
4
|
+
version: 1.7.0.beta.4
|
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-
|
11
|
+
date: 2021-09-22 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.
|