extface 0.4.9 → 0.5.0

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: 6bbc2d977da32db1463599d13544e374be4a6d32
4
- data.tar.gz: d8929b045ad4c3b5b3c441f6066e477e6e4f477c
3
+ metadata.gz: 90782c190cf82d9049bd6f0c7156e5d5b30d7363
4
+ data.tar.gz: ad2148e4617dc2e01cf20a5c557ac83f16c6f9fb
5
5
  SHA512:
6
- metadata.gz: f65921db2cff2f256389e55929e7ca15fb338d25e10ccbaf8ede4f98b74b43bc3e05e3312a69fb5e32d104fd1c1df640e02dbbddb19802227b7a0c61ca879c98
7
- data.tar.gz: 0205fa24fa473b79d52e7ae9f13201c704ce6d83f05255e07d9f576cabf1138928c92511fb5f9b9890848ab8692964a53e6ef66def9a8475f3f1032bf958da6e
6
+ metadata.gz: ccf88396bd913fb66977b8c56cb3f8df1adece2028ca61bea4273f88b5196bef2f4b0618578b1227acf798c1e46487681da325b79bcf0fb6b8dcc0e6e4255a2f
7
+ data.tar.gz: 31263588ec6d2458bc03478874ded6af609a1147af37ed6d99b904b6289ec5aafffbd149ac004e33419598db51ee98ccb50531e8efdb2f162aefc16ec534db68
@@ -248,7 +248,7 @@ module Extface
248
248
  BAD_SEQ_MAX_COUNT.times do
249
249
  if frame_bytes = pull(timeout)
250
250
  rframe = RespFrame.new(frame_bytes.b)
251
- if rframe.seq.ord == sequence_number(false) #accept only current sequence number as reply
251
+ if rframe.seq.nil? || rframe.seq.ord == sequence_number(false) #accept only current sequence number as reply
252
252
  break
253
253
  else
254
254
  errors.add :base, "Sequence mismatch"
@@ -212,7 +212,7 @@ module Extface
212
212
  BAD_SEQ_MAX_COUNT.times do
213
213
  if frame_bytes = pull(timeout)
214
214
  rframe = Frame.new(frame_bytes.b)
215
- if rframe.seq.ord == sequence_number(false) #accept only current sequence number as reply
215
+ if rframe.seq.nil? || rframe.seq.ord == sequence_number(false) #accept only current sequence number as reply
216
216
  break
217
217
  else
218
218
  errors.add :base, "Sequence mismatch"
@@ -1,3 +1,3 @@
1
1
  module Extface
2
- VERSION = "0.4.9"
2
+ VERSION = "0.5.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: extface
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.9
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Vangelov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-08-23 00:00:00.000000000 Z
11
+ date: 2015-08-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails