An open API service indexing awesome lists of open source software.

https://github.com/pine/crystal-resque-client

:ambulance: Simple Resque queue client for Crystal
https://github.com/pine/crystal-resque-client

Last synced: 12 months ago
JSON representation

:ambulance: Simple Resque queue client for Crystal

Awesome Lists containing this project

README

          

# crystal-resque-client
[![Build Status](https://travis-ci.org/pine/crystal-resque-client.svg?branch=master)](https://travis-ci.org/pine/crystal-resque-client)
[![Dependency Status](https://shards.rocks/badge/github/pine/crystal-resque-client/status.svg)](https://shards.rocks/github/pine/crystal-resque-client)
[![devDependency Status](https://shards.rocks/badge/github/pine/crystal-resque-client/dev_status.svg)](https://shards.rocks/github/pine/crystal-resque-client)

Simple [Resque](https://github.com/resque/resque) queue client for [Crystal](http://crystal-lang.org/) inspired by [go-resque](https://github.com/kavu/go-resque).

## Installation

Add this to your application's `shard.yml`:

```yaml
dependencies:
resque_client:
github: pine/crystal-resque-client
branch: master
redis:
github: stefanwille/crystal-redis
version: ~> 1.2.1
```

## Usage

```crystal
require "redis"
require "resque_client"

redis = Redis.new
enqueuer = Resque::Client::Enqueuer.new(redis)

enqueuer.enqueue("Class", "arg1", 1000, true)
```

## Contributing

1. Fork it ( https://github.com/pine/crystal-resque-client/fork )
2. Create your feature branch (git checkout -b my-new-feature)
3. Commit your changes (git commit -am 'Add some feature')
4. Push to the branch (git push origin my-new-feature)
5. Create a new Pull Request

## Contributors

- [pine613](https://github.com/pine) Pine Mizune - creator, maintainer