extface 0.5.1 → 0.5.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: cd36e31ad80dacfbd38ca67bcf2c934f469d3010
4
- data.tar.gz: 91c004d69a145a1f07c9504518f6cb4c0185a64d
3
+ metadata.gz: 0c17c0c8f5b110cb9a45c6ccf70d9e2c82910c60
4
+ data.tar.gz: 04a9c601548072d327d8b50280e93d58575a9de0
5
5
  SHA512:
6
- metadata.gz: 4c15488dc4545d7aa1c4e49865382bc87072af460af8f6eaaafad984dc4eee168788cde344fae9de1993b044491ffb35dca2b6a5b7375899e888823988c93080
7
- data.tar.gz: 92a0cf7b2dc09ae94160ef01ab69792700176fbb1ff3de8c9e788a7e195bfcc3c03ae9a7ac3dcc7056dd17f800d223184b2a9b3c12c3893f6ecfa5f29bdedbdd
6
+ metadata.gz: cdb872cad8cdc14c2812d13bcc87f5d8763a275fadd1386e880d670aa4e5a7e62298109b7327d9f7d01120d26306bdcdbb1d01ff85213a3cfe16bd09b4e81f66
7
+ data.tar.gz: 5516523f31d9da8b0cec1f8385073e9b9ba6b89604fd2d427e9948a2ae32989848129b32dd39f3813fe869c6ec653758b158aca867fdcfd07277be421751c9d4
@@ -34,7 +34,7 @@ module Extface
34
34
  r.append device.uuid, request.body.read
35
35
  @full_buffer = r.get device.uuid
36
36
  end
37
- while @full_buffer.present? && bytes_porcessed = device.driver.pre_handle(@full_buffer.b) #handle more than one valid packet in the buffer
37
+ while @full_buffer.b.present? && bytes_porcessed = device.driver.pre_handle(@full_buffer.b) #handle more than one valid packet in the buffer
38
38
  Extface.redis_block do |r|
39
39
  r.set device.uuid, @full_buffer.b[bytes_porcessed..-1]
40
40
  @full_buffer = r.get device.uuid
@@ -45,6 +45,7 @@ module Extface
45
45
  end
46
46
  response.stream.write ''
47
47
  rescue => e
48
+ p e
48
49
  p e.message
49
50
  render nothing: true, status: :internal_server_error
50
51
  ensure
@@ -1,3 +1,3 @@
1
1
  module Extface
2
- VERSION = "0.5.1"
2
+ VERSION = "0.5.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: extface
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Vangelov