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 +8 -8
- data/CHANGELOG.markdown +4 -0
- data/lib/scout/server.rb +7 -3
- data/lib/scout/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
YjRiN2Y4ZDVlNDBjZjQ4NjA1MTRhMTc3ZDQyNjdhODgzZGJhNGE2Zg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MDVjMDJiNGViYjViODZiMDVmNmMxZTk1MGE2OWZjZjU4MmZkZGY3NQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
YTg4OTY4NjFhOTE0YmQ3MTUzNjNmODRlY2EwNzg5YjRlNGEzMDNjNjFjNzk1
|
10
|
+
YmE1ZTk4OTg5OWUzZDgzZWJhZDE2ODM5ZjIzNGZmMjA1YjhmZDc1ZDM2M2E1
|
11
|
+
NGY5MDBlZDdlY2NlYzIxODUwNTMyZjA0NGUzNGNiYzA1NzAwNzc=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MDgwMTI1OGVmMmU4MWU1ZjQ1YWU2YjU5ZGMwMjdhZTYzNDdlYzllMjgwNzRj
|
14
|
+
Nzk5Mjk0Njg3YWVkZWMxNTAyZmFiNTIxNmM4YTYwNjE3NmMxN2QyNzQ3Y2I0
|
15
|
+
ZjFkZjIwODgyOTQyZjhjZTVkYjE1ODQ2NDc2OWFhZmVmMGE1ZmI=
|
data/CHANGELOG.markdown
CHANGED
data/lib/scout/server.rb
CHANGED
@@ -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
|
-
|
379
|
-
|
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")
|
data/lib/scout/version.rb
CHANGED
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
|
+
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-
|
13
|
+
date: 2014-06-12 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: elif
|