ruby_parser 3.21.0 → 3.21.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6130eb28e9d379051c5b2f5c83b2c77ca217e82e0ca0aa53736128810fd1ff35
4
- data.tar.gz: 7359cfb0974a66a0d07bb75899d92c2082a23e326bd6aed56ae5c7790e2819be
3
+ metadata.gz: d0b41ca88f3f31d39c43cf26e8ce115b9e3207ec8154715b6cc1daebcce4068c
4
+ data.tar.gz: f2f175619f399a717112e921562b3e0dede90fcef89988a45ea673c97aa4e208
5
5
  SHA512:
6
- metadata.gz: 0d9e8d398b4f7f412406c23ec13557d4c80f4c10fffbf9563992df2cbbda7c0c9ca46e933025c20930d7434336b63d6485d8cb5463e484e5a04c676d7207a8eb
7
- data.tar.gz: a34f3b845c73d919b5e502d07f2683e823dd126372cac137eb7c4b504ad4b90f6a25f46f8eb30ef62cba55ef50b7eb3b148d426dcdeabeca87e3465b0622b548
6
+ metadata.gz: 8c387b27b007b9516813e12aefcb66545250b606dddfe3eeb940c9301ff02e0561edc7325a855fe0cc1eb9f5b98b09d80d44862956d68e321ad7cb1170b6865e
7
+ data.tar.gz: 5d037adb3906afb8ffbf58ba2980c6531cc9de15753c7d6229f605aa09f13c42ab5367ef2aba936ad702a510251d32956dfcde48b5614a4277d3cfa38b780b95
checksums.yaml.gz.sig CHANGED
Binary file
data/History.rdoc CHANGED
@@ -1,3 +1,9 @@
1
+ === 3.21.1 / 2024-07-09
2
+
3
+ * 1 bug fix:
4
+
5
+ * Fix errors created when string literals are frozen.
6
+
1
7
  === 3.21.0 / 2024-01-15
2
8
 
3
9
  * 18 minor enhancements:
data/lib/ruby_parser20.rb CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  #
4
4
  # DO NOT MODIFY!!!!
5
- # This file is automatically generated by Racc 1.7.3
5
+ # This file is automatically generated by Racc 1.8.0
6
6
  # from Racc grammar file "stdin".
7
7
  #
8
8
 
data/lib/ruby_parser21.rb CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  #
4
4
  # DO NOT MODIFY!!!!
5
- # This file is automatically generated by Racc 1.7.3
5
+ # This file is automatically generated by Racc 1.8.0
6
6
  # from Racc grammar file "stdin".
7
7
  #
8
8
 
data/lib/ruby_parser22.rb CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  #
4
4
  # DO NOT MODIFY!!!!
5
- # This file is automatically generated by Racc 1.7.3
5
+ # This file is automatically generated by Racc 1.8.0
6
6
  # from Racc grammar file "stdin".
7
7
  #
8
8
 
data/lib/ruby_parser23.rb CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  #
4
4
  # DO NOT MODIFY!!!!
5
- # This file is automatically generated by Racc 1.7.3
5
+ # This file is automatically generated by Racc 1.8.0
6
6
  # from Racc grammar file "stdin".
7
7
  #
8
8
 
data/lib/ruby_parser24.rb CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  #
4
4
  # DO NOT MODIFY!!!!
5
- # This file is automatically generated by Racc 1.7.3
5
+ # This file is automatically generated by Racc 1.8.0
6
6
  # from Racc grammar file "stdin".
7
7
  #
8
8
 
data/lib/ruby_parser25.rb CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  #
4
4
  # DO NOT MODIFY!!!!
5
- # This file is automatically generated by Racc 1.7.3
5
+ # This file is automatically generated by Racc 1.8.0
6
6
  # from Racc grammar file "stdin".
7
7
  #
8
8
 
data/lib/ruby_parser26.rb CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  #
4
4
  # DO NOT MODIFY!!!!
5
- # This file is automatically generated by Racc 1.7.3
5
+ # This file is automatically generated by Racc 1.8.0
6
6
  # from Racc grammar file "stdin".
7
7
  #
8
8
 
data/lib/ruby_parser27.rb CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  #
4
4
  # DO NOT MODIFY!!!!
5
- # This file is automatically generated by Racc 1.7.3
5
+ # This file is automatically generated by Racc 1.8.0
6
6
  # from Racc grammar file "stdin".
7
7
  #
8
8
 
data/lib/ruby_parser30.rb CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  #
4
4
  # DO NOT MODIFY!!!!
5
- # This file is automatically generated by Racc 1.7.3
5
+ # This file is automatically generated by Racc 1.8.0
6
6
  # from Racc grammar file "stdin".
7
7
  #
8
8
 
data/lib/ruby_parser31.rb CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  #
4
4
  # DO NOT MODIFY!!!!
5
- # This file is automatically generated by Racc 1.7.3
5
+ # This file is automatically generated by Racc 1.8.0
6
6
  # from Racc grammar file "stdin".
7
7
  #
8
8
 
data/lib/ruby_parser32.rb CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  #
4
4
  # DO NOT MODIFY!!!!
5
- # This file is automatically generated by Racc 1.7.3
5
+ # This file is automatically generated by Racc 1.8.0
6
6
  # from Racc grammar file "stdin".
7
7
  #
8
8
 
data/lib/ruby_parser33.rb CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  #
4
4
  # DO NOT MODIFY!!!!
5
- # This file is automatically generated by Racc 1.7.3
5
+ # This file is automatically generated by Racc 1.8.0
6
6
  # from Racc grammar file "stdin".
7
7
  #
8
8
 
@@ -30,7 +30,7 @@ class Sexp
30
30
  end
31
31
 
32
32
  module RubyParserStuff
33
- VERSION = "3.21.0"
33
+ VERSION = "3.21.1"
34
34
 
35
35
  attr_accessor :lexer, :in_def, :in_single, :file, :in_argdef
36
36
  attr_accessor :in_kwarg
@@ -664,6 +664,7 @@ module RubyParserStuff
664
664
  end
665
665
 
666
666
  if head.size == 2 and tail.size > 1 and tail[1].sexp_type == :str then
667
+ head[-1] = head[-1].dup if head[-1].frozen?
667
668
  head.last << tail[1].last
668
669
  head.sexp_type = :str if head.size == 2 # HACK ?
669
670
  else
@@ -1496,7 +1496,7 @@ module TestRubyParserShared
1496
1496
  end
1497
1497
 
1498
1498
  def test_magic_encoding_comment
1499
- rb = "# encoding: utf-8\nclass ExampleUTF8ClassNameVarietà; def self.è; così = :però; end\nend\n"
1499
+ rb = +"# encoding: utf-8\nclass ExampleUTF8ClassNameVarietà; def self.è; così = :però; end\nend\n"
1500
1500
 
1501
1501
  rb.force_encoding "ASCII-8BIT" if rb.respond_to? :force_encoding
1502
1502
 
data.tar.gz.sig CHANGED
@@ -1 +1,2 @@
1
- h\P��`/,x��I<�.���{Dƫ�\Fsco��b��#�r��Ԡ)�A����DV�6��`M�/����6jU�iJ�Dzb!љ׎^UJh���+� %� ^�v$苎P�m�8�bu���~��G\w2��� ���m��ga9p���?p}R�?B�*P��N���C��e�g��V"&}g,�#G֦%��ే�1`؆*�(-wZW���3qcn��jk���[��"�7K�ԫ�;� ��n���y
1
+ k;K��U�?�a�ns��8bl�B�.��N#�0_��S�����,��!c'���=��(���@��cys%"��B�R,ӽ�ȥ����fR9jLE����i��B�ٰ�ȑo�Z��푦�/|�k`qv=��jM��Xj��
2
+ ����ȑ x[*�΂����l�2��9DDoٻ?��������}��9 ����jpN����M�᭼� (��:���dE�}�ȦzG�S�#������z�4\�=��fB
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.21.0
4
+ version: 3.21.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Davis
@@ -29,7 +29,7 @@ cert_chain:
29
29
  S7043fq9EbQdBr2AXdj92+CDwuTfHI6/Hj5FVBDULufrJaan4xUgL70Hvc6pTTeW
30
30
  deKfBjgVAq7EYHu1AczzlUly
31
31
  -----END CERTIFICATE-----
32
- date: 2024-01-16 00:00:00.000000000 Z
32
+ date: 2024-07-09 00:00:00.000000000 Z
33
33
  dependencies:
34
34
  - !ruby/object:Gem::Dependency
35
35
  name: sexp_processor
@@ -235,7 +235,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
235
235
  - !ruby/object:Gem::Version
236
236
  version: '0'
237
237
  requirements: []
238
- rubygems_version: 3.5.3
238
+ rubygems_version: 3.5.14
239
239
  signing_key:
240
240
  specification_version: 4
241
241
  summary: ruby_parser (RP) is a ruby parser written in pure ruby (utilizing racc--which
metadata.gz.sig CHANGED
Binary file