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.
data/lib/ruby3_parser.yy CHANGED
@@ -4,6 +4,8 @@
4
4
  class Ruby30Parser
5
5
  #elif V == 31
6
6
  class Ruby31Parser
7
+ #elif V == 32
8
+ class Ruby32Parser
7
9
  #else
8
10
  fail "version not specified or supported on code generation"
9
11
  #endif
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
@@ -30,7 +30,7 @@ class Sexp
30
30
  end
31
31
 
32
32
  module RubyParserStuff
33
- VERSION = "3.19.2"
33
+ VERSION = "3.20.0"
34
34
 
35
35
  attr_accessor :lexer, :in_def, :in_single, :file
36
36
  attr_accessor :in_kwarg
@@ -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
- ��4iL[�.�M���4�D=�EuƜK��� �OegE�WKʱ�Dwc}����lٷ�3P�WV�g�L�_���7v�]{�ؚH>n|���2Y��ZxM@oGz'Yq!���+����oۢ���UmY����WAQ��^��1gJ�t�Z[wp�>o�v2�q�h[��"��y/}l���j�߉� ]o�Qi/�[RԄ���b٢T��m^x{���9p�H�JjK.�eKz�B�ɹ�C6U8[$�L��9YV^��
1
+ P��FV�ʿx��O��)(�n��'�M2$���x/멀�o�ѝ�/gs�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.19.2
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
- MIIDPjCCAiagAwIBAgIBBjANBgkqhkiG9w0BAQsFADBFMRMwEQYDVQQDDApyeWFu
13
+ MIIDPjCCAiagAwIBAgIBBzANBgkqhkiG9w0BAQsFADBFMRMwEQYDVQQDDApyeWFu
14
14
  ZC1ydWJ5MRkwFwYKCZImiZPyLGQBGRYJemVuc3BpZGVyMRMwEQYKCZImiZPyLGQB
15
- GRYDY29tMB4XDTIxMTIyMzIzMTkwNFoXDTIyMTIyMzIzMTkwNFowRTETMBEGA1UE
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
- AQCKB5jfsuSnKb+t/Wrh3UpdkmX7TrEsjVmERC0pPqzQ5GQJgmEXDD7oMgaKXaAq
26
- x2m+KSZDrqk7c8uho5OX6YMqg4KdxehfSLqqTZGoeV78qwf/jpPQZKTf+W9gUSJh
27
- zsWpo4K50MP+QtdSbKXZwjAafpQ8hK0MnnZ/aeCsW9ov5vdXpYbf3dpg6ADXRGE7
28
- lQY2y1tJ5/chqu6h7dQmnm2ABUqx9O+JcN9hbCYoA5i/EeubUEtFIh2w3SpO6YfB
29
- JFmxn4h9YO/pVdB962BdBNNDia0kgIjI3ENnkLq0dKpYU3+F3KhEuTksLO0L6X/V
30
- YsuyUzsMz6GQA4khyaMgKNSD
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: 2022-12-03 00:00:00.000000000 Z
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: '3.25'
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: '3.25'
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.1'
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.3.12
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