resque-enqueue-logger 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/resque/plugins/enqueue-logger.rb +1 -3
- data/resque-enqueue-logger.gemspec +2 -2
- metadata +4 -4
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.4
|
@@ -10,10 +10,8 @@ module Resque
|
|
10
10
|
@@logger
|
11
11
|
end
|
12
12
|
|
13
|
-
def
|
13
|
+
def after_enqueue_logger(*args)
|
14
14
|
@@logger.info "Resque enqueue: #{self} #{args} at #{Time.now}" unless @@logger.nil?
|
15
|
-
ensure
|
16
|
-
true # ensure logging doesn't prevent the job from getting enqueued
|
17
15
|
end
|
18
16
|
|
19
17
|
end
|
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{resque-enqueue-logger}
|
8
|
-
s.version = "0.0.
|
8
|
+
s.version = "0.0.4"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["bray"]
|
12
|
-
s.date = %q{2012-04-
|
12
|
+
s.date = %q{2012-04-13}
|
13
13
|
s.description = %q{Resque plugin that adds simple logging before enqueueing a job.}
|
14
14
|
s.email = %q{brian.ray1@gmail.com}
|
15
15
|
s.extra_rdoc_files = [
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
version: 0.0.
|
8
|
+
- 4
|
9
|
+
version: 0.0.4
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- bray
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2012-04-
|
17
|
+
date: 2012-04-13 00:00:00 -04:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
@@ -123,7 +123,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
123
123
|
requirements:
|
124
124
|
- - ">="
|
125
125
|
- !ruby/object:Gem::Version
|
126
|
-
hash:
|
126
|
+
hash: 667035469
|
127
127
|
segments:
|
128
128
|
- 0
|
129
129
|
version: "0"
|