garufa 1.1.4 → 1.1.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2edca8c2c34c0858190b0a66c86032e1acdc4af9
4
- data.tar.gz: 941258d4c48b976f870a6679f217e5e24ab0ef8e
3
+ metadata.gz: d786b484f5fab7fd3d89b658e6112b4075f99bef
4
+ data.tar.gz: 824a6094723424159fc9d309ca664b45f95e1209
5
5
  SHA512:
6
- metadata.gz: 21463c8b0d8f43751a4cf3fa332fd6b4c6cf18b00c6b91dc49eaef299933bd55c50c02de90987747f2d2fa69bc4762118cf16f6a2e29c04279ee628de5b85f8c
7
- data.tar.gz: d4af0290bbbb96d639df0fda03f7e9c67cb07c3db7ce2b9cfc5ac55117baa081443c2d7fb7d193aa6e81b1134d02f584722b58f88162b9afa65a63586bd88b66
6
+ metadata.gz: e79c4b1d0b103bebecdc8458b469afcd1f52d6c923b8337a1ac6019eae3a1009c4420f04269cad749d16018ab3aff4a46ceb26e67122ffc8ec23e541d5bc5471
7
+ data.tar.gz: 582a840feee8ae3c9995647b51f3fe49292e3fd5ca62de3d2c9e74a642a041e19d82b69acf6e97b166ca5685ccf8bdb3b1f558b519929f91e15ee38068145ee9
data/README.md CHANGED
@@ -18,12 +18,12 @@ and inspired by [Slanger][slanger], another server compatible with Pusher.
18
18
  Documentation
19
19
  -------------
20
20
 
21
- * [Installation and usage] (/doc/install.md)
22
- * [SSL Support] (/doc/ssl.md)
23
- * [Deploy to Heroku] (/doc/heroku.md)
24
- * [Using Nginx as reverse proxy] (/doc/nginx.md)
25
- * [Cheking number of current connections] (/doc/connections.md)
26
- * [Testing and contributing] (/doc/testing.md)
21
+ * [Installation and usage](/doc/install.md)
22
+ * [SSL Support](/doc/ssl.md)
23
+ * [Deploy to Heroku](/doc/heroku.md)
24
+ * [Using Nginx as reverse proxy](/doc/nginx.md)
25
+ * [Cheking number of current connections](/doc/connections.md)
26
+ * [Testing and contributing](/doc/testing.md)
27
27
 
28
28
  Pusher
29
29
  ------
@@ -21,6 +21,10 @@ module Garufa
21
21
  require_relative 'routes/events'
22
22
 
23
23
  route do |r|
24
+ r.on 'healthz', method: [:head, :get] do
25
+ response.status = 204
26
+ end
27
+
24
28
  r.on 'apps/:app_id' do |app_id|
25
29
 
26
30
  authenticate(app_id)
@@ -1,3 +1,3 @@
1
1
  module Garufa
2
- VERSION = '1.1.4'
2
+ VERSION = '1.1.5'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: garufa
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.4
4
+ version: 1.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan Manuel Cuello
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-21 00:00:00.000000000 Z
11
+ date: 2017-04-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: goliath
@@ -209,7 +209,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
209
209
  version: '0'
210
210
  requirements: []
211
211
  rubyforge_project:
212
- rubygems_version: 2.6.8
212
+ rubygems_version: 2.6.11
213
213
  signing_key:
214
214
  specification_version: 4
215
215
  summary: Websocket server compatible with Pusher.