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 CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'conjugate'
3
- s.version = '1.2'
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
@@ -16,7 +16,7 @@ module Conjugate
16
16
  template = template(opts)
17
17
  tense = tense(opts[:tense])
18
18
 
19
- verb = opts[:verb].downcase
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)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: conjugate
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.2'
4
+ version: '1.3'
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: