Permalink
Commits on Oct 30, 2011
  1. @justinweiss

    Merge pull request #25 from yaauie/failure-catching

    Catch everything thrown for on_failure hooks
    justinweiss committed Oct 30, 2011
Commits on Oct 27, 2011
  1. @yaauie
Commits on Oct 24, 2011
  1. @justinweiss

    Merge pull request #24 from nfo/614c286d

    Fixed `Resque::Scheduler.enqueue_with_timestamp`
    justinweiss committed Oct 24, 2011
Commits on Oct 14, 2011
  1. @justinweiss

    v0.4.1

    justinweiss committed Oct 14, 2011
Commits on Oct 8, 2011
  1. @justinweiss
  2. @justinweiss

    Merge branch 'yaauie-run-limit'

    Conflicts:
    	test/resque_unit_test.rb
    justinweiss committed Oct 8, 2011
Commits on Oct 4, 2011
  1. @nfo

    `Resque::Scheduler.enqueue_with_timestamp` must give the name of the …

    …worker class, not the class itself, like in `Resque.enqueue_to`. I don't know why there is no problem in tests, but when I try to use enqueue_in or enqueue_at in my project, this object
    
    ```ruby
    {"class"=>MyWorker, "args"=>[{"_id"=>"u123", "email"=>"lol@cats.com"}], "timestamp"=>2011-10-04 12:35:01 +0200}
    ```
    
    is encoded into:
    
    ```json
    {"class":{"inheritable_attributes":{},"queue":"my_queue","args":[{"_id":"u123","email":"lol@cats.com"}],"timestamp":"2011-10-04T12:35:01+02:00"}
    ```
    
    instead of:
    
    ```json
    {"class":"MyWorker","args":[{"_id":"u123","email":"lol@cats.com"}],"timestamp":"2011-10-04T12:37:42+02:00"}
    ```
    nfo committed Oct 4, 2011
Commits on Sep 28, 2011
  1. @justinweiss

    Merge pull request #20 from yaauie/enqueue-to

    Add support and tests for enqueue_to
    justinweiss committed Sep 28, 2011
  2. @justinweiss

    Merge pull request #19 from yaauie/before-enqueue-hooks

    add support for before_enqueue hooks
    justinweiss committed Sep 28, 2011
  3. @yaauie

    refactor run\! and run_for\! to share code\; add support and tests fo…

    …r explicit and implicit limit in run_for\!
    yaauie committed Sep 28, 2011
  4. @yaauie
  5. @yaauie
Commits on Jun 28, 2011
  1. @justinweiss

    0.4.0 release

    justinweiss committed Jun 28, 2011
  2. @justinweiss

    Decode the encoded job data on an element-by-element basis.

    We can't have encode() and decode() automatically delegate arrays, because then data doesn't round-trip through encode/decode. For example, decode(encode([1, 2])) returns [nil, nil], which doesn't make sense.
    justinweiss committed Jun 28, 2011
  3. @justinweiss

    helpers.rb should be a carbon copy of Resque's helpers.rb.

    Otherwise, we might run into weird inconsistencies between resque_unit and Resque.
    justinweiss committed Jun 28, 2011
  4. @justinweiss

    Pulled argument normalization out of an inner loop

    Probably not a big deal, but I'd bet json encoding/decoding is expensive.
    justinweiss committed Jun 28, 2011
  5. @justinweiss

    Merge pull request #16 from autohaus24/master

    Add more redis methods (peek, list_range), implemented encode/decode redis simulation
    justinweiss committed Jun 28, 2011
  6. assert_queued(job, *args) also work with arguments as symbols

    Mateusz Juraszek committed Jun 28, 2011
Commits on May 12, 2011
  1. fix problem with class value after encoding

    Mateusz Juraszek committed May 12, 2011
  2. add proper redis encode/decode simulation, add 'all' method

    Mateusz Juraszek committed May 12, 2011
Commits on May 10, 2011
  1. add peek and list_range methods

    Mateusz Juraszek committed May 10, 2011
Commits on May 4, 2011
  1. @justinweiss

    Added name to license

    justinweiss committed May 4, 2011
Commits on Apr 26, 2011
  1. @justinweiss

    Bumped version

    justinweiss committed Apr 26, 2011
  2. @justinweiss

    Merged pull request #14 from change/master.

    JSON gem version
    justinweiss committed Apr 26, 2011
  3. @mdimas

    update json dependency

    mdimas committed Apr 26, 2011
Commits on Apr 11, 2011
  1. @justinweiss

    Bumped version

    justinweiss committed Apr 11, 2011
Commits on Apr 8, 2011
  1. @chingor13
Commits on Apr 7, 2011
  1. @chingor13

    add assertion assert_job_created that asserts that a job class was en…

    …queued in a specific queue. Add a mock for Resque::Job.create to queue a job in a specific queue.
    chingor13 committed Apr 7, 2011
Commits on Feb 25, 2011
  1. @justinweiss

    Bump version

    justinweiss committed Feb 25, 2011
Commits on Feb 23, 2011
  1. @tekin

    Make sure the enqueue method returns something that evaluates to true…

    … to properly mimic resque
    tekin committed Feb 23, 2011
  2. @tekin
Commits on Feb 14, 2011
  1. @justinweiss

    bump Gemfile.lock

    justinweiss committed Feb 14, 2011
  2. @justinweiss

    v0.3.4 release

    justinweiss committed Feb 14, 2011
  3. @justinweiss
Commits on Feb 5, 2011
  1. Optional hooks support. "after_enqueue", "before", "around", "after",…

    … and "failed". Yeah, all of them.
    Nicolas Fouché committed Feb 5, 2011