voxbi 1.0.1 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 66709d394039ca32bf2e281070564b930df34563
4
- data.tar.gz: 92ee45c2410eb395252fed922f5a101776c4d820
3
+ metadata.gz: 9d1e9129064fe112b7ed8c8f3dc8c77c614a64fa
4
+ data.tar.gz: 81db7b7d05fedf7cb5b36cf055874aab4be19af7
5
5
  SHA512:
6
- metadata.gz: c6f273ead2258f7ecb5c8a468b73f5691052025c2d7224f657eb2243fe62843c440b70175f48ea6ff53da47b679cec6c3c11ed395ff7eb32518ec282c552befa
7
- data.tar.gz: 39b04b8eb7ce1d87e35c3dde0a847925fbd0efa99ec095a69d33fca4183202c8ea8583385f5a8d77c7f50f1508419afde29739cbd3485985a225dfd5a5218120
6
+ metadata.gz: 1448af100511cc73c6eea9f4b8cfc84f3a4066cc2dc2992ed4b190ff8b0b56c5002b4dd7160e29cb81df3fd976fe650b9c76f8dd570ce1827e8042a30c3c51a9
7
+ data.tar.gz: 49a858265edda4769b8734d451d359879afb64c396d8bf29f36bb3da1baf0b2b37c4e200f9a1c192dbd25b7281b707459fe8ec085c45d58253af3a1bba243a14
data/bin/voxbi CHANGED
@@ -3,6 +3,6 @@
3
3
  require "json"
4
4
 
5
5
  ROOT = File.expand_path("../..", __FILE__)
6
- require "#{root}/lib/voxbi.rb"
6
+ require "#{ROOT}/lib/voxbi"
7
7
 
8
8
  Voxbi.new(ARGV[0]).read
data/data/pairs.wav CHANGED
Binary file
data/lib/voxbi.rb CHANGED
@@ -1,12 +1,8 @@
1
- #!/usr/bin/env ruby
2
-
3
1
  require "require_all"
4
- require_all "lib/**/*.rb"
5
2
 
6
- ROOT_PATH = File.expand_path('..', __dir__).freeze
7
- DATA_PATH = "#{ROOT_PATH}/data".freeze
8
- DEFAULT_OUTPUT_FILENAME = 'pairs'
9
- DEFAULT_OUTPUT_PATH = "#{DATA_PATH}/#{DEFAULT_OUTPUT_FILENAME}.wav".freeze
3
+ File.expand_path('..', __dir__).tap do |root_path|
4
+ require_all "#{root_path}/lib/**/*.rb"
5
+ end
10
6
 
11
7
  class Voxbi
12
8
  include Rulable
@@ -15,6 +11,11 @@ class Voxbi
15
11
 
16
12
  attr_accessor :text
17
13
 
14
+ ROOT_PATH = File.expand_path('..', __dir__).freeze
15
+ DATA_PATH = "#{ROOT_PATH}/data".freeze
16
+ DEFAULT_OUTPUT_FILENAME = 'pairs'
17
+ DEFAULT_OUTPUT_PATH = "#{DATA_PATH}/#{DEFAULT_OUTPUT_FILENAME}.wav".freeze
18
+
18
19
  def initialize(text)
19
20
  @text = text
20
21
  end
data/voxbi-1.0.1.gem ADDED
Binary file
data/voxbi.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'voxbi'
3
- s.version = '1.0.1'
3
+ s.version = '1.0.4'
4
4
  s.date = '2018-04-03'
5
5
  s.summary = "VoxBi"
6
6
  s.description = "Easy-to-use french voice synthesizer"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: voxbi
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Galaad Gauthier
@@ -325,6 +325,7 @@ files:
325
325
  - lib/services/phonetics_converter_service.rb
326
326
  - lib/services/prepare_text_service.rb
327
327
  - lib/voxbi.rb
328
+ - voxbi-1.0.1.gem
328
329
  - voxbi-1.0.gem
329
330
  - voxbi.gemspec
330
331
  homepage: https://github.com/Galaad-Gauthier/VoxBi