scout 5.5.0 → 5.5.1

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/CHANGELOG CHANGED
@@ -1,5 +1,9 @@
1
1
  == Master
2
2
 
3
+ == 5.5.1
4
+
5
+ * Updating history on plugin timeouts (last run & memory). Previously, the data from the last successful run was retained.
6
+
3
7
  == 5.5.0
4
8
 
5
9
  * yes, the version number jumped from 5.3.5 to 5.5.0
data/lib/scout/server.rb CHANGED
@@ -414,6 +414,12 @@ module Scout
414
414
  end
415
415
  data
416
416
  ensure
417
+ if job
418
+ @history["last_runs"].delete(plugin['name'])
419
+ @history["memory"].delete(plugin['name'])
420
+ @history["last_runs"][id_and_name] = run_time
421
+ @history["memory"][id_and_name] = job.data_for_server[:memory]
422
+ end
417
423
  if Plugin.last_defined
418
424
  debug "Removing plugin code..."
419
425
  begin
data/lib/scout/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Scout
2
- VERSION = "5.5.0"
2
+ VERSION = "5.5.1"
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.5.0
4
+ version: 5.5.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -11,11 +11,11 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2012-01-09 00:00:00.000000000 Z
14
+ date: 2012-01-11 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: elif
18
- requirement: &70362600075880 !ruby/object:Gem::Requirement
18
+ requirement: &2160186240 !ruby/object:Gem::Requirement
19
19
  none: false
20
20
  requirements:
21
21
  - - ! '>='
@@ -23,7 +23,7 @@ dependencies:
23
23
  version: '0'
24
24
  type: :runtime
25
25
  prerelease: false
26
- version_requirements: *70362600075880
26
+ version_requirements: *2160186240
27
27
  description: ! 'Scout makes monitoring and reporting on your web applications as flexible
28
28
  and simple as possible.
29
29