live_ast_ruby_parser 0.5.0 → 0.5.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.
- data/CHANGES.rdoc +8 -0
- data/Rakefile +1 -1
- data/lib/live_ast_ruby_parser.rb +3 -0
- metadata +1 -1
data/CHANGES.rdoc
CHANGED
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
|
|
2
2
|
= live_ast_ruby_parser ChangeLog
|
|
3
3
|
|
|
4
|
+
== Version 0.5.1
|
|
5
|
+
|
|
6
|
+
* protect against user needlessly requiring default parser
|
|
7
|
+
|
|
8
|
+
== Version 0.5.0
|
|
9
|
+
|
|
10
|
+
* license was missing
|
|
11
|
+
|
|
4
12
|
== Version 0.4.0
|
|
5
13
|
|
|
6
14
|
* new parser plugin design to work around obscure autoload failure
|
data/Rakefile
CHANGED
|
@@ -3,7 +3,7 @@ require_relative 'devel/jumpstart'
|
|
|
3
3
|
Jumpstart.new "live_ast_ruby_parser" do |s|
|
|
4
4
|
s.developers << ["James M. Lawrence", "quixoticsycophant@gmail.com"]
|
|
5
5
|
s.github_user = "quix"
|
|
6
|
-
s.version = "0.5.
|
|
6
|
+
s.version = "0.5.1"
|
|
7
7
|
|
|
8
8
|
# my code compensates for a ruby_parser bug; make this equal for now
|
|
9
9
|
s.dependencies << ["ruby_parser", "= 2.0.6"]
|
data/lib/live_ast_ruby_parser.rb
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
require 'ruby_parser'
|
|
2
2
|
require 'sexp_processor'
|
|
3
|
+
require 'live_ast/base'
|
|
3
4
|
|
|
4
5
|
class LiveASTRubyParser < SexpProcessor
|
|
5
6
|
#
|
|
@@ -58,3 +59,5 @@ end
|
|
|
58
59
|
|
|
59
60
|
LiveASTRubyParser.autoload :Unparser, 'live_ast_ruby_parser/unparser'
|
|
60
61
|
LiveASTRubyParser.autoload :TestForms, 'live_ast_ruby_parser/test_forms'
|
|
62
|
+
|
|
63
|
+
LiveAST.parser = LiveASTRubyParser
|