ispeech 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: f75474f656c8804240dc49333728229b6c6fff60
4
+ data.tar.gz: d413c0349fdbad7e4237d3fe19f5b3e731f5f8e9
5
+ SHA512:
6
+ metadata.gz: f9eb7235b3a12fcfb793a51a9bec0f451faf5eca32a12ab308cf8f597e68604350e79dfed0b541895f6e3ed3453533cf5dcc6dc56194b1c2220f83ebd6ae3e68
7
+ data.tar.gz: 9b8935997702604ef43eede9435dd09814625e5882653b6de8a6095d1f0ee78d7adde8bb17f77be700131a9481e523fd6d6bff2ba85568d07967138ceb10d509
@@ -2,7 +2,7 @@ require 'uri'
2
2
 
3
3
  module Ispeech
4
4
 
5
- VERSION = "1.0.2"
5
+ VERSION = "1.0.3"
6
6
 
7
7
  class Voice
8
8
  QUALITY_LOW = 8000
@@ -30,6 +30,7 @@ module Ispeech
30
30
  def download_to_tempfile
31
31
  content = generated_file
32
32
  file = Tempfile.new(SecureRandom.uuid)
33
+ file.binmode
33
34
  file.write(content)
34
35
  file.flush
35
36
  file # Leaving open. Will be closed once object is finalized.
metadata CHANGED
@@ -1,78 +1,69 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ispeech
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
5
- prerelease:
4
+ version: 1.0.3
6
5
  platform: ruby
7
6
  authors:
8
7
  - Birkir A. Barkarson
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2012-11-13 00:00:00.000000000 Z
11
+ date: 2014-04-16 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: backports
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - '>='
20
18
  - !ruby/object:Gem::Version
21
19
  version: '0'
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - '>='
28
25
  - !ruby/object:Gem::Version
29
26
  version: '0'
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: rspec
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ! '>='
31
+ - - '>='
36
32
  - !ruby/object:Gem::Version
37
33
  version: 2.6.0
38
34
  type: :development
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ! '>='
38
+ - - '>='
44
39
  - !ruby/object:Gem::Version
45
40
  version: 2.6.0
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: mocha
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
- - - ! '>='
45
+ - - '>='
52
46
  - !ruby/object:Gem::Version
53
47
  version: 0.9.0
54
48
  type: :development
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
- - - ! '>='
52
+ - - '>='
60
53
  - !ruby/object:Gem::Version
61
54
  version: 0.9.0
62
55
  - !ruby/object:Gem::Dependency
63
56
  name: webmock
64
57
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
58
  requirements:
67
- - - ! '>='
59
+ - - '>='
68
60
  - !ruby/object:Gem::Version
69
61
  version: 1.8.0
70
62
  type: :development
71
63
  prerelease: false
72
64
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
65
  requirements:
75
- - - ! '>='
66
+ - - '>='
76
67
  - !ruby/object:Gem::Version
77
68
  version: 1.8.0
78
69
  description: Ruby interface to Ispeech's API for generating speech from text. More
@@ -112,27 +103,34 @@ files:
112
103
  - spec/test_data/test_file.mp3
113
104
  homepage: https://github.com/birkirb/ispeech
114
105
  licenses: []
106
+ metadata: {}
115
107
  post_install_message:
116
108
  rdoc_options: []
117
109
  require_paths:
118
110
  - lib
119
111
  required_ruby_version: !ruby/object:Gem::Requirement
120
- none: false
121
112
  requirements:
122
- - - ! '>='
113
+ - - '>='
123
114
  - !ruby/object:Gem::Version
124
115
  version: '0'
125
116
  required_rubygems_version: !ruby/object:Gem::Requirement
126
- none: false
127
117
  requirements:
128
- - - ! '>='
118
+ - - '>='
129
119
  - !ruby/object:Gem::Version
130
120
  version: '0'
131
121
  requirements: []
132
122
  rubyforge_project: ispeech
133
- rubygems_version: 1.8.24
123
+ rubygems_version: 2.0.6
134
124
  signing_key:
135
- specification_version: 3
125
+ specification_version: 4
136
126
  summary: Generate speech from the ispeech text to voice service.
137
- test_files: []
138
- has_rdoc:
127
+ test_files:
128
+ - spec/ispeech/config_spec.rb
129
+ - spec/ispeech/mock_spec.rb
130
+ - spec/ispeech/response_spec.rb
131
+ - spec/ispeech/voice_service_spec.rb
132
+ - spec/ispeech/voice_spec.rb
133
+ - spec/ispeech_spec.rb
134
+ - spec/spec_helper.rb
135
+ - spec/test_data/test_config.yml
136
+ - spec/test_data/test_file.mp3