scout 5.9.3 → 5.9.4.pre

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ YzI0ODE4YjU3NDllNTQ4YzRjNjJkZjUwMmUwMTE3MDQ0YzY0MTRjZg==
5
+ data.tar.gz: !binary |-
6
+ ZGUxOWYzYTViOWVlZjk3MDQ3ZjZlOGM2YWJiZDlkMGIwYjEyNjgxMw==
7
+ SHA512:
8
+ metadata.gz: !binary |-
9
+ ZDVmOWQxZWM0MmJhYzhkNGMxZTQ0MTJhZWQwNDIyODYwM2YxYzYxZmIxYjQ0
10
+ YjBlOTliYzA0OGE5ZGViY2U0ZmRmMzQ2Mzc0ZmE3M2NjMDZhZTNiNTIzNDBi
11
+ Y2IyNDYxNTQ4ZTM0OTViN2M0N2M3OGEzZTdkODM1MDZlODllNjQ=
12
+ data.tar.gz: !binary |-
13
+ OWQ5MzY5MWVjN2U4NmE3ODg4NDM4MjU0Y2NmZDM2ZTM0ZDI0NTQzNTNkZjI0
14
+ OWJhMWZiZjg4Y2ZmYTgwMjczODlmY2RkMTUxOWVlYzRkNTBjMjNkMTE1YzRl
15
+ N2E1YThiZDMwNDBlNjkwYmVhNjI4M2U1ZDk0ZTZmNTc3OGU4YWQ=
data/CHANGELOG.markdown CHANGED
@@ -1,3 +1,7 @@
1
+ # 5.9.4
2
+
3
+ * Use the invocation time when recording last_checkin date
4
+
1
5
  # 5.9.3
2
6
 
3
7
  * Add server_metrics version to debug log, bump server_metrics dependency to 1.2.5
data/lib/scout/server.rb CHANGED
@@ -51,6 +51,7 @@ module Scout
51
51
  @history_tmp_file = history_file+'.tmp'
52
52
  @plugin_config = load_plugin_configs(@plugin_config_path)
53
53
  @data_file = Scout::DataFile.new(@history_file,@logger)
54
+ @started_at = Time.now # the checkin method needs to know when this scout client started
54
55
  # the block is only passed for install and test, since we split plan retrieval outside the lockfile for run
55
56
  if block_given?
56
57
  load_history
@@ -603,7 +604,7 @@ module Scout
603
604
  debug """
604
605
  #{PP.pp(@checkin, '')}
605
606
  """
606
- @history['last_checkin'] = Time.now.to_i # might have to save the time of invocation and use here to prevent drift
607
+ @history['last_checkin'] = @started_at # use the time of invocation here to prevent drift caused by e.g. slow plugins
607
608
  io = StringIO.new
608
609
  gzip = Zlib::GzipWriter.new(io)
609
610
  gzip << @checkin.to_json
data/lib/scout/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Scout
2
- VERSION = "5.9.3"
2
+ VERSION = "5.9.4.pre"
3
3
  end
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scout
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.9.3
5
- prerelease:
4
+ version: 5.9.4.pre
6
5
  platform: ruby
7
6
  authors:
8
7
  - Andre Lewis
@@ -11,12 +10,11 @@ authors:
11
10
  autorequire:
12
11
  bindir: bin
13
12
  cert_chain: []
14
- date: 2014-05-08 00:00:00.000000000 Z
13
+ date: 2014-06-09 00:00:00.000000000 Z
15
14
  dependencies:
16
15
  - !ruby/object:Gem::Dependency
17
16
  name: elif
18
17
  requirement: !ruby/object:Gem::Requirement
19
- none: false
20
18
  requirements:
21
19
  - - ! '>='
22
20
  - !ruby/object:Gem::Version
@@ -24,7 +22,6 @@ dependencies:
24
22
  type: :runtime
25
23
  prerelease: false
26
24
  version_requirements: !ruby/object:Gem::Requirement
27
- none: false
28
25
  requirements:
29
26
  - - ! '>='
30
27
  - !ruby/object:Gem::Version
@@ -32,7 +29,6 @@ dependencies:
32
29
  - !ruby/object:Gem::Dependency
33
30
  name: server_metrics
34
31
  requirement: !ruby/object:Gem::Requirement
35
- none: false
36
32
  requirements:
37
33
  - - ! '>='
38
34
  - !ruby/object:Gem::Version
@@ -40,7 +36,6 @@ dependencies:
40
36
  type: :runtime
41
37
  prerelease: false
42
38
  version_requirements: !ruby/object:Gem::Requirement
43
- none: false
44
39
  requirements:
45
40
  - - ! '>='
46
41
  - !ruby/object:Gem::Version
@@ -320,31 +315,27 @@ files:
320
315
  - vendor/util/lib/core_extensions.rb
321
316
  homepage: http://scoutapp.com
322
317
  licenses: []
318
+ metadata: {}
323
319
  post_install_message:
324
320
  rdoc_options: []
325
321
  require_paths:
326
322
  - lib
327
323
  required_ruby_version: !ruby/object:Gem::Requirement
328
- none: false
329
324
  requirements:
330
325
  - - ! '>='
331
326
  - !ruby/object:Gem::Version
332
327
  version: '0'
333
328
  required_rubygems_version: !ruby/object:Gem::Requirement
334
- none: false
335
329
  requirements:
336
- - - ! '>='
330
+ - - ! '>'
337
331
  - !ruby/object:Gem::Version
338
- version: '0'
332
+ version: 1.3.1
339
333
  requirements: []
340
334
  rubyforge_project: scout
341
- rubygems_version: 1.8.24
335
+ rubygems_version: 2.2.2
342
336
  signing_key:
343
- specification_version: 3
337
+ specification_version: 4
344
338
  summary: Scout is an easy-to-use hosted server monitoring service. The scout Ruby
345
339
  gem reports metrics to our service. The agent runs plugins, configured via the Scout
346
340
  web interface, to monitor a server.
347
- test_files:
348
- - test/plugins/disk_usage.rb
349
- - test/scout_test.rb
350
- - test/streamer_test.rb
341
+ test_files: []