resque-remote 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/Gemfile +1 -1
- data/Gemfile.lock +16 -14
- data/LICENSE.txt +14 -0
- data/lib/resque-remote/version.rb +1 -1
- data/resque-remote.gemspec +1 -0
- metadata +18 -40
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA1:
|
|
3
|
+
metadata.gz: 4106a17d1718f91ff301f49ed6b1625fc9aabee9
|
|
4
|
+
data.tar.gz: 6a26e9c619938ed2d3211763e5801d27f9cbdde1
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: d560165e96df604de9bec3dbe629ec60f5efa8de35db73675727372ffd7674b41e04a38c22d744b38d4f40a159140b80b37e536040420520962d46f875b43f8e
|
|
7
|
+
data.tar.gz: 4982ea719b03ee47c01b53bbffe5639fe62b8633e7e7f981ce0f847fa4f049e789395092d527682b0dd00c8c4862cad1bb508a9590f8cc545f8f178a1f76cc0e
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,23 +1,25 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
resque-remote (0.1.
|
|
4
|
+
resque-remote (0.1.3)
|
|
5
5
|
resque (< 2.0)
|
|
6
6
|
|
|
7
7
|
GEM
|
|
8
|
-
remote:
|
|
8
|
+
remote: https://rubygems.org/
|
|
9
9
|
specs:
|
|
10
10
|
diff-lcs (1.1.3)
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
rack
|
|
11
|
+
mono_logger (1.1.0)
|
|
12
|
+
multi_json (1.9.2)
|
|
13
|
+
rack (1.5.2)
|
|
14
|
+
rack-protection (1.5.2)
|
|
14
15
|
rack
|
|
15
|
-
redis (3.0.
|
|
16
|
-
redis-namespace (1.
|
|
17
|
-
redis (~> 3.0.
|
|
18
|
-
resque (1.
|
|
16
|
+
redis (3.0.7)
|
|
17
|
+
redis-namespace (1.4.1)
|
|
18
|
+
redis (~> 3.0.4)
|
|
19
|
+
resque (1.25.2)
|
|
20
|
+
mono_logger (~> 1.0)
|
|
19
21
|
multi_json (~> 1.0)
|
|
20
|
-
redis-namespace (~> 1.
|
|
22
|
+
redis-namespace (~> 1.3)
|
|
21
23
|
sinatra (>= 0.9.2)
|
|
22
24
|
vegas (~> 0.1.2)
|
|
23
25
|
rspec (2.8.0)
|
|
@@ -28,11 +30,11 @@ GEM
|
|
|
28
30
|
rspec-expectations (2.8.0)
|
|
29
31
|
diff-lcs (~> 1.1.2)
|
|
30
32
|
rspec-mocks (2.8.0)
|
|
31
|
-
sinatra (1.
|
|
33
|
+
sinatra (1.4.4)
|
|
32
34
|
rack (~> 1.4)
|
|
33
|
-
rack-protection (~> 1.
|
|
34
|
-
tilt (~> 1.3, >= 1.3.
|
|
35
|
-
tilt (1.
|
|
35
|
+
rack-protection (~> 1.4)
|
|
36
|
+
tilt (~> 1.3, >= 1.3.4)
|
|
37
|
+
tilt (1.4.1)
|
|
36
38
|
vegas (0.1.11)
|
|
37
39
|
rack (>= 1.0.0)
|
|
38
40
|
|
data/LICENSE.txt
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
|
|
2
|
+
Version 2, December 2004
|
|
3
|
+
|
|
4
|
+
Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>
|
|
5
|
+
|
|
6
|
+
Everyone is permitted to copy and distribute verbatim or modified
|
|
7
|
+
copies of this license document, and changing it is allowed as long
|
|
8
|
+
as the name is changed.
|
|
9
|
+
|
|
10
|
+
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
|
|
11
|
+
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
|
12
|
+
|
|
13
|
+
0. You just DO WHAT THE FUCK YOU WANT TO.
|
|
14
|
+
|
data/resque-remote.gemspec
CHANGED
|
@@ -5,6 +5,7 @@ Gem::Specification.new do |s|
|
|
|
5
5
|
s.name = 'resque-remote'
|
|
6
6
|
s.version = Resque::Plugins::Remote::VERSION
|
|
7
7
|
s.platform = Gem::Platform::RUBY
|
|
8
|
+
s.license = 'WTFPL'
|
|
8
9
|
s.authors = ['BJ Neilsen']
|
|
9
10
|
s.email = ['bj.neilsen@gmail.com']
|
|
10
11
|
s.homepage = 'http://github.com/localshred/resque-remote'
|
metadata
CHANGED
|
@@ -1,20 +1,18 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: resque-remote
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
5
|
-
prerelease:
|
|
4
|
+
version: 0.1.3
|
|
6
5
|
platform: ruby
|
|
7
6
|
authors:
|
|
8
7
|
- BJ Neilsen
|
|
9
8
|
autorequire:
|
|
10
9
|
bindir: bin
|
|
11
10
|
cert_chain: []
|
|
12
|
-
date:
|
|
11
|
+
date: 2014-04-03 00:00:00.000000000 Z
|
|
13
12
|
dependencies:
|
|
14
13
|
- !ruby/object:Gem::Dependency
|
|
15
14
|
name: resque
|
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
|
17
|
-
none: false
|
|
18
16
|
requirements:
|
|
19
17
|
- - <
|
|
20
18
|
- !ruby/object:Gem::Version
|
|
@@ -22,7 +20,6 @@ dependencies:
|
|
|
22
20
|
type: :runtime
|
|
23
21
|
prerelease: false
|
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
25
|
-
none: false
|
|
26
23
|
requirements:
|
|
27
24
|
- - <
|
|
28
25
|
- !ruby/object:Gem::Version
|
|
@@ -30,7 +27,6 @@ dependencies:
|
|
|
30
27
|
- !ruby/object:Gem::Dependency
|
|
31
28
|
name: bundler
|
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
|
33
|
-
none: false
|
|
34
30
|
requirements:
|
|
35
31
|
- - ~>
|
|
36
32
|
- !ruby/object:Gem::Version
|
|
@@ -38,7 +34,6 @@ dependencies:
|
|
|
38
34
|
type: :development
|
|
39
35
|
prerelease: false
|
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
41
|
-
none: false
|
|
42
37
|
requirements:
|
|
43
38
|
- - ~>
|
|
44
39
|
- !ruby/object:Gem::Version
|
|
@@ -46,7 +41,6 @@ dependencies:
|
|
|
46
41
|
- !ruby/object:Gem::Dependency
|
|
47
42
|
name: rspec
|
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
|
49
|
-
none: false
|
|
50
44
|
requirements:
|
|
51
45
|
- - ~>
|
|
52
46
|
- !ruby/object:Gem::Version
|
|
@@ -54,43 +48,26 @@ dependencies:
|
|
|
54
48
|
type: :development
|
|
55
49
|
prerelease: false
|
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
|
57
|
-
none: false
|
|
58
51
|
requirements:
|
|
59
52
|
- - ~>
|
|
60
53
|
- !ruby/object:Gem::Version
|
|
61
54
|
version: '2.8'
|
|
62
|
-
description:
|
|
55
|
+
description: |2
|
|
63
56
|
|
|
64
57
|
Compatible with Resque 1.x. Use Resque.push if you are using >= 2.x.
|
|
65
58
|
|
|
66
|
-
|
|
67
|
-
Resque is great. So is job processing with redis. Our biggest drawback has been
|
|
68
|
-
that
|
|
69
|
-
|
|
59
|
+
Resque is great. So is job processing with redis. Our biggest drawback has been that
|
|
70
60
|
resque requires the class that will be processing a job to be loaded when the job
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
application
|
|
74
|
-
|
|
75
|
-
and isn''t currently loaded into memory?
|
|
76
|
-
|
|
61
|
+
is enqueued. But what happens when the implementing job is defined in a separate application
|
|
62
|
+
and isn't currently loaded into memory?
|
|
77
63
|
|
|
78
64
|
Enter Resque Remote.
|
|
79
65
|
|
|
66
|
+
Resque Remote's simple goal is to allow you to add a job to a queue with a string
|
|
67
|
+
identifier for the class rather than the class constant. It is assumed that the worker-side of
|
|
68
|
+
the equation _will_ have the class in memory and hence will be able to run it no problem.
|
|
80
69
|
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
identifier for the class rather than the class constant. It is assumed that the
|
|
84
|
-
worker-side of
|
|
85
|
-
|
|
86
|
-
the equation _will_ have the class in memory and hence will be able to run it no
|
|
87
|
-
problem.
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
Feedback, comments and questions are welcome at bj [dot] neilsen [at] gmail [dot]
|
|
91
|
-
com.
|
|
92
|
-
|
|
93
|
-
'
|
|
70
|
+
Feedback, comments and questions are welcome at bj [dot] neilsen [at] gmail [dot] com.
|
|
94
71
|
email:
|
|
95
72
|
- bj.neilsen@gmail.com
|
|
96
73
|
executables: []
|
|
@@ -100,6 +77,7 @@ files:
|
|
|
100
77
|
- .gitignore
|
|
101
78
|
- Gemfile
|
|
102
79
|
- Gemfile.lock
|
|
80
|
+
- LICENSE.txt
|
|
103
81
|
- README.md
|
|
104
82
|
- Rakefile
|
|
105
83
|
- lib/resque-remote.rb
|
|
@@ -109,28 +87,28 @@ files:
|
|
|
109
87
|
- spec/remote_spec.rb
|
|
110
88
|
- spec/spec_helper.rb
|
|
111
89
|
homepage: http://github.com/localshred/resque-remote
|
|
112
|
-
licenses:
|
|
90
|
+
licenses:
|
|
91
|
+
- WTFPL
|
|
92
|
+
metadata: {}
|
|
113
93
|
post_install_message:
|
|
114
94
|
rdoc_options: []
|
|
115
95
|
require_paths:
|
|
116
96
|
- lib
|
|
117
97
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
118
|
-
none: false
|
|
119
98
|
requirements:
|
|
120
|
-
- -
|
|
99
|
+
- - '>='
|
|
121
100
|
- !ruby/object:Gem::Version
|
|
122
101
|
version: '0'
|
|
123
102
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
124
|
-
none: false
|
|
125
103
|
requirements:
|
|
126
|
-
- -
|
|
104
|
+
- - '>='
|
|
127
105
|
- !ruby/object:Gem::Version
|
|
128
106
|
version: 1.3.6
|
|
129
107
|
requirements: []
|
|
130
108
|
rubyforge_project: resque-remote
|
|
131
|
-
rubygems_version: 1.
|
|
109
|
+
rubygems_version: 2.1.2
|
|
132
110
|
signing_key:
|
|
133
|
-
specification_version:
|
|
111
|
+
specification_version: 4
|
|
134
112
|
summary: Resque plugin to allow remote job droppability compatible with Resque 1.x
|
|
135
113
|
test_files: []
|
|
136
114
|
has_rdoc:
|