resque-aliasing 0.2.0 → 0.3.0
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 +4 -4
- data/README.md +2 -2
- data/lib/resque/plugins/aliasing/version.rb +1 -1
- data/resque-aliasing.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: dcde922e1122daa2845c831e34d45e9b0f5e0978
|
|
4
|
+
data.tar.gz: 5b848b86577779070b1fbf967c2f1603d8eda673
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ac3fdca52dae83f6dc5de372fcc288d2be8e8d59bb8f961e2fded1807b8d0fcc5e27d9544206afacf6c6a814fc73b9a47bc12cb92b54099275ca26df01ffa6e6
|
|
7
|
+
data.tar.gz: 2b93d05b05ac6b07771ffbe364e87f876e8fe350430104052c6548d956f44ce69d1132f36b1ec03ba5cfe7f9ea22dd69c8bdd1f1835d9a09a10c7680d3041aa5
|
data/README.md
CHANGED
|
@@ -25,14 +25,14 @@ The below example illustrates basic usage after we have renamed a job from Worke
|
|
|
25
25
|
Workers::DiscombobulateCustomer.
|
|
26
26
|
|
|
27
27
|
class Workers::DiscombobulateCustomer
|
|
28
|
-
@queue = :low
|
|
29
|
-
|
|
30
28
|
extend Resque::Plugins::Aliasing
|
|
31
29
|
alias_job 'Workers::Processing::ProcessCustomer'
|
|
32
30
|
|
|
33
31
|
def self.perform(customer_id)
|
|
34
32
|
# discombobulating customer!
|
|
35
33
|
end
|
|
34
|
+
|
|
35
|
+
@queue = :customers
|
|
36
36
|
end
|
|
37
37
|
|
|
38
38
|
Any Workers::Processing::ProcessCustomer jobs remaining in the queue will just get enqueued as Workers::DiscombobulateCustomer jobs when they are eventually 'performed'.
|
data/resque-aliasing.gemspec
CHANGED
|
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
|
|
|
11
11
|
|
|
12
12
|
spec.summary = %q{Alias old or removed resque jobs to existing ones.}
|
|
13
13
|
spec.description = %q{Alias old or removed resque jobs to existing ones.}
|
|
14
|
-
spec.homepage = "https://github.com/MishaConway/resque-aliasing
|
|
14
|
+
spec.homepage = "https://github.com/MishaConway/resque-aliasing"
|
|
15
15
|
|
|
16
16
|
spec.licenses = ["MIT"]
|
|
17
17
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: resque-aliasing
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Misha Conway
|
|
@@ -58,7 +58,7 @@ files:
|
|
|
58
58
|
- lib/resque/plugins/aliasing/aliased_job.rb
|
|
59
59
|
- lib/resque/plugins/aliasing/version.rb
|
|
60
60
|
- resque-aliasing.gemspec
|
|
61
|
-
homepage: https://github.com/MishaConway/resque-aliasing
|
|
61
|
+
homepage: https://github.com/MishaConway/resque-aliasing
|
|
62
62
|
licenses:
|
|
63
63
|
- MIT
|
|
64
64
|
metadata: {}
|