Changeset 124

Show
Ignore:
Timestamp:
04/15/2007 12:25:23 (19 months ago)
Author:
lwu
Message:

Patch JSON::Parser monkeypatching for 'json' gem >= 1.0.2

Location:
trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/Rakefile

    r107 r124  
    4343        s.add_dependency('camping-omnibus', '>= 1.5.180') 
    4444        s.add_dependency('hpricot', '>=0.5') 
    45         s.add_dependency('json', '>=0.4.2') 
     45        s.add_dependency('json', '>= 1.0.2') 
    4646        s.required_ruby_version = '>= 1.8.4' 
    4747 
  • trunk/lib/mouseHole/hacks/json.rb

    r94 r124  
    1 require 'json' 
     1require 'json/pure' 
    22 
    33class Time