live_ast 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 CHANGED
@@ -1,6 +1,10 @@
1
1
 
2
2
  = LiveAST ChangeLog
3
3
 
4
+ == Version 0.5.1
5
+
6
+ * protect against user needlessly requiring default parser
7
+
4
8
  == Version 0.5.0
5
9
 
6
10
  * use non-stupid parser plugin API
data/lib/live_ast/base.rb CHANGED
@@ -13,7 +13,10 @@ module LiveAST
13
13
  attr_writer :parser #:nodoc:
14
14
 
15
15
  def parser #:nodoc:
16
- @parser ||= require('live_ast_ruby_parser') && LiveASTRubyParser
16
+ @parser ||= (
17
+ require 'live_ast_ruby_parser'
18
+ LiveASTRubyParser
19
+ )
17
20
  end
18
21
 
19
22
  #
@@ -1,3 +1,3 @@
1
1
  module LiveAST
2
- VERSION = "0.5.0"
2
+ VERSION = "0.5.1"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: live_ast
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.5.0
5
+ version: 0.5.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - James M. Lawrence