ruby_parser 3.8.4 → 3.9.0
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.rdoc +29 -0
- data/Manifest.txt +5 -0
- data/README.rdoc +12 -0
- data/Rakefile +128 -69
- data/compare/normalize.rb +146 -0
- data/lib/rp_extensions.rb +77 -0
- data/lib/rp_stringscanner.rb +64 -0
- data/lib/ruby18_parser.rb +2180 -2175
- data/lib/ruby18_parser.y +17 -13
- data/lib/ruby19_parser.rb +2250 -2241
- data/lib/ruby19_parser.y +18 -14
- data/lib/ruby20_parser.rb +2498 -2503
- data/lib/ruby20_parser.y +18 -29
- data/lib/ruby21_parser.rb +2287 -2275
- data/lib/ruby21_parser.y +18 -24
- data/lib/ruby22_parser.rb +2573 -2560
- data/lib/ruby22_parser.y +18 -24
- data/lib/ruby23_parser.rb +2498 -2494
- data/lib/ruby23_parser.y +18 -24
- data/lib/ruby24_parser.rb +6797 -0
- data/lib/ruby24_parser.y +2367 -0
- data/lib/ruby_lexer.rb +11 -16
- data/lib/ruby_parser.rb +86 -7
- data/lib/ruby_parser.yy +57 -53
- data/lib/ruby_parser_extras.rb +34 -237
- data/test/test_ruby_lexer.rb +54 -41
- data/test/test_ruby_parser.rb +776 -700
- data/test/test_ruby_parser_extras.rb +4 -6
- metadata +7 -2
- metadata.gz.sig +0 -0
@@ -1,10 +1,8 @@
|
|
1
1
|
# encoding: US-ASCII
|
2
2
|
|
3
|
-
require
|
4
|
-
require
|
5
|
-
require
|
6
|
-
|
7
|
-
require 'minitest/test'
|
3
|
+
require "minitest/autorun"
|
4
|
+
require "ruby_parser_extras"
|
5
|
+
require "ruby_parser"
|
8
6
|
|
9
7
|
class TestStackState < Minitest::Test
|
10
8
|
attr_reader :s
|
@@ -15,7 +13,7 @@ class TestStackState < Minitest::Test
|
|
15
13
|
|
16
14
|
def assert_encoding str, default = false
|
17
15
|
orig_str = str.dup
|
18
|
-
p =
|
16
|
+
p = RubyParser.latest
|
19
17
|
s = nil
|
20
18
|
|
21
19
|
out, err = capture_io do
|
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.
|
4
|
+
version: 3.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Davis
|
@@ -30,7 +30,7 @@ cert_chain:
|
|
30
30
|
E4oJcnPkJAr0rw504JGtlZtONZQblwmRJOIdXzolaE3NRGUzGVOUSptZppAKiavY
|
31
31
|
fO6tdKQc/5RfA8oQEkg8hrxA5PQSz4TOFJGLpFvIapEk6tMruQ0bHgkhr9auXg==
|
32
32
|
-----END CERTIFICATE-----
|
33
|
-
date: 2017-
|
33
|
+
date: 2017-04-14 00:00:00.000000000 Z
|
34
34
|
dependencies:
|
35
35
|
- !ruby/object:Gem::Dependency
|
36
36
|
name: sexp_processor
|
@@ -161,7 +161,10 @@ files:
|
|
161
161
|
- Rakefile
|
162
162
|
- bin/ruby_parse
|
163
163
|
- bin/ruby_parse_extract_error
|
164
|
+
- compare/normalize.rb
|
164
165
|
- lib/.document
|
166
|
+
- lib/rp_extensions.rb
|
167
|
+
- lib/rp_stringscanner.rb
|
165
168
|
- lib/ruby18_parser.rb
|
166
169
|
- lib/ruby18_parser.y
|
167
170
|
- lib/ruby19_parser.rb
|
@@ -174,6 +177,8 @@ files:
|
|
174
177
|
- lib/ruby22_parser.y
|
175
178
|
- lib/ruby23_parser.rb
|
176
179
|
- lib/ruby23_parser.y
|
180
|
+
- lib/ruby24_parser.rb
|
181
|
+
- lib/ruby24_parser.y
|
177
182
|
- lib/ruby_lexer.rb
|
178
183
|
- lib/ruby_lexer.rex
|
179
184
|
- lib/ruby_lexer.rex.rb
|
metadata.gz.sig
CHANGED
Binary file
|