stringex 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/MIT-LICENSE +20 -0
- data/README.rdoc +76 -0
- data/Rakefile +250 -0
- data/init.rb +1 -0
- data/lib/lucky_sneaks/acts_as_url.rb +88 -0
- data/lib/lucky_sneaks/string_extensions.rb +177 -0
- data/lib/lucky_sneaks/unidecoder.rb +61 -0
- data/lib/lucky_sneaks/unidecoder_data/x00.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/x01.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/x02.yml +256 -0
- data/lib/lucky_sneaks/unidecoder_data/x03.yml +256 -0
- data/lib/lucky_sneaks/unidecoder_data/x04.yml +256 -0
- data/lib/lucky_sneaks/unidecoder_data/x05.yml +256 -0
- data/lib/lucky_sneaks/unidecoder_data/x06.yml +256 -0
- data/lib/lucky_sneaks/unidecoder_data/x07.yml +256 -0
- data/lib/lucky_sneaks/unidecoder_data/x09.yml +256 -0
- data/lib/lucky_sneaks/unidecoder_data/x0a.yml +256 -0
- data/lib/lucky_sneaks/unidecoder_data/x0b.yml +256 -0
- data/lib/lucky_sneaks/unidecoder_data/x0c.yml +256 -0
- data/lib/lucky_sneaks/unidecoder_data/x0d.yml +256 -0
- data/lib/lucky_sneaks/unidecoder_data/x0e.yml +256 -0
- data/lib/lucky_sneaks/unidecoder_data/x0f.yml +256 -0
- data/lib/lucky_sneaks/unidecoder_data/x10.yml +256 -0
- data/lib/lucky_sneaks/unidecoder_data/x11.yml +256 -0
- data/lib/lucky_sneaks/unidecoder_data/x12.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/x13.yml +256 -0
- data/lib/lucky_sneaks/unidecoder_data/x14.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/x15.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/x16.yml +256 -0
- data/lib/lucky_sneaks/unidecoder_data/x17.yml +256 -0
- data/lib/lucky_sneaks/unidecoder_data/x18.yml +256 -0
- data/lib/lucky_sneaks/unidecoder_data/x1e.yml +256 -0
- data/lib/lucky_sneaks/unidecoder_data/x1f.yml +256 -0
- data/lib/lucky_sneaks/unidecoder_data/x20.yml +256 -0
- data/lib/lucky_sneaks/unidecoder_data/x21.yml +256 -0
- data/lib/lucky_sneaks/unidecoder_data/x22.yml +256 -0
- data/lib/lucky_sneaks/unidecoder_data/x23.yml +256 -0
- data/lib/lucky_sneaks/unidecoder_data/x24.yml +256 -0
- data/lib/lucky_sneaks/unidecoder_data/x25.yml +256 -0
- data/lib/lucky_sneaks/unidecoder_data/x26.yml +256 -0
- data/lib/lucky_sneaks/unidecoder_data/x27.yml +256 -0
- data/lib/lucky_sneaks/unidecoder_data/x28.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/x2e.yml +256 -0
- data/lib/lucky_sneaks/unidecoder_data/x2f.yml +256 -0
- data/lib/lucky_sneaks/unidecoder_data/x30.yml +256 -0
- data/lib/lucky_sneaks/unidecoder_data/x31.yml +256 -0
- data/lib/lucky_sneaks/unidecoder_data/x32.yml +256 -0
- data/lib/lucky_sneaks/unidecoder_data/x33.yml +256 -0
- data/lib/lucky_sneaks/unidecoder_data/x4d.yml +256 -0
- data/lib/lucky_sneaks/unidecoder_data/x4e.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/x4f.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/x50.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/x51.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/x52.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/x53.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/x54.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/x55.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/x56.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/x57.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/x58.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/x59.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/x5a.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/x5b.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/x5c.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/x5d.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/x5e.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/x5f.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/x60.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/x61.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/x62.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/x63.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/x64.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/x65.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/x66.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/x67.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/x68.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/x69.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/x6a.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/x6b.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/x6c.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/x6d.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/x6e.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/x6f.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/x70.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/x71.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/x72.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/x73.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/x74.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/x75.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/x76.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/x77.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/x78.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/x79.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/x7a.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/x7b.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/x7c.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/x7d.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/x7e.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/x7f.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/x80.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/x81.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/x82.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/x83.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/x84.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/x85.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/x86.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/x87.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/x88.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/x89.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/x8a.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/x8b.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/x8c.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/x8d.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/x8e.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/x8f.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/x90.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/x91.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/x92.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/x93.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/x94.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/x95.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/x96.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/x97.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/x98.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/x99.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/x9a.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/x9b.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/x9c.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/x9d.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/x9e.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/x9f.yml +256 -0
- data/lib/lucky_sneaks/unidecoder_data/xa0.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/xa1.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/xa2.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/xa3.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/xa4.yml +256 -0
- data/lib/lucky_sneaks/unidecoder_data/xac.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/xad.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/xae.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/xaf.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/xb0.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/xb1.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/xb2.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/xb3.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/xb4.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/xb5.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/xb6.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/xb7.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/xb8.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/xb9.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/xba.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/xbb.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/xbc.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/xbd.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/xbe.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/xbf.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/xc0.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/xc1.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/xc2.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/xc3.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/xc4.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/xc5.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/xc6.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/xc7.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/xc8.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/xc9.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/xca.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/xcb.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/xcc.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/xcd.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/xce.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/xcf.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/xd0.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/xd1.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/xd2.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/xd3.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/xd4.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/xd5.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/xd6.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/xd7.yml +256 -0
- data/lib/lucky_sneaks/unidecoder_data/xf9.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/xfa.yml +256 -0
- data/lib/lucky_sneaks/unidecoder_data/xfb.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/xfc.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/xfd.yml +256 -0
- data/lib/lucky_sneaks/unidecoder_data/xfe.yml +257 -0
- data/lib/lucky_sneaks/unidecoder_data/xff.yml +257 -0
- data/lib/stringex.rb +9 -0
- data/stringex.gemspec +229 -0
- data/test/acts_as_url_test.rb +183 -0
- data/test/string_extensions_test.rb +142 -0
- data/test/unidecoder_test.rb +90 -0
- metadata +250 -0
@@ -0,0 +1,90 @@
|
|
1
|
+
require "test/unit"
|
2
|
+
|
3
|
+
$: << File.join(File.dirname(__FILE__), '../lib')
|
4
|
+
require File.join(File.dirname(__FILE__), "../init")
|
5
|
+
|
6
|
+
class UnidecoderTest < Test::Unit::TestCase
|
7
|
+
# Silly phrases courtesy of Frank da Cruz
|
8
|
+
# http://www.columbia.edu/kermit/utf8.html
|
9
|
+
DONT_CONVERT = [
|
10
|
+
"Vitrum edere possum; mihi non nocet.", # Latin
|
11
|
+
"Je puis mangier del voirre. Ne me nuit.", # Old French
|
12
|
+
"Kristala jan dezaket, ez dit minik ematen.", # Basque
|
13
|
+
"Kaya kong kumain nang bubog at hindi ako masaktan.", # Tagalog
|
14
|
+
"Ich kann Glas essen, ohne mir weh zu tun.", # German
|
15
|
+
"I can eat glass and it doesn't hurt me.", # English
|
16
|
+
]
|
17
|
+
CONVERT_PAIRS = {
|
18
|
+
"Je peux manger du verre, ça ne me fait pas de mal." => # French
|
19
|
+
"Je peux manger du verre, ca ne me fait pas de mal.",
|
20
|
+
"Pot să mănânc sticlă și ea nu mă rănește." => # Romanian
|
21
|
+
"Pot sa mananc sticla si ea nu ma raneste.",
|
22
|
+
"Ég get etið gler án þess að meiða mig." => # Icelandic
|
23
|
+
"Eg get etid gler an thess ad meida mig.",
|
24
|
+
"Unë mund të ha qelq dhe nuk më gjen gjë." => # Albanian
|
25
|
+
"Une mund te ha qelq dhe nuk me gjen gje.",
|
26
|
+
"Mogę jeść szkło i mi nie szkodzi." => # Polish
|
27
|
+
"Moge jesc szklo i mi nie szkodzi.",
|
28
|
+
"Я могу есть стекло, оно мне не вредит." => # Russian
|
29
|
+
"Ia moghu iest' stieklo, ono mnie nie vriedit.",
|
30
|
+
"Мога да ям стъкло, то не ми вреди." => # Bulgarian
|
31
|
+
"Mogha da iam stklo, to nie mi vriedi.",
|
32
|
+
"ᛁᚳ᛫ᛗᚨᚷ᛫ᚷᛚᚨᛋ᛫ᛖᚩᛏᚪᚾ᛫ᚩᚾᛞ᛫ᚻᛁᛏ᛫ᚾᛖ᛫ᚻᛖᚪᚱᛗᛁᚪᚧ᛫ᛗᛖ᛬" => # Anglo-Saxon
|
33
|
+
"ic.mag.glas.eotacn.ond.hit.ne.heacrmiacth.me:",
|
34
|
+
"ὕαλον ϕαγεῖν δύναμαι· τοῦτο οὔ με βλάπτει" => # Classical Greek
|
35
|
+
"ualon phagein dunamai; touto ou me blaptei",
|
36
|
+
"मैं काँच खा सकता हूँ और मुझे उससे कोई चोट नहीं पहुंचती" => # Hindi
|
37
|
+
"maiN kaaNc khaa sktaa huuN aur mujhe usse koii cott nhiiN phuNctii",
|
38
|
+
"من می توانم بدونِ احساس درد شيشه بخورم" => # Persian
|
39
|
+
"mn my twnm bdwni Hss drd shyshh bkhwrm",
|
40
|
+
"أنا قادر على أكل الزجاج و هذا لا يؤلمن" => # Arabic
|
41
|
+
"'n qdr `l~ 'kl lzjj w hdh l yw'lmn",
|
42
|
+
"אני יכול לאכול זכוכית וזה לא מזיק לי" => # Hebrew
|
43
|
+
"ny ykvl lkvl zkvkyt vzh l mzyq ly",
|
44
|
+
"ฉันกินกระจกได้ แต่มันไม่ทำให้ฉันเจ็บ" => # Thai
|
45
|
+
"chankinkracchkaid aetmanaimthamaihchanecchb",
|
46
|
+
"我能吞下玻璃而不伤身体。" => # Chinese
|
47
|
+
"Wo Neng Tun Xia Bo Li Er Bu Shang Shen Ti . ",
|
48
|
+
"私はガラスを食べられます。それは私を傷つけません。" => # Japanese
|
49
|
+
"Si hagarasuwoShi beraremasu. sorehaSi woShang tukemasen. "
|
50
|
+
}
|
51
|
+
|
52
|
+
def test_unidecoder_decode
|
53
|
+
DONT_CONVERT.each do |ascii|
|
54
|
+
assert_equal ascii, LuckySneaks::Unidecoder.decode(ascii)
|
55
|
+
end
|
56
|
+
CONVERT_PAIRS.each do |unicode, ascii|
|
57
|
+
assert_equal ascii, LuckySneaks::Unidecoder.decode(unicode)
|
58
|
+
end
|
59
|
+
end
|
60
|
+
|
61
|
+
def test_to_ascii
|
62
|
+
DONT_CONVERT.each do |ascii|
|
63
|
+
assert_equal ascii, ascii.to_ascii
|
64
|
+
end
|
65
|
+
CONVERT_PAIRS.each do |unicode, ascii|
|
66
|
+
assert_equal ascii, unicode.to_ascii
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
def test_unidecoder_encode
|
71
|
+
{
|
72
|
+
# Strings
|
73
|
+
"0041" => "A",
|
74
|
+
"00e6" => "æ",
|
75
|
+
"042f" => "Я"
|
76
|
+
}.each do |codepoint, unicode|
|
77
|
+
assert_equal unicode, LuckySneaks::Unidecoder.encode(codepoint)
|
78
|
+
end
|
79
|
+
end
|
80
|
+
|
81
|
+
def test_unidecoder_in_yaml_file
|
82
|
+
{
|
83
|
+
"A" => "x00.yml (line 67)",
|
84
|
+
"π" => "x03.yml (line 194)",
|
85
|
+
"Я" => "x04.yml (line 49)"
|
86
|
+
}.each do |character, output|
|
87
|
+
assert_equal output, LuckySneaks::Unidecoder.in_yaml_file(character)
|
88
|
+
end
|
89
|
+
end
|
90
|
+
end
|
metadata
ADDED
@@ -0,0 +1,250 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: stringex
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Russell Norris
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
|
12
|
+
date: 2009-07-20 00:00:00 -04:00
|
13
|
+
default_executable:
|
14
|
+
dependencies: []
|
15
|
+
|
16
|
+
description: "Some [hopefully] useful extensions to Ruby\xE2\x80\x99s String class. Stringex is made up of three libraries: ActsAsUrl [permalink solution with better character translation], Unidecoder [Unicode to Ascii transliteration], and StringExtensions [miscellaneous helper methods for the String class]."
|
17
|
+
email: rsl@luckysneaks.com
|
18
|
+
executables: []
|
19
|
+
|
20
|
+
extensions: []
|
21
|
+
|
22
|
+
extra_rdoc_files:
|
23
|
+
- MIT-LICENSE
|
24
|
+
- README.rdoc
|
25
|
+
files:
|
26
|
+
- MIT-LICENSE
|
27
|
+
- README.rdoc
|
28
|
+
- Rakefile
|
29
|
+
- init.rb
|
30
|
+
- lib/lucky_sneaks/acts_as_url.rb
|
31
|
+
- lib/lucky_sneaks/string_extensions.rb
|
32
|
+
- lib/lucky_sneaks/unidecoder.rb
|
33
|
+
- lib/lucky_sneaks/unidecoder_data/x00.yml
|
34
|
+
- lib/lucky_sneaks/unidecoder_data/x01.yml
|
35
|
+
- lib/lucky_sneaks/unidecoder_data/x02.yml
|
36
|
+
- lib/lucky_sneaks/unidecoder_data/x03.yml
|
37
|
+
- lib/lucky_sneaks/unidecoder_data/x04.yml
|
38
|
+
- lib/lucky_sneaks/unidecoder_data/x05.yml
|
39
|
+
- lib/lucky_sneaks/unidecoder_data/x06.yml
|
40
|
+
- lib/lucky_sneaks/unidecoder_data/x07.yml
|
41
|
+
- lib/lucky_sneaks/unidecoder_data/x09.yml
|
42
|
+
- lib/lucky_sneaks/unidecoder_data/x0a.yml
|
43
|
+
- lib/lucky_sneaks/unidecoder_data/x0b.yml
|
44
|
+
- lib/lucky_sneaks/unidecoder_data/x0c.yml
|
45
|
+
- lib/lucky_sneaks/unidecoder_data/x0d.yml
|
46
|
+
- lib/lucky_sneaks/unidecoder_data/x0e.yml
|
47
|
+
- lib/lucky_sneaks/unidecoder_data/x0f.yml
|
48
|
+
- lib/lucky_sneaks/unidecoder_data/x10.yml
|
49
|
+
- lib/lucky_sneaks/unidecoder_data/x11.yml
|
50
|
+
- lib/lucky_sneaks/unidecoder_data/x12.yml
|
51
|
+
- lib/lucky_sneaks/unidecoder_data/x13.yml
|
52
|
+
- lib/lucky_sneaks/unidecoder_data/x14.yml
|
53
|
+
- lib/lucky_sneaks/unidecoder_data/x15.yml
|
54
|
+
- lib/lucky_sneaks/unidecoder_data/x16.yml
|
55
|
+
- lib/lucky_sneaks/unidecoder_data/x17.yml
|
56
|
+
- lib/lucky_sneaks/unidecoder_data/x18.yml
|
57
|
+
- lib/lucky_sneaks/unidecoder_data/x1e.yml
|
58
|
+
- lib/lucky_sneaks/unidecoder_data/x1f.yml
|
59
|
+
- lib/lucky_sneaks/unidecoder_data/x20.yml
|
60
|
+
- lib/lucky_sneaks/unidecoder_data/x21.yml
|
61
|
+
- lib/lucky_sneaks/unidecoder_data/x22.yml
|
62
|
+
- lib/lucky_sneaks/unidecoder_data/x23.yml
|
63
|
+
- lib/lucky_sneaks/unidecoder_data/x24.yml
|
64
|
+
- lib/lucky_sneaks/unidecoder_data/x25.yml
|
65
|
+
- lib/lucky_sneaks/unidecoder_data/x26.yml
|
66
|
+
- lib/lucky_sneaks/unidecoder_data/x27.yml
|
67
|
+
- lib/lucky_sneaks/unidecoder_data/x28.yml
|
68
|
+
- lib/lucky_sneaks/unidecoder_data/x2e.yml
|
69
|
+
- lib/lucky_sneaks/unidecoder_data/x2f.yml
|
70
|
+
- lib/lucky_sneaks/unidecoder_data/x30.yml
|
71
|
+
- lib/lucky_sneaks/unidecoder_data/x31.yml
|
72
|
+
- lib/lucky_sneaks/unidecoder_data/x32.yml
|
73
|
+
- lib/lucky_sneaks/unidecoder_data/x33.yml
|
74
|
+
- lib/lucky_sneaks/unidecoder_data/x4d.yml
|
75
|
+
- lib/lucky_sneaks/unidecoder_data/x4e.yml
|
76
|
+
- lib/lucky_sneaks/unidecoder_data/x4f.yml
|
77
|
+
- lib/lucky_sneaks/unidecoder_data/x50.yml
|
78
|
+
- lib/lucky_sneaks/unidecoder_data/x51.yml
|
79
|
+
- lib/lucky_sneaks/unidecoder_data/x52.yml
|
80
|
+
- lib/lucky_sneaks/unidecoder_data/x53.yml
|
81
|
+
- lib/lucky_sneaks/unidecoder_data/x54.yml
|
82
|
+
- lib/lucky_sneaks/unidecoder_data/x55.yml
|
83
|
+
- lib/lucky_sneaks/unidecoder_data/x56.yml
|
84
|
+
- lib/lucky_sneaks/unidecoder_data/x57.yml
|
85
|
+
- lib/lucky_sneaks/unidecoder_data/x58.yml
|
86
|
+
- lib/lucky_sneaks/unidecoder_data/x59.yml
|
87
|
+
- lib/lucky_sneaks/unidecoder_data/x5a.yml
|
88
|
+
- lib/lucky_sneaks/unidecoder_data/x5b.yml
|
89
|
+
- lib/lucky_sneaks/unidecoder_data/x5c.yml
|
90
|
+
- lib/lucky_sneaks/unidecoder_data/x5d.yml
|
91
|
+
- lib/lucky_sneaks/unidecoder_data/x5e.yml
|
92
|
+
- lib/lucky_sneaks/unidecoder_data/x5f.yml
|
93
|
+
- lib/lucky_sneaks/unidecoder_data/x60.yml
|
94
|
+
- lib/lucky_sneaks/unidecoder_data/x61.yml
|
95
|
+
- lib/lucky_sneaks/unidecoder_data/x62.yml
|
96
|
+
- lib/lucky_sneaks/unidecoder_data/x63.yml
|
97
|
+
- lib/lucky_sneaks/unidecoder_data/x64.yml
|
98
|
+
- lib/lucky_sneaks/unidecoder_data/x65.yml
|
99
|
+
- lib/lucky_sneaks/unidecoder_data/x66.yml
|
100
|
+
- lib/lucky_sneaks/unidecoder_data/x67.yml
|
101
|
+
- lib/lucky_sneaks/unidecoder_data/x68.yml
|
102
|
+
- lib/lucky_sneaks/unidecoder_data/x69.yml
|
103
|
+
- lib/lucky_sneaks/unidecoder_data/x6a.yml
|
104
|
+
- lib/lucky_sneaks/unidecoder_data/x6b.yml
|
105
|
+
- lib/lucky_sneaks/unidecoder_data/x6c.yml
|
106
|
+
- lib/lucky_sneaks/unidecoder_data/x6d.yml
|
107
|
+
- lib/lucky_sneaks/unidecoder_data/x6e.yml
|
108
|
+
- lib/lucky_sneaks/unidecoder_data/x6f.yml
|
109
|
+
- lib/lucky_sneaks/unidecoder_data/x70.yml
|
110
|
+
- lib/lucky_sneaks/unidecoder_data/x71.yml
|
111
|
+
- lib/lucky_sneaks/unidecoder_data/x72.yml
|
112
|
+
- lib/lucky_sneaks/unidecoder_data/x73.yml
|
113
|
+
- lib/lucky_sneaks/unidecoder_data/x74.yml
|
114
|
+
- lib/lucky_sneaks/unidecoder_data/x75.yml
|
115
|
+
- lib/lucky_sneaks/unidecoder_data/x76.yml
|
116
|
+
- lib/lucky_sneaks/unidecoder_data/x77.yml
|
117
|
+
- lib/lucky_sneaks/unidecoder_data/x78.yml
|
118
|
+
- lib/lucky_sneaks/unidecoder_data/x79.yml
|
119
|
+
- lib/lucky_sneaks/unidecoder_data/x7a.yml
|
120
|
+
- lib/lucky_sneaks/unidecoder_data/x7b.yml
|
121
|
+
- lib/lucky_sneaks/unidecoder_data/x7c.yml
|
122
|
+
- lib/lucky_sneaks/unidecoder_data/x7d.yml
|
123
|
+
- lib/lucky_sneaks/unidecoder_data/x7e.yml
|
124
|
+
- lib/lucky_sneaks/unidecoder_data/x7f.yml
|
125
|
+
- lib/lucky_sneaks/unidecoder_data/x80.yml
|
126
|
+
- lib/lucky_sneaks/unidecoder_data/x81.yml
|
127
|
+
- lib/lucky_sneaks/unidecoder_data/x82.yml
|
128
|
+
- lib/lucky_sneaks/unidecoder_data/x83.yml
|
129
|
+
- lib/lucky_sneaks/unidecoder_data/x84.yml
|
130
|
+
- lib/lucky_sneaks/unidecoder_data/x85.yml
|
131
|
+
- lib/lucky_sneaks/unidecoder_data/x86.yml
|
132
|
+
- lib/lucky_sneaks/unidecoder_data/x87.yml
|
133
|
+
- lib/lucky_sneaks/unidecoder_data/x88.yml
|
134
|
+
- lib/lucky_sneaks/unidecoder_data/x89.yml
|
135
|
+
- lib/lucky_sneaks/unidecoder_data/x8a.yml
|
136
|
+
- lib/lucky_sneaks/unidecoder_data/x8b.yml
|
137
|
+
- lib/lucky_sneaks/unidecoder_data/x8c.yml
|
138
|
+
- lib/lucky_sneaks/unidecoder_data/x8d.yml
|
139
|
+
- lib/lucky_sneaks/unidecoder_data/x8e.yml
|
140
|
+
- lib/lucky_sneaks/unidecoder_data/x8f.yml
|
141
|
+
- lib/lucky_sneaks/unidecoder_data/x90.yml
|
142
|
+
- lib/lucky_sneaks/unidecoder_data/x91.yml
|
143
|
+
- lib/lucky_sneaks/unidecoder_data/x92.yml
|
144
|
+
- lib/lucky_sneaks/unidecoder_data/x93.yml
|
145
|
+
- lib/lucky_sneaks/unidecoder_data/x94.yml
|
146
|
+
- lib/lucky_sneaks/unidecoder_data/x95.yml
|
147
|
+
- lib/lucky_sneaks/unidecoder_data/x96.yml
|
148
|
+
- lib/lucky_sneaks/unidecoder_data/x97.yml
|
149
|
+
- lib/lucky_sneaks/unidecoder_data/x98.yml
|
150
|
+
- lib/lucky_sneaks/unidecoder_data/x99.yml
|
151
|
+
- lib/lucky_sneaks/unidecoder_data/x9a.yml
|
152
|
+
- lib/lucky_sneaks/unidecoder_data/x9b.yml
|
153
|
+
- lib/lucky_sneaks/unidecoder_data/x9c.yml
|
154
|
+
- lib/lucky_sneaks/unidecoder_data/x9d.yml
|
155
|
+
- lib/lucky_sneaks/unidecoder_data/x9e.yml
|
156
|
+
- lib/lucky_sneaks/unidecoder_data/x9f.yml
|
157
|
+
- lib/lucky_sneaks/unidecoder_data/xa0.yml
|
158
|
+
- lib/lucky_sneaks/unidecoder_data/xa1.yml
|
159
|
+
- lib/lucky_sneaks/unidecoder_data/xa2.yml
|
160
|
+
- lib/lucky_sneaks/unidecoder_data/xa3.yml
|
161
|
+
- lib/lucky_sneaks/unidecoder_data/xa4.yml
|
162
|
+
- lib/lucky_sneaks/unidecoder_data/xac.yml
|
163
|
+
- lib/lucky_sneaks/unidecoder_data/xad.yml
|
164
|
+
- lib/lucky_sneaks/unidecoder_data/xae.yml
|
165
|
+
- lib/lucky_sneaks/unidecoder_data/xaf.yml
|
166
|
+
- lib/lucky_sneaks/unidecoder_data/xb0.yml
|
167
|
+
- lib/lucky_sneaks/unidecoder_data/xb1.yml
|
168
|
+
- lib/lucky_sneaks/unidecoder_data/xb2.yml
|
169
|
+
- lib/lucky_sneaks/unidecoder_data/xb3.yml
|
170
|
+
- lib/lucky_sneaks/unidecoder_data/xb4.yml
|
171
|
+
- lib/lucky_sneaks/unidecoder_data/xb5.yml
|
172
|
+
- lib/lucky_sneaks/unidecoder_data/xb6.yml
|
173
|
+
- lib/lucky_sneaks/unidecoder_data/xb7.yml
|
174
|
+
- lib/lucky_sneaks/unidecoder_data/xb8.yml
|
175
|
+
- lib/lucky_sneaks/unidecoder_data/xb9.yml
|
176
|
+
- lib/lucky_sneaks/unidecoder_data/xba.yml
|
177
|
+
- lib/lucky_sneaks/unidecoder_data/xbb.yml
|
178
|
+
- lib/lucky_sneaks/unidecoder_data/xbc.yml
|
179
|
+
- lib/lucky_sneaks/unidecoder_data/xbd.yml
|
180
|
+
- lib/lucky_sneaks/unidecoder_data/xbe.yml
|
181
|
+
- lib/lucky_sneaks/unidecoder_data/xbf.yml
|
182
|
+
- lib/lucky_sneaks/unidecoder_data/xc0.yml
|
183
|
+
- lib/lucky_sneaks/unidecoder_data/xc1.yml
|
184
|
+
- lib/lucky_sneaks/unidecoder_data/xc2.yml
|
185
|
+
- lib/lucky_sneaks/unidecoder_data/xc3.yml
|
186
|
+
- lib/lucky_sneaks/unidecoder_data/xc4.yml
|
187
|
+
- lib/lucky_sneaks/unidecoder_data/xc5.yml
|
188
|
+
- lib/lucky_sneaks/unidecoder_data/xc6.yml
|
189
|
+
- lib/lucky_sneaks/unidecoder_data/xc7.yml
|
190
|
+
- lib/lucky_sneaks/unidecoder_data/xc8.yml
|
191
|
+
- lib/lucky_sneaks/unidecoder_data/xc9.yml
|
192
|
+
- lib/lucky_sneaks/unidecoder_data/xca.yml
|
193
|
+
- lib/lucky_sneaks/unidecoder_data/xcb.yml
|
194
|
+
- lib/lucky_sneaks/unidecoder_data/xcc.yml
|
195
|
+
- lib/lucky_sneaks/unidecoder_data/xcd.yml
|
196
|
+
- lib/lucky_sneaks/unidecoder_data/xce.yml
|
197
|
+
- lib/lucky_sneaks/unidecoder_data/xcf.yml
|
198
|
+
- lib/lucky_sneaks/unidecoder_data/xd0.yml
|
199
|
+
- lib/lucky_sneaks/unidecoder_data/xd1.yml
|
200
|
+
- lib/lucky_sneaks/unidecoder_data/xd2.yml
|
201
|
+
- lib/lucky_sneaks/unidecoder_data/xd3.yml
|
202
|
+
- lib/lucky_sneaks/unidecoder_data/xd4.yml
|
203
|
+
- lib/lucky_sneaks/unidecoder_data/xd5.yml
|
204
|
+
- lib/lucky_sneaks/unidecoder_data/xd6.yml
|
205
|
+
- lib/lucky_sneaks/unidecoder_data/xd7.yml
|
206
|
+
- lib/lucky_sneaks/unidecoder_data/xf9.yml
|
207
|
+
- lib/lucky_sneaks/unidecoder_data/xfa.yml
|
208
|
+
- lib/lucky_sneaks/unidecoder_data/xfb.yml
|
209
|
+
- lib/lucky_sneaks/unidecoder_data/xfc.yml
|
210
|
+
- lib/lucky_sneaks/unidecoder_data/xfd.yml
|
211
|
+
- lib/lucky_sneaks/unidecoder_data/xfe.yml
|
212
|
+
- lib/lucky_sneaks/unidecoder_data/xff.yml
|
213
|
+
- lib/stringex.rb
|
214
|
+
- stringex.gemspec
|
215
|
+
has_rdoc: true
|
216
|
+
homepage: http://github.com/rsl/stringex
|
217
|
+
licenses: []
|
218
|
+
|
219
|
+
post_install_message:
|
220
|
+
rdoc_options:
|
221
|
+
- --main
|
222
|
+
- README.rdoc
|
223
|
+
- --charset
|
224
|
+
- utf-8
|
225
|
+
- --line-numbers
|
226
|
+
require_paths:
|
227
|
+
- lib
|
228
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
229
|
+
requirements:
|
230
|
+
- - ">="
|
231
|
+
- !ruby/object:Gem::Version
|
232
|
+
version: "0"
|
233
|
+
version:
|
234
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
235
|
+
requirements:
|
236
|
+
- - ">="
|
237
|
+
- !ruby/object:Gem::Version
|
238
|
+
version: "0"
|
239
|
+
version:
|
240
|
+
requirements: []
|
241
|
+
|
242
|
+
rubyforge_project: stringex
|
243
|
+
rubygems_version: 1.3.2
|
244
|
+
signing_key:
|
245
|
+
specification_version: 3
|
246
|
+
summary: "Some [hopefully] useful extensions to Ruby\xE2\x80\x99s String class"
|
247
|
+
test_files:
|
248
|
+
- test/acts_as_url_test.rb
|
249
|
+
- test/string_extensions_test.rb
|
250
|
+
- test/unidecoder_test.rb
|