llt-form_builder 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/llt/form_builder/version.rb +1 -1
- data/lib/llt/stem/adjective_pack.rb +7 -0
- data/lib/llt/stem/adjective_stem.rb +4 -0
- data/lib/llt/stem/noun_pack.rb +4 -0
- data/lib/llt/stem/noun_stem.rb +6 -0
- data/lib/llt/stem/pack.rb +4 -0
- data/spec/lib/llt/stem/adjective_stem_spec.rb +10 -1
- data/spec/lib/llt/stem/noun_stem_spec.rb +10 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e146febadab62129fe1bf3d1a896824cb2cbcf27
|
4
|
+
data.tar.gz: 3c2907b019c2fd8197e5c2dc7ae736f12dcb1073
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 96553f5792b2343b82a8141bc798501dae41f8a0d9769b7c575504d0279a06c62c75cfac5fae87d2356b8606e2ebe88085ef13fb3bec8bdba1d3a0d9b847e7cf
|
7
|
+
data.tar.gz: 65337c8383989d938359261b11f249a041a3afbc3001f4d0b4ea53ab354fca4ae3907a5478a286a8abca7d87f67644ffee806338664f467ea8969d7130e379d2
|
data/lib/llt/stem/noun_pack.rb
CHANGED
data/lib/llt/stem/noun_stem.rb
CHANGED
data/lib/llt/stem/pack.rb
CHANGED
@@ -7,9 +7,18 @@ describe LLT::Stem::AdjectiveStem do
|
|
7
7
|
stem = as.new(:adjective, {nom: "communis", stem: "commun", inflection_class: 3})
|
8
8
|
stem.third_decl_with_possible_ne_abl?.should be_true
|
9
9
|
|
10
|
-
|
11
10
|
stem = as.new(:adjective, {nom: "facilis", stem: "facil", inflection_class: 3})
|
12
11
|
stem.third_decl_with_possible_ne_abl?.should be_false
|
13
12
|
end
|
14
13
|
end
|
14
|
+
|
15
|
+
describe "#o_decl_with_possible_ne_voc?" do
|
16
|
+
it "does what it should" do
|
17
|
+
stem = as.new(:adjective, {nom: "bonus", inflection_class: 1})
|
18
|
+
stem.o_decl_with_possible_ne_voc?.should be_true
|
19
|
+
|
20
|
+
stem = as.new(:adjective, {nom: "pulcher", stem: "pulchr", inflection_class: 1})
|
21
|
+
stem.o_decl_with_possible_ne_voc?.should be_false
|
22
|
+
end
|
23
|
+
end
|
15
24
|
end
|
@@ -11,4 +11,14 @@ describe LLT::Stem::NounStem do
|
|
11
11
|
stem.third_decl_with_possible_ne_abl?.should be_false
|
12
12
|
end
|
13
13
|
end
|
14
|
+
|
15
|
+
describe "#o_decl_with_possible_ne_voc?" do
|
16
|
+
it "does what it should" do
|
17
|
+
stem = ns.new(:noun, { nom: "dominus", inflection_class: 2 })
|
18
|
+
stem.o_decl_with_possible_ne_voc?.should be_true
|
19
|
+
|
20
|
+
stem = ns.new(:noun, { nom: "ager", inflection_class: 2 })
|
21
|
+
stem.o_decl_with_possible_ne_voc?.should be_false
|
22
|
+
end
|
23
|
+
end
|
14
24
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: llt-form_builder
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- LFDM
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2014-02-08 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -281,7 +281,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
281
281
|
version: '0'
|
282
282
|
requirements: []
|
283
283
|
rubyforge_project:
|
284
|
-
rubygems_version: 2.
|
284
|
+
rubygems_version: 2.2.0
|
285
285
|
signing_key:
|
286
286
|
specification_version: 4
|
287
287
|
summary: "#{spec.description}"
|