verbs 2.1.0 → 2.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +0 -2
- data/lib/verbs/conjugations.rb +2 -1
- data/lib/verbs/version.rb +1 -1
- data/test/test_verbs.rb +5 -0
- data/verbs.gemspec +1 -0
- metadata +67 -62
data/README.rdoc
CHANGED
data/lib/verbs/conjugations.rb
CHANGED
@@ -101,7 +101,7 @@ Verbs::Conjugator.conjugations do |conjugate|
|
|
101
101
|
conjugate.irregular :keep, :kept, :kept
|
102
102
|
conjugate.irregular :kneel, :knelt, :knelt
|
103
103
|
conjugate.irregular :knit, :knit, :knit
|
104
|
-
conjugate.irregular :know, :knew, :
|
104
|
+
conjugate.irregular :know, :knew, :known
|
105
105
|
conjugate.irregular :lay, :laid, :laid
|
106
106
|
conjugate.irregular :lead, :led, :led
|
107
107
|
conjugate.irregular :leap, :leaped, :leaped
|
@@ -332,6 +332,7 @@ Verbs::Conjugator.conjugations do |conjugate|
|
|
332
332
|
conjugate.single_terminal_consonant :inspirit
|
333
333
|
conjugate.single_terminal_consonant :interpret
|
334
334
|
conjugate.single_terminal_consonant :iron
|
335
|
+
conjugate.single_terminal_consonant :know
|
335
336
|
conjugate.single_terminal_consonant :laten
|
336
337
|
conjugate.single_terminal_consonant :launder
|
337
338
|
conjugate.single_terminal_consonant :lengthen
|
data/lib/verbs/version.rb
CHANGED
data/test/test_verbs.rb
CHANGED
@@ -26,6 +26,11 @@ class TestVerbs < Test::Unit::TestCase
|
|
26
26
|
assert_equal 'broke', Verbs::Conjugator.conjugate(:break, :tense => :past, :person => :first, :plurality => :singular, :aspect => :perfective)
|
27
27
|
assert_equal 'has', Verbs::Conjugator.conjugate(:have, :tense => :present, :person => :third, :plurality => :singular, :aspect => :habitual)
|
28
28
|
end
|
29
|
+
def test_know
|
30
|
+
assert_equal 'had known', Verbs::Conjugator.conjugate(:know, :tense => :past, :person => :third, :plurality => :singular, :aspect => :perfect)
|
31
|
+
assert_equal 'knew', Verbs::Conjugator.conjugate(:know, :tense => :past, :person => :third, :plurality => :singular, :aspect => :perfective)
|
32
|
+
assert_equal 'was knowing', Verbs::Conjugator.conjugate(:know, :tense => :past, :person => :third, :plurality => :singular, :aspect => :progressive)
|
33
|
+
end
|
29
34
|
def test_irregular_conjugation_with_terminal_y
|
30
35
|
assert_equal 'flies', Verbs::Conjugator.conjugate(:fly, :tense => :present, :person => :third, :plurality => :singular, :aspect => :habitual)
|
31
36
|
assert_equal 'carried', Verbs::Conjugator.conjugate(:carry, :tense => :past, :person => :third, :plurality => :singular, :aspect => :perfective)
|
data/verbs.gemspec
CHANGED
metadata
CHANGED
@@ -1,62 +1,72 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: verbs
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 2.1.1
|
5
5
|
prerelease:
|
6
|
-
segments:
|
7
|
-
- 2
|
8
|
-
- 1
|
9
|
-
- 0
|
10
|
-
version: 2.1.0
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Andy Rossmeissl
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
dependencies:
|
21
|
-
- !ruby/object:Gem::Dependency
|
22
|
-
prerelease: false
|
12
|
+
date: 2012-10-18 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
23
15
|
name: bueller
|
24
|
-
|
25
|
-
version_requirements: &id001 !ruby/object:Gem::Requirement
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
26
17
|
none: false
|
27
|
-
requirements:
|
28
|
-
- -
|
29
|
-
- !ruby/object:Gem::Version
|
30
|
-
|
31
|
-
|
32
|
-
- 0
|
33
|
-
version: "0"
|
34
|
-
requirement: *id001
|
35
|
-
- !ruby/object:Gem::Dependency
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
22
|
+
type: :development
|
36
23
|
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0'
|
30
|
+
- !ruby/object:Gem::Dependency
|
37
31
|
name: activesupport
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ! '>='
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: 2.3.4
|
38
38
|
type: :runtime
|
39
|
-
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
40
41
|
none: false
|
41
|
-
requirements:
|
42
|
-
- -
|
43
|
-
- !ruby/object:Gem::Version
|
44
|
-
hash: 11
|
45
|
-
segments:
|
46
|
-
- 2
|
47
|
-
- 3
|
48
|
-
- 4
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
49
45
|
version: 2.3.4
|
50
|
-
|
51
|
-
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: i18n
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ! '>='
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0'
|
54
|
+
type: :runtime
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ! '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
description: Conjugates most common english verbs for all persons, tenses, standard
|
63
|
+
aspects, and modern moods (with active diathesis). Standard and exceptional spelling
|
64
|
+
rules are obeyed.
|
52
65
|
email: andy@rossmeissl.net
|
53
66
|
executables: []
|
54
|
-
|
55
67
|
extensions: []
|
56
|
-
|
57
68
|
extra_rdoc_files: []
|
58
|
-
|
59
|
-
files:
|
69
|
+
files:
|
60
70
|
- .document
|
61
71
|
- .gitignore
|
62
72
|
- Gemfile
|
@@ -74,39 +84,34 @@ files:
|
|
74
84
|
- test/helper.rb
|
75
85
|
- test/test_verbs.rb
|
76
86
|
- verbs.gemspec
|
77
|
-
has_rdoc: true
|
78
87
|
homepage: http://github.com/rossmeissl/verbs
|
79
88
|
licenses: []
|
80
|
-
|
81
89
|
post_install_message:
|
82
90
|
rdoc_options: []
|
83
|
-
|
84
|
-
require_paths:
|
91
|
+
require_paths:
|
85
92
|
- lib
|
86
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
93
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
87
94
|
none: false
|
88
|
-
requirements:
|
89
|
-
- -
|
90
|
-
- !ruby/object:Gem::Version
|
91
|
-
|
92
|
-
segments:
|
95
|
+
requirements:
|
96
|
+
- - ! '>='
|
97
|
+
- !ruby/object:Gem::Version
|
98
|
+
version: '0'
|
99
|
+
segments:
|
93
100
|
- 0
|
94
|
-
|
95
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
101
|
+
hash: 856194337
|
102
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
96
103
|
none: false
|
97
|
-
requirements:
|
98
|
-
- -
|
99
|
-
- !ruby/object:Gem::Version
|
100
|
-
|
101
|
-
segments:
|
104
|
+
requirements:
|
105
|
+
- - ! '>='
|
106
|
+
- !ruby/object:Gem::Version
|
107
|
+
version: '0'
|
108
|
+
segments:
|
102
109
|
- 0
|
103
|
-
|
110
|
+
hash: 856194337
|
104
111
|
requirements: []
|
105
|
-
|
106
112
|
rubyforge_project:
|
107
|
-
rubygems_version: 1.
|
113
|
+
rubygems_version: 1.8.24
|
108
114
|
signing_key:
|
109
115
|
specification_version: 3
|
110
116
|
summary: English verb conjugation in Ruby
|
111
117
|
test_files: []
|
112
|
-
|