arya-pandemic 0.4.6 → 0.4.7

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -2,7 +2,7 @@ require 'rubygems'
2
2
  require 'rake'
3
3
  require 'echoe'
4
4
 
5
- Echoe.new('pandemic', '0.4.6') do |p|
5
+ Echoe.new('pandemic', '0.4.7') do |p|
6
6
  p.description = "A framework for distributing work for real-time services and offline tasks."
7
7
  p.url = "https://github.com/arya/pandemic/"
8
8
  p.author = "Arya Asemanfar"
@@ -54,7 +54,7 @@ module Pandemic
54
54
  else
55
55
  debug("Writing error code to client")
56
56
 
57
- @connection.write("-1")
57
+ @connection.write("-1\n")
58
58
  @connection.flush
59
59
  debug("Finished writing error code to client")
60
60
  end
@@ -91,7 +91,8 @@ module Pandemic
91
91
  @server.handle_client_request(@current_request)
92
92
  rescue Exception => e
93
93
  warn("Unhandled exception in handle client request:\n#{e.inspect}\n#{e.backtrace.join("\n")}")
94
- end || "Error"
94
+ nil
95
+ end
95
96
  @current_request = nil
96
97
  return response
97
98
  end
data/pandemic.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{pandemic}
5
- s.version = "0.4.6"
5
+ s.version = "0.4.7"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Arya Asemanfar"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: arya-pandemic
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.6
4
+ version: 0.4.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Arya Asemanfar