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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZDA4ZDgwZWQwNmEyNTYwNDU3ODNjZWE4ZWYzMjRlOTYyYjcyNDhkOA==
4
+ Yzg3NmUxNDE3MGQ4YjJkZTVkMDg0YmM4N2RlNGM3OGJjMzg4MDRhMg==
5
5
  data.tar.gz: !binary |-
6
- NDlkOGFlNGRhMjIyMWU0Y2QzYTc4NjNkZGM3M2QxYjFlYzEyYjc4Mw==
6
+ MjY1ZjYwOGQ3NDcwMDJjZGViMjg5MzgyN2Q4NmE0MmEzMmQzZTNjMw==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- MTE5ZTQzMTA2MjQwNDVlYzg2YjA4ZGU1ZWU3MjRlN2Q0ODNhYTY2ZTRkNThl
10
- YzBiOTc2Y2ExODFlMTI4M2RhZDAzOTVlNThmMmJkYmRkZmE0YzZkNmExMGE3
11
- MWJmZmY4ZDQ3YjlmZjhhYjljOTg0Y2ZiZDZjYzM3ODcwNmM0ODk=
9
+ ZmY1OTJlMGQ5MWVmYjhhMDYyM2M0MGQ3YTcxNjhhZGMxNDg4NWQwMTFkZjk5
10
+ MjYwYTI4MGE0ZTYzMWQyNzU3MDcwMzQ3ZjhjYjBlODk4YzJlOThhNzhkMmYy
11
+ ODA4YTRiOWVkZWFhOGNlNDcyN2M0ZDcxOWNhYjRhZGVjNjZmZTA=
12
12
  data.tar.gz: !binary |-
13
- ZGMxMmZhOTkwZmJhYTk1NGM0ZjIyMTAzZTBkNTJmMDkxYWI2MDA0OGJlODUw
14
- ZjdiNTI5Y2RmZTI3YjM3OTRhN2U4OWQ2NWYyYzQ5OTkyMGY5MDkzZmI1NWJi
15
- YmQ4MWEyMDljYTlhOTU0NzcxZTI4NzFkZGE1YmNkNjAzNzBlOWE=
13
+ MjMzNGJiODc5ZWNiNjY1NGFjNDg0OTliNWMwN2ZlMDFiOTM2YWYwYTJkMjdj
14
+ Y2UzOGZkOWUyNDcyMWQ3MDEwOTU3NWE2ZDc4ZDQ2NjBjYjQ4M2MyMzQ0OThk
15
+ MWVkODQ2ZmZiYTRjM2ZhY2MwMzM2NzA1NjI4YjQwODAyZjYzOTQ=
@@ -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 ['c uu']
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
- [letra]
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
- fonema << letra
392
+ raise "error, no conozco pronunciación de #{letra}"
393
393
  end
394
394
 
395
395
 
@@ -1,3 +1,3 @@
1
1
  module Fonemas
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
@@ -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('c uu')
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.0
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-20 00:00:00.000000000 Z
11
+ date: 2013-06-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler