<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -84,7 +84,7 @@ module OpenWFE
 
       # Our delegations map
       @delegates = {
-        'JSON' =&gt; { :encode =&gt; 'dump', :decode =&gt; 'parse' },
+        'JSON' =&gt; { :encode =&gt; 'generate', :decode =&gt; 'parse' },
         'ActiveSupport' =&gt; { :encode =&gt; 'encode', :decode =&gt; 'decode', :class =&gt; 'ActiveSupport::JSON' }
       }
 
@@ -140,8 +140,6 @@ module OpenWFE
 
           @priorities.each do |lib|
             begin
-              next if lib == 'JSON' &amp;&amp; RUBY_VERSION.to_f &gt;= 1.9
-
               require lib.downcase
               @available_backends ||= []
               @available_backends &lt;&lt; lib</diff>
      <filename>lib/openwfe/util/json.rb</filename>
    </modified>
    <modified>
      <diff>@@ -83,7 +83,7 @@ class RepresentationsHashTest &lt; Test::Unit::TestCase
     wi0.fei = new_fei
     wi0.attributes['data'] = (0..5).to_a
 
-    s = wi0.to_h.to_json
+    s = OpenWFE::Json.encode( wi0.to_h )
     #puts s
 
     #wi1 = OpenWFE::InFlowWorkItem.from_h(JSON.parse(s))</diff>
      <filename>test/unit/ut_17b_representations_hash.rb</filename>
    </modified>
    <modified>
      <diff>@@ -49,7 +49,7 @@ class TestJSON &lt; Test::Unit::TestCase
 
     json = OpenWFE::Json::Backend.delegates['JSON']
 
-    assert_equal json[:encode], 'dump'
+    assert_equal json[:encode], 'generate'
     assert_equal json[:decode], 'parse'
   end
 </diff>
      <filename>test/unit/ut_2a_json.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>78bcc1f78346d26a141b8463f25756200185d8e7</id>
    </parent>
  </parents>
  <author>
    <name>Kenneth Kalmer</name>
    <email>kenneth.kalmer@gmail.com</email>
  </author>
  <url>http://github.com/jmettraux/ruote/commit/5a27c922833ab313544d4e47674599b1be1827e9</url>
  <id>5a27c922833ab313544d4e47674599b1be1827e9</id>
  <committed-date>2009-05-24T09:38:05-07:00</committed-date>
  <authored-date>2009-05-24T09:38:05-07:00</authored-date>
  <message>Minor json tweaks</message>
  <tree>4a14415f4ccee1f6efa35fce62f7445aa61ca401</tree>
  <committer>
    <name>Kenneth Kalmer</name>
    <email>kenneth.kalmer@gmail.com</email>
  </committer>
</commit>
