resque-throttle 0.2.10 → 0.2.11

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.10
1
+ 0.2.11
data/lib/resque/resque.rb CHANGED
@@ -10,7 +10,7 @@ module Resque
10
10
  if should_throttle?(klass, args)
11
11
  raise ThrottledError.new("#{klass} with key #{klass.key} has exceeded it's throttle limit")
12
12
  end
13
- enqueue_without_throttle(klass, *args)
13
+ enqueue_without_throttle(klass, args)
14
14
  end
15
15
  alias_method :enqueue_without_throttle, :enqueue
16
16
  alias_method :enqueue, :enqueue_with_throttle
@@ -30,6 +30,5 @@ module Resque
30
30
  def self.disabled
31
31
  settings[:disabled]
32
32
  end
33
-
34
33
  end
35
34
  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.10"
8
+ s.version = "0.2.11"
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.10
4
+ version: 0.2.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Scott J. Tamosunas