haruzira_sdk 1.2.2 → 1.3.0
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.
- checksums.yaml +4 -4
- data/lib/haruzira_sdk/HzClientTcpCommunication.rb +11 -7
- data/lib/haruzira_sdk/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a894634a0ecfe2122b934b45bf617814aa54e347
|
|
4
|
+
data.tar.gz: efc751150ba01135910a355c7f8c9944b83dc88e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 841c71559215160c39dc93751f8c8fc65e172d870ad3678a267037139b2a24522f16037d8bf6d28bc89947ba0f412fbb6809a01ab490da8c06b687e438fb9808
|
|
7
|
+
data.tar.gz: 42f5f901c0ff50c51ae5c508b46ed3abf0c21c9971cbdd1780284468933ebf6353c0e76ae5d32b9603b989ffabf241335b4c4b8ec31c802267f8e5239021b963
|
|
@@ -75,7 +75,7 @@ class ClientTcpCommunication
|
|
|
75
75
|
@SendDataLength = 0
|
|
76
76
|
@ReceiveStatus = 0x00
|
|
77
77
|
@ReceiveAckTimeOut = RECEIVE_TIME_OUT
|
|
78
|
-
@Version = "1.
|
|
78
|
+
@Version = "1.3.0.0" #SDKバージョン
|
|
79
79
|
|
|
80
80
|
#メッセージ受信時イベント定義
|
|
81
81
|
@EvNotifyCompeteSpeech = nil #読み上げ完了通知受信時イベント
|
|
@@ -307,9 +307,11 @@ class ClientTcpCommunication
|
|
|
307
307
|
|
|
308
308
|
rescue Exception => ex
|
|
309
309
|
#タイムアウト時はWait
|
|
310
|
-
if(
|
|
311
|
-
|
|
312
|
-
|
|
310
|
+
if(ex.to_s.include?("end of file"))
|
|
311
|
+
break
|
|
312
|
+
else
|
|
313
|
+
#puts("【CL listener】接続元からのデータ受信エラー:{%s}" % [ex])
|
|
314
|
+
puts("[CL listener]receiving data error.:{%s}" % [ex])
|
|
313
315
|
raise(ex)
|
|
314
316
|
end
|
|
315
317
|
#next
|
|
@@ -456,10 +458,12 @@ class ClientTcpCommunication
|
|
|
456
458
|
|
|
457
459
|
rescue Exception => ex
|
|
458
460
|
#タイムアウト時はWait
|
|
459
|
-
if(
|
|
461
|
+
if(ex.to_s.include?("end of file"))
|
|
462
|
+
break
|
|
463
|
+
else
|
|
460
464
|
@ReceiveStatus = @DISCONNECT_REASON_SERVER_IREGULAR
|
|
461
|
-
#puts("【CL
|
|
462
|
-
puts("[CL
|
|
465
|
+
#puts("【CL】接続先からのデータ受信エラー:{%s}" % [ex])
|
|
466
|
+
puts("[CL ReceiveWorker]receiving data error.:{%s}" % [ex])
|
|
463
467
|
raise(ex)
|
|
464
468
|
end
|
|
465
469
|
#next
|
data/lib/haruzira_sdk/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: haruzira_sdk
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Symmetry Soft
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-11-
|
|
11
|
+
date: 2016-11-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|