cakedb 0.0.10 → 0.0.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/lib/cakedb.rb +1 -1
  2. metadata +2 -2
data/lib/cakedb.rb CHANGED
@@ -45,7 +45,7 @@ class CakeDB
45
45
  got = 0
46
46
  timeOver = Time.now + @timeout
47
47
  while got < length
48
- data = @server.recv(length)
48
+ data = @server.recv(length-got)
49
49
  got += data.bytesize
50
50
  if Time.now > timeOver
51
51
  raise "Timeout on incomplete read, returning what I had"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cakedb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.10
4
+ version: 0.0.11
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-12-13 00:00:00.000000000 Z
12
+ date: 2012-12-18 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: CakeDB Ruby Driver
15
15
  email: david@hows.id.au