guard-delayed_jobs 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/README.md +13 -7
- data/lib/guard/delayed_jobs.rb +0 -6
- data/lib/guard/delayed_jobs/templates/Guardfile +14 -0
- data/lib/guard/delayed_jobs/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8ea4533d051a3bcd04a92147ab7abdbb3106d50a
|
4
|
+
data.tar.gz: 0b7219978cea7ce508d4bf1a048a730c76772978
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0fee48541ce235a0052cee02a1cd371c664fe9471739f043e0354a331ea97ce969b56fd3c431f1a9694ab181dc7b0fef601356d924e5660e5f94f6bf46f5e916
|
7
|
+
data.tar.gz: e3ddee9ab2d45a900b734cd662391a15c95b304c1dd532f6ab14152aebed6adcdfeba68e71df3004191c0c1f538fde7310bfb3dc2e20f0b2ad526c619f2a2652
|
data/.gitignore
CHANGED
data/README.md
CHANGED
@@ -1,15 +1,15 @@
|
|
1
|
-
|
1
|
+
[![Gem Version](https://badge.fury.io/rb/guard-delayed_jobs.png)](https://badge.fury.io/rb/guard-delayed_jobs)
|
2
2
|
|
3
|
-
|
3
|
+
# Guard::DelayedJobs
|
4
4
|
|
5
|
-
|
5
|
+
A guard plugin to safely control `Delayed::Job` daemon.
|
6
6
|
|
7
7
|
## Installation
|
8
8
|
|
9
9
|
Add this line to your application's Gemfile:
|
10
10
|
|
11
11
|
```ruby
|
12
|
-
gem 'guard-
|
12
|
+
gem 'guard-delayed_jobs'
|
13
13
|
```
|
14
14
|
|
15
15
|
And then execute:
|
@@ -18,11 +18,17 @@ And then execute:
|
|
18
18
|
|
19
19
|
Or install it yourself as:
|
20
20
|
|
21
|
-
$ gem install guard-
|
21
|
+
$ gem install guard-delayed_jobs
|
22
22
|
|
23
23
|
## Usage
|
24
24
|
|
25
|
-
|
25
|
+
Run this line in your terminal:
|
26
|
+
|
27
|
+
```shell
|
28
|
+
bundle exec guard init delayed_jobs
|
29
|
+
```
|
30
|
+
|
31
|
+
And then modify your local `Guardfile` as needed
|
26
32
|
|
27
33
|
## Development
|
28
34
|
|
@@ -32,7 +38,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
32
38
|
|
33
39
|
## Contributing
|
34
40
|
|
35
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
41
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/thelonelyghost/guard-delayed_jobs. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
36
42
|
|
37
43
|
|
38
44
|
## License
|
data/lib/guard/delayed_jobs.rb
CHANGED
@@ -0,0 +1,14 @@
|
|
1
|
+
# Allowable options are:
|
2
|
+
# :environment defaults to 'test'
|
3
|
+
# :min_priority e.g. 2
|
4
|
+
# :max_priority e.g. 10
|
5
|
+
# :number_of_workers e.g. 2
|
6
|
+
# :pid_dir e.g. tmp/pids Specifies an alternate directory in which to store the process ids.
|
7
|
+
# :identifier A numeric identifier for the worker.
|
8
|
+
# :monitor Start monitor process.
|
9
|
+
# :sleep-delay N Amount of time to sleep in seconds when no jobs are found
|
10
|
+
# :prefix NAME String to be prefixed to worker process names
|
11
|
+
# :command defaults to 'bin/delayed_jobs'
|
12
|
+
guard 'delayed_jobs', environment: 'development' do
|
13
|
+
watch(%r{^app/(.+)\.rb})
|
14
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: guard-delayed_jobs
|
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
|
- David Alexander
|
@@ -130,6 +130,7 @@ files:
|
|
130
130
|
- guard-delayed_jobs.gemspec
|
131
131
|
- lib/guard-delayed_jobs.rb
|
132
132
|
- lib/guard/delayed_jobs.rb
|
133
|
+
- lib/guard/delayed_jobs/templates/Guardfile
|
133
134
|
- lib/guard/delayed_jobs/version.rb
|
134
135
|
homepage: https://github.com/thelonelyghost/guard-delayed_jobs
|
135
136
|
licenses:
|