romankana 0.0.5 → 0.0.6

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.
@@ -21,7 +21,7 @@ module RomanKana
21
21
  elsif buff.length >=2 and buff[0] == 'm' and buff[1] != /[bmp]/
22
22
  ret += 'ン'
23
23
  buff.shift
24
- elsif buff.length >= 2 and buff[0] == buff[1]
24
+ elsif buff.length >= 2 and buff[0] == buff[1] and buff[0] =~ /[a-z]/
25
25
  ret += 'ッ'
26
26
  buff.shift
27
27
  elsif buff.length >= 3
data/lib/romankana.rb CHANGED
@@ -8,5 +8,5 @@ require directory+'/romankana/k2r.rb'
8
8
  require directory+'/romankana/RomanKana.rb'
9
9
 
10
10
  module RomanKana
11
- VERSION = '0.0.5'
11
+ VERSION = '0.0.6'
12
12
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: romankana
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.5
5
+ version: 0.0.6
6
6
  platform: ruby
7
7
  authors:
8
8
  - ymrl