live_ast 0.6.2 → 0.6.3

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
  = live_ast Changes
3
3
 
4
+ == Version 0.6.3
5
+
6
+ * minor change for Ruby 1.9.3
7
+
4
8
  == Version 0.6.2
5
9
 
6
10
  * simplified irb handling; readline no longer required
@@ -26,16 +30,7 @@
26
30
 
27
31
  == Version 0.5.0
28
32
 
29
- * use non-stupid parser plugin API
30
-
31
- == Version 0.4.0 X yanked
32
-
33
- * new parser plugin design to work around obscure autoload failure
34
-
35
- == Version 0.3.0 X yanked
36
-
37
- * parser is now an external plugin
38
- * default parser has been moved to live_ast_ruby_parser gem
33
+ * new parser plugin API
39
34
 
40
35
  == Version 0.2.3
41
36
 
@@ -43,7 +43,8 @@ module LiveAST
43
43
  if file.index Linker::REVISION_TOKEN
44
44
  raise "refusing to load file with revision token: `#{file}'"
45
45
  end
46
- search_paths(file) or raise LoadError, "no such file to load -- #{file}"
46
+ search_paths(file) or
47
+ raise LoadError, "cannot load such file -- #{file}"
47
48
  end
48
49
 
49
50
  def search_paths(file)
@@ -1,3 +1,3 @@
1
1
  module LiveAST
2
- VERSION = "0.6.2"
2
+ VERSION = "0.6.3"
3
3
  end
@@ -58,13 +58,10 @@ class AAA_LoadPathTest < BaseTest
58
58
  end
59
59
 
60
60
  def compare_load_errors(file)
61
- orig = assert_raises LoadError do
62
- load file
63
- end
64
- live = assert_raises LoadError do
61
+ error = assert_raises LoadError do
65
62
  LiveAST.load file
66
63
  end
67
- assert_equal orig.message, live.message
64
+ assert_equal "cannot load such file -- #{file}", error.message
68
65
  end
69
66
 
70
67
  def check_errors
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: live_ast
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.6.2
5
+ version: 0.6.3
6
6
  platform: ruby
7
7
  authors:
8
8
  - James M. Lawrence