ruby_parser 3.19.2 → 3.20.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/History.rdoc +14 -0
- data/Manifest.txt +2 -0
- data/README.rdoc +2 -1
- data/Rakefile +13 -8
- data/lib/ruby20_parser.rb +1 -1
- data/lib/ruby21_parser.rb +1 -1
- data/lib/ruby22_parser.rb +1 -1
- data/lib/ruby23_parser.rb +1 -1
- data/lib/ruby24_parser.rb +1 -1
- data/lib/ruby25_parser.rb +1 -1
- data/lib/ruby26_parser.rb +1 -1
- data/lib/ruby27_parser.rb +1 -1
- data/lib/ruby30_parser.rb +1 -1
- data/lib/ruby31_parser.rb +1 -1
- data/lib/ruby32_parser.rb +13638 -0
- data/lib/ruby32_parser.y +3493 -0
- data/lib/ruby3_parser.yy +2 -0
- data/lib/ruby_parser.rb +2 -0
- data/lib/ruby_parser_extras.rb +1 -1
- data/test/test_ruby_parser.rb +14 -0
- data.tar.gz.sig +1 -1
- metadata +16 -14
- metadata.gz.sig +0 -0
data/lib/ruby3_parser.yy
CHANGED
data/lib/ruby_parser.rb
CHANGED
@@ -81,10 +81,12 @@ require "ruby26_parser"
|
|
81
81
|
require "ruby27_parser"
|
82
82
|
require "ruby30_parser"
|
83
83
|
require "ruby31_parser"
|
84
|
+
require "ruby32_parser"
|
84
85
|
|
85
86
|
class RubyParser # HACK
|
86
87
|
VERSIONS.clear # also a HACK caused by racc namespace issues
|
87
88
|
|
89
|
+
class V32 < ::Ruby32Parser; end
|
88
90
|
class V31 < ::Ruby31Parser; end
|
89
91
|
class V30 < ::Ruby30Parser; end
|
90
92
|
class V27 < ::Ruby27Parser; end
|
data/lib/ruby_parser_extras.rb
CHANGED
data/test/test_ruby_parser.rb
CHANGED
@@ -5478,6 +5478,10 @@ module TestRubyParserShared31Plus
|
|
5478
5478
|
end
|
5479
5479
|
end
|
5480
5480
|
|
5481
|
+
module TestRubyParserShared32Plus
|
5482
|
+
include TestRubyParserShared31Plus
|
5483
|
+
end
|
5484
|
+
|
5481
5485
|
class Minitest::Test
|
5482
5486
|
def skip s = "blah"
|
5483
5487
|
warn "ignoring skip for %s: %s" % [name, s]
|
@@ -5829,6 +5833,16 @@ class TestRubyParserV31 < RubyParserTestCase
|
|
5829
5833
|
end
|
5830
5834
|
end
|
5831
5835
|
|
5836
|
+
class TestRubyParserV32 < RubyParserTestCase
|
5837
|
+
include TestRubyParserShared32Plus
|
5838
|
+
|
5839
|
+
def setup
|
5840
|
+
super
|
5841
|
+
|
5842
|
+
self.processor = RubyParser::V32.new
|
5843
|
+
end
|
5844
|
+
end
|
5845
|
+
|
5832
5846
|
RubyParser::VERSIONS.each do |klass|
|
5833
5847
|
v = klass.version
|
5834
5848
|
describe "block args arity #{v}" do
|
data.tar.gz.sig
CHANGED
@@ -1 +1 @@
|
|
1
|
-
��
|
1
|
+
P��F�V�ʿx��O��)(�n��'�M�2$���x/멀�o�ѝ�/g�s�h�l���؉G
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby_parser
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.20.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Davis
|
@@ -10,9 +10,9 @@ bindir: bin
|
|
10
10
|
cert_chain:
|
11
11
|
- |
|
12
12
|
-----BEGIN CERTIFICATE-----
|
13
|
-
|
13
|
+
MIIDPjCCAiagAwIBAgIBBzANBgkqhkiG9w0BAQsFADBFMRMwEQYDVQQDDApyeWFu
|
14
14
|
ZC1ydWJ5MRkwFwYKCZImiZPyLGQBGRYJemVuc3BpZGVyMRMwEQYKCZImiZPyLGQB
|
15
|
-
|
15
|
+
GRYDY29tMB4XDTIzMDEwMTA3NTExN1oXDTI0MDEwMTA3NTExN1owRTETMBEGA1UE
|
16
16
|
AwwKcnlhbmQtcnVieTEZMBcGCgmSJomT8ixkARkWCXplbnNwaWRlcjETMBEGCgmS
|
17
17
|
JomT8ixkARkWA2NvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALda
|
18
18
|
b9DCgK+627gPJkB6XfjZ1itoOQvpqH1EXScSaba9/S2VF22VYQbXU1xQXL/WzCkx
|
@@ -22,14 +22,14 @@ cert_chain:
|
|
22
22
|
qhtV7HJxNKuPj/JFH0D2cswvzznE/a5FOYO68g+YCuFi5L8wZuuM8zzdwjrWHqSV
|
23
23
|
gBEfoTEGr7Zii72cx+sCAwEAAaM5MDcwCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAw
|
24
24
|
HQYDVR0OBBYEFEfFe9md/r/tj/Wmwpy+MI8d9k/hMA0GCSqGSIb3DQEBCwUAA4IB
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
25
|
+
AQAkg3y+PBnBAPWdxxITm5sPHqdWQgSyCpRA20o4LTuWr8BWhSXBkfQNa7cY6fOn
|
26
|
+
xyM34VPzBFbExv6XOGDfOMFBVaYTHuN9peC/5/umL7kLl+nflXzL2QA7K6LYj5Bg
|
27
|
+
sM574Onr0dZDM6Vn69bzQ7rBIFDfK/OhlPzqKZad4nsdcsVH8ODCiT+ATMIZyz5K
|
28
|
+
WCnNtqlyiWXI8tdTpahDgcUwfcN/oN7v4K8iU5IbLJX6HQ5DKgmKjfb6XyMth16k
|
29
|
+
ROfWo9Uyp8ba/j9eVG14KkYRaLydAY1MNQk2yd3R5CGfeOpD1kttxjoypoUJ2dOG
|
30
|
+
nsNBRuQJ1UfiCG97a6DNm+Fr
|
31
31
|
-----END CERTIFICATE-----
|
32
|
-
date:
|
32
|
+
date: 2023-03-04 00:00:00.000000000 Z
|
33
33
|
dependencies:
|
34
34
|
- !ruby/object:Gem::Dependency
|
35
35
|
name: sexp_processor
|
@@ -119,14 +119,14 @@ dependencies:
|
|
119
119
|
requirements:
|
120
120
|
- - "~>"
|
121
121
|
- !ruby/object:Gem::Version
|
122
|
-
version: '
|
122
|
+
version: '4.0'
|
123
123
|
type: :development
|
124
124
|
prerelease: false
|
125
125
|
version_requirements: !ruby/object:Gem::Requirement
|
126
126
|
requirements:
|
127
127
|
- - "~>"
|
128
128
|
- !ruby/object:Gem::Version
|
129
|
-
version: '
|
129
|
+
version: '4.0'
|
130
130
|
description: |-
|
131
131
|
ruby_parser (RP) is a ruby parser written in pure ruby (utilizing
|
132
132
|
racc--which does by default use a C extension). It outputs
|
@@ -204,6 +204,8 @@ files:
|
|
204
204
|
- lib/ruby30_parser.y
|
205
205
|
- lib/ruby31_parser.rb
|
206
206
|
- lib/ruby31_parser.y
|
207
|
+
- lib/ruby32_parser.rb
|
208
|
+
- lib/ruby32_parser.y
|
207
209
|
- lib/ruby3_parser.yy
|
208
210
|
- lib/ruby_lexer.rb
|
209
211
|
- lib/ruby_lexer.rex
|
@@ -233,7 +235,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
233
235
|
requirements:
|
234
236
|
- - ">="
|
235
237
|
- !ruby/object:Gem::Version
|
236
|
-
version: '2.
|
238
|
+
version: '2.6'
|
237
239
|
- - "<"
|
238
240
|
- !ruby/object:Gem::Version
|
239
241
|
version: '4'
|
@@ -243,7 +245,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
243
245
|
- !ruby/object:Gem::Version
|
244
246
|
version: '0'
|
245
247
|
requirements: []
|
246
|
-
rubygems_version: 3.
|
248
|
+
rubygems_version: 3.4.6
|
247
249
|
signing_key:
|
248
250
|
specification_version: 4
|
249
251
|
summary: ruby_parser (RP) is a ruby parser written in pure ruby (utilizing racc--which
|
metadata.gz.sig
CHANGED
Binary file
|