azure_tts 0.1.0 → 0.1.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: e36642fc5540cf7e824334fdddff7eec1217157cec2deba3ede4e29f6df02fa8
4
- data.tar.gz: d7288b1332dbd57aaa17fdd70700515e9a2172447b9ed396f204aae980794e0d
3
+ metadata.gz: 06a0a39b942b07654019a20f23dfcd01713c1074b470177507ee979cafdd69c9
4
+ data.tar.gz: 5974207207ee1e0ab06281e4205fc1955c0bb3a6447879d4252280f28f8a6cf6
5
5
  SHA512:
6
- metadata.gz: 9bc703b411cf7b6f574cc2f707ed0b9d253e3488c1b267b6519e530460266b0f99baee3b45f0a7d13187ecf8a9d57041ac5f01189176c9ae3e2df70b6faffabf
7
- data.tar.gz: b23867a2d1668c9716658b3d62013284c00f9080687b0f55d88a3914a62271cbb63d2b9dcfa7bc7fe90341b6c803e3939ded1216f0252e8d417fc8345d9adc22
6
+ metadata.gz: bcdc31e449860a23a46c26d2dfeac97e6f45f05819d4758ffa38649dac28da26b53d8443b1fbe5816c22702135c4731fdbed705c9ac7c0a4732526887729338b
7
+ data.tar.gz: 2e5135769e8c2601263e2c1fa22346d3777d16e7901b4e4ff89206810764eb31aaa1f0a9d606b18a40551c1486f8e7e6bee14411810348f06f20efafb490b025
@@ -1,3 +1,3 @@
1
1
  module AzureTts
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
data/lib/azure_tts.rb CHANGED
@@ -52,7 +52,7 @@ module AzureTTS
52
52
  temp_file.rewind
53
53
 
54
54
  attachment.attach(
55
- io: temp_file,
55
+ io: File.open(temp_file.path),
56
56
  filename: "tts_output_#{Time.now.to_i}.wav",
57
57
  content_type: 'audio/wav'
58
58
  )
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: azure_tts
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Grayson Chen
@@ -67,7 +67,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  requirements: []
70
- rubygems_version: 3.5.9
70
+ rubygems_version: 3.1.4
71
71
  signing_key:
72
72
  specification_version: 4
73
73
  summary: Microsoft-Azure-Text-2-Speech