textutils 1.2.2 → 1.2.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/lib/textutils/filter/string_filter.rb +3 -0
- data/lib/textutils/version.rb +1 -1
- data/test/test_asciify.rb +6 -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: 13b50f88222d75883a9804ba452aa3dce5f4c517
|
4
|
+
data.tar.gz: 08c6eee7b70caf74b716fd4ed3a8d1d1d0c10967
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1ce49f78d634c23a8843893eb7afea9a3b8f9aa1fc9c713f6cd22ff47dadfbf4a893ce96b0f91ecfc118e6e65624b9474a1f0e80e83a6d7053a1894a19f3fe2b
|
7
|
+
data.tar.gz: 5361f93e31737603810fd17b2816677274612632d3cae45aff9b96031e253e36ada6fa3ad084bded187bc527338570cde761fb2c3e96f52f647fad798abca263
|
@@ -118,7 +118,10 @@ module TextUtils
|
|
118
118
|
'Ṣ' => 'S', # e.g. Ṣan'ā' [Sana'a]
|
119
119
|
|
120
120
|
'Ṭ' => 'T', # e.g. Ṭarābulus [Tripoli]
|
121
|
+
|
122
|
+
'Ü' => 'Ue', # e.g. Übelbach
|
121
123
|
'Ú' => 'U', # e.g. Ústí, Újpest
|
124
|
+
|
122
125
|
'Ž' => 'Z', # e.g. Žilina
|
123
126
|
'Ż' => 'Z', # e.g. Żywiec (polish) -- Latin captial letter Z with caron
|
124
127
|
|
data/lib/textutils/version.rb
CHANGED
data/test/test_asciify.rb
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
# encoding: utf-8
|
2
2
|
|
3
|
+
###
|
4
|
+
# to run use
|
5
|
+
# ruby -I ./lib -I ./test test/test_asciify.rb
|
6
|
+
|
3
7
|
|
4
8
|
require 'helper'
|
5
9
|
|
@@ -36,7 +40,8 @@ class TestAsciify < Minitest::Test
|
|
36
40
|
[ 'Galați', 'Galati' ],
|
37
41
|
[ 'Reșița', 'Resita' ],
|
38
42
|
[ 'Chișinău', 'Chisinau' ],
|
39
|
-
[ "Pe\u{030C}awar", 'Pexawar'] ## note: use unicode literal; Pex̌awar -- see en.wikipedia.org/wiki/Peshawar
|
43
|
+
[ "Pe\u{030C}awar", 'Pexawar'], ## note: use unicode literal; Pex̌awar -- see en.wikipedia.org/wiki/Peshawar
|
44
|
+
[ 'Übelbach', 'Uebelbach' ]
|
40
45
|
]
|
41
46
|
|
42
47
|
txt_io.each do |txt|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: textutils
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gerald Bauer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-06-
|
11
|
+
date: 2015-06-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: props
|