resque-rails 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +5 -0
- data/Gemfile +4 -0
- data/README.md +21 -0
- data/Rakefile +1 -0
- data/lib/resque-rails.rb +3 -0
- data/lib/resque-rails/railtie.rb +12 -0
- data/lib/resque-rails/version.rb +5 -0
- data/resque-rails.gemspec +24 -0
- metadata +64 -0
data/Gemfile
ADDED
data/README.md
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
resque-rails
|
2
|
+
====
|
3
|
+
|
4
|
+
The railtie for setup resque. It provides an initializer and rake tasks.
|
5
|
+
|
6
|
+
module Resque::Rails
|
7
|
+
class Railtie < Rails::Railtie
|
8
|
+
initializer 'resque.set_config' do
|
9
|
+
Resque.redis ||= 'localhost:6379'
|
10
|
+
end
|
11
|
+
|
12
|
+
rake_tasks do
|
13
|
+
require 'resque/tasks'
|
14
|
+
task "resque:setup" => :environment
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
|
19
|
+
That's it!
|
20
|
+
|
21
|
+
See also: [https://github.com/defunkt/resque](https://github.com/defunkt/resque)
|
data/Rakefile
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require "bundler/gem_tasks"
|
data/lib/resque-rails.rb
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
$:.push File.expand_path("../lib", __FILE__)
|
3
|
+
require "resque-rails/version"
|
4
|
+
|
5
|
+
Gem::Specification.new do |s|
|
6
|
+
s.name = "resque-rails"
|
7
|
+
s.version = Resque::Rails::VERSION
|
8
|
+
s.authors = ["jugyo"]
|
9
|
+
s.email = ["jugyo.org@gmail.com"]
|
10
|
+
s.homepage = ""
|
11
|
+
s.summary = %q{The railtie for setup resque.}
|
12
|
+
s.description = %q{The railtie for setup resque. It provides an initializer and rake tasks.}
|
13
|
+
|
14
|
+
s.rubyforge_project = "resque-rails"
|
15
|
+
|
16
|
+
s.files = `git ls-files`.split("\n")
|
17
|
+
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
18
|
+
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
19
|
+
s.require_paths = ["lib"]
|
20
|
+
|
21
|
+
# specify any dependencies here; for example:
|
22
|
+
# s.add_development_dependency "rspec"
|
23
|
+
s.add_runtime_dependency "resque"
|
24
|
+
end
|
metadata
ADDED
@@ -0,0 +1,64 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: resque-rails
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- jugyo
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2012-01-19 00:00:00.000000000Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: resque
|
16
|
+
requirement: &70290903243220 !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: *70290903243220
|
25
|
+
description: The railtie for setup resque. It provides an initializer and rake tasks.
|
26
|
+
email:
|
27
|
+
- jugyo.org@gmail.com
|
28
|
+
executables: []
|
29
|
+
extensions: []
|
30
|
+
extra_rdoc_files: []
|
31
|
+
files:
|
32
|
+
- .gitignore
|
33
|
+
- Gemfile
|
34
|
+
- README.md
|
35
|
+
- Rakefile
|
36
|
+
- lib/resque-rails.rb
|
37
|
+
- lib/resque-rails/railtie.rb
|
38
|
+
- lib/resque-rails/version.rb
|
39
|
+
- resque-rails.gemspec
|
40
|
+
homepage: ''
|
41
|
+
licenses: []
|
42
|
+
post_install_message:
|
43
|
+
rdoc_options: []
|
44
|
+
require_paths:
|
45
|
+
- lib
|
46
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
47
|
+
none: false
|
48
|
+
requirements:
|
49
|
+
- - ! '>='
|
50
|
+
- !ruby/object:Gem::Version
|
51
|
+
version: '0'
|
52
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
53
|
+
none: false
|
54
|
+
requirements:
|
55
|
+
- - ! '>='
|
56
|
+
- !ruby/object:Gem::Version
|
57
|
+
version: '0'
|
58
|
+
requirements: []
|
59
|
+
rubyforge_project: resque-rails
|
60
|
+
rubygems_version: 1.8.10
|
61
|
+
signing_key:
|
62
|
+
specification_version: 3
|
63
|
+
summary: The railtie for setup resque.
|
64
|
+
test_files: []
|