latinverb 1.0.0.pre → 1.0.0.pre.2
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.
- checksums.yaml +4 -4
- data/Gemfile.lock +7 -5
- data/latinverb.gemspec +1 -1
- data/lib/latinverb/latinverb.rb +5 -5
- data/lib/latinverb/version.rb +1 -1
- metadata +6 -8
- data/test/integration/freakish_vs.rb_test.rb +0 -94
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 05e83a7c249855ef5843c36a6e3568390d9ad960
|
|
4
|
+
data.tar.gz: 031d27675d32220df4adf08c612c279ba6056e0d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 16ae37c031e69f1ce0f6b6eb160cf4e7cdd74fda9941413a72d9a8fadcbe1064c05f7ec30249677682d44f35bbea66ef8230c28121a427ddec4856a6c6afb90f
|
|
7
|
+
data.tar.gz: 37ce0fe825f2e6d69faf2b69fc4ea05a5f11bbe575cdf014260bcf2427b82a99a1a90cbe0d79bf59457bad4f819ca7071e4ae7a202ecb826daacacfae7be2c8d
|
data/Gemfile.lock
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
latinverb (0.
|
|
4
|
+
latinverb (1.0.0.pre.2)
|
|
5
5
|
latinverb_classifier (= 1.0.0.pre.1)
|
|
6
6
|
latinverb_deponent_string_deriver
|
|
7
|
-
latinverb_imperative_block
|
|
7
|
+
latinverb_imperative_block (= 1.0.0.pre.1)
|
|
8
8
|
latinverb_imperatives
|
|
9
9
|
latinverb_infinitives
|
|
10
10
|
latinverb_irregular_imperatives_retriever
|
|
@@ -14,6 +14,7 @@ PATH
|
|
|
14
14
|
latinverb_participles
|
|
15
15
|
latinverb_principal_parts_extractor
|
|
16
16
|
latinverb_querent_for_classification_builder
|
|
17
|
+
latinverb_serialization
|
|
17
18
|
latinverb_stem_deriver
|
|
18
19
|
latinverb_type_evaluator
|
|
19
20
|
linguistics_latin (~> 0.0.2)
|
|
@@ -37,8 +38,8 @@ GEM
|
|
|
37
38
|
interception (0.5)
|
|
38
39
|
latinverb_classifier (1.0.0.pre.1)
|
|
39
40
|
linguistics_latin (~> 0.0.2)
|
|
40
|
-
latinverb_deponent_string_deriver (1.0.0.pre.
|
|
41
|
-
latinverb_imperative_block (0.0.1)
|
|
41
|
+
latinverb_deponent_string_deriver (1.0.0.pre.2)
|
|
42
|
+
latinverb_imperative_block (1.0.0.pre.1)
|
|
42
43
|
linguistics_latin (~> 0.0.2)
|
|
43
44
|
latinverb_imperatives (0.0.1)
|
|
44
45
|
latinverb_irregular_infinitives_retriever
|
|
@@ -56,13 +57,14 @@ GEM
|
|
|
56
57
|
latinverb_irregular_infinitives_retriever
|
|
57
58
|
linguistics_latin (~> 0.0.2)
|
|
58
59
|
linguistics_latin_tense_block
|
|
60
|
+
latinverb_serialization (0.0.1)
|
|
59
61
|
latinverb_stem_deriver (0.0.1)
|
|
60
62
|
latinverb_deponent_string_deriver
|
|
61
63
|
latinverb_type_evaluator (0.0.1)
|
|
62
64
|
latinverb_deponent_string_deriver
|
|
63
65
|
linguistics_latin (~> 0.0.2)
|
|
64
66
|
linguistics_latin (0.0.2)
|
|
65
|
-
linguistics_latin_tense_block (0.0
|
|
67
|
+
linguistics_latin_tense_block (1.0.0)
|
|
66
68
|
linguistics_latin
|
|
67
69
|
macronconversions (0.0.1)
|
|
68
70
|
method_source (0.8.2)
|
data/latinverb.gemspec
CHANGED
|
@@ -25,7 +25,7 @@ Gem::Specification.new do |s|
|
|
|
25
25
|
s.add_runtime_dependency("macronconversions")
|
|
26
26
|
s.add_runtime_dependency("linguistics_latin", "~>0.0.2")
|
|
27
27
|
s.add_runtime_dependency("linguistics_latin_tense_block")
|
|
28
|
-
s.add_runtime_dependency("latinverb_imperative_block")
|
|
28
|
+
s.add_runtime_dependency("latinverb_imperative_block", "1.0.0.pre.1")
|
|
29
29
|
s.add_runtime_dependency("latinverb_classifier", "1.0.0.pre.1")
|
|
30
30
|
s.add_runtime_dependency("latinverb_principal_parts_extractor")
|
|
31
31
|
s.add_runtime_dependency("latinverb_deponent_string_deriver")
|
data/lib/latinverb/latinverb.rb
CHANGED
|
@@ -24,12 +24,12 @@ module Linguistics
|
|
|
24
24
|
|
|
25
25
|
private
|
|
26
26
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
27
|
+
def delegate_verb_method_calls_to_delegate!
|
|
28
|
+
self.extend Forwardable
|
|
29
|
+
@querent.defined_tense_methods.each do |sym|
|
|
30
|
+
self.def_delegator "@querent", sym
|
|
31
|
+
end
|
|
31
32
|
end
|
|
32
|
-
end
|
|
33
33
|
|
|
34
34
|
public
|
|
35
35
|
|
data/lib/latinverb/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: latinverb
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.0.pre
|
|
4
|
+
version: 1.0.0.pre.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Steven G. Harms
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-07-
|
|
11
|
+
date: 2014-07-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: macronconversions
|
|
@@ -56,16 +56,16 @@ dependencies:
|
|
|
56
56
|
name: latinverb_imperative_block
|
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
|
58
58
|
requirements:
|
|
59
|
-
- -
|
|
59
|
+
- - '='
|
|
60
60
|
- !ruby/object:Gem::Version
|
|
61
|
-
version:
|
|
61
|
+
version: 1.0.0.pre.1
|
|
62
62
|
type: :runtime
|
|
63
63
|
prerelease: false
|
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
|
65
65
|
requirements:
|
|
66
|
-
- -
|
|
66
|
+
- - '='
|
|
67
67
|
- !ruby/object:Gem::Version
|
|
68
|
-
version:
|
|
68
|
+
version: 1.0.0.pre.1
|
|
69
69
|
- !ruby/object:Gem::Dependency
|
|
70
70
|
name: latinverb_classifier
|
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -333,7 +333,6 @@ files:
|
|
|
333
333
|
- test/integration/first_conjugation_test.rb
|
|
334
334
|
- test/integration/fourth_conjugation_test.rb
|
|
335
335
|
- test/integration/freakish_verb_test.rb
|
|
336
|
-
- test/integration/freakish_vs.rb_test.rb
|
|
337
336
|
- test/integration/imperative_block_test.rb
|
|
338
337
|
- test/integration/irregular_sum_test.rb
|
|
339
338
|
- test/integration/irregulars_test.rb
|
|
@@ -378,7 +377,6 @@ test_files:
|
|
|
378
377
|
- test/integration/first_conjugation_test.rb
|
|
379
378
|
- test/integration/fourth_conjugation_test.rb
|
|
380
379
|
- test/integration/freakish_verb_test.rb
|
|
381
|
-
- test/integration/freakish_vs.rb_test.rb
|
|
382
380
|
- test/integration/imperative_block_test.rb
|
|
383
381
|
- test/integration/irregular_sum_test.rb
|
|
384
382
|
- test/integration/irregulars_test.rb
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
#encoding: UTF-8
|
|
2
|
-
|
|
3
|
-
require 'minitest/autorun'
|
|
4
|
-
require 'json'
|
|
5
|
-
|
|
6
|
-
$:.unshift File.join(File.dirname(__FILE__), *%w[.. lib])
|
|
7
|
-
require 'latinverb'
|
|
8
|
-
require 'linguistics_latin'
|
|
9
|
-
|
|
10
|
-
# Internal dependencies
|
|
11
|
-
|
|
12
|
-
class TestFreakishVerbs < MiniTest::Test
|
|
13
|
-
def test_present_only?
|
|
14
|
-
v = Linguistics::Latin::Verb::LatinVerb.new 'maerō maēre maīvī maestum'
|
|
15
|
-
assert v.present_only?, "Must be present_only: was #{v.classification}"
|
|
16
|
-
assert_equal 6, v.active_voice_indicative_mood_perfect_tense.length, "active.indicative.perfect should have length of 6"
|
|
17
|
-
assert_equal '', v.active_voice_indicative_mood_perfect_tense_first_person_singular_number, "a perfect tense for a present only verb should be empty"
|
|
18
|
-
end
|
|
19
|
-
|
|
20
|
-
def test_present_only_from_sing
|
|
21
|
-
v = Linguistics::Latin::Verb::LatinVerb.new 'aiō'
|
|
22
|
-
assert v.present_only?, "Must be present_only: was #{v.classification}"
|
|
23
|
-
|
|
24
|
-
# Primary use of this verb
|
|
25
|
-
assert_equal 'ait', v.active_voice_indicative_mood_present_tense_third_person_singular_number,
|
|
26
|
-
"Must respond to active_voice_indicative_mood_present_tense_third_person_singular_number"
|
|
27
|
-
|
|
28
|
-
end
|
|
29
|
-
|
|
30
|
-
def test_very_odd_verbs
|
|
31
|
-
choices = %w( quaesō ovāre )
|
|
32
|
-
|
|
33
|
-
choices.each do |v|
|
|
34
|
-
vi = Linguistics::Latin::Verb::LatinVerb.new v
|
|
35
|
-
assert vi.present_only?, "Must be present_only: was #{vi.classification}"
|
|
36
|
-
end
|
|
37
|
-
end
|
|
38
|
-
|
|
39
|
-
def test_impersonal
|
|
40
|
-
v = Linguistics::Latin::Verb::LatinVerb.new 'pluit'
|
|
41
|
-
assert_equal Linguistics::Latin::Verb::Classification::Impersonal, v.classification
|
|
42
|
-
assert_equal 'pluit', v.active_voice_indicative_mood_present_tense_third_person_singular_number, "Impersonal verb must return third_person_singular_number"
|
|
43
|
-
end
|
|
44
|
-
|
|
45
|
-
=begin rdoc
|
|
46
|
-
* 191 - Irregular deponent verbs
|
|
47
|
-
|
|
48
|
-
This section in A&G says that the following are irregular deponents,
|
|
49
|
-
nevertheless a preliminary test on fruor did not show that. I'm storing
|
|
50
|
-
these here for reference, but do not believe this is a real issue to be
|
|
51
|
-
addressed.
|
|
52
|
-
|
|
53
|
-
adsentior, -īrī, adsēnsus, assent
|
|
54
|
-
oblīvīscor, -ī, oblītus, forget.
|
|
55
|
-
apīscor, (-ip-), -ī, aptus (-eptus), get
|
|
56
|
-
opperior, -īrī, oppertus, await.
|
|
57
|
-
dēfetīscor, -ī, -fessus, faint
|
|
58
|
-
órdior, -īrī, órsus, begin.
|
|
59
|
-
expergīscor, -ī, -perrēctus, rouse
|
|
60
|
-
orior, -īrī, ortus (oritūrus), rise (3d
|
|
61
|
-
experior, -īrī, expertus, try
|
|
62
|
-
conjugation in most forms).
|
|
63
|
-
fateor, -ērī, fassus, confess
|
|
64
|
-
pacīscor, -ī, pactus, bargain.
|
|
65
|
-
fruor, -ī, frūctus (fruitus), enjoy
|
|
66
|
-
patior (-petior), -ī, passus (-pessus),
|
|
67
|
-
fungor, -ī, fūnctus, fulfil
|
|
68
|
-
gradior (-gredior), -ī, gressus, step
|
|
69
|
-
-plector, -ī, -plexus, clasp.
|
|
70
|
-
īrāscor, -ī, īrātus, be angry
|
|
71
|
-
proficīscor, -ī, profectus, set out.
|
|
72
|
-
lābor, -ī, lāpsus, fall
|
|
73
|
-
queror, -ī, questus, complain.
|
|
74
|
-
loquor, -ī, locūtus, speak
|
|
75
|
-
reor, rērī, ratus, think.
|
|
76
|
-
mētior, -īrī, mēnsus, measure
|
|
77
|
-
revertor, -ī, reversus, return.
|
|
78
|
-
-minīscor, -ī, -mentus, think
|
|
79
|
-
ringor, -ī, rictus, snarl.
|
|
80
|
-
morior, -ī, (-īrī), mortuus (moritūrus), die
|
|
81
|
-
sequor, -ī, secūtus, follow.
|
|
82
|
-
nancīscor, -ī, nactus (nānctus), find
|
|
83
|
-
tueor, -ērī, tuitus (tūtus), defend.
|
|
84
|
-
nāscor, -ī, nātus, be born
|
|
85
|
-
ulcīscor, -ī, ultus, avenge.
|
|
86
|
-
nītor, -ī, nīsus (nīxus), strive
|
|
87
|
-
ūtor, -ī, ūsus, use, employ.
|
|
88
|
-
=end
|
|
89
|
-
|
|
90
|
-
def test_irregular_deponents
|
|
91
|
-
v = Linguistics::Latin::Verb::LatinVerb.new 'fruor fruī frūctus '
|
|
92
|
-
assert 'fruitur', v.active_voice_indicative_mood_present_tense_third_person_singular_number
|
|
93
|
-
end
|
|
94
|
-
end
|