extface 0.4.4b → 0.4.4

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: 51b9bb9dd22073798cf77cc2a88ee13d0983dd2a
4
- data.tar.gz: a1081788f6529f53597d878c8905ce2d45e41632
3
+ metadata.gz: d1fb153be4b786f7f0574623014637c42d2ab2de
4
+ data.tar.gz: 76589006249f17992364eec1b9c3b764e94e86f7
5
5
  SHA512:
6
- metadata.gz: ec37a494c43e59a05ca3d98a555b19433b9f37f0fa8d3509094b20a201992d403f07e3832902da0c812c757932411e3d7b97073e6d2deefa32ed35d1e01412e0
7
- data.tar.gz: 3945838ca5e1f55ba036390e3e594a989996fccd9218d8b2b0bee28d9c2e2ece53a15369b5e3fdd372104e9d111b6388717ec3157bde966a8d99efc6a4c9055d
6
+ metadata.gz: a96cd24d0fa0e201d09641c7006234541b1c47dd5f92529a94d27c7fb43176b589b2842791a9cb30943bd4b7dc7695aafecfa1c80d3c412764414e29141b707d
7
+ data.tar.gz: 79a0c1033781abedef8cdb4c17d424a6575c943c12d200cb713060eef8f061fee1161fc45a436a19805f98511fef383151e0e2aed20d3e05855423790576e1ad
@@ -24,7 +24,7 @@ module Extface
24
24
 
25
25
  def fsend(cmd, data = "") #return data or nil
26
26
  packet_data = build_packet(cmd, data) #store packet to be able to re-transmit it with the same sequence number
27
- result = false
27
+ p packet_data
28
28
  invalid_frames = 0 #counter for bad responses
29
29
  nak_messages = 0 #counter for rejected packets (should re-transmit the packet)
30
30
  push packet_data #send packet
@@ -63,7 +63,7 @@ module Extface
63
63
 
64
64
  def frecv(timeout) # return RespFrame or nil
65
65
  if frame_bytes = pull(timeout)
66
- return Frame.new(frame_bytes.b)
66
+ return RespFrame.new(frame_bytes.b)
67
67
  else
68
68
  errors.add :base, "No data received from device"
69
69
  return nil
@@ -1,3 +1,3 @@
1
1
  module Extface
2
- VERSION = "0.4.4b"
2
+ VERSION = "0.4.4"
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.4.4b
4
+ version: 0.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Vangelov
@@ -240,9 +240,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
240
240
  version: '0'
241
241
  required_rubygems_version: !ruby/object:Gem::Requirement
242
242
  requirements:
243
- - - ">"
243
+ - - ">="
244
244
  - !ruby/object:Gem::Version
245
- version: 1.3.1
245
+ version: '0'
246
246
  requirements: []
247
247
  rubyforge_project:
248
248
  rubygems_version: 2.4.6