dango 0.3.4 → 0.3.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -469,12 +469,15 @@ EOF
469
469
  ensure
470
470
  socket_list.delete(sid) # ソケットリストから削除
471
471
  begin
472
- sock.close if !sock.closed? # ソケットを閉じる
472
+ # sock.close if !sock.closed? # ソケットを閉じる
473
+ sock.close # ソケットを閉じる
473
474
  rescue IOError
474
- logger.error "IOError #{sock} #{sid}"
475
+ # logger.error "IOError #{sock} #{sid}"
476
+ logger.error "#{sock.inspect} #{sid} ERROR\n#{error_message($!, 'u')}"
475
477
  end
476
478
 
477
479
  logger.info "#{sock.inspect} #{sid} is closed"
480
+ sock = nil
478
481
  end
479
482
  end
480
483
 
data/lib/dango/version.rb CHANGED
@@ -2,7 +2,7 @@ module Dango #:nodoc:
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 3
5
- TINY = 4
5
+ TINY = 5
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dango
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.4
4
+ version: 0.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Keisuke Minami
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-07-26 00:00:00 +09:00
12
+ date: 2008-07-28 00:00:00 +09:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency