pollyspeech 0.2.0 → 0.2.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: f6f06c829d52b556fe9b27bebccf67f101276cbb61431cdddb8d808c2bf18e4a
4
- data.tar.gz: e13e851882c81afe9f6c5122ddde5f41ce583f1d49130aeba55eb0e666320a43
3
+ metadata.gz: ede38832b51aa4ca5e067dba04af18341ae8a543dbcba06b690c6007a0a63a98
4
+ data.tar.gz: 38ab63b8c5e65604468961f988da59cd6e905be83079ba4ccac28261c30bf295
5
5
  SHA512:
6
- metadata.gz: 2d1d154f19a742d3dac1a2cf14520391a7d8c32b548da8fcd4e938aaa77912f60a1339fc6421506eda68e369c4c864122ed2e13398d74330b283c3704b575fc2
7
- data.tar.gz: fb5175bdf40187e87e318ee28ef58696be27d652e9bf3ed966012f6a85d70f08ecff5ebbf06e35c51af12d67f79fd9cfa5ec6f2e918a0104df042646904a0a96
6
+ metadata.gz: dc9a16daf9765ff1b7797b1e5d5fe3f2991602c2db3b7c45ca8719207d5b6a3c7b884e1893bedd93b6103214e0f1d6d82fad742c496f1ee07be3686bb098f24f
7
+ data.tar.gz: 612c9bbfd1932309f25897d63149b6b10cd4e877fb45c6d2ce1d27924223b222d158cf316a8d301e30e2ed88b2bc7910822f628198d7c18877f6370b9d37223e
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -41,8 +41,10 @@ class PollySpeech
41
41
 
42
42
  if not File.exists? filename then
43
43
 
44
- @polly.synthesize_speech(response_target: filename, text: text,
45
- output_format: out_format, voice_id: @voice_id)
44
+ params = {response_target: filename, text: text,
45
+ output_format: out_format, voice_id: @voice_id}
46
+ params.merge!({text_type: 'ssml'}) if text.lstrip =~ /^<speak/
47
+ @polly.synthesize_speech(params)
46
48
 
47
49
  end
48
50
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pollyspeech
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -35,7 +35,7 @@ cert_chain:
35
35
  W68HZxZcqfXS79VHbTMdS5pCmUsRPiZkl7s/44SNxw9huiFz7HL5wvD+8wSODsnr
36
36
  iaZVO25Et8rGmHSFFxyZQCyG
37
37
  -----END CERTIFICATE-----
38
- date: 2019-04-28 00:00:00.000000000 Z
38
+ date: 2019-04-29 00:00:00.000000000 Z
39
39
  dependencies:
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: aws-sdk
metadata.gz.sig CHANGED
Binary file