ruby_parser 3.6.4 → 3.6.5
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_lexer.rb +1 -0
- data/lib/ruby_parser_extras.rb +1 -1
- data/test/test_ruby_parser.rb +9 -0
- metadata +4 -7
- 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: f6eb0d6e0579b323fc21cdc6105397a480bac14d
|
4
|
+
data.tar.gz: 3a8c2361d645fb32c5107670e05522d4d9f42023
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 429098576dc2f8ca764cf19de30a756f15b6efe8845e1dee0e25e1aeb1c5bafc9247199bf759b200582f6ad9e4eaf89d0caa4db1ab8a0563b74eed5d491bfed3
|
7
|
+
data.tar.gz: e2c3c8c523e35a40f27adc89506a7e93113aac369b48c9f61f03df4770c8e114c7c9226d309a613b79d3eeee3da9b11755788af01f7183cff3bc669558f6b0f4
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/History.txt
CHANGED
data/lib/ruby_lexer.rb
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.5" 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_parser.rb
CHANGED
@@ -316,6 +316,15 @@ module TestRubyParserShared
|
|
316
316
|
assert_parse rb, pt
|
317
317
|
end
|
318
318
|
|
319
|
+
def test_eq_begin_line_numbers
|
320
|
+
rb = "1\n=begin\ncomment\ncomment\n=end\n2"
|
321
|
+
pt = s(:block,
|
322
|
+
s(:lit, 1).line(1),
|
323
|
+
s(:lit, 2).line(6))
|
324
|
+
|
325
|
+
assert_parse rb, pt
|
326
|
+
end
|
327
|
+
|
319
328
|
def test_bug_call_arglist_parens
|
320
329
|
rb = 'g ( 1), 2'
|
321
330
|
pt = s(:call, nil, :g, s(:lit, 1), s(:lit, 2))
|
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.5
|
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: 2015-
|
32
|
+
date: 2015-03-12 00:00:00.000000000 Z
|
33
33
|
dependencies:
|
34
34
|
- !ruby/object:Gem::Dependency
|
35
35
|
name: sexp_processor
|
@@ -214,12 +214,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
214
214
|
version: '0'
|
215
215
|
requirements: []
|
216
216
|
rubyforge_project:
|
217
|
-
rubygems_version: 2.4.
|
217
|
+
rubygems_version: 2.4.5
|
218
218
|
signing_key:
|
219
219
|
specification_version: 4
|
220
220
|
summary: ruby_parser (RP) is a ruby parser written in pure ruby (utilizing racc--which
|
221
221
|
does by default use a C extension)
|
222
|
-
test_files:
|
223
|
-
- test/test_ruby_lexer.rb
|
224
|
-
- test/test_ruby_parser.rb
|
225
|
-
- test/test_ruby_parser_extras.rb
|
222
|
+
test_files: []
|
metadata.gz.sig
CHANGED
Binary file
|