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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d5446bd15d95ec438ddc215207b15eed171001efaadac1aaca7e42b5d74209bc
4
- data.tar.gz: 7950d481cc59733b2405310daed5a84409840896a92ea85a0236b7408c29052b
3
+ metadata.gz: 9649673f547b364e4d635ab3f65b32a6edbf4e27c066672d07fbcd448c5d4117
4
+ data.tar.gz: fdc3a315e87664045ac17752441f387626125645e9f1919d5bf7b6f1e74268d8
5
5
  SHA512:
6
- metadata.gz: 86f11a00d144618d3378a261903cbccdd763267eaa0e6fee2224c58841ea7baaac758696e03d33f49fe342bf8e83048fd9f1a804f7806c0a7a44ade6e1204cbd
7
- data.tar.gz: 251d897f651f20614f0b2cb339f1045eda0d2c61bf9b76ad763bf02402d40094b55a02e9d1e40fb55fdc4143ed1a2f67d56f76a38dfbf10c06c22daa2d4ebf17
6
+ metadata.gz: 9f918e0459212a3c8d4b405955e62e14f21e99eb6fb71215feb22353ebb1aa1f2f1863bc7acb8b216ae7db5f98c975001dc45e45bc069354b2362f0a0f9064be
7
+ data.tar.gz: 18f89a600eefa6de24f4daa699f101fa773ae116ea68c2924b2e2eac52d3b4b373018bf14c33c8fed2bb97e291d3cb998b42ca1d3355c5be92e50414662f9d20
data/CHANGELOG.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  ## master
4
4
 
5
+ ## 3.0.2 (2023-03-01)
6
+
7
+ ### Library changes
8
+
9
+ * Delete `RubyVM::AbstractSyntaxTree` stub type definition ([#1259](https://github.com/ruby/rbs/pull/1259))
10
+
5
11
  ## 3.0.1 (2023-02-27)
6
12
 
7
13
  ### Library changes
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rbs (3.0.1)
4
+ rbs (3.0.2)
5
5
 
6
6
  PATH
7
7
  remote: test/assets/test-gem
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/*"].each do |path|
62
- lib = [File.basename(path).to_s]
61
+ libs = FileList["stdlib/*"].map {|path| File.basename(path).to_s }
62
+ libs << "rbs"
63
63
 
64
- sh "#{ruby} #{rbs} #{lib.map {|l| "-r #{l}"}.join(" ")} validate --silent"
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RBS
4
- VERSION = "3.0.1"
4
+ VERSION = "3.0.2"
5
5
  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: 3.0.1
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-02-27 00:00:00.000000000 Z
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.3.7
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