haruzira_sdk 1.0.0 → 1.1.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d4d5a5954ddfca7a6cce92d5ea6cfea4ea6760bd
4
- data.tar.gz: 800c0c6febf6308ac2eaad9eb9608092c4fd9ca8
3
+ metadata.gz: 6fa594674fbe30ed8a085540fd0ba3118e9b00ef
4
+ data.tar.gz: 5b14300a56f1f62769fdba6183fc15e0a9ef821e
5
5
  SHA512:
6
- metadata.gz: acb3589402c937c51a6975feef0751e36c865d2b78842047f5824c5bf92040ea985568522396b89a1815618907e5a7379510b4d71656e66a23839b704d5fc788
7
- data.tar.gz: f1e2a86b0bbdca8575c2a33cfbed793e16a1143f452c7275d52d5cb3f07af88c8790b6a197bc355fe293f3f69ff6e5ade12315e430c6f4baf61b6305b4b7a64f
6
+ metadata.gz: d54af33d8a6af7d0ee4845e28d49f590aca0e9e96ec0e5b867becb5e8ce684aaa1b768e83f70d9cd40b169105c9a3abbe79d74ad2d0c7895ccb9a1221c80b85a
7
+ data.tar.gz: 67c2d47786c7d0774684dcaf2ddcd58991c5709ded6ae7a2796734407eebb129c50765ad535527f6c9cfcaeba776fc14f1a8ed1ee93ea4596e27763dfdf4f682
data/README.md CHANGED
@@ -1,15 +1,15 @@
1
1
  # Haruzira SDK for Ruby
2
2
 
3
- The Haruzira is a UWP APP.
3
+ Haruzira is a UWP APP.
4
4
 
5
- I am currently applying for Haruzira to Microsoft. coming soon.
5
+ read readme_xx.txt
6
6
 
7
- Localization schedule of Harurira UWP APP
7
+ Haruzira has published in the Windows Store. https://www.microsoft.com/store/apps/9nblggh516j3
8
8
 
9
- first release: japanese
10
- second release: english
9
+ It is localized Japanese and English.
11
10
 
12
- "SDK for Ruby" and a sample program have already translated into english.
11
+ Haruzira SDK User's Manual has published on the Web site. http://haruzirasdke.wpblog.jp/
12
+ Haruzira User's Manual has published on the Web site. http://haruziradoc.wpblog.jp/
13
13
 
14
14
 
15
15
  TODO: [readme_xx.txt](https://bitbucket.org/SymmetrySoft/haruzira_sdk_ruby_sample)
data/haruzira_sdk.gemspec CHANGED
@@ -12,11 +12,11 @@ Gem::Specification.new do |spec|
12
12
 
13
13
  spec.summary = %q{SDK for Haruzira UWP APP.}
14
14
  spec.description = <<-EOF
15
- This gem is a SDK for communication with the Haruzira.
15
+ This gem is a SDK for communication with the Haruzira(UWP APP).
16
16
  By the SDK uses, and send the text data, is possible make a speech by remote access.
17
17
 
18
- The Haruzira has been published on the Winpows store.
19
- It has been localized in Japanese only at the first release. and will be localized in English at the next release.
18
+ The Haruzira has been published in the Winpows store.
19
+ It has been localized in Japanese and English.
20
20
  URL:https://www.microsoft.com/store/apps/9nblggh516j3
21
21
 
22
22
  And also the SDK user's manual has been published on the web site.
@@ -67,7 +67,7 @@ class ClientTcpCommunication
67
67
  @ReqSendDataPasswd = ""
68
68
  @ReqSendDataSpeechMode = HzSpeechTextMode::Text
69
69
  @ReqSendDataSpeechLevel = HzSpeechLevel::Normal
70
- @ReqSendDataSpeechLocaleId = 0x0411
70
+ @ReqSendDataSpeechLocaleId = 0x00
71
71
  @ReqSendDataSpeechGender = HzSpeechGender::Neutral
72
72
  @ReqSendDataSpeechAge = 25
73
73
  @ReqSendDataSpeechRepeat = 0
@@ -75,6 +75,7 @@ class ClientTcpCommunication
75
75
  @SendDataLength = 0
76
76
  @ReceiveStatus = 0x00
77
77
  @ReceiveAckTimeOut = RECEIVE_TIME_OUT
78
+ @Version = "1.1.0.0" #SDKバージョン
78
79
 
79
80
  #メッセージ受信時イベント定義
80
81
  @EvNotifyCompeteSpeech = nil #読み上げ完了通知受信時イベント
@@ -87,7 +88,7 @@ class ClientTcpCommunication
87
88
  attr_accessor :ServerPortNo, :ServerIP, :ReceivePort, :ReqSendDataText, :ReqSendDataEncrypt, :ReqSendDataEncryptKey, :ReqSendDataAccountName, :ReqSendDataPasswd, \
88
89
  :ReqSendDataSpeechMode, :ReqSendDataSpeechLevel, :ReqSendDataSpeechLocaleId, :ReqSendDataSpeechGender, :ReqSendDataSpeechAge, :ReqSendDataSpeechRepeat, \
89
90
  :EvNotifyCompeteSpeech, :EvNotifyMessageEvent, :EvNotifyReceivedDisConnectEvent
90
- attr_reader :SendDataHexStr, :SendDataLength, :ReceiveStatus
91
+ attr_reader :SendDataHexStr, :SendDataLength, :ReceiveStatus, :Version
91
92
 
92
93
  #region イベントコールバック関数ラッパー
93
94
  def evNotifyMessageEvent(msg, msg_id, err_code)
@@ -70,12 +70,12 @@ class MsgReqStartComm
70
70
 
71
71
  begin
72
72
  #パスワードとアカウント名のチェック
73
- if(name_len > 0 && name == nil)
74
- return ret, nil
73
+ if(@name_len > 0 && @name == nil)
74
+ return 0, nil
75
75
  end
76
76
 
77
- if(passwd_len > 0 && passwd == nil)
78
- return ret, nil
77
+ if(@passwd_len > 0 && @passwd == nil)
78
+ return 0, nil
79
79
  end
80
80
 
81
81
  #ネットワークバイトオーダー(little -> big)変換後に、Byte配列に変換
@@ -1,3 +1,3 @@
1
1
  module HaruziraSdk
2
- VERSION = "1.0.0"
2
+ VERSION = "1.1.0"
3
3
  end
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.0.0
4
+ version: 1.1.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-09-28 00:00:00.000000000 Z
11
+ date: 2016-10-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -52,12 +52,11 @@ dependencies:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '3.0'
55
- description: " This gem is a SDK for communication with the Haruzira.\n By the SDK
56
- uses, and send the text data, is possible make a speech by remote access.\n \n
57
- \ The Haruzira has been published on the Winpows store.\n It has been localized
58
- in Japanese only at the first release. and will be localized in English at the next
59
- release.\n URL:https://www.microsoft.com/store/apps/9nblggh516j3\n \n And also
60
- the SDK user's manual has been published on the web site.\n URL:http://haruzirasdke.wpblog.jp/\n"
55
+ description: " This gem is a SDK for communication with the Haruzira(UWP APP).\n
56
+ \ By the SDK uses, and send the text data, is possible make a speech by remote access.\n
57
+ \ \n The Haruzira has been published in the Winpows store.\n It has been localized
58
+ in Japanese and English.\n URL:https://www.microsoft.com/store/apps/9nblggh516j3\n
59
+ \ \n And also the SDK user's manual has been published on the web site.\n URL:http://haruzirasdke.wpblog.jp/\n"
61
60
  email:
62
61
  - git@symmetry-soft.com
63
62
  executables: []