resque-alarm 0.1.2 → 0.1.4

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.
Files changed (2) hide show
  1. data/README.md +4 -5
  2. metadata +4 -2
data/README.md CHANGED
@@ -14,11 +14,10 @@ To use this gem, config in an initializer
14
14
  config.notifier = Resque::Plugins::AlarmNotifier::LogNotifier.new(Rails.logger, :info) # Notify to rails log
15
15
  # OR using mail notifier
16
16
  config.notifier = Resque::Plugins::AlarmNotifier::MailNotifier.new(
17
- "ops@saleshood.com",
18
- "ops@saleshood.com",
19
- "alarm",
20
- "Queue length reached alarm",
21
- ["Saleshood",Settings.mailer.host_app,"Resque"] )
17
+ "from@from.com",
18
+ "to@to.com",
19
+ "Queue length reached alarm", # subject
20
+ ["Resque"] ) # tags, merge with subject to become "[Resque] Queue length reached alarm"
22
21
  end
23
22
 
24
23
  Extend in job:
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: resque-alarm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -11,7 +11,9 @@ bindir: bin
11
11
  cert_chain: []
12
12
  date: 2015-11-24 00:00:00.000000000 Z
13
13
  dependencies: []
14
- description: A Resque plugin to alarm when queue is too long.
14
+ description: A Resque plugin to alarm when queue is too long. Using email or rails
15
+ log, or others log system. Use other tools to analyze result. Queue is checked
16
+ every time job enqueued.
15
17
  email: heosuax@gmail.com
16
18
  executables: []
17
19
  extensions: []