Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

initial commit

  • Loading branch information...
commit 6142ddb1200c4f8dded06835ce7ce64a93f66cde 0 parents
@lloydpick lloydpick authored
4 .gitignore
@@ -0,0 +1,4 @@
+*.gem
+.bundle
+Gemfile.lock
+pkg/*
4 Gemfile
@@ -0,0 +1,4 @@
+source "http://rubygems.org"
+
+# Specify your gem's dependencies in aptitude.gemspec
+gemspec
14 Gemfile.lock
@@ -0,0 +1,14 @@
+PATH
+ remote: .
+ specs:
+ resque_utils (0.0.1)
+
+GEM
+ remote: http://rubygems.org/
+ specs:
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ resque_utils!
18 README.mdown
@@ -0,0 +1,18 @@
+# ResqueUtils
+
+ResqueUtils is a gem that gives you extra helper cap commands for use with Resque.
+
+## Requirements
+
+* Capistrano
+* Resque
+
+## Installation
+
+Firstly you'll need to install the gem, if you are using bundler add this to your Gemfile...
+
+ gem 'resque_utils'
+
+Open your deploy.rb and simple require the file...
+
+ require 'resque_utils/capistrano'
2  Rakefile
@@ -0,0 +1,2 @@
+require 'bundler'
+Bundler::GemHelper.install_tasks
7 lib/resque_utils.rb
@@ -0,0 +1,7 @@
+require 'resque_utils/version'
+
+module ResqueUtils
+
+
+
+end
10 lib/resque_utils/capistrano.rb
@@ -0,0 +1,10 @@
+require 'resque_utils'
+
+Capistrano::Configuration.instance(:must_exist).load do
+ namespace :deploy do
+ desc "Checks that the packages outlined in your PackageFile are installed on the remote server"
+ task :captitude, :except => { :no_release => true } do
+
+ end
+ end
+end
3  lib/resque_utils/version.rb
@@ -0,0 +1,3 @@
+module ResqueUtils
+ VERSION = "0.0.1"
+end
21 resque_utils.gemspec
@@ -0,0 +1,21 @@
+# -*- encoding: utf-8 -*-
+$:.push File.expand_path("../lib", __FILE__)
+require "resque_utils/version"
+
+Gem::Specification.new do |s|
+ s.name = "resque_utils"
+ s.version = ResqueUtils::VERSION
+ s.platform = Gem::Platform::RUBY
+ s.authors = ["Lloyd Pick"]
+ s.email = ["lloyd.pick@forward.co.uk"]
+ s.homepage = ""
+ s.summary = %q{Provides some extra cap commands for Resque}
+ s.description = %q{Provides extra help cap commands for use with Resque, requeuing jobs, mass deleting jobs}
+
+ s.rubyforge_project = "resque_utils"
+
+ s.files = `git ls-files`.split("\n")
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
+ s.require_paths = ["lib"]
+end
Please sign in to comment.
Something went wrong with that request. Please try again.