rbs 3.5.0.pre.2 → 3.5.1.pre.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/dependabot.yml +12 -4
- data/.github/workflows/dependabot.yml +26 -0
- data/.github/workflows/ruby.yml +7 -1
- data/CHANGELOG.md +102 -1
- data/README.md +3 -2
- data/Rakefile +18 -1
- data/Steepfile +1 -1
- data/core/float.rbs +2 -1
- data/core/integer.rbs +2 -1
- data/core/proc.rbs +1 -1
- data/core/rational.rbs +2 -1
- data/core/ruby_vm.rbs +6 -2
- data/core/rubygems/rubygems.rbs +1 -1
- data/core/set.rbs +13 -7
- data/docs/gem.md +0 -1
- data/ext/rbs_extension/lexer.c +1338 -1341
- data/ext/rbs_extension/lexer.h +2 -0
- data/ext/rbs_extension/lexer.re +2 -3
- data/ext/rbs_extension/lexstate.c +5 -1
- data/ext/rbs_extension/location.c +5 -4
- data/ext/rbs_extension/location.h +4 -2
- data/ext/rbs_extension/parser.c +69 -21
- data/ext/rbs_extension/parserstate.c +8 -1
- data/ext/rbs_extension/parserstate.h +9 -0
- data/lib/rbs/cli/validate.rb +2 -2
- data/lib/rbs/cli.rb +4 -6
- data/lib/rbs/location_aux.rb +6 -1
- data/lib/rbs/parser/lex_result.rb +15 -0
- data/lib/rbs/parser/token.rb +23 -0
- data/lib/rbs/parser_aux.rb +12 -0
- data/lib/rbs/version.rb +1 -1
- data/rbs.gemspec +6 -2
- data/sig/manifest.yaml +0 -1
- data/sig/parser.rbs +28 -0
- data/stdlib/uri/0/mailto.rbs +84 -0
- metadata +6 -19
- data/Gemfile +0 -41
- data/Gemfile.lock +0 -134
data/Gemfile
DELETED
@@ -1,41 +0,0 @@
|
|
1
|
-
source "https://rubygems.org"
|
2
|
-
|
3
|
-
# Specify your gem's dependencies in rbs.gemspec
|
4
|
-
gemspec
|
5
|
-
|
6
|
-
# Development dependencies
|
7
|
-
gem "rake"
|
8
|
-
gem "rake-compiler"
|
9
|
-
gem "test-unit"
|
10
|
-
gem "rspec"
|
11
|
-
gem "rubocop"
|
12
|
-
gem "rubocop-rubycw"
|
13
|
-
gem "json"
|
14
|
-
gem "json-schema"
|
15
|
-
gem "goodcheck"
|
16
|
-
gem "dbm"
|
17
|
-
gem 'digest'
|
18
|
-
gem 'tempfile'
|
19
|
-
gem "rdoc"
|
20
|
-
gem "bigdecimal"
|
21
|
-
gem "abbrev"
|
22
|
-
gem "base64"
|
23
|
-
gem "mutex_m"
|
24
|
-
gem "nkf"
|
25
|
-
gem "fileutils"
|
26
|
-
|
27
|
-
# Performance profiling and benchmarking
|
28
|
-
gem 'stackprof'
|
29
|
-
gem 'memory_profiler'
|
30
|
-
gem 'benchmark-ips'
|
31
|
-
|
32
|
-
# Test gems
|
33
|
-
gem "rbs-amber", path: "test/assets/test-gem"
|
34
|
-
|
35
|
-
# Bundled gems
|
36
|
-
gem "net-smtp"
|
37
|
-
gem 'csv'
|
38
|
-
|
39
|
-
group :minitest do
|
40
|
-
gem "minitest"
|
41
|
-
end
|
data/Gemfile.lock
DELETED
@@ -1,134 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
rbs (3.5.0.pre.2)
|
5
|
-
abbrev
|
6
|
-
|
7
|
-
PATH
|
8
|
-
remote: test/assets/test-gem
|
9
|
-
specs:
|
10
|
-
rbs-amber (1.0.0)
|
11
|
-
|
12
|
-
GEM
|
13
|
-
remote: https://rubygems.org/
|
14
|
-
specs:
|
15
|
-
abbrev (0.1.2)
|
16
|
-
addressable (2.8.6)
|
17
|
-
public_suffix (>= 2.0.2, < 6.0)
|
18
|
-
ast (2.4.2)
|
19
|
-
base64 (0.2.0)
|
20
|
-
benchmark-ips (2.13.0)
|
21
|
-
bigdecimal (3.1.7)
|
22
|
-
csv (3.3.0)
|
23
|
-
dbm (1.1.0)
|
24
|
-
diff-lcs (1.5.1)
|
25
|
-
digest (3.1.1)
|
26
|
-
fileutils (1.7.2)
|
27
|
-
goodcheck (3.1.0)
|
28
|
-
marcel (>= 1.0, < 2.0)
|
29
|
-
psych (>= 3.1, < 5.0)
|
30
|
-
rainbow (>= 3.0, < 4.0)
|
31
|
-
strong_json (>= 1.1, < 2.2)
|
32
|
-
json (2.7.2)
|
33
|
-
json-schema (4.3.0)
|
34
|
-
addressable (>= 2.8)
|
35
|
-
language_server-protocol (3.17.0.3)
|
36
|
-
marcel (1.0.2)
|
37
|
-
memory_profiler (1.0.1)
|
38
|
-
minitest (5.22.3)
|
39
|
-
mutex_m (0.2.0)
|
40
|
-
net-protocol (0.2.2)
|
41
|
-
timeout
|
42
|
-
net-smtp (0.5.0)
|
43
|
-
net-protocol
|
44
|
-
nkf (0.2.0)
|
45
|
-
parallel (1.24.0)
|
46
|
-
parser (3.3.0.5)
|
47
|
-
ast (~> 2.4.1)
|
48
|
-
racc
|
49
|
-
power_assert (2.0.3)
|
50
|
-
psych (4.0.6)
|
51
|
-
stringio
|
52
|
-
public_suffix (5.0.5)
|
53
|
-
racc (1.7.3)
|
54
|
-
rainbow (3.1.1)
|
55
|
-
rake (13.2.1)
|
56
|
-
rake-compiler (1.2.7)
|
57
|
-
rake
|
58
|
-
rdoc (6.6.3.1)
|
59
|
-
psych (>= 4.0.0)
|
60
|
-
regexp_parser (2.9.0)
|
61
|
-
rexml (3.2.6)
|
62
|
-
rspec (3.13.0)
|
63
|
-
rspec-core (~> 3.13.0)
|
64
|
-
rspec-expectations (~> 3.13.0)
|
65
|
-
rspec-mocks (~> 3.13.0)
|
66
|
-
rspec-core (3.13.0)
|
67
|
-
rspec-support (~> 3.13.0)
|
68
|
-
rspec-expectations (3.13.0)
|
69
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
70
|
-
rspec-support (~> 3.13.0)
|
71
|
-
rspec-mocks (3.13.0)
|
72
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
73
|
-
rspec-support (~> 3.13.0)
|
74
|
-
rspec-support (3.13.0)
|
75
|
-
rubocop (1.63.2)
|
76
|
-
json (~> 2.3)
|
77
|
-
language_server-protocol (>= 3.17.0)
|
78
|
-
parallel (~> 1.10)
|
79
|
-
parser (>= 3.3.0.2)
|
80
|
-
rainbow (>= 2.2.2, < 4.0)
|
81
|
-
regexp_parser (>= 1.8, < 3.0)
|
82
|
-
rexml (>= 3.2.5, < 4.0)
|
83
|
-
rubocop-ast (>= 1.31.1, < 2.0)
|
84
|
-
ruby-progressbar (~> 1.7)
|
85
|
-
unicode-display_width (>= 2.4.0, < 3.0)
|
86
|
-
rubocop-ast (1.31.2)
|
87
|
-
parser (>= 3.3.0.4)
|
88
|
-
rubocop-rubycw (0.1.6)
|
89
|
-
rubocop (~> 1.0)
|
90
|
-
ruby-progressbar (1.13.0)
|
91
|
-
stackprof (0.2.26)
|
92
|
-
stringio (3.1.0)
|
93
|
-
strong_json (2.1.2)
|
94
|
-
tempfile (0.2.1)
|
95
|
-
test-unit (3.6.2)
|
96
|
-
power_assert
|
97
|
-
timeout (0.4.1)
|
98
|
-
unicode-display_width (2.5.0)
|
99
|
-
|
100
|
-
PLATFORMS
|
101
|
-
ruby
|
102
|
-
x86_64-darwin-20
|
103
|
-
|
104
|
-
DEPENDENCIES
|
105
|
-
abbrev
|
106
|
-
base64
|
107
|
-
benchmark-ips
|
108
|
-
bigdecimal
|
109
|
-
csv
|
110
|
-
dbm
|
111
|
-
digest
|
112
|
-
fileutils
|
113
|
-
goodcheck
|
114
|
-
json
|
115
|
-
json-schema
|
116
|
-
memory_profiler
|
117
|
-
minitest
|
118
|
-
mutex_m
|
119
|
-
net-smtp
|
120
|
-
nkf
|
121
|
-
rake
|
122
|
-
rake-compiler
|
123
|
-
rbs!
|
124
|
-
rbs-amber!
|
125
|
-
rdoc
|
126
|
-
rspec
|
127
|
-
rubocop
|
128
|
-
rubocop-rubycw
|
129
|
-
stackprof
|
130
|
-
tempfile
|
131
|
-
test-unit
|
132
|
-
|
133
|
-
BUNDLED WITH
|
134
|
-
2.4.18
|