riemann-babbler 1.1.6 → 1.1.7
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.
@@ -0,0 +1,19 @@
|
|
1
|
+
require 'socket'
|
2
|
+
require 'json'
|
3
|
+
|
4
|
+
server = TCPServer.open(55755)
|
5
|
+
|
6
|
+
info = {
|
7
|
+
:version => Riemann::Babbler::VERSION,
|
8
|
+
:ruby => "#{RUBY_VERSION}-#{RUBY_PATCHLEVEL}"
|
9
|
+
}
|
10
|
+
|
11
|
+
t = Thread.new {
|
12
|
+
loop {
|
13
|
+
client = server.accept
|
14
|
+
client.puts info.to_json
|
15
|
+
client.close
|
16
|
+
}
|
17
|
+
}
|
18
|
+
|
19
|
+
t.join
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: riemann-babbler
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.7
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-08-
|
12
|
+
date: 2013-08-19 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: riemann-client
|
@@ -194,6 +194,7 @@ files:
|
|
194
194
|
- lib/riemann/babbler/start.rb
|
195
195
|
- lib/riemann/babbler/support/deep_merge.rb
|
196
196
|
- lib/riemann/babbler/support/monkey_patches.rb
|
197
|
+
- lib/riemann/babbler/support/pinger.rb
|
197
198
|
- lib/riemann/babbler/support/plugin_helpers.rb
|
198
199
|
- lib/riemann/babbler/version.rb
|
199
200
|
- riemann-babbler.gemspec
|