scout 5.9.4 → 5.9.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- N2VhOWRmOTUxMjk1NzNhYTQ1MWIwZGQ5MjQxNjRkMGNiZDVjYmM0Yw==
4
+ YjRiN2Y4ZDVlNDBjZjQ4NjA1MTRhMTc3ZDQyNjdhODgzZGJhNGE2Zg==
5
5
  data.tar.gz: !binary |-
6
- NGU1NzMyMmYxNmU5OWE3YjAwMWEyMDIwNTI3Yzc4YTA0ODk2MjU2Ng==
6
+ MDVjMDJiNGViYjViODZiMDVmNmMxZTk1MGE2OWZjZjU4MmZkZGY3NQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NzQwYjNhNDcwOTVjYTExOTIyZTA2ZWY3YjM1ZTFiNWRlNTRmOThhZjIzZjkw
10
- ZWE5NDYwYjQ5MTEzYTFjMDVhMTEzMTQyYTdkNmM2NjNjZTEwZTlmMjhlNDFj
11
- MzYxZGE3ZWYxNGU0ZGU3OTIxMGRhNTM4NDMzNDU5OTk0ZmNmYTM=
9
+ YTg4OTY4NjFhOTE0YmQ3MTUzNjNmODRlY2EwNzg5YjRlNGEzMDNjNjFjNzk1
10
+ YmE1ZTk4OTg5OWUzZDgzZWJhZDE2ODM5ZjIzNGZmMjA1YjhmZDc1ZDM2M2E1
11
+ NGY5MDBlZDdlY2NlYzIxODUwNTMyZjA0NGUzNGNiYzA1NzAwNzc=
12
12
  data.tar.gz: !binary |-
13
- Y2Q4YzZkMDNhYTRlYjZmOGM4N2ZkNzc0MmZjNzhkMzk1OGVhMGMyODZjNTJj
14
- YThlMmFlYzVmODI3MzY1ZjQ3ZmU5NmE5YTk5YjU0ZTA1ZWU4MWQxNDM2NjMx
15
- MmEyYjJjYWRhYjk0YWE3OGNjMWU1N2VhNmE3OGZkNzQyNDE2Yjc=
13
+ MDgwMTI1OGVmMmU4MWU1ZjQ1YWU2YjU5ZGMwMjdhZTYzNDdlYzllMjgwNzRj
14
+ Nzk5Mjk0Njg3YWVkZWMxNTAyZmFiNTIxNmM4YTYwNjE3NmMxN2QyNzQ3Y2I0
15
+ ZjFkZjIwODgyOTQyZjhjZTVkYjE1ODQ2NDc2OWFhZmVmMGE1ZmI=
@@ -1,3 +1,7 @@
1
+ # 5.9.5
2
+
3
+ * If plugin last_run is in the future, run the plugins now
4
+
1
5
  # 5.9.4
2
6
 
3
7
  * Use the invocation time when recording last_checkin date
@@ -374,9 +374,13 @@ module Scout
374
374
  run_time = Time.now
375
375
  delta = last_run.nil? ? nil : run_time -
376
376
  (last_run + plugin['interval'] * 60)
377
- if last_run.nil? or delta.between?(-RUN_DELTA, 0) or delta >= 0
378
- debug "Plugin is past interval and needs to be run. " +
379
- "(last run: #{last_run || 'nil'})"
377
+ if last_run.nil? or last_run > run_time or delta.between?(-RUN_DELTA, 0) or delta >= 0
378
+ if last_run != nil and (last_run > run_time)
379
+ debug "Plugin last_run is in the future. Running the plugin now. (last run: #{last_run})"
380
+ else
381
+ debug "Plugin is past interval and needs to be run. " +
382
+ "(last run: #{last_run || 'nil'})"
383
+ end
380
384
  code_to_run = plugin['code']
381
385
  if plugin_id && plugin_id != ""
382
386
  override_path=File.join(@local_plugin_path, "#{plugin_id}.rb")
@@ -1,3 +1,3 @@
1
1
  module Scout
2
- VERSION = "5.9.4"
2
+ VERSION = "5.9.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scout
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.9.4
4
+ version: 5.9.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andre Lewis
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2014-06-10 00:00:00.000000000 Z
13
+ date: 2014-06-12 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: elif