journeta 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -20,10 +20,10 @@ module Journeta
20
20
 
21
21
  begin
22
22
  loop do
23
- session = socket.accept
24
23
  # We'll put the actual handling of the new session in the background so we
25
24
  # can continue listening for new connections as soon as possible.
26
- Thread.new do
25
+ Thread.new(socket) do |socket|
26
+ session = socket.accept
27
27
  data = ''
28
28
  # Read every last bit from the socket before passing off to the handler.
29
29
  while more = session.gets
@@ -2,7 +2,7 @@ module Journeta #:nodoc:
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 1
5
- TINY = 3
5
+ TINY = 4
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: journeta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Preston Lee
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-10-17 00:00:00 -07:00
12
+ date: 2008-10-18 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency