unicode_utils 0.5.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/INSTALL.txt +37 -0
- data/README.txt +11 -22
- data/cdata/cond_tc_map +16 -0
- data/cdata/grapheme_break_property +1 -0
- data/cdata/simple_tc_map +1 -0
- data/cdata/special_tc_map +1 -0
- data/cdata/word_break_property +1 -0
- data/lib/unicode_utils.rb +31 -3
- data/lib/unicode_utils/canonical_decomposition.rb +27 -20
- data/lib/unicode_utils/canonical_equivalents_q.rb +3 -2
- data/lib/unicode_utils/casefold.rb +1 -0
- data/lib/unicode_utils/char_name.rb +3 -2
- data/lib/unicode_utils/combining_class.rb +4 -21
- data/lib/unicode_utils/compatibility_decomposition.rb +1 -0
- data/lib/unicode_utils/conditional_casing.rb +16 -18
- data/lib/unicode_utils/downcase.rb +10 -3
- data/lib/unicode_utils/each_grapheme.rb +85 -0
- data/lib/unicode_utils/each_word.rb +118 -0
- data/lib/unicode_utils/grep.rb +1 -0
- data/lib/unicode_utils/hangul_syllable_decomposition.rb +2 -1
- data/lib/unicode_utils/jamo_short_name.rb +2 -1
- data/lib/unicode_utils/nfc.rb +3 -6
- data/lib/unicode_utils/nfkc.rb +1 -0
- data/lib/unicode_utils/read_cdata.rb +49 -2
- data/lib/unicode_utils/simple_casefold.rb +1 -0
- data/lib/unicode_utils/simple_downcase.rb +5 -6
- data/lib/unicode_utils/simple_upcase.rb +5 -6
- data/lib/unicode_utils/titlecase.rb +70 -0
- data/lib/unicode_utils/upcase.rb +11 -4
- data/lib/unicode_utils/version.rb +1 -1
- data/test/test_unicode_utils.rb +46 -0
- metadata +13 -3
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: unicode_utils
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stefan Lang
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date:
|
12
|
+
date: 2009-01-31 00:00:00 +01:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|
@@ -21,7 +21,9 @@ extensions: []
|
|
21
21
|
|
22
22
|
extra_rdoc_files:
|
23
23
|
- README.txt
|
24
|
+
- INSTALL.txt
|
24
25
|
files:
|
26
|
+
- lib/unicode_utils/titlecase.rb
|
25
27
|
- lib/unicode_utils/u.rb
|
26
28
|
- lib/unicode_utils/read_cdata.rb
|
27
29
|
- lib/unicode_utils/conditional_casing.rb
|
@@ -47,11 +49,14 @@ files:
|
|
47
49
|
- lib/unicode_utils/simple_upcase.rb
|
48
50
|
- lib/unicode_utils/lowercase_char_q.rb
|
49
51
|
- lib/unicode_utils/jamo_short_name.rb
|
52
|
+
- lib/unicode_utils/each_word.rb
|
50
53
|
- lib/unicode_utils/combining_class.rb
|
51
54
|
- lib/unicode_utils/simple_casefold.rb
|
55
|
+
- lib/unicode_utils/each_grapheme.rb
|
52
56
|
- lib/unicode_utils/version.rb
|
53
57
|
- lib/unicode_utils/soft_dotted_char_q.rb
|
54
58
|
- lib/unicode_utils.rb
|
59
|
+
- cdata/grapheme_break_property
|
55
60
|
- cdata/combining_class_map
|
56
61
|
- cdata/cond_lc_map
|
57
62
|
- cdata/prop_set_lowercase
|
@@ -61,19 +66,24 @@ files:
|
|
61
66
|
- cdata/special_lc_map
|
62
67
|
- cdata/casefold_s_map
|
63
68
|
- cdata/names
|
69
|
+
- cdata/cond_tc_map
|
64
70
|
- cdata/cond_uc_map
|
71
|
+
- cdata/word_break_property
|
72
|
+
- cdata/special_tc_map
|
65
73
|
- cdata/special_uc_map
|
66
74
|
- cdata/canonical_decomposition_map
|
67
75
|
- cdata/soft_dotted_set
|
68
76
|
- cdata/simple_lc_map
|
69
77
|
- cdata/case_ignorable_set
|
70
78
|
- cdata/composition_exclusion_set
|
79
|
+
- cdata/simple_tc_map
|
71
80
|
- cdata/simple_uc_map
|
72
81
|
- cdata/jamo_short_names
|
73
82
|
- cdata/compatibility_decomposition_map
|
74
83
|
- cdata/prop_set_uppercase
|
75
84
|
- test/test_unicode_utils.rb
|
76
85
|
- README.txt
|
86
|
+
- INSTALL.txt
|
77
87
|
- LICENSE.txt
|
78
88
|
has_rdoc: true
|
79
89
|
homepage: http://github.com/lang/unicode_utils
|
@@ -87,7 +97,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
87
97
|
requirements:
|
88
98
|
- - ">="
|
89
99
|
- !ruby/object:Gem::Version
|
90
|
-
version: 1.9.
|
100
|
+
version: 1.9.1
|
91
101
|
version:
|
92
102
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
93
103
|
requirements:
|