conjugate 1.4.19 → 1.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE +24 -0
- data/README.markdown +35 -1
- data/conjugate.gemspec +3 -3
- data/lib/conjugate/french.rb +0 -1
- data/lib/conjugate/french_templates/templates.rb +2 -2
- metadata +9 -9
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: e4fa1d49b881834a7a9257ec44a60ebc30f571a9
|
4
|
+
data.tar.gz: 2ce5eb47a58c5b83303d6f5f04ddab6ab0ee0267
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: ce1789b185fdbd54c5efbd5bde91cad55b5350c9b0ec7536919d2bb98ed9a7df9dd0769da7ef3c99da2f88a9e7f8e1ee303864347eab4cc8a2d533ffb0b53936
|
7
|
+
data.tar.gz: 61739dc171da26e2518f3c7692dcd641ad0dfee25248006b16862c54d5779566f4cfc6bf44a497edeff6a3f8a55cf9fb1ce2513165bd7fa686834f61a00cc6ee
|
data/LICENSE
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
|
2
|
+
The MIT License (MIT)
|
3
|
+
|
4
|
+
Copyright (c) 2013 Jeremy Geros
|
5
|
+
|
6
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
7
|
+
this software and associated documentation files (the "Software"), to deal in
|
8
|
+
the Software without restriction, including without limitation the rights to
|
9
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
10
|
+
the Software, and to permit persons to whom the Software is furnished to do so,
|
11
|
+
subject to the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be included in all
|
14
|
+
copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
17
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
18
|
+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
19
|
+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
20
|
+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
21
|
+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
22
|
+
|
23
|
+
|
24
|
+
|
data/README.markdown
CHANGED
@@ -13,4 +13,38 @@ Can also pass tenses
|
|
13
13
|
```
|
14
14
|
Conjugate::Spanish.conjugate(:pronoun => :yo, :verb => 'tener', :tense => :past)
|
15
15
|
=> tuve
|
16
|
-
```
|
16
|
+
```
|
17
|
+
|
18
|
+
Also now works for French
|
19
|
+
|
20
|
+
```
|
21
|
+
Conjugate::French.conjugate(:pronoun => :je, :verb => 'acheter', :tense => :present)
|
22
|
+
=> achète
|
23
|
+
```
|
24
|
+
|
25
|
+
License
|
26
|
+
=======
|
27
|
+
|
28
|
+
The MIT License (MIT)
|
29
|
+
|
30
|
+
Copyright (c) 2013 Jeremy Geros
|
31
|
+
|
32
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
33
|
+
this software and associated documentation files (the "Software"), to deal in
|
34
|
+
the Software without restriction, including without limitation the rights to
|
35
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
36
|
+
the Software, and to permit persons to whom the Software is furnished to do so,
|
37
|
+
subject to the following conditions:
|
38
|
+
|
39
|
+
The above copyright notice and this permission notice shall be included in all
|
40
|
+
copies or substantial portions of the Software.
|
41
|
+
|
42
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
43
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
44
|
+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
45
|
+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
46
|
+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
47
|
+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
48
|
+
|
49
|
+
|
50
|
+
|
data/conjugate.gemspec
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'conjugate'
|
3
|
-
s.version = '1.
|
3
|
+
s.version = '1.5.0'
|
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
|
7
7
|
s.authors = ["Jeremy Geros"]
|
8
8
|
s.email = 'jeremy@govocab.com'
|
9
|
-
|
9
|
+
s.license = 'MIT'
|
10
10
|
|
11
11
|
s.files = `git ls-files`.split("\n")
|
12
12
|
s.require_paths = ["lib"]
|
13
13
|
|
14
14
|
s.homepage = 'https://github.com/JeremyGeros/Conjugate'
|
15
|
-
end
|
15
|
+
end
|
data/lib/conjugate/french.rb
CHANGED
@@ -23,7 +23,6 @@ module Conjugate
|
|
23
23
|
def conjugation_template_finder(template, tense, opts)
|
24
24
|
if tense == :passe_compose
|
25
25
|
if is_etre_verb(opts[:verb])
|
26
|
-
debug('h')
|
27
26
|
debug(FrenchTemplates[:être])
|
28
27
|
debug(FrenchTemplates[:être][:present])
|
29
28
|
debug(FrenchTemplates[:être][:present][opts[:pronoun].to_sym])
|
@@ -1560,8 +1560,8 @@ FrenchTemplates = {
|
|
1560
1560
|
:je => "{{{1}}}è{{{2}}}e",
|
1561
1561
|
:tu => "{{{1}}}è{{{2}}}es",
|
1562
1562
|
:il => "{{{1}}}è{{{2}}}e",
|
1563
|
-
:nous => "{{{1}}}
|
1564
|
-
:vous => "{{{1}}}
|
1563
|
+
:nous => "{{{1}}}e{{{2}}}ons",
|
1564
|
+
:vous => "{{{1}}}e{{{2}}}ez",
|
1565
1565
|
:ils => "{{{1}}}è{{{2}}}ent"
|
1566
1566
|
},
|
1567
1567
|
:imperfect => {
|
metadata
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: conjugate
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
5
|
-
prerelease:
|
4
|
+
version: 1.5.0
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Jeremy Geros
|
@@ -19,6 +18,7 @@ extra_rdoc_files: []
|
|
19
18
|
files:
|
20
19
|
- .DS_Store
|
21
20
|
- .gitignore
|
21
|
+
- LICENSE
|
22
22
|
- README.markdown
|
23
23
|
- conjugate.gemspec
|
24
24
|
- lib/.DS_Store
|
@@ -32,27 +32,27 @@ files:
|
|
32
32
|
- lib/conjugate/spanish_templates/irregular_verbs.rb
|
33
33
|
- lib/conjugate/spanish_templates/templates.rb
|
34
34
|
homepage: https://github.com/JeremyGeros/Conjugate
|
35
|
-
licenses:
|
35
|
+
licenses:
|
36
|
+
- MIT
|
37
|
+
metadata: {}
|
36
38
|
post_install_message:
|
37
39
|
rdoc_options: []
|
38
40
|
require_paths:
|
39
41
|
- lib
|
40
42
|
required_ruby_version: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
43
|
requirements:
|
43
|
-
- -
|
44
|
+
- - '>='
|
44
45
|
- !ruby/object:Gem::Version
|
45
46
|
version: '0'
|
46
47
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
47
|
-
none: false
|
48
48
|
requirements:
|
49
|
-
- -
|
49
|
+
- - '>='
|
50
50
|
- !ruby/object:Gem::Version
|
51
51
|
version: '0'
|
52
52
|
requirements: []
|
53
53
|
rubyforge_project:
|
54
|
-
rubygems_version:
|
54
|
+
rubygems_version: 2.2.1
|
55
55
|
signing_key:
|
56
|
-
specification_version:
|
56
|
+
specification_version: 4
|
57
57
|
summary: Conjugate Verbs using a version of the templates defined here http://en.wiktionary.org/wiki/Category:Spanish_verb_inflection-table_templates
|
58
58
|
test_files: []
|