ibm_watson 1.3.0 → 1.3.1

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
  SHA256:
3
- metadata.gz: 3e4f5615e3f89cc1797e9bb4462741f3c3542d41576f85443b9cfe88dcb73a1f
4
- data.tar.gz: b04dc88c8665380a7da41eb21e49140e63efe4214bdc146ba4e8723f79c2f428
3
+ metadata.gz: c838e01be7a29c86664614e73080b4fe60a85735f13d5a6507ffb170dec5abef
4
+ data.tar.gz: 7ab1438cd84748d94ce274415cb630b3c3674f816266d62db0c8e2ca515cc475
5
5
  SHA512:
6
- metadata.gz: cda29979ae5976a754db7930b27b2f24bca1eb0017ba7872ef5a3578a2508e8b3cb45e069ef57866e5dc913c87be44e49172a6b58edfc24b37a4907c1f59ba99
7
- data.tar.gz: 2ec9b3b9d84aed28c3feb93ad6adc9d89556ba6f3c5f86bcea6949ca386540299136ee9583cd85aa19a05a01c67ad6e1f74a416d87bc68ec1f3bb34d9b29b93c
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,
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module IBMWatson
4
- VERSION = "1.3.0"
4
+ VERSION = "1.3.1"
5
5
  end
@@ -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.0
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-02-14 00:00:00.000000000 Z
11
+ date: 2020-03-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: concurrent-ruby