philae 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/philae/nsq_probe.rb +8 -0
  3. metadata +2 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3dbb29e017bdc7e8f163b7d791f58f372e5f57d8
4
- data.tar.gz: 317cbad8caa16777d1bb996dd5667c336dff1508
3
+ metadata.gz: 6456ab80d225e76329e7f1aed4044599cb031233
4
+ data.tar.gz: 55c2e7e75a3e796f0307fab631026582f25db8d8
5
5
  SHA512:
6
- metadata.gz: afb9de7a624f945cbb3f276819d74d2ed20a98c7f6a7fbf3c9966ab0e082e3c72608fd593fcac44a81ad68f4d297925a1e16e1402b18acd5057cecd26a79654d
7
- data.tar.gz: 6e8a58dbeab4019bad6604e638873802c224c8e55958b2932146baeac5f11b8c0a5ee5f2cdcf2a86310710b9c105aaecc2e727a3df4478a3822262668bac96b3
6
+ metadata.gz: 8b6470d4532a64f4944dafa932c92ecf6915baae243b5624dd2ff2edb9baa93ab22482d0a976b7b6db1fea9926678fc59348c45182e6133730afa8348eaf4335
7
+ data.tar.gz: f60c3492b76cda1018f24c9b0c0d672be0315609839b61af4b97f34794e9d96b3e88c7fc599858ff39972fba9779823634ca6b204e6eb99dec54b350aeca2f25
@@ -0,0 +1,8 @@
1
+ module Philae
2
+ class NSQProbe < HttpProbe
3
+ def initialize(name, host, port = 4151)
4
+ @name = name
5
+ @uri = "http://#{host}:#{port}/ping"
6
+ end
7
+ end
8
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: philae
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - leo@scalingo.com
@@ -63,6 +63,7 @@ files:
63
63
  - lib/philae/docker_probe.rb
64
64
  - lib/philae/http_probe.rb
65
65
  - lib/philae/mongo_probe.rb
66
+ - lib/philae/nsq_probe.rb
66
67
  - lib/philae/philae_probe.rb
67
68
  - lib/philae/prober.rb
68
69
  homepage: https://scalingo.com