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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0dc8c8daab36782b2f117c1f703ac0ec0e6217ca
4
- data.tar.gz: 7f903d01ffd50319959385cc6da68ddc2b92f4e9
3
+ metadata.gz: dcde922e1122daa2845c831e34d45e9b0f5e0978
4
+ data.tar.gz: 5b848b86577779070b1fbf967c2f1603d8eda673
5
5
  SHA512:
6
- metadata.gz: aefa5f2172eb9f8cacc0c587e6452392a0d274bc227e63c6a1f6f7000c471a79cd960eec06e96a80dcbf92b62e6c7701fbae026bcb5b4ab8766ceac933e3ea7e
7
- data.tar.gz: 9da1e9ad94c2dd86ef521b760ff2ecbf747ed219e281f16bcb9c4de0806ff10b361bea53cbf8c204e0a1fdfc8221474a16928e72101aabc6acf5577c26e821ba
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'.
@@ -1,7 +1,7 @@
1
1
  module Resque
2
2
  module Plugins
3
3
  module Aliasing
4
- VERSION = "0.2.0"
4
+ VERSION = "0.3.0"
5
5
  end
6
6
  end
7
7
  end
@@ -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.2.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: {}