ikku 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/ikku.rb +5 -5
- data/lib/ikku/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a70c684dd795a3e2b7f41e2e48045ad85ce25771
|
4
|
+
data.tar.gz: 18cf28254326d74bfc6b7594530bbde28b224c53
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 70e986f93c25c2b17ee3c9bfea3804491641d408bc8aeb2502a5614f4c1a43d2d994628f85df3574c124c3cd8996701794044f370206da4639d5069a600c79b3
|
7
|
+
data.tar.gz: eb527ec36dcc1570296e3026d34492c26571f4501e757f38a46181bff2165e35decbf5151ea8e4d01242504eef925bdc45f68c69814b53096e2f08e1ff319e87
|
data/CHANGELOG.md
CHANGED
data/lib/ikku.rb
CHANGED
@@ -53,6 +53,11 @@ module Ikku
|
|
53
53
|
@rule = rule
|
54
54
|
end
|
55
55
|
|
56
|
+
# @note Pronounciation count
|
57
|
+
def count
|
58
|
+
@count ||= 0
|
59
|
+
end
|
60
|
+
|
56
61
|
def scan
|
57
62
|
if has_valid_first_node? && has_valid_last_node?
|
58
63
|
@nodes.each_with_index do |node, index|
|
@@ -84,11 +89,6 @@ module Ikku
|
|
84
89
|
end
|
85
90
|
end
|
86
91
|
|
87
|
-
# @note Pronounciation count
|
88
|
-
def count
|
89
|
-
@count ||= 0
|
90
|
-
end
|
91
|
-
|
92
92
|
def first_of_phrase?
|
93
93
|
rule.inject([]) do |array, length|
|
94
94
|
array << array.last.to_i + length
|
data/lib/ikku/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ikku
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryo Nakamura
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-02-
|
11
|
+
date: 2015-02-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: natto
|