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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/pollyspeech.rb +4 -2
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ede38832b51aa4ca5e067dba04af18341ae8a543dbcba06b690c6007a0a63a98
|
4
|
+
data.tar.gz: 38ab63b8c5e65604468961f988da59cd6e905be83079ba4ccac28261c30bf295
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dc9a16daf9765ff1b7797b1e5d5fe3f2991602c2db3b7c45ca8719207d5b6a3c7b884e1893bedd93b6103214e0f1d6d82fad742c496f1ee07be3686bb098f24f
|
7
|
+
data.tar.gz: 612c9bbfd1932309f25897d63149b6b10cd4e877fb45c6d2ce1d27924223b222d158cf316a8d301e30e2ed88b2bc7910822f628198d7c18877f6370b9d37223e
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/pollyspeech.rb
CHANGED
@@ -41,8 +41,10 @@ class PollySpeech
|
|
41
41
|
|
42
42
|
if not File.exists? filename then
|
43
43
|
|
44
|
-
|
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.
|
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-
|
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
|