rbs 3.0.1 → 3.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/Gemfile.lock +1 -1
- data/Rakefile +4 -3
- data/lib/rbs/version.rb +1 -1
- metadata +3 -4
- data/sig/shims/_abstract_syntax_tree.rbs +0 -25
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9649673f547b364e4d635ab3f65b32a6edbf4e27c066672d07fbcd448c5d4117
|
4
|
+
data.tar.gz: fdc3a315e87664045ac17752441f387626125645e9f1919d5bf7b6f1e74268d8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9f918e0459212a3c8d4b405955e62e14f21e99eb6fb71215feb22353ebb1aa1f2f1863bc7acb8b216ae7db5f98c975001dc45e45bc069354b2362f0a0f9064be
|
7
|
+
data.tar.gz: 18f89a600eefa6de24f4daa699f101fa773ae116ea68c2924b2e2eac52d3b4b373018bf14c33c8fed2bb97e291d3cb998b42ca1d3355c5be92e50414662f9d20
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
data/Rakefile
CHANGED
@@ -58,10 +58,11 @@ task :validate => :compile do
|
|
58
58
|
|
59
59
|
sh "#{ruby} #{rbs} validate --silent"
|
60
60
|
|
61
|
-
FileList["stdlib/*"].
|
62
|
-
|
61
|
+
libs = FileList["stdlib/*"].map {|path| File.basename(path).to_s }
|
62
|
+
libs << "rbs"
|
63
63
|
|
64
|
-
|
64
|
+
libs.each do |lib|
|
65
|
+
sh "#{ruby} #{rbs} -r #{lib} validate --silent"
|
65
66
|
end
|
66
67
|
end
|
67
68
|
|
data/lib/rbs/version.rb
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: 3.0.
|
4
|
+
version: 3.0.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: 2023-
|
11
|
+
date: 2023-03-01 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.
|
@@ -278,7 +278,6 @@ files:
|
|
278
278
|
- sig/resolver/context.rbs
|
279
279
|
- sig/resolver/type_name_resolver.rbs
|
280
280
|
- sig/shims.rbs
|
281
|
-
- sig/shims/_abstract_syntax_tree.rbs
|
282
281
|
- sig/shims/bundler.rbs
|
283
282
|
- sig/shims/enumerable.rbs
|
284
283
|
- sig/shims/pp.rbs
|
@@ -448,7 +447,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
448
447
|
- !ruby/object:Gem::Version
|
449
448
|
version: '0'
|
450
449
|
requirements: []
|
451
|
-
rubygems_version: 3.
|
450
|
+
rubygems_version: 3.4.6
|
452
451
|
signing_key:
|
453
452
|
specification_version: 4
|
454
453
|
summary: Type signature for Ruby.
|
@@ -1,25 +0,0 @@
|
|
1
|
-
class RubyVM
|
2
|
-
module AbstractSyntaxTree
|
3
|
-
def self.parse: (String src) -> Node
|
4
|
-
|
5
|
-
def self.parse_file: (String pathname) -> Node
|
6
|
-
|
7
|
-
def self.of: (untyped proc) -> Node
|
8
|
-
|
9
|
-
class Node
|
10
|
-
attr_reader children (): Array[untyped]
|
11
|
-
|
12
|
-
attr_reader first_column (): Integer
|
13
|
-
|
14
|
-
attr_reader first_lineno (): Integer
|
15
|
-
|
16
|
-
attr_reader last_column (): Integer
|
17
|
-
|
18
|
-
attr_reader last_lineno (): Integer
|
19
|
-
|
20
|
-
attr_reader type (): Symbol
|
21
|
-
|
22
|
-
def inspect: () -> String
|
23
|
-
end
|
24
|
-
end
|
25
|
-
end
|