bluepill-gearman 1.0.1 → 1.0.2

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.
data/.gitignore CHANGED
@@ -1,3 +1,4 @@
1
+ .DS_Store
1
2
  *.gem
2
3
  *.rbc
3
4
  .bundle
data/Changelog.md CHANGED
@@ -1,3 +1,5 @@
1
+ # v1.0.3 - remove every from plugin - suspected to cause bluepill monitored process to sleep
2
+ # v1.0.2 - docs generated
1
3
  # v1.0.1 - spec tests passing
2
4
  # v1.0.0
3
5
  * Initial release
@@ -1,5 +1,5 @@
1
1
  module Bluepill
2
2
  module Gearman
3
- VERSION = "1.0.1"
3
+ VERSION = "1.0.2"
4
4
  end
5
5
  end
@@ -19,8 +19,7 @@ module Bluepill
19
19
  * queue: default queue is 'check_results'
20
20
  * key: provide a key for encryption (minimum 8 bytes)
21
21
  * encryption: default to false set to true to enable
22
- * every: how often the send_gearman will send the passive check
23
-
22
+
24
23
  See checks https://github.com/arya/bluepill for the syntax to pass those options
25
24
  encryption: https://gist.github.com/RiANOl/1077760
26
25
  INFO
@@ -32,8 +31,7 @@ module Bluepill
32
31
  :service => options.delete(:service) || process.name,
33
32
  :queue => options.delete(:queue) || 'check_results',
34
33
  :key => options.delete(:key) || '',
35
- :encryption => options.delete(:encryption) || false,
36
- :every => options.delete(:every) || 1.minute
34
+ :encryption => options.delete(:encryption) || false
37
35
  }
38
36
  super
39
37
  end
@@ -97,8 +95,6 @@ EOT
97
95
  result = client.do_task(args[:queue], encoded_job)
98
96
 
99
97
  logger.info "Sent Job to Gearman Server #{result}"
100
- logger.info "Next job status passive check: #{args[:every]}"
101
- sleep(args[:every])
102
98
  rescue Exception => e
103
99
  logger.warn "Failed to send job to the Gearman Server: #{e}"
104
100
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bluepill-gearman
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-02-25 00:00:00.000000000 Z
12
+ date: 2014-03-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bluepill