Changeset 124

Show
Ignore:
Timestamp:
03/28/2007 21:15:38 (20 months ago)
Author:
why
Message:
  • Rakefile: win32 gems mis-named, tossin 404, fix from Lionel Orry.
  • ext/hpricot_scan/hpricot_scan.java.rl: use the newer yield method from trunk.
  • lib/hpricot/blankslate.rb: Builder conflict.
Location:
trunk
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • trunk/Rakefile

    r111 r124  
    125125Win32Spec.extensions = [] 
    126126   
    127 WIN32_PKG_DIR = "#{PKG}-win32" 
     127WIN32_PKG_DIR = "#{PKG}-mswin32" 
    128128 
    129129desc "Package up the Win32 distribution." 
  • trunk/ext/hpricot_scan/hpricot_scan.java.rl

    r118 r124  
    201201    raw.setTaint(true); 
    202202  } 
    203   runtime.getCurrentContext().yield(ary, block); 
     203  block.yield(runtime.getCurrentContext(), ary); 
    204204} 
    205205 
  • trunk/lib/hpricot/blankslate.rb

    r123 r124  
    3737module Kernel 
    3838  class << self 
    39     alias_method :blank_slate_method_added, :method_added 
     39    alias_method :hpricot_slate_method_added, :method_added 
    4040 
    4141    # Detect method additions to Kernel and remove them in the 
    4242    # BlankSlate class. 
    4343    def method_added(name) 
    44       blank_slate_method_added(name) 
     44      hpricot_slate_method_added(name) 
    4545      return if self != Kernel 
    4646      Hpricot::BlankSlate.hide(name) 
     
    5151class Object 
    5252  class << self 
    53     alias_method :blank_slate_method_added, :method_added 
     53    alias_method :hpricot_slate_method_added, :method_added 
    5454 
    5555    # Detect method additions to Object and remove them in the 
    5656    # BlankSlate class. 
    5757    def method_added(name) 
    58       blank_slate_method_added(name) 
     58      hpricot_slate_method_added(name) 
    5959      return if self != Object 
    6060      Hpricot::BlankSlate.hide(name)