brianjlandau-resque-scheduler 1.10.0 → 1.10.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -4,16 +4,16 @@
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
- s.name = %q{resque-scheduler}
8
- s.version = "1.9.6"
7
+ s.name = %q{brianjlandau-resque-scheduler}
8
+ s.version = "1.10.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["Ben VandenBos"]
12
- s.date = %q{2010-10-08}
11
+ s.authors = ["Ben VandenBos", "Brian Landau"]
12
+ s.date = %q{2010-10-18}
13
13
  s.description = %q{Light weight job scheduling on top of Resque.
14
14
  Adds methods enqueue_at/enqueue_in to schedule jobs in the future.
15
15
  Also supports queueing jobs on a fixed, cron-like schedule.}
16
- s.email = %q{bvandenbos@gmail.com}
16
+ s.email = %q{brianjlandau@gmail.com}
17
17
  s.extra_rdoc_files = [
18
18
  "LICENSE",
19
19
  "README.markdown"
@@ -24,6 +24,7 @@ Gem::Specification.new do |s|
24
24
  "LICENSE",
25
25
  "README.markdown",
26
26
  "Rakefile",
27
+ "brianjlandau-resque-scheduler.gemspec",
27
28
  "lib/resque/scheduler.rb",
28
29
  "lib/resque_scheduler.rb",
29
30
  "lib/resque_scheduler/server.rb",
@@ -32,7 +33,6 @@ Gem::Specification.new do |s|
32
33
  "lib/resque_scheduler/server/views/scheduler.erb",
33
34
  "lib/resque_scheduler/tasks.rb",
34
35
  "lib/resque_scheduler/version.rb",
35
- "resque-scheduler.gemspec",
36
36
  "tasks/resque_scheduler.rake",
37
37
  "test/delayed_queue_test.rb",
38
38
  "test/redis-test.conf",
@@ -40,7 +40,7 @@ Gem::Specification.new do |s|
40
40
  "test/scheduler_test.rb",
41
41
  "test/test_helper.rb"
42
42
  ]
43
- s.homepage = %q{http://github.com/bvandenbos/resque-scheduler}
43
+ s.homepage = %q{http://github.com/brianjlandau/resque-scheduler}
44
44
  s.rdoc_options = ["--charset=UTF-8"]
45
45
  s.require_paths = ["lib"]
46
46
  s.rubygems_version = %q{1.3.7}
@@ -16,12 +16,10 @@ module Resque
16
16
  attr_accessor :mute
17
17
 
18
18
  # Schedule all jobs and continually look for delayed jobs (never returns)
19
- def run(da)
19
+ def run
20
20
 
21
21
  # trap signals
22
22
  register_signal_handlers
23
-
24
- daemonize
25
23
 
26
24
  # Load the schedule into rufus
27
25
  load_schedule!
@@ -50,19 +48,6 @@ module Resque
50
48
  warn "Signals QUIT and USR1 and USR2 not supported."
51
49
  end
52
50
  end
53
-
54
- def daemonize
55
- Process.daemon(true)
56
- if File.directory?('tmp/pids')
57
- pid_file = File.expand_path('tmp/pids')
58
- File.open(pid_file, 'w'){ |f| f.write(Process.pid) }
59
- at_exit { File.delete(pid_file) if File.exist?(pid_file) }
60
- elsif File.directory?('/usr/local/var/run')
61
- pid_file = '/usr/local/var/run'
62
- File.open(pid_file, 'w'){ |f| f.write(Process.pid) }
63
- at_exit { File.delete(pid_file) if File.exist?(pid_file) }
64
- end
65
- end
66
51
 
67
52
  # Pulls the schedule from Resque.schedule and loads it into the
68
53
  # rufus scheduler instance
@@ -1,3 +1,3 @@
1
1
  module ResqueScheduler
2
- Version = '1.10.0'
2
+ Version = '1.10.1'
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: brianjlandau-resque-scheduler
3
3
  version: !ruby/object:Gem::Version
4
- hash: 63
4
+ hash: 61
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 10
9
- - 0
10
- version: 1.10.0
9
+ - 1
10
+ version: 1.10.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ben VandenBos
@@ -125,6 +125,7 @@ files:
125
125
  - LICENSE
126
126
  - README.markdown
127
127
  - Rakefile
128
+ - brianjlandau-resque-scheduler.gemspec
128
129
  - lib/resque/scheduler.rb
129
130
  - lib/resque_scheduler.rb
130
131
  - lib/resque_scheduler/server.rb
@@ -133,7 +134,6 @@ files:
133
134
  - lib/resque_scheduler/server/views/scheduler.erb
134
135
  - lib/resque_scheduler/tasks.rb
135
136
  - lib/resque_scheduler/version.rb
136
- - resque-scheduler.gemspec
137
137
  - tasks/resque_scheduler.rake
138
138
  - test/delayed_queue_test.rb
139
139
  - test/redis-test.conf