furigana 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -7,7 +7,11 @@ module Furigana
7
7
  surface_form, reading = 0, 1
8
8
  new_text = ''
9
9
  tokens_enum = tokens.to_enum
10
- current_token = tokens_enum.next
10
+ begin
11
+ current_token = tokens_enum.next
12
+ rescue StopIteration
13
+ current_token = nil
14
+ end
11
15
  substring, pos = "", 0
12
16
 
13
17
  text.each_char do |char|
@@ -1,3 +1,3 @@
1
1
  module Furigana
2
- VERSION = '0.0.1'
2
+ VERSION = '0.0.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: furigana
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -96,9 +96,7 @@ email: michael@michaelvobrien.com
96
96
  executables:
97
97
  - furigana
98
98
  extensions: []
99
- extra_rdoc_files:
100
- - README.rdoc
101
- - furigana.rdoc
99
+ extra_rdoc_files: []
102
100
  files:
103
101
  - bin/furigana
104
102
  - lib/furigana.rb
@@ -110,16 +108,12 @@ files:
110
108
  - lib/furigana/mecab.rb
111
109
  - lib/furigana/reader.rb
112
110
  - lib/furigana/version.rb
113
- - README.rdoc
114
- - furigana.rdoc
115
111
  homepage: https://github.com/michaelvobrien/furigana
116
112
  licenses: []
117
113
  post_install_message:
118
114
  rdoc_options:
119
115
  - --title
120
116
  - furigana
121
- - --main
122
- - README.rdoc
123
117
  - -ri
124
118
  require_paths:
125
119
  - lib
data/README.rdoc DELETED
@@ -1,6 +0,0 @@
1
- = furigana
2
-
3
- Describe your project here
4
-
5
- :include:furigana.rdoc
6
-
data/furigana.rdoc DELETED
@@ -1,5 +0,0 @@
1
- = furigana
2
-
3
- Generate this with
4
- furigana rdoc
5
- After you have described your command line interface