envoy-proxy 0.0.14 → 0.0.15

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: 1b54921a713d37da78b7a2bbd63448f7ebc8be2c
4
- data.tar.gz: 29a76e5a111c75216a3e7bc246e6bae29ea397f6
3
+ metadata.gz: 70d1889b8116164001d42faa17703e588d580711
4
+ data.tar.gz: a2e3318def62460e80cf73e81e836f35656714f0
5
5
  SHA512:
6
- metadata.gz: e1adb7a4b761b994c7d2dda63f29ca00cc7b29bbe11dcc847e78cb51a6cdb2a774b21b93d0bcd8eddf2b32be4c3ca643466fa1d94632f68940a574160dcc40e0
7
- data.tar.gz: dc5d9a2b267f8355529ccedef95566522a3596adebfebf3805dd8d37c3d1ae265e0182981e11343f574bfb306474fa0f5a6bdeddfb9bc8998da6c5f154ea6682
6
+ metadata.gz: 71c58cefc0d4098312a250d67a6b4b43eb599dfd3b8f42bc0415064c06ce46f51db1f55f200fe4b996a5f6bdd39cf8b7dfb8e7ba8820a97c6ec311297f3d4420
7
+ data.tar.gz: e35aa84f73bc595cc2697b05bd691e9f0d4423332b17e72d360d9f709ddf30141d4a34fb06197a17d99c07b1ed7aef9f93bef12ff3d469db9149bc047d625b5a
@@ -22,9 +22,9 @@ module Envoy
22
22
  @channels ||= {}
23
23
  end
24
24
 
25
- def receive_close id
25
+ def receive_close id, code = nil
26
26
  if chan = channels[id]
27
- chan.web.close_connection(true)
27
+ chan.web.close(code)
28
28
  channels.delete id
29
29
  end
30
30
  end
@@ -11,6 +11,10 @@ module Envoy
11
11
  @connection = "close"
12
12
  end
13
13
 
14
+ def close code
15
+ chan.web.close_connection(true)
16
+ end
17
+
14
18
  def unbind
15
19
  @channel.trunk.channels.delete @channel.id if @channel
16
20
  end
@@ -1,3 +1,3 @@
1
1
  module Envoy
2
- VERSION = '0.0.14'
3
- end
2
+ VERSION = '0.0.15'
3
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: envoy-proxy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.14
4
+ version: 0.0.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Baum
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-07-08 00:00:00.000000000 Z
11
+ date: 2013-07-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: eventmachine