dejan-espeak-ruby 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION.yml +1 -1
  2. data/lib/espeak-ruby.rb +1 -1
  3. metadata +1 -1
data/VERSION.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  ---
2
2
  :major: 0
3
3
  :minor: 2
4
- :patch: 2
4
+ :patch: 3
5
5
 
data/lib/espeak-ruby.rb CHANGED
@@ -13,7 +13,7 @@ module ESpeak
13
13
  }.merge(opts)
14
14
 
15
15
  sanitized_text = text.gsub(/(!|\?|"|`|\\)/, ' ')
16
- filename = Digest::SHA1.hexdigest(textrm + options.to_s + ".mp3")
16
+ filename = Digest::SHA1.hexdigest(text + options.to_s + ".mp3")
17
17
 
18
18
  if system(%$espeak "#{sanitized_text}" --stdout -v#{options[:v]} -p#{options[:p]} -s#{options[:s]} | lame -V2 - #{filename}$)
19
19
  filename
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dejan-espeak-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dejan Simic