live_ast 0.7.1 → 0.7.2

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.7.2
5
+
6
+ * fix old find&replace accident with boc; rubyspec test now enabled by default
7
+
4
8
  == Version 0.7.1
5
9
 
6
10
  * fix rubygems problem when parser not loaded after live_ast/full
@@ -91,8 +91,8 @@ class BasicObject
91
91
  if block
92
92
  live_ast_original_instance_eval(*args, &block)
93
93
  else
94
- ::LiveAST::ReplaceEval.module_or_instance_eval(
95
- :instance, self, ::Boc.value, args)
94
+ ::LiveAST::ReplaceEval.
95
+ module_or_instance_eval(:instance, self, ::Boc.value, args)
96
96
  end
97
97
  end
98
98
  end
@@ -104,8 +104,8 @@ class Module
104
104
  if block
105
105
  live_ast_original_module_eval(*args, &block)
106
106
  else
107
- LiveAST::ReplaceEval.module_or_instance_eval(
108
- :module, self, Boc.value, args)
107
+ LiveAST::ReplaceEval.
108
+ module_or_instance_eval(:module, self, Boc.value, args)
109
109
  end
110
110
  end
111
111
  end
@@ -113,7 +113,7 @@ end
113
113
  Boc.enable Kernel, :eval
114
114
  Boc.enable Kernel.singleton_class, :eval
115
115
  Boc.enable Module, :module_eval
116
- Boc.enable BasicObject, :instance_eval
116
+ Boc.enable_basic_object BasicObject, :instance_eval
117
117
 
118
118
  class Module
119
119
  remove_method :class_eval
@@ -1,3 +1,3 @@
1
1
  module LiveAST
2
- VERSION = "0.7.1"
2
+ VERSION = "0.7.2"
3
3
  end
@@ -7,7 +7,7 @@ class RubygemsTest < RegularTest
7
7
  result = Levitate::Ruby.run_code_and_capture %{
8
8
  $LOAD_PATH.unshift '#{lib}'
9
9
  require 'live_ast/full'
10
- defined?(LiveASTRipper) and LiveASTRipper.steamroll = true
10
+ LiveAST.parser::Test
11
11
  f = eval %{
12
12
  lambda { 'abc' }
13
13
  }
@@ -24,5 +24,4 @@ class ZZZ_RubySpecTest < ReplaceEvalTest
24
24
  end
25
25
  end
26
26
  end
27
- end if ENV["LIVE_AST_RUBYSPEC"]
28
-
27
+ end if [ENV["USER"], ENV["USERNAME"]].include? "jlawrence"
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: live_ast
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.7.1
5
+ version: 0.7.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - James M. Lawrence
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-03-15 00:00:00 -04:00
13
+ date: 2011-03-16 00:00:00 -04:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency