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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: df97568962048f9ec2db3d642b5bd3004e259f76
4
- data.tar.gz: 5b59b8cf9cbf492bfde0bc2634e8f9b068f795a8
3
+ metadata.gz: 13b50f88222d75883a9804ba452aa3dce5f4c517
4
+ data.tar.gz: 08c6eee7b70caf74b716fd4ed3a8d1d1d0c10967
5
5
  SHA512:
6
- metadata.gz: 122a3bb4a655427b8effb7290b4ae9fccdb003e3bb018907f46b38e7eadf29f137a92958b5ac494e2d911c02768c8a083a28e8303ea6e9b13452bc44006f9922
7
- data.tar.gz: 031272b63c4e29aa26066c2967f9df341bec2a15a5f04148d398b7a67b055c4dfa0c8c54c71405901e4379fa9a133edea0955a56eadf165a4bea613086368673
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
 
@@ -4,7 +4,7 @@ module TextUtils
4
4
 
5
5
  MAJOR = 1 ## todo: namespace inside version or something - why? why not??
6
6
  MINOR = 2
7
- PATCH = 2
7
+ PATCH = 3
8
8
  VERSION = [MAJOR,MINOR,PATCH].join('.')
9
9
 
10
10
  def self.version
@@ -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.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-04 00:00:00.000000000 Z
11
+ date: 2015-06-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: props