ruby_parser 3.6.3 → 3.6.4
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.tar.gz.sig +0 -0
- data/History.txt +6 -0
- data/lib/ruby_parser_extras.rb +1 -1
- data/test/test_ruby_lexer.rb +0 -1
- data/test/test_ruby_parser.rb +9 -1
- metadata +4 -4
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2b248f942ce003c13dcc8fb5f29c599656821ce9
|
4
|
+
data.tar.gz: f3365558a48c16896e58b7ac0dc187bed441f3dd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5b44bd274d013c2bc0fa2814a7c374a37cdbc2291e1b480a7e88fc60afb09584ee85bda1310f82459e55c085f87da5c9a01047ef1aa21f6da1570a8ae8dfabe5
|
7
|
+
data.tar.gz: ea5ee5e868253f495f2db32686321066c19b8e7658ecb4c05c2f8be53e62d7a6501e1f2aa52fb048bf00d238aafa565e3a24e3a87e14fc997f3c5d11a3024312
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/History.txt
CHANGED
data/lib/ruby_parser_extras.rb
CHANGED
@@ -91,7 +91,7 @@ class RPStringScanner < StringScanner
|
|
91
91
|
end
|
92
92
|
|
93
93
|
module RubyParserStuff
|
94
|
-
VERSION = "3.6.
|
94
|
+
VERSION = "3.6.4" unless constants.include? "VERSION" # SIGH
|
95
95
|
|
96
96
|
attr_accessor :lexer, :in_def, :in_single, :file
|
97
97
|
attr_reader :env, :comments
|
data/test/test_ruby_lexer.rb
CHANGED
data/test/test_ruby_parser.rb
CHANGED
@@ -1,4 +1,3 @@
|
|
1
|
-
#!/usr/local/bin/ruby
|
2
1
|
# encoding: utf-8
|
3
2
|
|
4
3
|
# ENV['VERBOSE'] = "1"
|
@@ -758,6 +757,15 @@ module TestRubyParserShared
|
|
758
757
|
assert_parse rb, pt
|
759
758
|
end
|
760
759
|
|
760
|
+
def test_parse_line_multiline_str_literal_n
|
761
|
+
rb = "\"a\\nb\"\n1"
|
762
|
+
pt = s(:block,
|
763
|
+
s(:str, "a\nb").line(1),
|
764
|
+
s(:lit, 1).line(2)).line(1)
|
765
|
+
|
766
|
+
assert_parse rb, pt
|
767
|
+
end
|
768
|
+
|
761
769
|
def test_parse_line_iter_call_parens
|
762
770
|
rb = "f(a) do |x, y|\n x + y\nend"
|
763
771
|
|
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.6.
|
4
|
+
version: 3.6.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Davis
|
@@ -29,7 +29,7 @@ cert_chain:
|
|
29
29
|
xJcC6UN6NHMOVMyAXsr2HR0gRRx4ofN1LoP2KhXzSr8UMvQYlwPmE0N5GQv1b5AO
|
30
30
|
VpzF30vNaJK6ZT7xlIsIlwmH
|
31
31
|
-----END CERTIFICATE-----
|
32
|
-
date:
|
32
|
+
date: 2015-01-17 00:00:00.000000000 Z
|
33
33
|
dependencies:
|
34
34
|
- !ruby/object:Gem::Dependency
|
35
35
|
name: sexp_processor
|
@@ -51,14 +51,14 @@ dependencies:
|
|
51
51
|
requirements:
|
52
52
|
- - ~>
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '5.
|
54
|
+
version: '5.5'
|
55
55
|
type: :development
|
56
56
|
prerelease: false
|
57
57
|
version_requirements: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - ~>
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '5.
|
61
|
+
version: '5.5'
|
62
62
|
- !ruby/object:Gem::Dependency
|
63
63
|
name: rdoc
|
64
64
|
requirement: !ruby/object:Gem::Requirement
|
metadata.gz.sig
CHANGED
Binary file
|