conjugate 1.4.6 → 1.4.7

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.
data/conjugate.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'conjugate'
3
- s.version = '1.4.6'
3
+ s.version = '1.4.7'
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_verb_inflection-table_templates"
6
6
  s.description = s.summary
@@ -88,8 +88,8 @@ module Common
88
88
  def common_name(t)
89
89
  return nil unless t
90
90
  actual_tense = t.to_s.gsub(' ', '_').to_sym
91
- changable_names = {:past => :preterite, :past => :passe_compose, :passé_composé => :passe_compose}
92
- actual_tense = changable_names[actual_tense] || actual_tense
91
+ @changable_names ||= {:past => :preterite, :past => :passe_compose, :passé_composé => :passe_compose}
92
+ actual_tense = @changable_names[actual_tense] || actual_tense
93
93
  actual_tense
94
94
  end
95
95
 
@@ -141,8 +141,6 @@ FrenchIrregularVerbs = {
141
141
 
142
142
  'essuyer' => :yer,
143
143
 
144
- 'acheter' => :e_er,
145
-
146
144
  'amener' => :e_er,
147
145
 
148
146
  'emmener' => :e_er,
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.4.6
4
+ version: 1.4.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: