Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Celery Ruby client

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 test
Octocat-spinner-32 .gitignore
Octocat-spinner-32 History.txt
Octocat-spinner-32 Manifest.txt
Octocat-spinner-32 README.rdoc
Octocat-spinner-32 README.txt
Octocat-spinner-32 Rakefile
README.rdoc

celery for ruby

github.com/skrat/celerb

Ruby client library for submitting task to celery queue.

SYNOPSIS

class Add
  include Celerb::Task
  task_name 'tasks.conquer'

  def initialize(a,b)
    @a = a
    @b = b
  end

  def to_celery
    [@a,@b]
  end
end

Add.new(7,6).delay.wait do |result|
  puts "%s - 7 + 6 = %s" % [Time.now, result.body]
end

puts "%s - Not blocking..." % Time.now

LICENSE:

(The GPL License)

Copyright © 2010 Dusan Maliarik

See www.gnu.org/licenses/gpl.html

Something went wrong with that request. Please try again.