peek-delayed_job 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +15 -14
- data/app/views/peek/views/_delayed_job.html.erb +1 -1
- data/lib/peek-delayed_job/version.rb +1 -1
- data/lib/peek/views/delayed_job.rb +5 -0
- data/screenshot.png +0 -0
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dc885e1674583275fb0fd5bce21e50688d24152f
|
4
|
+
data.tar.gz: 60a9c4eaff56fab73bb2aa436a7da610bcd78c42
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2c0280ca81baf882f7e4805bb609704ee61ca92e95f02f1dbd9fcdd787f8c7907e392aa46c6c1837e21fa21147d1332142508a92e28144deb32d8b3eaa614ba7
|
7
|
+
data.tar.gz: 6799be622d9397775f31898f480cb2f97c90d71ce044a033422f0651b72ffb9bc96cdff06f41b65539e69fa33c3e00ea868139bf8a5ef3096cbb7540064bf9c3
|
data/README.md
CHANGED
@@ -1,32 +1,33 @@
|
|
1
1
|
# Peek::DelayedJob
|
2
2
|
|
3
|
-
Take a peek into the current state of your
|
3
|
+
Take a peek into the current state of your [Delayed::Job](https://github.com/collectiveidea/delayed_job) queue – see the [peek](https://github.com/peek/peek) project for general information.
|
4
4
|
|
5
|
-
|
6
|
-
- The total number of failed jobs.
|
5
|
+

|
7
6
|
|
8
7
|
Only supports the DelayedJob ActiveRecord backend at the moment.
|
9
8
|
|
10
9
|
## Installation
|
11
10
|
|
12
|
-
Add this line to your application's Gemfile:
|
11
|
+
1. Add this line to your application's Gemfile:
|
13
12
|
|
14
|
-
```ruby
|
15
|
-
gem 'peek-delayed_job'
|
16
|
-
```
|
13
|
+
```ruby
|
14
|
+
gem 'peek-delayed_job'
|
15
|
+
```
|
17
16
|
|
18
|
-
|
17
|
+
1. Run
|
19
18
|
|
20
|
-
|
19
|
+
$ bundle
|
21
20
|
|
22
|
-
|
21
|
+
3. Add the following to `config/initializers/peek.rb`:
|
23
22
|
|
24
|
-
|
23
|
+
```ruby
|
24
|
+
Peek.into Peek::Views::DelayedJob
|
25
|
+
```
|
25
26
|
|
26
|
-
##
|
27
|
+
## Configuration
|
27
28
|
|
28
|
-
|
29
|
+
If you would like to change the default label (`delayed::job`) to something custom, include the `label` option as an argument in the initializer:
|
29
30
|
|
30
31
|
```ruby
|
31
|
-
Peek.into Peek::Views::DelayedJob
|
32
|
+
Peek.into Peek::Views::DelayedJob, label: 'DJ'
|
32
33
|
```
|
@@ -1 +1 @@
|
|
1
|
-
<strong><span data-defer-to="<%= view.defer_key %>-queued">...</span> queued / <span data-defer-to="<%= view.defer_key %>-failed">...</span> failed</strong>
|
1
|
+
<strong><span data-defer-to="<%= view.defer_key %>-queued">...</span> queued / <span data-defer-to="<%= view.defer_key %>-failed">...</span> failed</strong> <%= view.label %>
|
data/screenshot.png
ADDED
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: peek-delayed_job
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aidan Feldman
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-11-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: peek
|
@@ -56,6 +56,7 @@ files:
|
|
56
56
|
- lib/peek-delayed_job/version.rb
|
57
57
|
- lib/peek/views/delayed_job.rb
|
58
58
|
- peek-delayed_job.gemspec
|
59
|
+
- screenshot.png
|
59
60
|
homepage: https://github.com/18F/peek-delayed_job
|
60
61
|
licenses: []
|
61
62
|
metadata: {}
|
@@ -75,7 +76,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
76
|
version: '0'
|
76
77
|
requirements: []
|
77
78
|
rubyforge_project:
|
78
|
-
rubygems_version: 2.4.
|
79
|
+
rubygems_version: 2.4.5.1
|
79
80
|
signing_key:
|
80
81
|
specification_version: 4
|
81
82
|
summary: Take a peek into your DelayedJob queue.
|