sjis_replacer 0.1.2 → 0.1.3
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.
- checksums.yaml +4 -4
- data/README.md +3 -1
- data/lib/sjis_replacer/version.rb +1 -1
- data/lib/sjis_replacer.rb +20 -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: 9e01580c1505a7258c7f40e6c915964fb3702caa
|
|
4
|
+
data.tar.gz: 88dac274678a829d5713b651130128b939644dc3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b8ff9808c3c325cd2e2ffc366e40865df325e9e37581680c7c57a7f94a9d16c0b472ce277c51f215362d69fc1f55a152448129221144523b40803b19f2536c1a
|
|
7
|
+
data.tar.gz: a433cfe326fa583fd5c438d2e16f77dc431e4c4a5fd2cf64f12a37507287516a5e22f3beac11eefee4b870ebb092f7cbe61e3bc78d91d0589b26c2270891ed0a
|
data/README.md
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
# SJISReplacer
|
|
2
2
|
[](https://travis-ci.org/kurotaky/sjis_replacer)
|
|
3
3
|
|
|
4
|
-
replace utf-8 characters to sjis safe.
|
|
4
|
+
A library for replace utf-8 characters to sjis safe.
|
|
5
|
+
This is not completed all characters.
|
|
6
|
+
Pull Request please if there is what you want. :)
|
|
5
7
|
|
|
6
8
|
## Installation
|
|
7
9
|
|
data/lib/sjis_replacer.rb
CHANGED
|
@@ -40,6 +40,8 @@ module SJISReplacer
|
|
|
40
40
|
'ⅷ' => 'viii',
|
|
41
41
|
'ⅸ' => 'ix',
|
|
42
42
|
'ⅹ' => 'x',
|
|
43
|
+
'ⅺ' => 'xi',
|
|
44
|
+
'ⅻ' => 'xii',
|
|
43
45
|
'Ⅰ' => 'I',
|
|
44
46
|
'Ⅱ' => 'II',
|
|
45
47
|
'Ⅲ' => 'III',
|
|
@@ -50,6 +52,8 @@ module SJISReplacer
|
|
|
50
52
|
'Ⅷ' => 'VIII',
|
|
51
53
|
'Ⅸ' => 'IX',
|
|
52
54
|
'Ⅹ' => 'X',
|
|
55
|
+
'Ⅺ' => 'XI',
|
|
56
|
+
'Ⅻ' => 'XII',
|
|
53
57
|
'㏍' => 'K.K.',
|
|
54
58
|
'℡' => 'TEL',
|
|
55
59
|
'№' => 'No.',
|
|
@@ -69,7 +73,22 @@ module SJISReplacer
|
|
|
69
73
|
'⒉' => '2.',
|
|
70
74
|
'⒊' => '3.',
|
|
71
75
|
'⒋' => '4.',
|
|
72
|
-
'⒌' => '5.'
|
|
76
|
+
'⒌' => '5.',
|
|
77
|
+
'⒍' => '6.',
|
|
78
|
+
'⒎' => '7.',
|
|
79
|
+
'⒏' => '8.',
|
|
80
|
+
'⒐' => '9.',
|
|
81
|
+
'⒑' => '10.',
|
|
82
|
+
'⒒' => '11.',
|
|
83
|
+
'⒓' => '12.',
|
|
84
|
+
'⒔' => '13.',
|
|
85
|
+
'⒕' => '14.',
|
|
86
|
+
'⒖' => '15.',
|
|
87
|
+
'⒗' => '16.',
|
|
88
|
+
'⒘' => '17.',
|
|
89
|
+
'⒙' => '18.',
|
|
90
|
+
'⒚' => '19.',
|
|
91
|
+
'⒛' => '20.',
|
|
73
92
|
}
|
|
74
93
|
end
|
|
75
94
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sjis_replacer
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Yuta Kurotaki
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-
|
|
11
|
+
date: 2015-11-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|