jido 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
data/.document ADDED
@@ -0,0 +1,5 @@
1
+ lib/**/*.rb
2
+ bin/*
3
+ -
4
+ features/**/*.feature
5
+ LICENSE.txt
data/.gitmodules ADDED
@@ -0,0 +1,3 @@
1
+ [submodule "lib/jido/data"]
2
+ path = lib/jido/data
3
+ url = git@github.com:hans/jido-data.git
data/Gemfile ADDED
@@ -0,0 +1,14 @@
1
+ source "http://rubygems.org"
2
+ # Add dependencies required to use your gem here.
3
+ # Example:
4
+ # gem "activesupport", ">= 2.3.5"
5
+ gem 'nokogiri', '>= 1.4.4'
6
+
7
+ # Add dependencies to develop your gem here.
8
+ # Include everything needed to run rake, tests, features, etc.
9
+ group :development do
10
+ gem "shoulda", ">= 0"
11
+ gem "bundler", "~> 1.0.0"
12
+ gem "jeweler", "~> 1.5.2"
13
+ gem "rcov", ">= 0"
14
+ end
data/Gemfile.lock ADDED
@@ -0,0 +1,22 @@
1
+ GEM
2
+ remote: http://rubygems.org/
3
+ specs:
4
+ git (1.2.5)
5
+ jeweler (1.5.2)
6
+ bundler (~> 1.0.0)
7
+ git (>= 1.2.5)
8
+ rake
9
+ nokogiri (1.4.4)
10
+ rake (0.8.7)
11
+ rcov (0.9.9)
12
+ shoulda (2.11.3)
13
+
14
+ PLATFORMS
15
+ ruby
16
+
17
+ DEPENDENCIES
18
+ bundler (~> 1.0.0)
19
+ jeweler (~> 1.5.2)
20
+ nokogiri (>= 1.4.4)
21
+ rcov
22
+ shoulda
data/LICENSE.txt ADDED
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2011 Hans Engel
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.rdoc ADDED
@@ -0,0 +1,21 @@
1
+ = Jido
2
+
3
+ Jido is a really fast, really simple dynamic verb conjugation library.
4
+
5
+ jido = Jido.load 'fr'
6
+ jido.conjugate 'être'
7
+
8
+ == Contributing to Jido
9
+
10
+ * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
11
+ * Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it
12
+ * Fork the project
13
+ * Start a feature/bugfix branch
14
+ * Commit and push until you are happy with your contribution
15
+ * Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
16
+ * Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
17
+
18
+ == Copyright
19
+
20
+ Copyright (c) 2011 Hans Engel. See LICENSE.txt for
21
+ further details.
data/Rakefile ADDED
@@ -0,0 +1,54 @@
1
+ require 'rubygems'
2
+ require 'bundler'
3
+ begin
4
+ Bundler.setup(:default, :development)
5
+ rescue Bundler::BundlerError => e
6
+ $stderr.puts e.message
7
+ $stderr.puts "Run `bundle install` to install missing gems"
8
+ exit e.status_code
9
+ end
10
+ require 'rake'
11
+
12
+ require 'jeweler'
13
+ Jeweler::Tasks.new do |gem|
14
+ # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
15
+ gem.name = "jido"
16
+ gem.homepage = "http://github.com/hans/jido"
17
+ gem.license = "MIT"
18
+ gem.summary = %Q{Painless verb conjugation}
19
+ gem.description = %Q{Painless verb conjugation}
20
+ gem.email = "engel@engel.uk.to"
21
+ gem.authors = ["Hans Engel"]
22
+ # Include your dependencies below. Runtime dependencies are required when using your gem,
23
+ # and development dependencies are only needed for development (ie running rake tasks, tests, etc)
24
+ # gem.add_runtime_dependency 'jabber4r', '> 0.1'
25
+ # gem.add_development_dependency 'rspec', '> 1.2.3'
26
+ gem.add_runtime_dependency 'nokogiri', '>= 1.4.4'
27
+ end
28
+ Jeweler::RubygemsDotOrgTasks.new
29
+
30
+ require 'rake/testtask'
31
+ Rake::TestTask.new(:test) do |test|
32
+ test.libs << 'lib' << 'test'
33
+ test.pattern = 'test/**/test_*.rb'
34
+ test.verbose = true
35
+ end
36
+
37
+ require 'rcov/rcovtask'
38
+ Rcov::RcovTask.new do |test|
39
+ test.libs << 'test'
40
+ test.pattern = 'test/**/test_*.rb'
41
+ test.verbose = true
42
+ end
43
+
44
+ task :default => :test
45
+
46
+ require 'rake/rdoctask'
47
+ Rake::RDocTask.new do |rdoc|
48
+ version = File.exist?('VERSION') ? File.read('VERSION') : ""
49
+
50
+ rdoc.rdoc_dir = 'rdoc'
51
+ rdoc.title = "jido #{version}"
52
+ rdoc.rdoc_files.include('README*')
53
+ rdoc.rdoc_files.include('lib/**/*.rb')
54
+ end
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 0.1.0
data/lib/jido.rb ADDED
@@ -0,0 +1,8 @@
1
+ require 'jido/conjugator'
2
+
3
+ module Jido
4
+ # Convenience method for Jido::Conjugator.load
5
+ def Jido.load lang, options = {}
6
+ Jido::Conjugator.new lang, options
7
+ end
8
+ end
@@ -0,0 +1,192 @@
1
+ require 'rubygems'
2
+ require 'nokogiri'
3
+
4
+ module Jido
5
+ class Conjugator
6
+ attr_reader :lang
7
+
8
+ # Accepted options:
9
+ #
10
+ def initialize lang, options = {}
11
+ @lang = lang
12
+
13
+ data_file_path = File.join(File.dirname(__FILE__), 'data', lang + '.xml')
14
+ data_file = nil
15
+
16
+ begin
17
+ data_file = open data_file_path, 'r'
18
+ rescue IOError
19
+ raise "There was an error loading the data file for the given language."
20
+ end
21
+
22
+ @data = Nokogiri.XML data_file, nil, 'UTF-8'
23
+ data_file.close
24
+ end
25
+
26
+ # Get the possible verb form IDs for any conjugated verb.
27
+ # Jido.load('fr').forms # => ['PRS', 'PCOMP', 'IMP', ...]
28
+ def forms
29
+ if @forms.nil?
30
+ @forms = []
31
+ @data.xpath('/verbs/meta/forms/form').each do |form|
32
+ @forms << form.text
33
+ end
34
+ end
35
+
36
+ @forms
37
+ end
38
+
39
+ def fallbacks
40
+ if @fallbacks.nil?
41
+ @fallbacks = []
42
+ @data.xpath('/verbs/meta/fallbacks/fallback').each do |fallback|
43
+ @fallbacks << {:regex => fallback['regex'], :ref => fallback['ref']}
44
+ end
45
+ end
46
+
47
+ @fallbacks
48
+ end
49
+
50
+ def paradigms
51
+ if @paradigms.nil?
52
+ @paradigms = []
53
+ @data.xpath('/verbs/meta/paradigms/paradigm').each do |paradigm|
54
+ @paradigms << {:person => paradigm['person'], :quant => paradigm['quant']}
55
+ end
56
+ end
57
+
58
+ @paradigms
59
+ end
60
+
61
+ def conjugate verb
62
+ @current_el = @data.at_xpath "/verbs/verb[@word='#{verb}']"
63
+ @current_el = get_fallback_for_verb(verb) if @current_el.nil?
64
+ return false if @current_el.nil?
65
+
66
+ ret = {}
67
+ @current_el_parents = [] # array of parents of the element, sorted by priority - parents earlier in the array will be picked over later ones
68
+ store_parents @current_el # populate the parents array = @current_el['inherit'].nil? ? nil : @data.at_xpath("/verbs/verbset[@id='#{@current_el['inherit']}']")
69
+
70
+ group = nil; group_search = nil
71
+ forms.each do |form|
72
+ p form
73
+ ret[form] = {}
74
+
75
+ group_search = "group[@id='#{form}']"
76
+ group = search_current_el group_search
77
+
78
+ # grab modifier elements and extract their values
79
+ group_prepend_el = group.at_xpath('prepend'); group_append_el = group.at_xpath('append'); group_mod_el = group.at_xpath('mod'); group_endlength_el = group.at_xpath('endlength')
80
+ group_prepend = group_prepend_el.nil? ? nil : group_prepend_el.text
81
+ group_append = group_append_el.nil? ? nil : group_append_el.text
82
+ group_mod = group_mod_el.nil? ? nil : {:match => group_mod_el['match'], :search => group_mod_el['search'], :replace => group_mod_el['replace']}
83
+ group_endlength = group_endlength_el.nil? ? nil : group_endlength_el.text.to_i
84
+
85
+ pdgmgroup = nil; pdgmgroup_search = nil
86
+ paradigm = nil; paradigm_search = nil
87
+ paradigms.each do |paradigm|
88
+ p paradigm
89
+ pdgmgroup_search = "group[@id='#{form}']/pdgmgroup[@id='#{paradigm[:person]}']"
90
+ pdgmgroup = search_current_el pdgmgroup_search
91
+
92
+ # skip this paradigm group if the "ignore" attribute is set
93
+ next unless pdgmgroup['ignore'].nil?
94
+
95
+ # grab modifier elements and extract their values
96
+ # if unset, try to inherit from parent group
97
+ pdgmgroup_prepend_el = pdgmgroup.at_xpath('prepend'); pdgmgroup_append_el = pdgmgroup.at_xpath('append'); pdgmgroup_mod_el = pdgmgroup.at_xpath('mod'); pdgmgroup_endlength_el = pdgmgroup.at_xpath('endlength')
98
+ pdgmgroup_prepend = pdgmgroup_prepend_el.nil? ? group_prepend : pdgmgroup_prepend_el.text
99
+ pdgmgroup_append = pdgmgroup_append_el.nil? ? group_append : pdgmgroup_append_el.text
100
+ pdgmgroup_mod = pdgmgroup_mod_el.nil? ? group_mod : {:match => pdgmgroup_mod_el['match'], :search => pdgmgroup_mod_el['search'], :replace => pdgmgroup_mod_el['replace']}
101
+ pdgmgroup_endlength = pdgmgroup_endlength_el.nil? ? group_endlength : pdgmgroup_endlength_el.text.to_i
102
+
103
+ paradigm_search = "group[@id='#{form}']/pdgmgroup[@id='#{paradigm[:person]}']/paradigm[@id='#{paradigm[:quant]}']"
104
+ paradigm_el = search_current_el paradigm_search
105
+
106
+ # skip this paradigm if the "ignore" attribute is set
107
+ next unless paradigm_el['ignore'].nil?
108
+
109
+ # grab modifier elements and extract their values
110
+ # if unset, try to inherit from parent paradigm group
111
+ paradigm_prepend_el = paradigm_el.at_xpath('prepend'); paradigm_append_el = paradigm_el.at_xpath('append'); paradigm_mod_el = paradigm_el.at_xpath('mod'); paradigm_endlength_el = paradigm_el.at_xpath('endlength')
112
+ prepend = paradigm_prepend_el.nil? ? pdgmgroup_prepend : paradigm_prepend_el.text
113
+ append = paradigm_append_el.nil? ? pdgmgroup_append : paradigm_append_el.text
114
+ mod = paradigm_mod_el.nil? ? pdgmgroup_mod : {:match => paradigm_mod_el['match'], :search => paradigm_mod_el['search'], :replace => paradigm_mod_el['replace']}
115
+
116
+ endlength = paradigm_endlength_el.nil? ? pdgmgroup_endlength : paradigm_endlength_el.text.to_i
117
+ endlength = 0 if endlength.nil? or endlength < 0
118
+
119
+ # make a copy of verb to run the modifiers on
120
+ modded_verb = verb
121
+
122
+ # chop n chars from the end of the string, based on the <endlength> modifier
123
+ modded_verb = modded_verb[0 ... ( modded_verb.length - endlength )] unless endlength.nil?
124
+
125
+ # <mod> modifier (regex replacement)
126
+ unless mod.nil?
127
+ case mod[:match]
128
+ when 'first' then modded_verb.sub!(mod[:search], mod[:replace])
129
+ when 'all' then modded_verb.gsub!(mod[:search], mod[:replace])
130
+ end
131
+ end
132
+
133
+ # <append> and <prepend> modifiers
134
+ modded_verb = ( prepend.nil? ? '' : prepend ) + modded_verb + ( append.nil? ? '' : append )
135
+ ret[form][paradigm[:person] + paradigm[:quant]] = modded_verb
136
+ end
137
+ end
138
+
139
+ @current_el = nil
140
+ @current_el_inheritor = nil
141
+
142
+ ret
143
+ end
144
+
145
+ # Find all parents of a given verb / verbset, and store them in @current_el_parents
146
+ # (if a verb / verbset #1 inherits a verb / verbset #2, then #2 is the parent of #1)
147
+ #
148
+ # Structure note: verbs are "final" objects. Verbs cannot be inherited; they are always at the bottom of a hierarchy.
149
+ # Verbsets can inherit / be inherited by other verbsets, and verbs can inherit verbsets.
150
+ # In other words.. verb = final class, verb set = abstract class
151
+ #
152
+ # Yay recursion :)
153
+ def store_parents el
154
+ return if el['inherit'].nil?
155
+
156
+ inherited_el = @data.at_xpath "/verbs/verbset[@id='#{el['inherit']}']"
157
+ @current_el_parents << inherited_el
158
+ store_parents inherited_el
159
+ end
160
+
161
+ # Search each parent of some verb for a given element.
162
+ # Used for rule inheritance.
163
+ def search_current_el xpath
164
+ # try to find the rule in the current verb
165
+ desired_el = @current_el.at_xpath xpath
166
+ return desired_el unless desired_el.nil?
167
+
168
+ # check all the verb's parents, walking up the hierarchy
169
+ @current_el_parents.each do |parent|
170
+ desired_el = parent.at_xpath xpath
171
+ return desired_el unless desired_el.nil?
172
+ end
173
+
174
+ nil
175
+ end
176
+
177
+ def get_fallback_for_verb verb
178
+ fallbacks.each do |fallback|
179
+ if verb.match fallback[:regex]
180
+ ret = @data.at_xpath "/verbs/verbset[@id='#{fallback[:ref]}']"
181
+ return ret
182
+ end
183
+ end
184
+
185
+ false
186
+ end
187
+
188
+ def inspect
189
+ "<Conjugator @lang => '#{@lang}'>"
190
+ end
191
+ end
192
+ end
data/test/helper.rb ADDED
@@ -0,0 +1,29 @@
1
+ require 'rubygems'
2
+ require 'bundler'
3
+ begin
4
+ Bundler.setup(:default, :development)
5
+ rescue Bundler::BundlerError => e
6
+ $stderr.puts e.message
7
+ $stderr.puts "Run `bundle install` to install missing gems"
8
+ exit e.status_code
9
+ end
10
+ require 'test/unit'
11
+ require 'shoulda'
12
+
13
+ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
14
+ $LOAD_PATH.unshift(File.dirname(__FILE__))
15
+ require 'jido'
16
+
17
+ class Test::Unit::TestCase
18
+ end
19
+
20
+ class Hash
21
+ def diff other
22
+ self.keys.inject({}) do |memo, key|
23
+ unless self[key] == other[key]
24
+ memo[key] = [self[key], other[key]]
25
+ end
26
+ memo
27
+ end
28
+ end
29
+ end
data/test/test_jido.rb ADDED
@@ -0,0 +1,106 @@
1
+ # coding: utf-8
2
+
3
+ require 'helper'
4
+
5
+ class TestJido < Test::Unit::TestCase
6
+ should "prepare verb forms" do
7
+ jido = Jido.load 'fr'
8
+ assert_not_nil jido
9
+
10
+ assert_equal 'fr', jido.lang
11
+ assert_equal ['prs', 'pcomp', 'imp', 'plu', 'futsimp', 'futant', 'passimp', 'pstant', 'subprs', 'subpst', 'subimp', 'subplu', 'cprs', 'cpst', 'cpst2', 'impprs', 'imppst'], jido.forms
12
+ end
13
+
14
+ should "conjugate some verbs correctly" do
15
+ jido = Jido.load 'fr'
16
+ assert_not_nil jido
17
+
18
+ conj1 = jido.conjugate 'être'
19
+ assert_equal conj1, {
20
+ #p jido.conjugate('être').diff({
21
+ 'prs' => { # present
22
+ '1sg' => 'suis', '1pl' => 'sommes',
23
+ '2sg' => 'es', '2pl' => 'êtes',
24
+ '3sg' => 'est', '3pl' => 'sont'
25
+ },
26
+ 'pcomp' => { # passé composé
27
+ '1sg' => 'ai été', '1pl' => 'avons été',
28
+ '2sg' => 'as été', '2pl' => 'avez été',
29
+ '3sg' => 'a été', '3pl' => 'ont été'
30
+ },
31
+ 'imp' => { # imperfect
32
+ '1sg' => 'étais', '1pl' => 'étions',
33
+ '2sg' => 'étais', '2pl' => 'étiez',
34
+ '3sg' => 'était', '3pl' => 'étaient'
35
+ },
36
+ 'plu' => { # pluperfect
37
+ '1sg' => 'avais été', '1pl' => 'avions été',
38
+ '2sg' => 'avais été', '2pl' => 'aviez été',
39
+ '3sg' => 'avait été', '3pl' => 'avaient été'
40
+ },
41
+ 'futsimp' => { # future
42
+ '1sg' => 'serai', '1pl' => 'serons',
43
+ '2sg' => 'seras', '2pl' => 'serez',
44
+ '3sg' => 'sera', '3pl' => 'seront'
45
+ },
46
+ 'futant' => { # future perfect
47
+ '1sg' => 'aurai été', '1pl' => 'aurons été',
48
+ '2sg' => 'auras été', '2pl' => 'aurez été',
49
+ '3sg' => 'aura été', '3pl' => 'auront été'
50
+ },
51
+ 'passimp' => { # simple past
52
+ '1sg' => 'fus', '1pl' => 'fûmes',
53
+ '2sg' => 'fus', '2pl' => 'fûtes',
54
+ '3sg' => 'fut', '3pl' => 'furent'
55
+ },
56
+ 'pstant' => { # past anterior
57
+ '1sg' => 'eus été', '1pl' => 'eûmes été',
58
+ '2sg' => 'eus été', '2pl' => 'eûtes été',
59
+ '3sg' => 'eut été', '3pl' => 'eurent été'
60
+ },
61
+ 'subprs' => { # subjunctive present
62
+ '1sg' => 'sois', '1pl' => 'soyons',
63
+ '2sg' => 'sois', '2pl' => 'soyez',
64
+ '3sg' => 'soit', '3pl' => 'soient'
65
+ },
66
+ 'subpst' => { # subjunctive past
67
+ '1sg' => 'aie été', '1pl' => 'ayons été',
68
+ '2sg' => 'aies été', '2pl' => 'ayez été',
69
+ '3sg' => 'ait été', '3pl' => 'aient été'
70
+ },
71
+ 'subimp' => { # subjunctive imperfect
72
+ '1sg' => 'fusse', '1pl' => 'fussions',
73
+ '2sg' => 'fusses', '2pl' => 'fussiez',
74
+ '3sg' => 'fût', '3pl' => 'fussent'
75
+ },
76
+ 'subplu' => { # subjunctive pluperfect
77
+ '1sg' => 'eusse été', '1pl' => 'eussions été',
78
+ '2sg' => 'eusses été', '2pl' => 'eussiez été',
79
+ '3sg' => 'eût été', '3pl' => 'eussent été'
80
+ },
81
+ 'cprs' => { # conditional present
82
+ '1sg' => 'serais', '1pl' => 'serions',
83
+ '2sg' => 'serais', '2pl' => 'seriez',
84
+ '3sg' => 'serait', '3pl' => 'seraient'
85
+ },
86
+ 'cpst' => { # conditional past
87
+ '1sg' => 'aurais été', '1pl' => 'aurions été',
88
+ '2sg' => 'aurais été', '2pl' => 'auriez été',
89
+ '3sg' => 'aurait été', '3pl' => 'auraient été'
90
+ },
91
+ 'cpst2' => { # conditional past II
92
+ '1sg' => 'eusse été', '1pl' => 'eussions été',
93
+ '2sg' => 'eusses été', '2pl' => 'eussiez été',
94
+ '3sg' => 'eût été', '3pl' => 'eussent été'
95
+ },
96
+ 'impprs' => { # imperative present
97
+ '1pl' => 'soyons !',
98
+ '2sg' => 'sois !', '2pl' => 'soyez !'
99
+ },
100
+ 'imppst' => { # imperative past
101
+ '1pl' => 'ayons été',
102
+ '2sg' => 'aie été', '2pl' => 'ayez été'
103
+ }
104
+ }
105
+ end
106
+ end
metadata ADDED
@@ -0,0 +1,137 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: jido
3
+ version: !ruby/object:Gem::Version
4
+ prerelease:
5
+ version: 0.1.0
6
+ platform: ruby
7
+ authors:
8
+ - Hans Engel
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+
13
+ date: 2011-02-16 00:00:00 -07:00
14
+ default_executable:
15
+ dependencies:
16
+ - !ruby/object:Gem::Dependency
17
+ name: nokogiri
18
+ requirement: &id001 !ruby/object:Gem::Requirement
19
+ none: false
20
+ requirements:
21
+ - - ">="
22
+ - !ruby/object:Gem::Version
23
+ version: 1.4.4
24
+ type: :runtime
25
+ prerelease: false
26
+ version_requirements: *id001
27
+ - !ruby/object:Gem::Dependency
28
+ name: shoulda
29
+ requirement: &id002 !ruby/object:Gem::Requirement
30
+ none: false
31
+ requirements:
32
+ - - ">="
33
+ - !ruby/object:Gem::Version
34
+ version: "0"
35
+ type: :development
36
+ prerelease: false
37
+ version_requirements: *id002
38
+ - !ruby/object:Gem::Dependency
39
+ name: bundler
40
+ requirement: &id003 !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ~>
44
+ - !ruby/object:Gem::Version
45
+ version: 1.0.0
46
+ type: :development
47
+ prerelease: false
48
+ version_requirements: *id003
49
+ - !ruby/object:Gem::Dependency
50
+ name: jeweler
51
+ requirement: &id004 !ruby/object:Gem::Requirement
52
+ none: false
53
+ requirements:
54
+ - - ~>
55
+ - !ruby/object:Gem::Version
56
+ version: 1.5.2
57
+ type: :development
58
+ prerelease: false
59
+ version_requirements: *id004
60
+ - !ruby/object:Gem::Dependency
61
+ name: rcov
62
+ requirement: &id005 !ruby/object:Gem::Requirement
63
+ none: false
64
+ requirements:
65
+ - - ">="
66
+ - !ruby/object:Gem::Version
67
+ version: "0"
68
+ type: :development
69
+ prerelease: false
70
+ version_requirements: *id005
71
+ - !ruby/object:Gem::Dependency
72
+ name: nokogiri
73
+ requirement: &id006 !ruby/object:Gem::Requirement
74
+ none: false
75
+ requirements:
76
+ - - ">="
77
+ - !ruby/object:Gem::Version
78
+ version: 1.4.4
79
+ type: :runtime
80
+ prerelease: false
81
+ version_requirements: *id006
82
+ description: Painless verb conjugation
83
+ email: engel@engel.uk.to
84
+ executables: []
85
+
86
+ extensions: []
87
+
88
+ extra_rdoc_files:
89
+ - LICENSE.txt
90
+ - README.rdoc
91
+ files:
92
+ - .document
93
+ - .gitmodules
94
+ - Gemfile
95
+ - Gemfile.lock
96
+ - LICENSE.txt
97
+ - README.rdoc
98
+ - Rakefile
99
+ - VERSION
100
+ - lib/jido.rb
101
+ - lib/jido/conjugator.rb
102
+ - test/helper.rb
103
+ - test/test_jido.rb
104
+ has_rdoc: true
105
+ homepage: http://github.com/hans/jido
106
+ licenses:
107
+ - MIT
108
+ post_install_message:
109
+ rdoc_options: []
110
+
111
+ require_paths:
112
+ - lib
113
+ required_ruby_version: !ruby/object:Gem::Requirement
114
+ none: false
115
+ requirements:
116
+ - - ">="
117
+ - !ruby/object:Gem::Version
118
+ hash: 2407338913370765643
119
+ segments:
120
+ - 0
121
+ version: "0"
122
+ required_rubygems_version: !ruby/object:Gem::Requirement
123
+ none: false
124
+ requirements:
125
+ - - ">="
126
+ - !ruby/object:Gem::Version
127
+ version: "0"
128
+ requirements: []
129
+
130
+ rubyforge_project:
131
+ rubygems_version: 1.5.2
132
+ signing_key:
133
+ specification_version: 3
134
+ summary: Painless verb conjugation
135
+ test_files:
136
+ - test/helper.rb
137
+ - test/test_jido.rb