resque-throttle 0.2.13 → 0.2.14

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.13
1
+ 0.2.14
data/lib/resque/resque.rb CHANGED
@@ -8,7 +8,7 @@ module Resque
8
8
 
9
9
  def enqueue_with_throttle(klass, *args)
10
10
  if should_throttle?(klass, *args)
11
- raise ThrottledError.new("#{klass} with key #{klass.key} has exceeded it's throttle limit")
11
+ raise ThrottledError.new("#{klass} with key #{klass.key(*args)} has exceeded it's throttle limit")
12
12
  end
13
13
  enqueue_without_throttle(klass, *args)
14
14
  end
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{resque-throttle}
8
- s.version = "0.2.13"
8
+ s.version = "0.2.14"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Scott J. Tamosunas"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: resque-throttle
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.13
4
+ version: 0.2.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Scott J. Tamosunas