resque-job_logger 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/README.md +7 -0
- data/lib/resque/plugins/job_logger/version.rb +1 -1
- data/resque-job_logger.gemspec +1 -1
- metadata +8 -13
checksums.yaml
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
---
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
MGU0NWY4MWY2NWY5OWQ0ZjgxN2E3YmViODA4YzNjOTQwZGVlNzQzZA==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
Zjc0YTI4ZDc4OWVlYTAzYTk3ZDExN2E1MjQ0YTllMjJkMzgzZTUwOQ==
|
7
|
+
SHA512:
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
ODQwMWExMjg5NmVmOTQ1MGEyZmIyYjc3YjRkNDVhYmRjMzdkZmRjNTM2NjY4
|
10
|
+
MjUzMzE3NjUyYzhiNThiODEwM2RhZTFiNDAxZTc1NjkxN2UyZmU4NjVlNDlk
|
11
|
+
MDQ3YWUwMDliMWYyYjFiMDJlYTkxMjZhNWQxYjFiODM4Y2M4ZWI=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
YzA0OWY2NzMzM2YzYzkzY2JkNWM5ZWExZGYyNzlkZGI2MWM0NTMxOGVjM2Jh
|
14
|
+
NDZmMmQxYzZlNWJlMjUwNjc4MDYzODExYmViNzM0M2I2MzRjMWY1OTZjZDQw
|
15
|
+
MWZhNDgyZTQxZWI3ZTQ0YmJkZWYxODNjYzdjZjk3MDZjNzY1ZWI=
|
data/README.md
CHANGED
@@ -12,6 +12,13 @@ run time of each job's perform method, like so:
|
|
12
12
|
This example also shows the style of resque-job_logger's own formatter,
|
13
13
|
Resque::Plugins::JobLogger::Formatter (see Usage below).
|
14
14
|
|
15
|
+
You may ask yourself, what use is this when the entries are timestamped,
|
16
|
+
and the resque worker already logs something like job start and end? I'm
|
17
|
+
glad you asked. Background jobs by nature may take a long time to run,
|
18
|
+
so finding widely-separated start and end log messages on a busy system
|
19
|
+
might take an extra few seconds. Resque Job Logger restores precious
|
20
|
+
seconds to your life! Also, I wanted a different formatter.
|
21
|
+
|
15
22
|
## Installation
|
16
23
|
|
17
24
|
Add this line to your application's Gemfile:
|
data/resque-job_logger.gemspec
CHANGED
@@ -12,7 +12,7 @@ Gem::Specification.new do |gem|
|
|
12
12
|
gem.summary = %q{A resque plugin which logs the time it takes a job's perform method to run.}
|
13
13
|
gem.homepage = "https://github.com/toddthomas/resque-job_logger"
|
14
14
|
|
15
|
-
gem.add_dependency "resque", "~> 1.23
|
15
|
+
gem.add_dependency "resque", "~> 1.23"
|
16
16
|
|
17
17
|
gem.add_development_dependency "rspec"
|
18
18
|
|
metadata
CHANGED
@@ -1,36 +1,32 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: resque-job_logger
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.0.2
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Todd Thomas
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2014-04-17 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: resque
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
17
|
- - ~>
|
20
18
|
- !ruby/object:Gem::Version
|
21
|
-
version: 1.23
|
19
|
+
version: '1.23'
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
24
|
- - ~>
|
28
25
|
- !ruby/object:Gem::Version
|
29
|
-
version: 1.23
|
26
|
+
version: '1.23'
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: rspec
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
31
|
- - ! '>='
|
36
32
|
- !ruby/object:Gem::Version
|
@@ -38,7 +34,6 @@ dependencies:
|
|
38
34
|
type: :development
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
38
|
- - ! '>='
|
44
39
|
- !ruby/object:Gem::Version
|
@@ -65,28 +60,28 @@ files:
|
|
65
60
|
- spec/spec_helper.rb
|
66
61
|
homepage: https://github.com/toddthomas/resque-job_logger
|
67
62
|
licenses: []
|
63
|
+
metadata: {}
|
68
64
|
post_install_message:
|
69
65
|
rdoc_options: []
|
70
66
|
require_paths:
|
71
67
|
- lib
|
72
68
|
required_ruby_version: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
69
|
requirements:
|
75
70
|
- - ! '>='
|
76
71
|
- !ruby/object:Gem::Version
|
77
72
|
version: '0'
|
78
73
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
79
|
-
none: false
|
80
74
|
requirements:
|
81
75
|
- - ! '>='
|
82
76
|
- !ruby/object:Gem::Version
|
83
77
|
version: '0'
|
84
78
|
requirements: []
|
85
79
|
rubyforge_project:
|
86
|
-
rubygems_version:
|
80
|
+
rubygems_version: 2.2.2
|
87
81
|
signing_key:
|
88
|
-
specification_version:
|
82
|
+
specification_version: 4
|
89
83
|
summary: A resque plugin which logs the time it takes a job's perform method to run.
|
90
84
|
test_files:
|
91
85
|
- spec/resque-job_logger_spec.rb
|
92
86
|
- spec/spec_helper.rb
|
87
|
+
has_rdoc:
|