fonemas 0.6.2 → 0.6.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NWQxZjA5YzQ1OWVlZmI5MjZiYjUwOGE3YTIxODU0MTk5MWFiMDIzOQ==
4
+ NWRmNzM2OGE2NmJiYzQ3MjIwMTJhY2JkYTM2NzVhYmE2NGM4YzliYw==
5
5
  data.tar.gz: !binary |-
6
- NDcwMmM0NmIwM2NlYTcyMThlOTAwOGRlYWFiNTQ3M2NjZjA5MjE0Yw==
6
+ OTBmZWNiYzEyNGU4ZTU5NTRlMzA5N2IxYmMwN2YzZWMzOTlmMzRiYg==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- NzgyNmExNGYyZWIwMTlmZTljN2NjYjUzM2U4ZGJjYmExMWFhZDE5Y2MzMmM4
10
- YTU1MDExZjM4NmVmOThiM2VmYzdkOTYzMDY5MGZlNjYxOWQxMTU2ZGFjYjZh
11
- NWZhOTdhNzM2Y2RlNmJhNzc1MzI3ZmE5NTcyMjZhYjA2OGVhZGU=
9
+ NzU0NDQ3ZTQyZjM3ZDYzNGRlOGE0YTc5NTNhZWIxM2IxNWVkMWYyOWJiNTMz
10
+ MGNlYWMyODdjNGU0ODY5ZWVjNjcyNmY3MjAwODkzMjAwN2MyOTM0ODRhMGNk
11
+ YjBmZTY3MjA2Njc3YTYxNTk3OGIxYjg0NjE2MTQxZDA1YjFmOWE=
12
12
  data.tar.gz: !binary |-
13
- NGYxODJmZjRkOGIzNDU2Y2E2OGEyMzE2ZDk4Mjc0MWM4OWNjMTNkNjI4YWM3
14
- YTk0YzE2NWZmN2EyZjIxMWYxOGM1MTc0ODY1YTM1MDVjNzIyNTI4MDZkNDIy
15
- YzA5MTRlMTY5NTJlNWRjYjE3MTZmODQ2YmM3YjUzYzY2MWJiMTI=
13
+ MThkN2Y2NjY4MzZiMmU0YjAyYjExMjk3OWQyYzM5NWJiOGYwYzcxZGMyZDcw
14
+ Y2YwNzlhNzE5ODk5ZWIyYjFkYTQ0Yjc0MTAxZWU4OGI0Yjc4YjU5ODA0OWE4
15
+ ZDZiNDJmOTFhNDdhZjBiNDgzNTJjZjFlMjk4MTZjYTJjYTkwNDQ=
@@ -526,7 +526,8 @@ module Fonemas
526
526
  when 'rr' then
527
527
  fonema << 'rr'
528
528
  when 's' then
529
- if word[i-1] == 'r' or word[i-1] == 'd' or i == word.size-1
529
+ if word[i-1] == 'd' or i == word.size-1
530
+ #if word[i-1] == 'r' or word[i-1] == 'd' or i == word.size-1
530
531
  #fonema << ['s','','h']
531
532
  fonema << ['s','']
532
533
  elsif entreVocalyConsonante(word,i)
@@ -1,3 +1,3 @@
1
1
  module Fonemas
2
- VERSION = '0.6.2'
2
+ VERSION = '0.6.3'
3
3
  end
@@ -158,4 +158,10 @@ describe Fonemas do
158
158
  Fonemas.fonemas('khz').should include('k ii l o j e r t s')
159
159
  end
160
160
 
161
+ it 's debe pronunciarse' do
162
+ Fonemas.fonemas('concurso').should include('k o n k uu r s o')
163
+ Fonemas.fonemas('concurso').should_not include('k o n k uu r o')
164
+
165
+ end
166
+
161
167
  end
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.6.2
4
+ version: 0.6.3
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-11-28 00:00:00.000000000 Z
11
+ date: 2014-01-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler