scout 5.9.5 → 5.9.7.pre

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,18 @@
1
+ module Scout
2
+ class Command
3
+ class Realtime < Command
4
+ def run
5
+ streamer_command = @args.first
6
+ # Spawn or stop streamer as needed
7
+ if streamer_command.start_with?("start")
8
+ puts "streamer command: start"
9
+ Scout::StreamerDaemon.start_daemon(history, streamer_command, @hostname, @http_proxy)
10
+ elsif streamer_command == "stop"
11
+ puts "streamer command: stop"
12
+ Scout::StreamerDaemon.stop_daemon(history)
13
+ end
14
+ end
15
+ end
16
+ end
17
+ end
18
+
data/lib/scout/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Scout
2
- VERSION = "5.9.5"
2
+ VERSION = "5.9.7.pre"
3
3
  end
metadata CHANGED
@@ -1,7 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scout
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.9.5
4
+ version: 5.9.7.pre
5
+ prerelease: 6
5
6
  platform: ruby
6
7
  authors:
7
8
  - Andre Lewis
@@ -10,11 +11,12 @@ authors:
10
11
  autorequire:
11
12
  bindir: bin
12
13
  cert_chain: []
13
- date: 2014-06-12 00:00:00.000000000 Z
14
+ date: 2014-08-06 00:00:00.000000000 Z
14
15
  dependencies:
15
16
  - !ruby/object:Gem::Dependency
16
17
  name: elif
17
18
  requirement: !ruby/object:Gem::Requirement
19
+ none: false
18
20
  requirements:
19
21
  - - ! '>='
20
22
  - !ruby/object:Gem::Version
@@ -22,6 +24,7 @@ dependencies:
22
24
  type: :runtime
23
25
  prerelease: false
24
26
  version_requirements: !ruby/object:Gem::Requirement
27
+ none: false
25
28
  requirements:
26
29
  - - ! '>='
27
30
  - !ruby/object:Gem::Version
@@ -29,6 +32,7 @@ dependencies:
29
32
  - !ruby/object:Gem::Dependency
30
33
  name: server_metrics
31
34
  requirement: !ruby/object:Gem::Requirement
35
+ none: false
32
36
  requirements:
33
37
  - - ! '>='
34
38
  - !ruby/object:Gem::Version
@@ -36,6 +40,7 @@ dependencies:
36
40
  type: :runtime
37
41
  prerelease: false
38
42
  version_requirements: !ruby/object:Gem::Requirement
43
+ none: false
39
44
  requirements:
40
45
  - - ! '>='
41
46
  - !ruby/object:Gem::Version
@@ -64,6 +69,7 @@ files:
64
69
  - lib/scout.rb
65
70
  - lib/scout/command.rb
66
71
  - lib/scout/command/install.rb
72
+ - lib/scout/command/realtime.rb
67
73
  - lib/scout/command/run.rb
68
74
  - lib/scout/command/sign.rb
69
75
  - lib/scout/command/test.rb
@@ -315,27 +321,32 @@ files:
315
321
  - vendor/util/lib/core_extensions.rb
316
322
  homepage: http://scoutapp.com
317
323
  licenses: []
318
- metadata: {}
319
324
  post_install_message:
320
325
  rdoc_options: []
321
326
  require_paths:
322
327
  - lib
323
328
  required_ruby_version: !ruby/object:Gem::Requirement
329
+ none: false
324
330
  requirements:
325
331
  - - ! '>='
326
332
  - !ruby/object:Gem::Version
327
333
  version: '0'
328
334
  required_rubygems_version: !ruby/object:Gem::Requirement
335
+ none: false
329
336
  requirements:
330
- - - ! '>='
337
+ - - ! '>'
331
338
  - !ruby/object:Gem::Version
332
- version: '0'
339
+ version: 1.3.1
333
340
  requirements: []
334
341
  rubyforge_project: scout
335
- rubygems_version: 2.2.2
342
+ rubygems_version: 1.8.23
336
343
  signing_key:
337
- specification_version: 4
344
+ specification_version: 3
338
345
  summary: Scout is an easy-to-use hosted server monitoring service. The scout Ruby
339
346
  gem reports metrics to our service. The agent runs plugins, configured via the Scout
340
347
  web interface, to monitor a server.
341
- test_files: []
348
+ test_files:
349
+ - test/plugins/disk_usage.rb
350
+ - test/scout_test.rb
351
+ - test/streamer_test.rb
352
+ has_rdoc:
checksums.yaml DELETED
@@ -1,15 +0,0 @@
1
- ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- YjRiN2Y4ZDVlNDBjZjQ4NjA1MTRhMTc3ZDQyNjdhODgzZGJhNGE2Zg==
5
- data.tar.gz: !binary |-
6
- MDVjMDJiNGViYjViODZiMDVmNmMxZTk1MGE2OWZjZjU4MmZkZGY3NQ==
7
- SHA512:
8
- metadata.gz: !binary |-
9
- YTg4OTY4NjFhOTE0YmQ3MTUzNjNmODRlY2EwNzg5YjRlNGEzMDNjNjFjNzk1
10
- YmE1ZTk4OTg5OWUzZDgzZWJhZDE2ODM5ZjIzNGZmMjA1YjhmZDc1ZDM2M2E1
11
- NGY5MDBlZDdlY2NlYzIxODUwNTMyZjA0NGUzNGNiYzA1NzAwNzc=
12
- data.tar.gz: !binary |-
13
- MDgwMTI1OGVmMmU4MWU1ZjQ1YWU2YjU5ZGMwMjdhZTYzNDdlYzllMjgwNzRj
14
- Nzk5Mjk0Njg3YWVkZWMxNTAyZmFiNTIxNmM4YTYwNjE3NmMxN2QyNzQ3Y2I0
15
- ZjFkZjIwODgyOTQyZjhjZTVkYjE1ODQ2NDc2OWFhZmVmMGE1ZmI=