fonemas 0.3.0 → 0.3.1
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 +8 -8
- data/lib/fonemas.rb +3 -3
- data/lib/fonemas/version.rb +1 -1
- data/spec/fonemas/fonema_spec.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
Yzg3NmUxNDE3MGQ4YjJkZTVkMDg0YmM4N2RlNGM3OGJjMzg4MDRhMg==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
MjY1ZjYwOGQ3NDcwMDJjZGViMjg5MzgyN2Q4NmE0MmEzMmQzZTNjMw==
|
|
7
7
|
!binary "U0hBNTEy":
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
ZmY1OTJlMGQ5MWVmYjhhMDYyM2M0MGQ3YTcxNjhhZGMxNDg4NWQwMTFkZjk5
|
|
10
|
+
MjYwYTI4MGE0ZTYzMWQyNzU3MDcwMzQ3ZjhjYjBlODk4YzJlOThhNzhkMmYy
|
|
11
|
+
ODA4YTRiOWVkZWFhOGNlNDcyN2M0ZDcxOWNhYjRhZGVjNjZmZTA=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
MjMzNGJiODc5ZWNiNjY1NGFjNDg0OTliNWMwN2ZlMDFiOTM2YWYwYTJkMjdj
|
|
14
|
+
Y2UzOGZkOWUyNDcyMWQ3MDEwOTU3NWE2ZDc4ZDQ2NjBjYjQ4M2MyMzQ0OThk
|
|
15
|
+
MWVkODQ2ZmZiYTRjM2ZhY2MwMzM2NzA1NjI4YjQwODAyZjYzOTQ=
|
data/lib/fonemas.rb
CHANGED
|
@@ -176,7 +176,7 @@ module Fonemas
|
|
|
176
176
|
when 'ñ' then ['ee nh e']
|
|
177
177
|
when 'o','ó' then ['oo']
|
|
178
178
|
when 'p' then ['p ee']
|
|
179
|
-
when 'q' then ['
|
|
179
|
+
when 'q' then ['k uu']
|
|
180
180
|
when 'r' then ['ee rr ee','ee r ee']
|
|
181
181
|
when 's' then ['ee s e']
|
|
182
182
|
when 't' then ['t ee']
|
|
@@ -187,7 +187,7 @@ module Fonemas
|
|
|
187
187
|
when 'y' then ['ll ee']
|
|
188
188
|
when 'z' then ['s ee t a']
|
|
189
189
|
else
|
|
190
|
-
|
|
190
|
+
raise "error, no conozco pronunciación de #{letra}"
|
|
191
191
|
end
|
|
192
192
|
end
|
|
193
193
|
|
|
@@ -389,7 +389,7 @@ module Fonemas
|
|
|
389
389
|
end
|
|
390
390
|
|
|
391
391
|
else
|
|
392
|
-
|
|
392
|
+
raise "error, no conozco pronunciación de #{letra}"
|
|
393
393
|
end
|
|
394
394
|
|
|
395
395
|
|
data/lib/fonemas/version.rb
CHANGED
data/spec/fonemas/fonema_spec.rb
CHANGED
|
@@ -78,7 +78,7 @@ describe Fonemas do
|
|
|
78
78
|
Fonemas.fonemas('ñ').should include('ee nh e')
|
|
79
79
|
Fonemas.fonemas('o').should include('oo')
|
|
80
80
|
Fonemas.fonemas('p').should include('p ee')
|
|
81
|
-
Fonemas.fonemas('q').should include('
|
|
81
|
+
Fonemas.fonemas('q').should include('k uu')
|
|
82
82
|
Fonemas.fonemas('r').should include('ee rr ee')
|
|
83
83
|
Fonemas.fonemas('r').should include('ee r ee')
|
|
84
84
|
Fonemas.fonemas('s').should include('ee s e')
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fonemas
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Manuel Bahamondez Honores
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2013-06-
|
|
11
|
+
date: 2013-06-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|