<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -118,7 +118,7 @@ The library evolves around a delayed_jobs table which looks as follows:
     table.integer  :attempts, :default =&gt; 0      # Provides for retries, but still fail eventually.
     table.text     :handler                      # YAML-encoded string of the object that will do work
     table.text   :last_error                   # reason for last failure (See Note below)
-    table.datetime :run_at                       # When to run. Could be Time.now for immediately, or sometime in the future.
+    table.datetime :run_at                       # When to run. Could be Time.zone.now for immediately, or sometime in the future.
     table.datetime :locked_at                    # Set when a client is working on this object
     table.datetime :failed_at                    # Set when all retries have failed (actually, by default, the record is deleted instead)
     table.string   :locked_by                    # Who is working on this object (if locked)</diff>
      <filename>README.textile</filename>
    </modified>
    <modified>
      <diff>@@ -5,7 +5,7 @@ class CreateDelayedJobs &lt; ActiveRecord::Migration
       table.integer  :attempts, :default =&gt; 0      # Provides for retries, but still fail eventually.
       table.text     :handler                      # YAML-encoded string of the object that will do work
       table.text     :last_error                   # reason for last failure (See Note below)
-      table.datetime :run_at                       # When to run. Could be Time.now for immediately, or sometime in the future.
+      table.datetime :run_at                       # When to run. Could be Time.zone.now for immediately, or sometime in the future.
       table.datetime :locked_at                    # Set when a client is working on this object
       table.datetime :failed_at                    # Set when all retries have failed (actually, by default, the record is deleted instead)
       table.string   :locked_by                    # Who is working on this object (if locked)</diff>
      <filename>generators/delayed_job/templates/migration.rb</filename>
    </modified>
    <modified>
      <diff>@@ -262,7 +262,7 @@ describe Delayed::Job do
     end
 
     it &quot;should not allow a second worker to get exclusive access if failed to be processed by worker1 and run_at time is now in future (due to backing off behaviour)&quot; do
-      @job.update_attributes(:attempts =&gt; 1, :run_at =&gt; Time.now + 1.day)
+      @job.update_attributes(:attempts =&gt; 1, :run_at =&gt; 1.day.from_now)
       @job_copy_for_worker_2.lock_exclusively!(4.hours, 'worker2').should == false
     end
   end</diff>
      <filename>spec/job_spec.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>2ed7dc54c3984ba70323501cb28410d2b0b4ed22</id>
    </parent>
  </parents>
  <author>
    <name>Brandon Keepers</name>
    <email>brandon@collectiveidea.com</email>
  </author>
  <url>http://github.com/collectiveidea/delayed_job/commit/cbb8bb06a4c487724bc0b732ff37b33e31ec8f08</url>
  <id>cbb8bb06a4c487724bc0b732ff37b33e31ec8f08</id>
  <committed-date>2009-10-14T05:16:28-07:00</committed-date>
  <authored-date>2009-10-14T05:16:28-07:00</authored-date>
  <message>Replace remaining references to Time.now with Time.zone.now</message>
  <tree>965834019dff21f72bdb428e6ca2484a7dd7bb28</tree>
  <committer>
    <name>Brandon Keepers</name>
    <email>brandon@collectiveidea.com</email>
  </committer>
</commit>
