romajinizer 0.3.0 → 0.4.0

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 CHANGED
@@ -1 +1 @@
1
- 0.3.0
1
+ 0.4.0
data/lib/romajinizer.rb CHANGED
@@ -11,14 +11,14 @@
11
11
  #
12
12
  # ---------------------------------------------------------------------------------
13
13
  # Paul Chapman (paul [a../t] longweekendmobile 2010-04-01)
14
- # Repaired script to work with modern Ruby versions (1.86+), added comments,
14
+ # Repaired script to work with modern Ruby versions (1.86+), added comments,
15
15
  # made it support gaijin friendly transliterations!
16
16
  # ---------------------------------------------------------------------------------
17
17
 
18
18
  # ---------------------------------------------------------------------------------
19
19
  # Joe Ellis (joe at squarefour.net 2011-03-09)
20
- # Added a few more edge cases ('n romaji support),
21
- # Started gemifications so it can easily be used in any project
20
+ # Added a few more edge cases ('n romaji support),
21
+ # Started gemifications so it can easily be used in any project
22
22
  # Added normalization for double nn so that こんばn will still be converted to こんばん properly
23
23
  # ---------------------------------------------------------------------------------
24
24
 
@@ -37,26 +37,32 @@
37
37
 
38
38
  module Kana2rom
39
39
 
40
+ NotKanaCharacters = [
41
+ '〜', '$', '#', '@', '!', '%', '^', '&', '*', '(', ')',
42
+ '_', 'ー', '+','=', '?', '>', '<', '、', '。', '/',
43
+ '』','『', '「', '」', '`'
44
+ ]
45
+
40
46
  HiraganaCharacters = [
41
- ' ', ' ', '々', '~', 'っ', 'ょ', 'ゃ', 'ゅ', 'あ', 'い', 'う',
42
- 'え', 'お', 'か', 'き', 'く', 'け', 'こ', 'さ', 'し', 'す', 'せ',
43
- 'そ', 'た', 'ち', 'つ', 'て', 'と', 'な', 'に', 'ぬ', 'ね', 'の',
44
- 'は', 'ひ', 'ふ', 'へ', 'ほ', 'ま', 'み', 'む', 'め', 'も', 'や',
45
- 'ゆ', 'よ', 'ら', 'り', 'る', 'れ', 'ろ', 'わ', 'ゐ', 'ゑ', 'を',
46
- 'ん', 'が', 'ぎ', 'ぐ', 'げ', 'ご', 'ざ', 'じ', 'ず', 'ぜ', 'ぞ',
47
- 'だ', 'ぢ', 'づ', 'で', 'ど', 'ば', 'び', 'ぶ', 'べ', 'ぼ', 'ぱ',
47
+ ' ', ' ', '々', 'っ', 'ょ', 'ゃ', 'ゅ', 'あ', 'い', 'う',
48
+ 'え', 'お', 'か', 'き', 'く', 'け', 'こ', 'さ', 'し', 'す', 'せ',
49
+ 'そ', 'た', 'ち', 'つ', 'て', 'と', 'な', 'に', 'ぬ', 'ね', 'の',
50
+ 'は', 'ひ', 'ふ', 'へ', 'ほ', 'ま', 'み', 'む', 'め', 'も', 'や',
51
+ 'ゆ', 'よ', 'ら', 'り', 'る', 'れ', 'ろ', 'わ', 'ゐ', 'ゑ', 'を',
52
+ 'ん', 'が', 'ぎ', 'ぐ', 'げ', 'ご', 'ざ', 'じ', 'ず', 'ぜ', 'ぞ',
53
+ 'だ', 'ぢ', 'づ', 'で', 'ど', 'ば', 'び', 'ぶ', 'べ', 'ぼ', 'ぱ',
48
54
  'ぴ', 'ぷ', 'ぺ', 'ぽ', 'ヶ'
49
55
  ]
50
56
 
51
57
  KatakanaCharacters = [
52
- 'ョ', 'ャ', 'ュ', 'ア', 'イ', 'ウ', 'エ', 'オ', 'カ', 'キ', 'ク',
53
- 'ケ', 'コ', 'サ', 'シ', 'ス', 'セ', 'ソ', 'タ', 'チ', 'ツ', 'テ',
54
- 'ト', 'ナ', 'ニ', 'ヌ', 'ネ', 'ノ', 'ハ', 'ヒ', 'フ', 'ヘ', 'ホ',
55
- 'マ', 'ミ', 'ム', 'メ', 'モ', 'ヤ', 'ユ', 'ヨ', 'ラ', 'リ', 'ル',
56
- 'レ', 'ロ', 'ワ', 'ゐ', 'ゑ', 'ヲ', 'ン', 'ガ', 'ギ', 'グ', 'ゲ',
57
- 'ゴ', 'ザ', 'ジ', 'ズ', 'ゼ', 'ゾ', 'ダ', 'ヅ', 'ヂ', 'ズ', 'デ',
58
+ 'ョ', 'ャ', 'ュ', 'ア', 'イ', 'ウ', 'エ', 'オ', 'カ', 'キ', 'ク',
59
+ 'ケ', 'コ', 'サ', 'シ', 'ス', 'セ', 'ソ', 'タ', 'チ', 'ツ', 'テ',
60
+ 'ト', 'ナ', 'ニ', 'ヌ', 'ネ', 'ノ', 'ハ', 'ヒ', 'フ', 'ヘ', 'ホ',
61
+ 'マ', 'ミ', 'ム', 'メ', 'モ', 'ヤ', 'ユ', 'ヨ', 'ラ', 'リ', 'ル',
62
+ 'レ', 'ロ', 'ワ', 'ゐ', 'ゑ', 'ヲ', 'ン', 'ガ', 'ギ', 'グ', 'ゲ',
63
+ 'ゴ', 'ザ', 'ジ', 'ズ', 'ゼ', 'ゾ', 'ダ', 'ヅ', 'ヂ', 'ズ', 'デ',
58
64
  'ド', 'バ', 'ビ', 'ブ', 'ベ', 'ボ', 'パ', 'ピ', 'プ', 'ペ', 'ポ'
59
- ]
65
+ ]
60
66
 
61
67
 
62
68
  Kana2romH={
@@ -114,23 +120,23 @@ module Kana2rom
114
120
  "xa"=>"ァ", "xi"=>"ィ", "xu"=>"ゥ", "xe"=>"ェ", "xo"=>"ォ",
115
121
  "ka"=>"カ", "ki"=>"キ", "ku"=>"ク", "ke"=>"ケ", "ko"=>"コ",
116
122
  "ca"=>"カ", "cu"=>"ク", "co"=>"コ",
117
- "ga"=>"ガ", "gi"=>"ギ", "gu"=>"グ", "ge"=>"ゲ", "go"=>"ゴ",
118
- "sa"=>"サ", "si"=>"シ", "su"=>"ス", "se"=>"セ", "so"=>"ソ",
123
+ "ga"=>"ガ", "gi"=>"ギ", "gu"=>"グ", "ge"=>"ゲ", "go"=>"ゴ",
124
+ "sa"=>"サ", "si"=>"シ", "su"=>"ス", "se"=>"セ", "so"=>"ソ",
119
125
  "za"=>"ザ", "zi"=>"ジ", "zu"=>"ズ", "ze"=>"ゼ", "zo"=>"ゾ",
120
- "ja"=>"ジャ","ji"=>"ジ", "ju"=>"ジュ","je"=>"ジェ","jo"=>"ジョ",
121
- "ta"=>"タ", "ti"=>"チ", "tsu"=>"ツ", "te"=>"テ", "to"=>"ト",
122
- "da"=>"ダ", "di"=>"ヂ", "du"=>"ヅ", "de"=>"デ", "do"=>"ド",
123
- "na"=>"ナ", "ni"=>"ニ", "nu"=>"ヌ", "ne"=>"ネ", "no"=>"ノ",
124
- "ha"=>"ハ", "hi"=>"ヒ", "hu"=>"フ", "he"=>"ヘ", "ho"=>"ホ",
125
- "ba"=>"バ", "bi"=>"ビ", "bu"=>"ブ", "be"=>"ベ", "bo"=>"ボ",
126
- "pa"=>"パ", "pi"=>"ピ", "pu"=>"プ", "pe"=>"ペ", "po"=>"ポ",
127
- "va"=>"ヴァ","vi"=>"ヴィ","vu"=>"ヴ", "ve"=>"ヴェ","vo"=>"ヴォ",
128
- "fa"=>"ファ","fi"=>"フィ","fu"=>"フ", "fe"=>"フェ","fo"=>"フォ",
129
- "ma"=>"マ", "mi"=>"ミ", "mu"=>"ム", "me"=>"メ", "mo"=>"モ",
130
- "ya"=>"ヤ", "yi"=>"イ", "yu"=>"ユ", "ye"=>"イェ", "yo"=>"ヨ",
131
- "ra"=>"ラ", "ri"=>"リ", "ru"=>"ル", "re"=>"レ", "ro"=>"ロ",
132
- "la"=>"ラ", "li"=>"リ", "lu"=>"ル", "le"=>"レ", "lo"=>"ロ",
133
- "wa"=>"ワ", "wi"=>"ヰ", "wu"=>"ウ", "we"=>"ヱ", "wo"=>"ヲ",
126
+ "ja"=>"ジャ","ji"=>"ジ", "ju"=>"ジュ","je"=>"ジェ","jo"=>"ジョ",
127
+ "ta"=>"タ", "ti"=>"チ", "tsu"=>"ツ", "te"=>"テ", "to"=>"ト",
128
+ "da"=>"ダ", "di"=>"ヂ", "du"=>"ヅ", "de"=>"デ", "do"=>"ド",
129
+ "na"=>"ナ", "ni"=>"ニ", "nu"=>"ヌ", "ne"=>"ネ", "no"=>"ノ",
130
+ "ha"=>"ハ", "hi"=>"ヒ", "hu"=>"フ", "he"=>"ヘ", "ho"=>"ホ",
131
+ "ba"=>"バ", "bi"=>"ビ", "bu"=>"ブ", "be"=>"ベ", "bo"=>"ボ",
132
+ "pa"=>"パ", "pi"=>"ピ", "pu"=>"プ", "pe"=>"ペ", "po"=>"ポ",
133
+ "va"=>"ヴァ","vi"=>"ヴィ","vu"=>"ヴ", "ve"=>"ヴェ","vo"=>"ヴォ",
134
+ "fa"=>"ファ","fi"=>"フィ","fu"=>"フ", "fe"=>"フェ","fo"=>"フォ",
135
+ "ma"=>"マ", "mi"=>"ミ", "mu"=>"ム", "me"=>"メ", "mo"=>"モ",
136
+ "ya"=>"ヤ", "yi"=>"イ", "yu"=>"ユ", "ye"=>"イェ", "yo"=>"ヨ",
137
+ "ra"=>"ラ", "ri"=>"リ", "ru"=>"ル", "re"=>"レ", "ro"=>"ロ",
138
+ "la"=>"ラ", "li"=>"リ", "lu"=>"ル", "le"=>"レ", "lo"=>"ロ",
139
+ "wa"=>"ワ", "wi"=>"ヰ", "wu"=>"ウ", "we"=>"ヱ", "wo"=>"ヲ",
134
140
  "nn"=>"ン"
135
141
  }
136
142
 
@@ -139,23 +145,23 @@ module Kana2rom
139
145
  "tsu"=>"ツ",
140
146
  "xka"=>"ヵ", "xke"=>"ヶ",
141
147
  "xwa"=>"ヮ", "xtsu"=>"ッ", "xya"=>"ャ", "xyu"=>"ュ", "xyo"=>"ョ",
142
- "kya"=>"キャ", "kyi"=>"キィ", "kyu"=>"キュ", "kye"=>"キェ", "kyo"=>"キョ",
143
- "gya"=>"ギャ", "gyi"=>"ギィ", "gyu"=>"ギュ", "gye"=>"ギェ", "gyo"=>"ギョ",
144
- "sya"=>"シャ", "syi"=>"シィ", "syu"=>"シュ", "sye"=>"シェ", "syo"=>"ショ",
145
- "sha"=>"シャ", "shi"=>"シ", "shu"=>"シュ", "she"=>"シェ", "sho"=>"ショ",
146
- "zya"=>"ジャ", "zyi"=>"ジィ", "zyu"=>"ジュ", "zye"=>"ジェ", "zyo"=>"ジョ",
148
+ "kya"=>"キャ", "kyi"=>"キィ", "kyu"=>"キュ", "kye"=>"キェ", "kyo"=>"キョ",
149
+ "gya"=>"ギャ", "gyi"=>"ギィ", "gyu"=>"ギュ", "gye"=>"ギェ", "gyo"=>"ギョ",
150
+ "sya"=>"シャ", "syi"=>"シィ", "syu"=>"シュ", "sye"=>"シェ", "syo"=>"ショ",
151
+ "sha"=>"シャ", "shi"=>"シ", "shu"=>"シュ", "she"=>"シェ", "sho"=>"ショ",
152
+ "zya"=>"ジャ", "zyi"=>"ジィ", "zyu"=>"ジュ", "zye"=>"ジェ", "zyo"=>"ジョ",
147
153
  "jya"=>"ジャ", "jyi"=>"ジィ", "jyu"=>"ジュ", "jye"=>"ジェ", "jyo"=>"ジョ",
148
- "tya"=>"チャ", "tyi"=>"チィ", "tyu"=>"チュ", "tye"=>"チェ", "tyo"=>"チョ",
149
- "cya"=>"チャ", "cyi"=>"チィ", "cyu"=>"チュ", "cye"=>"チェ", "cyo"=>"チョ",
150
- "cha"=>"チャ", "chi"=>"チ", "chu"=>"チュ", "che"=>"チェ", "cho"=>"チョ",
151
- "tha"=>"テャ", "thi"=>"ティ", "thu"=>"テュ", "the"=>"テェ", "tho"=>"テョ",
152
- "dya"=>"ヂャ", "dyi"=>"ヂィ", "dyu"=>"ヂュ", "dye"=>"ヂェ", "dyo"=>"ヂョ",
153
- "dha"=>"デャ", "dhi"=>"ディ", "dhu"=>"デュ", "dhe"=>"デェ", "dho"=>"デョ",
154
+ "tya"=>"チャ", "tyi"=>"チィ", "tyu"=>"チュ", "tye"=>"チェ", "tyo"=>"チョ",
155
+ "cya"=>"チャ", "cyi"=>"チィ", "cyu"=>"チュ", "cye"=>"チェ", "cyo"=>"チョ",
156
+ "cha"=>"チャ", "chi"=>"チ", "chu"=>"チュ", "che"=>"チェ", "cho"=>"チョ",
157
+ "tha"=>"テャ", "thi"=>"ティ", "thu"=>"テュ", "the"=>"テェ", "tho"=>"テョ",
158
+ "dya"=>"ヂャ", "dyi"=>"ヂィ", "dyu"=>"ヂュ", "dye"=>"ヂェ", "dyo"=>"ヂョ",
159
+ "dha"=>"デャ", "dhi"=>"ディ", "dhu"=>"デュ", "dhe"=>"デェ", "dho"=>"デョ",
154
160
  "nya"=>"ニャ", "nyi"=>"ニィ", "nyu"=>"ニュ", "nye"=>"ニェ", "nyo"=>"ニョ",
155
- "hya"=>"ヒャ", "hyi"=>"ヒィ", "hyu"=>"ヒュ", "hye"=>"ヒェ", "hyo"=>"ヒョ",
156
- "bya"=>"ビャ", "byi"=>"ビィ", "byu"=>"ビュ", "bye"=>"ビェ", "byo"=>"ビョ",
157
- "pya"=>"ピャ", "pyi"=>"ピィ", "pyu"=>"ピュ", "pye"=>"ピェ", "pyo"=>"ピョ",
158
- "mya"=>"ミャ", "myi"=>"ミィ", "myu"=>"ミュ", "mye"=>"ミェ", "myo"=>"ミョ",
161
+ "hya"=>"ヒャ", "hyi"=>"ヒィ", "hyu"=>"ヒュ", "hye"=>"ヒェ", "hyo"=>"ヒョ",
162
+ "bya"=>"ビャ", "byi"=>"ビィ", "byu"=>"ビュ", "bye"=>"ビェ", "byo"=>"ビョ",
163
+ "pya"=>"ピャ", "pyi"=>"ピィ", "pyu"=>"ピュ", "pye"=>"ピェ", "pyo"=>"ピョ",
164
+ "mya"=>"ミャ", "myi"=>"ミィ", "myu"=>"ミュ", "mye"=>"ミェ", "myo"=>"ミョ",
159
165
  "rya"=>"リャ", "ryi"=>"リィ", "ryu"=>"リュ", "rye"=>"リェ", "ryo"=>"リョ",
160
166
  "lya"=>"リャ", "lyi"=>"リィ", "lyu"=>"リュ", "lye"=>"リェ", "lyo"=>"リョ"
161
167
  }
@@ -188,7 +194,7 @@ module Kana2rom
188
194
  self.each_char do |c|
189
195
  if (Kana2romH.key?(c))
190
196
  s += Kana2romH[c]
191
- else
197
+ else
192
198
  s += c
193
199
  end
194
200
  end
@@ -241,7 +247,7 @@ module Kana2rom
241
247
 
242
248
  def rom2kata
243
249
  ## THIS LINE DOES NOT WORK IN RECENT RUBY VERSIONS!!! r=""; w=[]; chars=str.split(//e)
244
- result=""
250
+ result=""
245
251
  word_buffer=[]
246
252
  chars=self.each_char.collect{|c| c}
247
253
  loop do
@@ -249,7 +255,7 @@ module Kana2rom
249
255
  ##### When 0 characters in the buffer
250
256
  when 0 then
251
257
  if chars.size > 0
252
- word_buffer.push(chars.shift)
258
+ word_buffer.push(chars.shift)
253
259
  else
254
260
  return result
255
261
  end
@@ -261,14 +267,14 @@ module Kana2rom
261
267
  elsif word_buffer[0] =~ /[xkcgszjtdnhbpvfmyrlw']/
262
268
  if chars.size > 0
263
269
  word_buffer.push(chars.shift)
264
- else
265
- return result + (word_buffer[0].gsub(/n/,"ン"))
270
+ else
271
+ return result + (word_buffer[0].gsub(/n/,"ン"))
266
272
  end
267
- else
273
+ else
268
274
  result += word_buffer.shift
269
275
  end
270
276
  ##### Patterns with 2 roman characters
271
- when 2 then
277
+ when 2 then
272
278
  if Rom2KataH2.key?(word_buffer.join)
273
279
  result += Rom2KataH2[word_buffer.join]
274
280
  word_buffer = []
@@ -276,30 +282,30 @@ module Kana2rom
276
282
  if chars.size > 0
277
283
  # Consume next letter from source array
278
284
  word_buffer.push(chars.shift)
279
- else
285
+ else
280
286
  return result + (word_buffer.join.gsub(/n/,"ン"))
281
287
  end
282
288
  elsif word_buffer.join == "n'"
283
289
  result += "ン"
284
290
  word_buffer.shift(2) # n'--> ン
285
- elsif word_buffer[0] == "n"
291
+ elsif word_buffer[0] == "n"
286
292
  result += "ン"
287
293
  word_buffer.shift # nk-->ンk
288
294
  elsif word_buffer[0] == word_buffer[1]
289
295
  result += "ッ"
290
296
  word_buffer.shift # kk-->ッk
291
- else
297
+ else
292
298
  result += word_buffer.shift;
293
299
  end
294
300
  ##### Patterns with 3 roman characters
295
301
  when 3 then
296
302
  if Rom2KataH3.key?(word_buffer.join)
297
- result += Rom2KataH3[word_buffer.join]
303
+ result += Rom2KataH3[word_buffer.join]
298
304
  word_buffer=[]
299
- elsif word_buffer[0] == "n"
305
+ elsif word_buffer[0] == "n"
300
306
  result += "ン"
301
307
  word_buffer.shift
302
- else
308
+ else
303
309
  result += word_buffer.shift
304
310
  end
305
311
  end
@@ -349,7 +355,7 @@ module Kana2rom
349
355
  end
350
356
 
351
357
  def is_kanji?
352
- if HiraganaCharacters.include?(self) == FALSE && KatakanaCharacters.include?(self) == FALSE
358
+ if HiraganaCharacters.include?(self) == FALSE && KatakanaCharacters.include?(self) == FALSE && NotKanaCharacters.include?(self) == FALSE
353
359
  return true
354
360
  end
355
361
  return false
data/romajinizer.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{romajinizer}
8
- s.version = "0.3.0"
8
+ s.version = "0.4.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Joe Ellis"]
12
- s.date = %q{2011-08-02}
12
+ s.date = %q{2011-08-27}
13
13
  s.description = %q{A gem for converting between hiragana, katakana, and romaji}
14
14
  s.email = %q{joe@squarefour.net}
15
15
  s.extra_rdoc_files = [
@@ -10,37 +10,40 @@ describe "Romajinizer" do
10
10
  "konnnichi".to_hiragana.should == "こんにち"
11
11
  "kaetta".to_hiragana.should == "かえった"
12
12
  end
13
-
13
+
14
14
  it "should convert romaji to katakana properly" do
15
15
  "tsukue".to_katakana.should == "ツクエ"
16
16
  end
17
-
17
+
18
18
  it "should convert kana to romaji properly" do
19
19
  "つくえ".to_romaji.should == "tsukue"
20
20
  "きんようび".to_romaji.should == "kinyoubi"
21
21
  "こんや".to_romaji.should == "konya"
22
22
  "こんにち".to_romaji.should == "konnichi"
23
23
  end
24
-
24
+
25
25
  it "should convert kana to kana" do
26
26
  "こんばn".to_hiragana.should == "こんばん"
27
27
  end
28
-
28
+
29
29
  it "should be able to tell if a word contains anything else but kana" do
30
30
  "行きます".is_only_kana?.should == false
31
31
  "いきます".is_only_kana?.should == true
32
32
  end
33
-
33
+
34
34
  it "should be able to tell if a word contains kana" do
35
35
  "行きます".contains_kana?.should == true
36
36
  "abcdefg".contains_kana?.should == false
37
37
  end
38
-
38
+
39
39
  it "should be able to tell if a character is a kana character" do
40
40
  "す".is_kana?.should == true
41
41
  end
42
-
42
+
43
43
  it "should be able to tell if a character is a kanji character" do
44
44
  "行".is_kanji?.should == true
45
+ "あ".is_kanji?.should == false
46
+ "ア".is_kanji?.should == false
47
+ "〜".is_kanji?.should == false
45
48
  end
46
49
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: romajinizer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,12 +9,12 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-08-02 00:00:00.000000000 -05:00
12
+ date: 2011-08-27 00:00:00.000000000 -05:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rspec
17
- requirement: &2151951500 !ruby/object:Gem::Requirement
17
+ requirement: &2151944700 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ~>
@@ -22,10 +22,10 @@ dependencies:
22
22
  version: 2.3.0
23
23
  type: :development
24
24
  prerelease: false
25
- version_requirements: *2151951500
25
+ version_requirements: *2151944700
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: bundler
28
- requirement: &2151944080 !ruby/object:Gem::Requirement
28
+ requirement: &2151943560 !ruby/object:Gem::Requirement
29
29
  none: false
30
30
  requirements:
31
31
  - - ~>
@@ -33,10 +33,10 @@ dependencies:
33
33
  version: 1.0.0
34
34
  type: :development
35
35
  prerelease: false
36
- version_requirements: *2151944080
36
+ version_requirements: *2151943560
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: jeweler
39
- requirement: &2151942340 !ruby/object:Gem::Requirement
39
+ requirement: &2151941520 !ruby/object:Gem::Requirement
40
40
  none: false
41
41
  requirements:
42
42
  - - ~>
@@ -44,10 +44,10 @@ dependencies:
44
44
  version: 1.5.2
45
45
  type: :development
46
46
  prerelease: false
47
- version_requirements: *2151942340
47
+ version_requirements: *2151941520
48
48
  - !ruby/object:Gem::Dependency
49
49
  name: rcov
50
- requirement: &2151940400 !ruby/object:Gem::Requirement
50
+ requirement: &2151939860 !ruby/object:Gem::Requirement
51
51
  none: false
52
52
  requirements:
53
53
  - - ! '>='
@@ -55,7 +55,7 @@ dependencies:
55
55
  version: '0'
56
56
  type: :development
57
57
  prerelease: false
58
- version_requirements: *2151940400
58
+ version_requirements: *2151939860
59
59
  description: A gem for converting between hiragana, katakana, and romaji
60
60
  email: joe@squarefour.net
61
61
  executables: []
@@ -92,7 +92,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
92
92
  version: '0'
93
93
  segments:
94
94
  - 0
95
- hash: 2257584944289177950
95
+ hash: 5751671161385752
96
96
  required_rubygems_version: !ruby/object:Gem::Requirement
97
97
  none: false
98
98
  requirements: