ibm_watson 1.3.0 → 1.3.1
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c838e01be7a29c86664614e73080b4fe60a85735f13d5a6507ffb170dec5abef
|
4
|
+
data.tar.gz: 7ab1438cd84748d94ce274415cb630b3c3674f816266d62db0c8e2ca515cc475
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 33da6c05de9c94139b1452a4e301bc703bedb1fd924e79932cd5eec3636115302460ae17fa418a5393ee680042102195fbe042d58e5853a7610dd901585c4c6b
|
7
|
+
data.tar.gz: a838a1d1eba30f7df87c7f7fe3cf80a5167c0fba422bcd30cb46ac5a34f2b604ea34dac1c1a58e504288b65566c4e98bdca77bbd5facab104e091027b38ba79c
|
@@ -568,6 +568,7 @@ module IBMWatson
|
|
568
568
|
require_relative("./websocket/speech_to_text_websocket_listener.rb")
|
569
569
|
headers = {}
|
570
570
|
headers = conn.default_options.headers.to_hash unless conn.default_options.headers.to_hash.empty?
|
571
|
+
@authenticator.authenticate(headers)
|
571
572
|
service_url = @service_url.gsub("https:", "wss:")
|
572
573
|
params = {
|
573
574
|
"model" => model,
|
data/lib/ibm_watson/version.rb
CHANGED
@@ -189,6 +189,7 @@ if !ENV["SPEECH_TO_TEXT_APIKEY"].nil? && !ENV["SPEECH_TO_TEXT_URL"].nil?
|
|
189
189
|
end
|
190
190
|
thr = Thread.new { speech.start }
|
191
191
|
thr.join
|
192
|
+
assert(atomic_boolean.false?)
|
192
193
|
end
|
193
194
|
|
194
195
|
def test_recognize_websocket
|
@@ -206,6 +207,7 @@ if !ENV["SPEECH_TO_TEXT_APIKEY"].nil? && !ENV["SPEECH_TO_TEXT_URL"].nil?
|
|
206
207
|
)
|
207
208
|
thr = Thread.new { speech.start }
|
208
209
|
thr.join
|
210
|
+
assert(atomic_boolean.false?)
|
209
211
|
end
|
210
212
|
|
211
213
|
def test_inactivity_timeout_using_websocket
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ibm_watson
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Max Nussbaum
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-03-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: concurrent-ruby
|