ruby_parser 3.21.0 → 3.21.1
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 +6 -0
- data/lib/ruby_parser20.rb +1 -1
- data/lib/ruby_parser21.rb +1 -1
- data/lib/ruby_parser22.rb +1 -1
- data/lib/ruby_parser23.rb +1 -1
- data/lib/ruby_parser24.rb +1 -1
- data/lib/ruby_parser25.rb +1 -1
- data/lib/ruby_parser26.rb +1 -1
- data/lib/ruby_parser27.rb +1 -1
- data/lib/ruby_parser30.rb +1 -1
- data/lib/ruby_parser31.rb +1 -1
- data/lib/ruby_parser32.rb +1 -1
- data/lib/ruby_parser33.rb +1 -1
- data/lib/ruby_parser_extras.rb +2 -1
- data/test/test_ruby_parser.rb +1 -1
- data.tar.gz.sig +2 -1
- metadata +3 -3
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d0b41ca88f3f31d39c43cf26e8ce115b9e3207ec8154715b6cc1daebcce4068c
|
4
|
+
data.tar.gz: f2f175619f399a717112e921562b3e0dede90fcef89988a45ea673c97aa4e208
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8c387b27b007b9516813e12aefcb66545250b606dddfe3eeb940c9301ff02e0561edc7325a855fe0cc1eb9f5b98b09d80d44862956d68e321ad7cb1170b6865e
|
7
|
+
data.tar.gz: 5d037adb3906afb8ffbf58ba2980c6531cc9de15753c7d6229f605aa09f13c42ab5367ef2aba936ad702a510251d32956dfcde48b5614a4277d3cfa38b780b95
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/History.rdoc
CHANGED
data/lib/ruby_parser20.rb
CHANGED
data/lib/ruby_parser21.rb
CHANGED
data/lib/ruby_parser22.rb
CHANGED
data/lib/ruby_parser23.rb
CHANGED
data/lib/ruby_parser24.rb
CHANGED
data/lib/ruby_parser25.rb
CHANGED
data/lib/ruby_parser26.rb
CHANGED
data/lib/ruby_parser27.rb
CHANGED
data/lib/ruby_parser30.rb
CHANGED
data/lib/ruby_parser31.rb
CHANGED
data/lib/ruby_parser32.rb
CHANGED
data/lib/ruby_parser33.rb
CHANGED
data/lib/ruby_parser_extras.rb
CHANGED
@@ -30,7 +30,7 @@ class Sexp
|
|
30
30
|
end
|
31
31
|
|
32
32
|
module RubyParserStuff
|
33
|
-
VERSION = "3.21.
|
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
|
data/test/test_ruby_parser.rb
CHANGED
@@ -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
|
-
|
1
|
+
k;K��U�?�a�ns��8bl�B�.��N#�0_��S�����,��!c'���=��(���@��cys%"��B�R,ӽ�ȥ����fR�9�jLE����i��B�ٰ�ȑo�Z��푦�/|�k`qv=��j�M��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.
|
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-
|
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.
|
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
|