resque-throttle 0.2.3 → 0.2.4

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.3
1
+ 0.2.4
@@ -1,7 +1,7 @@
1
1
  module Resque
2
2
  class SettingNotFound < RuntimeError; end
3
3
 
4
- class ThrottledJob < Job
4
+ class ThrottledJob
5
5
 
6
6
  THROTTLE_DEFAULTS = {
7
7
  :can_run_every => 1800,
@@ -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.3"
8
+ s.version = "0.2.4"
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"]
@@ -4,7 +4,7 @@ class ThrottledJobTest < Test::Unit::TestCase
4
4
 
5
5
  context "Resque::ThrottledJob" do
6
6
  should "instantiate a new Resque::ThrottledJob" do
7
- assert Resque::ThrottledJob.new(:queue_name, OneHourThrottledJob)
7
+ assert Resque::ThrottledJob.new
8
8
  end
9
9
 
10
10
  context "settings" do
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.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Scott J. Tamosunas