Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

queue_classic_admin

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

queue_classic_admin

  • 1.0.0.beta2
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Queue Classic Admin

Build Status

An admin interface for the queue_classic gem.

IMPORTANT: this branch is for queue_classic 3.1. Support for queue_classic-later has been removed and replaced by queue_classic 3.1's implementation of scheduling instead. See the queueclassic-2-support and queueclassic-3-support branches for prior version support.

qc admin

Features

  • Support for QueueClassic 3.1's future job scheduling: enqueue_at() and enqueue_in()
  • Support for custom columns
  • Delete entire queues
  • Delete jobs
  • Search

Install

Copy and run the migrations

rake queue_classic_admin:install:migrations
rake db:migrate

Mount in your rails app config/routes.rb file

mount QueueClassicAdmin::Engine => "/queue_classic_admin"

Add the following asset dependencies to your Gemfile

gem "twitter-bootstrap-rails"
gem "jquery-rails"

Configuration

Custom searchable fields

QueueClassicJob.searchable_columns << :my_custom_fields

Custom job action

QueueClassicAdmin.add_custom_action "Retry" do |job|
  job.q_name = "low"
  job.save!
end

Custom action on matching jobs

QueueClassicAdmin.add_bulk_custom_action "Retry" do |jobs|
  jobs.update_all(q_name: "low")
end

Development

git clone git@github.com:rainforestapp/queue_classic_admin.git

You can develop with POW by configuring it like so:

ln -s $PWD/spec/dummy ~/.pow/qc-admin
(cd spec/dummy && bundle exec rake db:create:all db:migrate)
# Run the engine's migration.
bundle exec rake db:migrate
(cd spec/dummy && bundle exec rake db:schema:dump)

Then go to http://qc-admin.dev/.

FAQs

Package last updated on 22 Apr 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc