bogo-websocket 0.1.0 → 0.1.2

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: 538a7b638863e49064d58a438df0541bda67566a
4
- data.tar.gz: bbe48fd88ed074d4e58bbc41390445b69d6e9c8c
3
+ metadata.gz: 42806c4aefc567495321acbb11e5ffd33dd4d449
4
+ data.tar.gz: f66831ca07687f153ce4804fc8d44490077911d9
5
5
  SHA512:
6
- metadata.gz: 0b460274ce5dd7f7d030e4ed7ab51464e5f6d5847e2047a760797138d0e0cf99b8b8ffeaf330b972c02020fecd51a02400306194be240cd163da77351a062a36
7
- data.tar.gz: 8199bfc24c40d690ed1ffe19b2528cc27cd7e562234fcf11b1f2f06c52df91c99c2eacc72d9e3490a1d593bd1ad7fb70fa4292379e45b0856335e7a4dea2c5ec
6
+ metadata.gz: b136afc09b242cf725eb3430bf85322740d376d7d498675024ada504a8ef810e4082f5b8fccb19146f3001c7274baa4703f6c62a130651f60f316fc52980aa40
7
+ data.tar.gz: c874dbd4b8d77b6f0c42e81d20081b46aedf1740af8d18dddc1220e82a9749972351acda36cd4acab4393ec0f511abb16d465c05b26c2933de20149fbe605937
data/CHANGELOG.md CHANGED
@@ -1,2 +1,5 @@
1
+ # v0.1.2
2
+ * Do not automatically close socket on EOF
3
+
1
4
  # v0.1.0
2
5
  * Initial release
@@ -1,5 +1,5 @@
1
1
  module Bogo
2
2
  module Websocket
3
- VERSION = Gem::Version.new('0.1.0')
3
+ VERSION = Gem::Version.new('0.1.2')
4
4
  end
5
5
  end
@@ -79,13 +79,11 @@ module Bogo
79
79
  handle_message(message)
80
80
  end
81
81
  end
82
- rescue IO::WaitReadable
82
+ rescue IO::WaitReadable, EOFError
83
83
  unless(die || connection.closed?)
84
84
  IO.select([connection, control_r])
85
85
  retry
86
86
  end
87
- rescue EOFError
88
- connection.close
89
87
  rescue => error
90
88
  on_error.call(error)
91
89
  raise
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bogo-websocket
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Roberts
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-05 00:00:00.000000000 Z
11
+ date: 2015-10-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bogo