better_delayed_job_web 1.3.11 → 1.3.12
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.markdown +4 -4
- data/better_delayed_job_web.gemspec +1 -1
- data/lib/better_delayed_job_web/application/views/job.erb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5fb5897156cedb1cd63306002da6f287a40bacc8
|
|
4
|
+
data.tar.gz: 0c79fb0844883679ad4b193c3b4007febc845f3e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ef373f731c2706fb6d47218d8ba9814d47672295c86646b3a45e6f0f7081872e092d94f63470e80d4e65c5baf119f95e1dd6bbaa02f99e283d037cb92bf059bc
|
|
7
|
+
data.tar.gz: ddaa3b9eb649ee50a85107368dc1ddcb907b19128af50809e77477d71d2f9235350f4f47916cbcda66493da31298778601a8752f2a7f71836a2183745e735c64
|
data/README.markdown
CHANGED
|
@@ -25,7 +25,7 @@ Quick Start For Rails 3 and 4 Applications
|
|
|
25
25
|
Add the dependency to your Gemfile
|
|
26
26
|
|
|
27
27
|
```ruby
|
|
28
|
-
gem "
|
|
28
|
+
gem “better_delayed_job_web"
|
|
29
29
|
```
|
|
30
30
|
|
|
31
31
|
Install it...
|
|
@@ -38,20 +38,20 @@ Add the following route to your application for accessing the interface,
|
|
|
38
38
|
and retrying failed jobs.
|
|
39
39
|
|
|
40
40
|
```ruby
|
|
41
|
-
match "/delayed_job" =>
|
|
41
|
+
match "/delayed_job" => BetterDelayedJobWeb, :anchor => false, via: [:get, :post]
|
|
42
42
|
```
|
|
43
43
|
|
|
44
44
|
You probably want to password protect the interface, an easy way is to add something like this your config.ru file
|
|
45
45
|
|
|
46
46
|
```ruby
|
|
47
47
|
if Rails.env.production?
|
|
48
|
-
|
|
48
|
+
BetterDelayedJobWeb.use Rack::Auth::Basic do |username, password|
|
|
49
49
|
username == 'username' && password == 'password'
|
|
50
50
|
end
|
|
51
51
|
end
|
|
52
52
|
```
|
|
53
53
|
|
|
54
|
-
`
|
|
54
|
+
`better_delayed_job_web` runs as a Sinatra application within the rails application. Visit it at `/delayed_job`.
|
|
55
55
|
|
|
56
56
|
## Serving static assets
|
|
57
57
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: better_delayed_job_web
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.3.
|
|
4
|
+
version: 1.3.12
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Skcript
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-01-
|
|
11
|
+
date: 2015-01-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: sinatra
|