romaji 0.1.3 → 0.1.4
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/lib/romaji/constants.rb +1 -0
- data/lib/romaji/version.rb +1 -1
- data/spec/romaji_spec.rb +1 -0
- metadata +4 -4
data/lib/romaji/constants.rb
CHANGED
|
@@ -74,6 +74,7 @@ module Romaji
|
|
|
74
74
|
'ヒャ' => ['hya'], 'ヒュ' => ['hyu'], 'ヒェ' => ['hye'], 'ヒョ' => ['hyo'],
|
|
75
75
|
'ピャ' => ['pya'], 'ピュ' => ['pyu'], 'ピェ' => ['pye'], 'ピョ' => ['pyo'],
|
|
76
76
|
'ファ' => ['fa'], 'フィ' => ['fi'], 'フェ' => ['fe'], 'フォ' => ['fo'],
|
|
77
|
+
'リャ' => ['rya'], 'リュ' => ['ryu'], 'リェ' => ['rye'], 'リョ' => ['ryo'],
|
|
77
78
|
'ヴァ' => ['va'], 'ヴィ' => ['vi'], 'ヴ' => ['vu'], 'ヴェ' => ['ve'], 'ヴォ' => ['vo'],
|
|
78
79
|
'デャ' => ['dha'], 'ディ' => ['dhi'], 'デュ' => ['dhu'], 'デェ' => ['dhe'], 'デョ' => ['dho']
|
|
79
80
|
}
|
data/lib/romaji/version.rb
CHANGED
data/spec/romaji_spec.rb
CHANGED
|
@@ -29,6 +29,7 @@ describe Romaji do
|
|
|
29
29
|
Romaji.kana2romaji('ゔ').should == 'vu'
|
|
30
30
|
Romaji.kana2romaji('ウィリアム').should == 'wiriamu'
|
|
31
31
|
Romaji.kana2romaji('デューク').should == 'dhu-ku'
|
|
32
|
+
Romaji.kana2romaji('アツリョクナベ').should == 'atsuryokunabe'
|
|
32
33
|
end
|
|
33
34
|
|
|
34
35
|
shared_examples_for 'String extension' do
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: romaji
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 19
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 1
|
|
9
|
-
-
|
|
10
|
-
version: 0.1.
|
|
9
|
+
- 4
|
|
10
|
+
version: 0.1.4
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Shimpei Makimoto
|
|
@@ -15,7 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2012-
|
|
18
|
+
date: 2012-08-06 00:00:00 Z
|
|
19
19
|
dependencies:
|
|
20
20
|
- !ruby/object:Gem::Dependency
|
|
21
21
|
name: rake
|