verbs 2.0.8 → 2.0.9
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/VERSION +1 -1
- data/test/test_verbs.rb +8 -1
- data/verbs.gemspec +61 -61
- metadata +28 -13
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.0.
|
1
|
+
2.0.9
|
data/test/test_verbs.rb
CHANGED
@@ -1,4 +1,11 @@
|
|
1
1
|
require 'helper'
|
2
|
+
require 'active_support/version'
|
3
|
+
%w{
|
4
|
+
active_support/core_ext/object/misc
|
5
|
+
active_support/inflector
|
6
|
+
}.each do |active_support_3_requirement|
|
7
|
+
require active_support_3_requirement
|
8
|
+
end if ActiveSupport::VERSION::MAJOR == 3
|
2
9
|
|
3
10
|
class TestVerbs < Test::Unit::TestCase
|
4
11
|
def test_copular_conjugation
|
@@ -56,7 +63,7 @@ class TestVerbs < Test::Unit::TestCase
|
|
56
63
|
def test_regular_non_doubled_ending_consonant
|
57
64
|
assert_equal 'fixes', Verbs::Conjugator.conjugate(:fix, :tense => :present, :person => :third, :plurality => :singular, :aspect => :habitual)
|
58
65
|
assert_equal 'fixed', Verbs::Conjugator.conjugate(:fix, :tense => :past, :person => :first, :plurality => :singular, :aspect => :perfective)
|
59
|
-
assert_equal 'faxed', Verbs::Conjugator.conjugate(:
|
66
|
+
assert_equal 'faxed', Verbs::Conjugator.conjugate(:fax, :tense => :past, :person => :first, :plurality => :singular, :aspect => :perfective)
|
60
67
|
end
|
61
68
|
def test_regular_conjugation_with_terminal_e
|
62
69
|
assert_equal 'created', Verbs::Conjugator.conjugate(:create, :tense => :past, :person => :first, :plurality => :singular, :aspect => :perfective)
|
data/verbs.gemspec
CHANGED
@@ -1,61 +1,61 @@
|
|
1
|
-
# Generated by jeweler
|
2
|
-
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
-
# Instead, edit Jeweler::Tasks in
|
4
|
-
# -*- encoding: utf-8 -*-
|
5
|
-
|
6
|
-
Gem::Specification.new do |s|
|
7
|
-
s.name = %q{verbs}
|
8
|
-
s.version = "2.0.
|
9
|
-
|
10
|
-
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
-
s.authors = ["Andy Rossmeissl"]
|
12
|
-
s.date = %q{2010-
|
13
|
-
s.description = %q{Conjugates most common english verbs for all persons in all tenses and all standard aspects (with active diathesis and indicative mood). Standard and exceptional spelling rules are obeyed.}
|
14
|
-
s.email = %q{andy@rossmeissl.net}
|
15
|
-
s.extra_rdoc_files = [
|
16
|
-
"LICENSE",
|
17
|
-
"README.rdoc"
|
18
|
-
]
|
19
|
-
s.files = [
|
20
|
-
".document",
|
21
|
-
".gitignore",
|
22
|
-
"LICENSE",
|
23
|
-
"README.rdoc",
|
24
|
-
"Rakefile",
|
25
|
-
"VERSION",
|
26
|
-
"lib/verbs.rb",
|
27
|
-
"lib/verbs/conjugations.rb",
|
28
|
-
"lib/verbs/conjugator.rb",
|
29
|
-
"lib/verbs/verb.rb",
|
30
|
-
"lib/verbs/verblike.rb",
|
31
|
-
"test/helper.rb",
|
32
|
-
"test/test_verbs.rb",
|
33
|
-
"verbs.gemspec"
|
34
|
-
]
|
35
|
-
s.homepage = %q{http://github.com/rossmeissl/verbs}
|
36
|
-
s.rdoc_options = ["--charset=UTF-8"]
|
37
|
-
s.require_paths = ["lib"]
|
38
|
-
s.rubygems_version = %q{1.3.
|
39
|
-
s.summary = %q{English verb conjugation in Ruby}
|
40
|
-
s.test_files = [
|
41
|
-
"test/helper.rb",
|
42
|
-
"test/test_verbs.rb"
|
43
|
-
]
|
44
|
-
|
45
|
-
if s.respond_to? :specification_version then
|
46
|
-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
47
|
-
s.specification_version = 3
|
48
|
-
|
49
|
-
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
50
|
-
s.add_runtime_dependency(%q<andand>, [">= 1.3.1"])
|
51
|
-
s.add_runtime_dependency(%q<activesupport>, [">= 2.3.4"])
|
52
|
-
else
|
53
|
-
s.add_dependency(%q<andand>, [">= 1.3.1"])
|
54
|
-
s.add_dependency(%q<activesupport>, [">= 2.3.4"])
|
55
|
-
end
|
56
|
-
else
|
57
|
-
s.add_dependency(%q<andand>, [">= 1.3.1"])
|
58
|
-
s.add_dependency(%q<activesupport>, [">= 2.3.4"])
|
59
|
-
end
|
60
|
-
end
|
61
|
-
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in rakefile, and run the gemspec command
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
|
6
|
+
Gem::Specification.new do |s|
|
7
|
+
s.name = %q{verbs}
|
8
|
+
s.version = "2.0.9"
|
9
|
+
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
+
s.authors = ["Andy Rossmeissl"]
|
12
|
+
s.date = %q{2010-08-09}
|
13
|
+
s.description = %q{Conjugates most common english verbs for all persons in all tenses and all standard aspects (with active diathesis and indicative mood). Standard and exceptional spelling rules are obeyed.}
|
14
|
+
s.email = %q{andy@rossmeissl.net}
|
15
|
+
s.extra_rdoc_files = [
|
16
|
+
"LICENSE",
|
17
|
+
"README.rdoc"
|
18
|
+
]
|
19
|
+
s.files = [
|
20
|
+
".document",
|
21
|
+
".gitignore",
|
22
|
+
"LICENSE",
|
23
|
+
"README.rdoc",
|
24
|
+
"Rakefile",
|
25
|
+
"VERSION",
|
26
|
+
"lib/verbs.rb",
|
27
|
+
"lib/verbs/conjugations.rb",
|
28
|
+
"lib/verbs/conjugator.rb",
|
29
|
+
"lib/verbs/verb.rb",
|
30
|
+
"lib/verbs/verblike.rb",
|
31
|
+
"test/helper.rb",
|
32
|
+
"test/test_verbs.rb",
|
33
|
+
"verbs.gemspec"
|
34
|
+
]
|
35
|
+
s.homepage = %q{http://github.com/rossmeissl/verbs}
|
36
|
+
s.rdoc_options = ["--charset=UTF-8"]
|
37
|
+
s.require_paths = ["lib"]
|
38
|
+
s.rubygems_version = %q{1.3.6}
|
39
|
+
s.summary = %q{English verb conjugation in Ruby}
|
40
|
+
s.test_files = [
|
41
|
+
"test/helper.rb",
|
42
|
+
"test/test_verbs.rb"
|
43
|
+
]
|
44
|
+
|
45
|
+
if s.respond_to? :specification_version then
|
46
|
+
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
47
|
+
s.specification_version = 3
|
48
|
+
|
49
|
+
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
50
|
+
s.add_runtime_dependency(%q<andand>, [">= 1.3.1"])
|
51
|
+
s.add_runtime_dependency(%q<activesupport>, [">= 2.3.4"])
|
52
|
+
else
|
53
|
+
s.add_dependency(%q<andand>, [">= 1.3.1"])
|
54
|
+
s.add_dependency(%q<activesupport>, [">= 2.3.4"])
|
55
|
+
end
|
56
|
+
else
|
57
|
+
s.add_dependency(%q<andand>, [">= 1.3.1"])
|
58
|
+
s.add_dependency(%q<activesupport>, [">= 2.3.4"])
|
59
|
+
end
|
60
|
+
end
|
61
|
+
|
metadata
CHANGED
@@ -1,7 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: verbs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
prerelease: false
|
5
|
+
segments:
|
6
|
+
- 2
|
7
|
+
- 0
|
8
|
+
- 9
|
9
|
+
version: 2.0.9
|
5
10
|
platform: ruby
|
6
11
|
authors:
|
7
12
|
- Andy Rossmeissl
|
@@ -9,29 +14,37 @@ autorequire:
|
|
9
14
|
bindir: bin
|
10
15
|
cert_chain: []
|
11
16
|
|
12
|
-
date: 2010-
|
17
|
+
date: 2010-08-09 00:00:00 -05:00
|
13
18
|
default_executable:
|
14
19
|
dependencies:
|
15
20
|
- !ruby/object:Gem::Dependency
|
16
21
|
name: andand
|
17
|
-
|
18
|
-
|
19
|
-
version_requirements: !ruby/object:Gem::Requirement
|
22
|
+
prerelease: false
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
20
24
|
requirements:
|
21
25
|
- - ">="
|
22
26
|
- !ruby/object:Gem::Version
|
27
|
+
segments:
|
28
|
+
- 1
|
29
|
+
- 3
|
30
|
+
- 1
|
23
31
|
version: 1.3.1
|
24
|
-
|
32
|
+
type: :runtime
|
33
|
+
version_requirements: *id001
|
25
34
|
- !ruby/object:Gem::Dependency
|
26
35
|
name: activesupport
|
27
|
-
|
28
|
-
|
29
|
-
version_requirements: !ruby/object:Gem::Requirement
|
36
|
+
prerelease: false
|
37
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
30
38
|
requirements:
|
31
39
|
- - ">="
|
32
40
|
- !ruby/object:Gem::Version
|
41
|
+
segments:
|
42
|
+
- 2
|
43
|
+
- 3
|
44
|
+
- 4
|
33
45
|
version: 2.3.4
|
34
|
-
|
46
|
+
type: :runtime
|
47
|
+
version_requirements: *id002
|
35
48
|
description: Conjugates most common english verbs for all persons in all tenses and all standard aspects (with active diathesis and indicative mood). Standard and exceptional spelling rules are obeyed.
|
36
49
|
email: andy@rossmeissl.net
|
37
50
|
executables: []
|
@@ -69,18 +82,20 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
69
82
|
requirements:
|
70
83
|
- - ">="
|
71
84
|
- !ruby/object:Gem::Version
|
85
|
+
segments:
|
86
|
+
- 0
|
72
87
|
version: "0"
|
73
|
-
version:
|
74
88
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
75
89
|
requirements:
|
76
90
|
- - ">="
|
77
91
|
- !ruby/object:Gem::Version
|
92
|
+
segments:
|
93
|
+
- 0
|
78
94
|
version: "0"
|
79
|
-
version:
|
80
95
|
requirements: []
|
81
96
|
|
82
97
|
rubyforge_project:
|
83
|
-
rubygems_version: 1.3.
|
98
|
+
rubygems_version: 1.3.6
|
84
99
|
signing_key:
|
85
100
|
specification_version: 3
|
86
101
|
summary: English verb conjugation in Ruby
|