resque-access_worker_from_job 0.2.1 → 0.2.2

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.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.1
1
+ 0.2.2
@@ -1 +1,2 @@
1
- require File.expand_path(File.dirname(__FILE__)) + "/resque/plugins/access_worker_from_job.rb"
1
+ require "resque/plugins/access_worker_from_job"
2
+ require "resque/monkeypatches/job"
@@ -5,5 +5,6 @@ module Resque # :nodoc:
5
5
  def args
6
6
  @payload['args'] + [worker]
7
7
  end
8
+
8
9
  end
9
10
  end
@@ -1,5 +1,3 @@
1
- require File.expand_path(File.dirname(__FILE__)) + '/../job'
2
-
3
1
  module Resque
4
2
  module Plugins # :nodoc:
5
3
  # Adds a Resque plugin to allow jobs to access the worker running them via a cleverly-named +worker+
@@ -1 +1 @@
1
- require File.dirname(__FILE__) + "/../lib/resque-access_worker_from_job.rb"
1
+ require "resque-access_worker_from_job.rb"
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{resque-access_worker_from_job}
8
- s.version = "0.2.1"
8
+ s.version = "0.2.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Kali Donovan"]
@@ -25,7 +25,7 @@ Gem::Specification.new do |s|
25
25
  "VERSION",
26
26
  "init.rb",
27
27
  "lib/resque-access_worker_from_job.rb",
28
- "lib/resque/job.rb",
28
+ "lib/resque/monkeypatches/job.rb",
29
29
  "lib/resque/plugins/access_worker_from_job.rb",
30
30
  "rails/init.rb",
31
31
  "resque-access_worker_from_job.gemspec"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: resque-access_worker_from_job
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kali Donovan
@@ -40,7 +40,7 @@ files:
40
40
  - VERSION
41
41
  - init.rb
42
42
  - lib/resque-access_worker_from_job.rb
43
- - lib/resque/job.rb
43
+ - lib/resque/monkeypatches/job.rb
44
44
  - lib/resque/plugins/access_worker_from_job.rb
45
45
  - rails/init.rb
46
46
  - resque-access_worker_from_job.gemspec