conjugate 1.2 → 1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/conjugate.gemspec +1 -1
- data/lib/conjugate/spanish.rb +2 -2
- metadata +1 -1
data/conjugate.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'conjugate'
|
3
|
-
s.version = '1.
|
3
|
+
s.version = '1.3'
|
4
4
|
s.date = '2012-02-15'
|
5
5
|
s.summary = "Conjugate Verbs using a version of the templates defined here http://en.wiktionary.org/wiki/Category:Spanish_conjugation-table_templates"
|
6
6
|
s.description = s.summary
|
data/lib/conjugate/spanish.rb
CHANGED
@@ -16,7 +16,7 @@ module Conjugate
|
|
16
16
|
template = template(opts)
|
17
17
|
tense = tense(opts[:tense])
|
18
18
|
|
19
|
-
verb = opts[:verb]
|
19
|
+
verb = opts[:verb]
|
20
20
|
|
21
21
|
infinitive = template[:infinitive].dup
|
22
22
|
verb_parts = divide_infinitive(infinitive, verb)
|
@@ -37,7 +37,7 @@ module Conjugate
|
|
37
37
|
end
|
38
38
|
|
39
39
|
def find_irregular(verb)
|
40
|
-
SpanishIrregularVerbs[verb]
|
40
|
+
SpanishIrregularVerbs[verb.downcase]
|
41
41
|
end
|
42
42
|
|
43
43
|
def regular_ending(verb)
|