u 0.5.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/build/ext/u/data/attributes.rb +39 -0
- data/build/ext/u/data/bidi-mirroring.rb +27 -0
- data/build/ext/u/data/canonical-combining-class.rb +15 -0
- data/build/ext/u/data/case-folding.rb +39 -0
- data/build/ext/u/data/cased.rb +19 -0
- data/build/ext/u/data/compose.rb +304 -0
- data/build/ext/u/data/constants.rb +31 -0
- data/build/ext/u/data/decompose.rb +85 -0
- data/build/ext/u/data/general-category.rb +61 -0
- data/build/ext/u/data/grapheme-word-break.rb +15 -0
- data/build/ext/u/data/marshalled.rb +5 -0
- data/build/ext/u/data/script.rb +91 -0
- data/build/ext/u/data/soft-dotted.rb +17 -0
- data/build/ext/u/data/title-table.rb +30 -0
- data/build/ext/u/data/wide.rb +17 -0
- data/build/lib/u/build.rb +8 -0
- data/build/lib/u/build/data.rb +16 -0
- data/build/lib/u/build/data/bidimirroring.rb +26 -0
- data/build/lib/u/build/data/break.rb +14 -0
- data/build/lib/u/build/data/casefolding.rb +77 -0
- data/build/lib/u/build/data/compositionexclusions.rb +14 -0
- data/build/lib/u/build/data/derivedeastasianwidth.rb +15 -0
- data/build/lib/u/build/data/file.rb +88 -0
- data/build/lib/u/build/data/linebreak.rb +14 -0
- data/build/lib/u/build/data/proplist.rb +18 -0
- data/build/lib/u/build/data/scripts.rb +22 -0
- data/build/lib/u/build/data/specialcasing.rb +106 -0
- data/build/lib/u/build/data/unicode.rb +41 -0
- data/build/lib/u/build/data/unicode/entry.rb +27 -0
- data/build/lib/u/build/data/unicode/entry/decomposition.rb +29 -0
- data/build/lib/u/build/data/unicode/points.rb +32 -0
- data/build/lib/u/build/header.rb +11 -0
- data/build/lib/u/build/header/table.rb +19 -0
- data/build/lib/u/build/header/table/row.rb +64 -0
- data/build/lib/u/build/header/tables.rb +6 -0
- data/build/lib/u/build/header/tables/intervals.rb +50 -0
- data/build/lib/u/build/header/tables/split.rb +20 -0
- data/build/lib/u/build/header/tables/split/data.rb +29 -0
- data/build/lib/u/build/header/tables/split/part1.rb +28 -0
- data/build/lib/u/build/header/tables/split/part2.rb +13 -0
- data/build/lib/u/build/header/tables/split/row.rb +34 -0
- data/build/lib/u/build/header/tables/split/rows.rb +22 -0
- data/build/test/unit/break.rb +45 -0
- data/build/test/unit/case.rb +178 -0
- data/build/test/unit/foldcase.rb +44 -0
- data/build/test/unit/normalize.rb +81 -0
- data/ext/u/attributes.c +62 -0
- data/ext/u/attributes.h +5 -0
- data/ext/u/case.h +41 -0
- data/ext/u/data/attributes.h +3070 -0
- data/ext/u/data/bidi-mirroring.h +373 -0
- data/ext/u/data/canonical-combining-class.h +2157 -0
- data/ext/u/data/case-folding.h +171 -0
- data/ext/u/data/cased.h +42 -0
- data/ext/u/data/compose.h +1714 -0
- data/ext/u/data/constants.h +17 -0
- data/ext/u/data/decompose.h +9356 -0
- data/ext/u/data/general-category.h +28959 -0
- data/ext/u/data/grapheme-break.h +13201 -0
- data/ext/u/data/line-break.h +26501 -0
- data/ext/u/data/normalization-quick-check.h +3002 -0
- data/ext/u/data/script.h +2928 -0
- data/ext/u/data/soft-dotted.h +55 -0
- data/ext/u/data/title-table.h +41 -0
- data/ext/u/data/types.h +11117 -0
- data/ext/u/data/wide-cjk.h +197 -0
- data/ext/u/data/wide.h +59 -0
- data/ext/u/data/word-break.h +10001 -0
- data/ext/u/depend +281 -0
- data/ext/u/extconf.rb +158 -0
- data/ext/u/output.h +51 -0
- data/ext/{encoding/character/utf-8 → u}/private.c +11 -15
- data/ext/u/private.h +58 -0
- data/ext/u/rb_includes.h +10 -0
- data/ext/u/rb_private.c +98 -0
- data/ext/u/rb_private.h +67 -0
- data/ext/u/rb_u.c +251 -0
- data/ext/u/rb_u_buffer.c +443 -0
- data/ext/u/rb_u_buffer.h +24 -0
- data/ext/u/rb_u_re.c +43 -0
- data/ext/u/rb_u_re.h +15 -0
- data/ext/u/rb_u_string.c +478 -0
- data/ext/u/rb_u_string.h +173 -0
- data/ext/u/rb_u_string_alnum.c +10 -0
- data/ext/u/rb_u_string_alpha.c +10 -0
- data/ext/u/rb_u_string_aref.c +142 -0
- data/ext/u/rb_u_string_ascii_only.c +13 -0
- data/ext/u/rb_u_string_assigned.c +10 -0
- data/ext/u/rb_u_string_b.c +18 -0
- data/ext/u/rb_u_string_bytesize.c +10 -0
- data/ext/u/rb_u_string_byteslice.c +103 -0
- data/ext/u/rb_u_string_canonical_combining_class.c +33 -0
- data/ext/u/rb_u_string_case_ignorable.c +25 -0
- data/ext/u/rb_u_string_casecmp.c +61 -0
- data/ext/u/rb_u_string_cased.c +17 -0
- data/ext/u/rb_u_string_chomp.c +107 -0
- data/ext/u/rb_u_string_chop.c +33 -0
- data/ext/u/rb_u_string_chr.c +9 -0
- data/ext/u/rb_u_string_cntrl.c +10 -0
- data/ext/u/rb_u_string_collate.c +46 -0
- data/ext/u/rb_u_string_collation_key.c +18 -0
- data/ext/u/rb_u_string_count.c +38 -0
- data/ext/u/rb_u_string_defined.c +10 -0
- data/ext/u/rb_u_string_delete.c +62 -0
- data/ext/u/rb_u_string_digit.c +10 -0
- data/ext/u/rb_u_string_downcase.c +13 -0
- data/ext/u/rb_u_string_dump.c +153 -0
- data/ext/u/rb_u_string_each_byte.c +46 -0
- data/ext/u/rb_u_string_each_char.c +49 -0
- data/ext/u/rb_u_string_each_codepoint.c +45 -0
- data/ext/u/rb_u_string_each_grapheme_cluster.c +36 -0
- data/ext/u/rb_u_string_each_line.c +142 -0
- data/ext/u/rb_u_string_each_word.c +34 -0
- data/ext/u/rb_u_string_empty.c +11 -0
- data/ext/u/rb_u_string_end_with.c +31 -0
- data/ext/u/rb_u_string_eql.c +30 -0
- data/ext/u/rb_u_string_equal.c +33 -0
- data/ext/u/rb_u_string_foldcase.c +12 -0
- data/ext/u/rb_u_string_folded.c +13 -0
- data/ext/u/rb_u_string_format.c +1745 -0
- data/ext/u/rb_u_string_general_category.c +109 -0
- data/ext/u/rb_u_string_getbyte.c +21 -0
- data/ext/u/rb_u_string_graph.c +21 -0
- data/ext/u/rb_u_string_grapheme_break.c +61 -0
- data/ext/u/rb_u_string_gsub.c +164 -0
- data/ext/u/rb_u_string_hash.c +10 -0
- data/ext/u/rb_u_string_hex.c +9 -0
- data/ext/u/rb_u_string_include.c +10 -0
- data/ext/u/rb_u_string_index.c +110 -0
- data/ext/u/rb_u_string_inspect.c +189 -0
- data/ext/u/rb_u_string_internal_tr.c +148 -0
- data/ext/u/rb_u_string_internal_tr.h +29 -0
- data/ext/u/rb_u_string_justify.c +169 -0
- data/ext/u/rb_u_string_length.c +10 -0
- data/ext/u/rb_u_string_line_break.c +115 -0
- data/ext/u/rb_u_string_lower.c +13 -0
- data/ext/u/rb_u_string_lstrip.c +24 -0
- data/ext/u/rb_u_string_match.c +65 -0
- data/ext/u/rb_u_string_mirror.c +16 -0
- data/ext/u/rb_u_string_newline.c +21 -0
- data/ext/u/rb_u_string_normalize.c +70 -0
- data/ext/u/rb_u_string_normalized.c +28 -0
- data/ext/u/rb_u_string_oct.c +11 -0
- data/ext/u/rb_u_string_ord.c +14 -0
- data/ext/u/rb_u_string_partition.c +80 -0
- data/ext/u/rb_u_string_plus.c +33 -0
- data/ext/u/rb_u_string_print.c +10 -0
- data/ext/u/rb_u_string_punct.c +10 -0
- data/ext/u/rb_u_string_reverse.c +13 -0
- data/ext/u/rb_u_string_rindex.c +104 -0
- data/ext/u/rb_u_string_rpartition.c +81 -0
- data/ext/u/rb_u_string_rstrip.c +29 -0
- data/ext/u/rb_u_string_scan.c +109 -0
- data/ext/u/rb_u_string_script.c +253 -0
- data/ext/u/rb_u_string_soft_dotted.c +13 -0
- data/ext/u/rb_u_string_space.c +24 -0
- data/ext/u/rb_u_string_split.c +245 -0
- data/ext/u/rb_u_string_squeeze.c +75 -0
- data/ext/u/rb_u_string_start_with.c +31 -0
- data/ext/u/rb_u_string_strip.c +36 -0
- data/ext/u/rb_u_string_sub.c +147 -0
- data/ext/u/rb_u_string_times.c +35 -0
- data/ext/u/rb_u_string_title.c +10 -0
- data/ext/u/rb_u_string_titlecase.c +13 -0
- data/ext/u/rb_u_string_to_i.c +45 -0
- data/ext/u/rb_u_string_to_inum.c +364 -0
- data/ext/u/rb_u_string_to_inum.h +1 -0
- data/ext/u/rb_u_string_to_str.c +17 -0
- data/ext/u/rb_u_string_to_sym.c +12 -0
- data/ext/u/rb_u_string_tr.c +290 -0
- data/ext/u/rb_u_string_upcase.c +12 -0
- data/ext/u/rb_u_string_upper.c +13 -0
- data/ext/u/rb_u_string_valid.c +10 -0
- data/ext/u/rb_u_string_valid_encoding.c +12 -0
- data/ext/u/rb_u_string_wide.c +21 -0
- data/ext/u/rb_u_string_wide_cjk.c +21 -0
- data/ext/u/rb_u_string_width.c +19 -0
- data/ext/u/rb_u_string_word_break.c +63 -0
- data/ext/u/rb_u_string_xdigit.c +22 -0
- data/ext/u/rb_u_string_zero_width.c +16 -0
- data/ext/u/titled.c +55 -0
- data/ext/u/titled.h +1 -0
- data/ext/u/u.c +23 -0
- data/ext/u/u.h +458 -0
- data/ext/u/u_char_canonical_combining_class.c +31 -0
- data/ext/u/u_char_digit_value.c +21 -0
- data/ext/u/u_char_downcase.c +27 -0
- data/ext/u/u_char_general_category.c +31 -0
- data/ext/u/u_char_grapheme_break.c +28 -0
- data/ext/u/u_char_isalnum.c +24 -0
- data/ext/u/u_char_isalpha.c +21 -0
- data/ext/u/u_char_isassigned.c +16 -0
- data/ext/u/u_char_iscased.c +22 -0
- data/ext/u/u_char_iscaseignorable.c +29 -0
- data/ext/u/u_char_iscntrl.c +17 -0
- data/ext/u/u_char_isdefined.c +15 -0
- data/ext/u/u_char_isdigit.c +16 -0
- data/ext/u/u_char_isgraph.c +22 -0
- data/ext/u/u_char_islower.c +16 -0
- data/ext/u/u_char_isnewline.c +24 -0
- data/ext/u/u_char_isprint.c +21 -0
- data/ext/u/u_char_ispunct.c +27 -0
- data/ext/u/u_char_issoftdotted.c +18 -0
- data/ext/u/u_char_isspace.c +28 -0
- data/ext/u/u_char_isupper.c +16 -0
- data/ext/u/u_char_isvalid.c +18 -0
- data/ext/u/u_char_iswide.c +18 -0
- data/ext/u/u_char_iswide_cjk.c +22 -0
- data/ext/u/u_char_isxdigit.c +27 -0
- data/ext/u/u_char_iszerowidth.c +29 -0
- data/ext/u/u_char_line_break.c +29 -0
- data/ext/u/u_char_mirror.c +16 -0
- data/ext/u/u_char_normalized.c +23 -0
- data/ext/u/u_char_script.c +41 -0
- data/ext/u/u_char_to_u.c +48 -0
- data/ext/u/u_char_upcase.c +24 -0
- data/ext/u/u_char_width.c +12 -0
- data/ext/u/u_char_word_break.c +28 -0
- data/ext/u/u_char_xdigit_value.c +31 -0
- data/ext/u/u_collate.c +83 -0
- data/ext/u/u_collation_key.c +132 -0
- data/ext/u/u_decode.c +156 -0
- data/ext/u/u_downcase.c +201 -0
- data/ext/u/u_foldcase.c +68 -0
- data/ext/u/u_grapheme_clusters.c +57 -0
- data/ext/u/u_has_prefix.c +27 -0
- data/ext/u/u_index.c +93 -0
- data/ext/u/u_is_ascii_only.c +33 -0
- data/ext/u/u_locale.c +40 -0
- data/ext/u/u_locale.h +14 -0
- data/ext/u/u_mirror.c +20 -0
- data/ext/u/u_n_bytes.c +16 -0
- data/ext/u/u_n_chars.c +43 -0
- data/ext/u/u_normalize.c +232 -0
- data/ext/u/u_normalized.c +28 -0
- data/ext/u/u_offset_to_pointer.c +62 -0
- data/ext/u/u_pointer_to_offset.c +23 -0
- data/ext/u/u_recode.c +73 -0
- data/ext/u/u_reverse.c +21 -0
- data/ext/u/u_rindex.c +132 -0
- data/ext/u/u_titlecase.c +68 -0
- data/ext/u/u_upcase.c +89 -0
- data/ext/u/u_width.c +35 -0
- data/ext/u/u_words.c +82 -0
- data/ext/u/yield.h +27 -0
- data/lib/u-1.0.rb +20 -0
- data/lib/u-1.0/buffer.rb +10 -0
- data/lib/u-1.0/string.rb +9 -0
- data/lib/u-1.0/version.rb +287 -0
- data/test/unit/case.rb +2080 -0
- data/test/unit/foldcase.rb +1136 -0
- data/test/unit/graphemebreak.rb +407 -0
- data/test/unit/normalize.rb +367545 -0
- data/test/unit/u-1.0.rb +10 -0
- data/test/unit/u-1.0/buffer.rb +52 -0
- data/test/unit/u-1.0/string.rb +1439 -0
- data/test/unit/{u.rb → u-1.0/version.rb} +0 -1
- data/test/unit/wordbreak.rb +1083 -0
- metadata +603 -148
- data/README +0 -38
- data/Rakefile +0 -64
- data/ext/encoding/character/utf-8/break.c +0 -25
- data/ext/encoding/character/utf-8/data/break.h +0 -22931
- data/ext/encoding/character/utf-8/data/character-tables.h +0 -14358
- data/ext/encoding/character/utf-8/data/compose.h +0 -1607
- data/ext/encoding/character/utf-8/data/decompose.h +0 -10926
- data/ext/encoding/character/utf-8/data/generate-unicode-data.rb +0 -1070
- data/ext/encoding/character/utf-8/decompose.c +0 -444
- data/ext/encoding/character/utf-8/depend +0 -65
- data/ext/encoding/character/utf-8/extconf.rb +0 -67
- data/ext/encoding/character/utf-8/private.h +0 -51
- data/ext/encoding/character/utf-8/properties.c +0 -1056
- data/ext/encoding/character/utf-8/rb_includes.h +0 -19
- data/ext/encoding/character/utf-8/rb_methods.h +0 -49
- data/ext/encoding/character/utf-8/rb_private.h +0 -52
- data/ext/encoding/character/utf-8/rb_utf_aref.c +0 -111
- data/ext/encoding/character/utf-8/rb_utf_aset.c +0 -105
- data/ext/encoding/character/utf-8/rb_utf_casecmp.c +0 -24
- data/ext/encoding/character/utf-8/rb_utf_chomp.c +0 -114
- data/ext/encoding/character/utf-8/rb_utf_chop.c +0 -44
- data/ext/encoding/character/utf-8/rb_utf_collate.c +0 -13
- data/ext/encoding/character/utf-8/rb_utf_count.c +0 -30
- data/ext/encoding/character/utf-8/rb_utf_delete.c +0 -60
- data/ext/encoding/character/utf-8/rb_utf_downcase.c +0 -13
- data/ext/encoding/character/utf-8/rb_utf_each_char.c +0 -27
- data/ext/encoding/character/utf-8/rb_utf_foldcase.c +0 -13
- data/ext/encoding/character/utf-8/rb_utf_hex.c +0 -14
- data/ext/encoding/character/utf-8/rb_utf_index.c +0 -50
- data/ext/encoding/character/utf-8/rb_utf_insert.c +0 -48
- data/ext/encoding/character/utf-8/rb_utf_internal_bignum.c +0 -332
- data/ext/encoding/character/utf-8/rb_utf_internal_bignum.h +0 -12
- data/ext/encoding/character/utf-8/rb_utf_internal_tr.c +0 -142
- data/ext/encoding/character/utf-8/rb_utf_internal_tr.h +0 -41
- data/ext/encoding/character/utf-8/rb_utf_justify.c +0 -96
- data/ext/encoding/character/utf-8/rb_utf_length.c +0 -14
- data/ext/encoding/character/utf-8/rb_utf_lstrip.c +0 -41
- data/ext/encoding/character/utf-8/rb_utf_normalize.c +0 -51
- data/ext/encoding/character/utf-8/rb_utf_oct.c +0 -14
- data/ext/encoding/character/utf-8/rb_utf_reverse.c +0 -13
- data/ext/encoding/character/utf-8/rb_utf_rindex.c +0 -88
- data/ext/encoding/character/utf-8/rb_utf_rstrip.c +0 -51
- data/ext/encoding/character/utf-8/rb_utf_squeeze.c +0 -70
- data/ext/encoding/character/utf-8/rb_utf_strip.c +0 -27
- data/ext/encoding/character/utf-8/rb_utf_to_i.c +0 -25
- data/ext/encoding/character/utf-8/rb_utf_tr.c +0 -250
- data/ext/encoding/character/utf-8/rb_utf_upcase.c +0 -13
- data/ext/encoding/character/utf-8/tables.h +0 -38
- data/ext/encoding/character/utf-8/unicode.c +0 -319
- data/ext/encoding/character/utf-8/unicode.h +0 -216
- data/ext/encoding/character/utf-8/utf.c +0 -1334
- data/lib/encoding/character/utf-8.rb +0 -201
- data/lib/u.rb +0 -16
- data/lib/u/string.rb +0 -185
- data/lib/u/version.rb +0 -5
- data/test/unit/u/string.rb +0 -91
metadata
CHANGED
@@ -1,174 +1,629 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: u
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease: false
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 5
|
9
|
-
- 0
|
10
|
-
version: 0.5.0
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
11
5
|
platform: ruby
|
12
|
-
authors:
|
6
|
+
authors:
|
13
7
|
- Nikolai Weibull
|
14
8
|
autorequire:
|
15
9
|
bindir: bin
|
16
10
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
11
|
+
date: 2013-06-04 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: inventory
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ~>
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.4'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ~>
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.4'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: inventory-rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ~>
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1.5'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ~>
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '1.5'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: inventory-rake-tasks-yard
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ~>
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '1.3'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ~>
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '1.3'
|
55
|
+
- !ruby/object:Gem::Dependency
|
22
56
|
name: lookout
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ~>
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '3.0'
|
62
|
+
type: :development
|
23
63
|
prerelease: false
|
24
|
-
|
25
|
-
|
26
|
-
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ~>
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '3.0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: lookout-rake
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
27
73
|
- - ~>
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
|
30
|
-
segments:
|
31
|
-
- 0
|
32
|
-
- 6
|
33
|
-
- 0
|
34
|
-
version: 0.6.0
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '3.0'
|
35
76
|
type: :development
|
36
|
-
|
37
|
-
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ~>
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '3.0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
38
84
|
name: yard
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ~>
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: 0.8.0
|
90
|
+
type: :development
|
39
91
|
prerelease: false
|
40
|
-
|
41
|
-
|
42
|
-
requirements:
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
43
94
|
- - ~>
|
44
|
-
- !ruby/object:Gem::Version
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: 0.8.0
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: yard-heuristics
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ~>
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '1.1'
|
51
104
|
type: :development
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
For now, take a look at the tests to see some examples of how to load the\n\
|
61
|
-
library and use the methods.\n\n\
|
62
|
-
It\xE2\x80\x99s basically the following:\n\n require 'u'\n\n a = '\xC3\xA4bc'\n a.u.upcase # \xE2\x87\x92 '\xC3\x84BC'\n a.upcase # \xE2\x87\x92 '\xC3\xA4BC'\n a # \xE2\x87\x92 '\xC3\xA4bc'\n a.u!.upcase # \xE2\x87\x92 '\xC3\x84BC'\n a.upcase # \xE2\x87\x92 '\xC3\x84BC'\n\n\
|
63
|
-
## Future ##\n\n\
|
64
|
-
Currently, most of my time is spent at my day job and in my (again flourishing)\n\
|
65
|
-
private life. Please motivate me to spend time on this library by donating some\n\
|
66
|
-
of your money to this project. Yeah, I realize that requesting money to develop\n\
|
67
|
-
software is a bit, well, capitalistic of me. But please realize that I live in\n\
|
68
|
-
a capitalistic society and I need money to have other people give me the things\n\
|
69
|
-
that I need to continue living under the rules of said society. So, if you feel\n\
|
70
|
-
that this library has helped you out enough to warrant a reward, please PayPal\n\
|
71
|
-
a donation to now@bitwi.se. Thanks! Your support won\xE2\x80\x99t go unnoticed!\n"
|
72
|
-
email: now@bitwi.se
|
73
|
-
executables: []
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ~>
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '1.1'
|
111
|
+
description: |2
|
112
|
+
U
|
74
113
|
|
75
|
-
|
114
|
+
U extends Ruby’s Unicode support. It provides a string class called
|
115
|
+
U::String with an interface that mimics that of the String class in Ruby 2.0,
|
116
|
+
but that can also be used from both Ruby 1.8. This interface also has more
|
117
|
+
complete Unicode support and never modifies the receiver. Thus, a U::String
|
118
|
+
is an immutable value object.
|
76
119
|
|
77
|
-
|
120
|
+
U comes with complete and very accurate documentation¹. The documentation can
|
121
|
+
realistically also be used as a reference to the Ruby String API and may
|
122
|
+
actually be preferable, as it’s a lot more explicit and complete than the
|
123
|
+
documentation that comes with Ruby.
|
124
|
+
|
125
|
+
¹ See http://disu.se/software/u/api/
|
126
|
+
|
127
|
+
§ Installation
|
128
|
+
|
129
|
+
Install u with
|
130
|
+
|
131
|
+
% gem install u
|
132
|
+
|
133
|
+
§ Usage
|
134
|
+
|
135
|
+
Usage is basically the following:
|
136
|
+
|
137
|
+
require 'u-1.0'
|
138
|
+
|
139
|
+
a = 'äbc'
|
140
|
+
a.upcase # ⇒ 'äBC'
|
141
|
+
a.u.upcase # ⇒ 'ÄBC'
|
142
|
+
|
143
|
+
That is, you require the library, then you invoke #u on a String. This’ll
|
144
|
+
give you a U::String that has much better Unicode support than a normal
|
145
|
+
String. It’s important to note that U only uses UTF-8, which means that #u
|
146
|
+
will try to #encode the String as such. This shouldn’t be an issue in most
|
147
|
+
cases, as UTF-8 is now more or less the universal encoding – and rightfully
|
148
|
+
so.
|
149
|
+
|
150
|
+
As U::Strings¹ are immutable value objects, there’s also a U::Buffer²
|
151
|
+
available for building U::Strings efficiently.
|
152
|
+
|
153
|
+
See the API³ for more complete usage information. The following sections
|
154
|
+
will only cover the extensions and differences that U::String exhibit from
|
155
|
+
Ruby’s built-in String class.
|
156
|
+
|
157
|
+
¹ See http://disu.se/software/u/api/U/String/
|
158
|
+
² See http://disu.se/software/u/api/U/Buffer/
|
159
|
+
³ See http://disu.se/software/u/api/
|
160
|
+
|
161
|
+
§ Unicode Properties
|
162
|
+
|
163
|
+
There are quite a few property-checking interrogators that let you check
|
164
|
+
if all characters in a U::String have the given Unicode property:
|
165
|
+
|
166
|
+
• #alnum?¹
|
167
|
+
• #alpha?²
|
168
|
+
• #assigned?³
|
169
|
+
• #case_ignorable?⁴
|
170
|
+
• #cased?⁵
|
171
|
+
• #cntrl?⁶
|
172
|
+
• #defined?⁷
|
173
|
+
• #digit?⁸
|
174
|
+
• #graph?⁹
|
175
|
+
• #newline?¹⁰
|
176
|
+
• #print?¹¹
|
177
|
+
• #punct?¹²
|
178
|
+
• #soft_dotted?¹³
|
179
|
+
• #space?¹⁴
|
180
|
+
• #title?¹⁵
|
181
|
+
• #valid?¹⁶
|
182
|
+
• #wide?¹⁷
|
183
|
+
• #wide_cjk?¹⁸
|
184
|
+
• #xdigit?¹⁹
|
185
|
+
• #zero_width?²⁰
|
186
|
+
|
187
|
+
¹ See http://disu.se/software/u/api/U/String/#alnum-p-instance-method
|
188
|
+
² See http://disu.se/software/u/api/U/String/#alpha-p-instance-method
|
189
|
+
³ See http://disu.se/software/u/api/U/String/#assigned-p-instance-method
|
190
|
+
⁴ See http://disu.se/software/u/api/U/String/#case_ignorable-p-instance-method
|
191
|
+
⁵ See http://disu.se/software/u/api/U/String/#cased-p-instance-method
|
192
|
+
⁶ See http://disu.se/software/u/api/U/String/#cntrl-p-instance-method
|
193
|
+
⁷ See http://disu.se/software/u/api/U/String/#defined-p-instance-method
|
194
|
+
⁸ See http://disu.se/software/u/api/U/String/#digit-p-instance-method
|
195
|
+
⁹ See http://disu.se/software/u/api/U/String/#graph-p-instance-method
|
196
|
+
¹⁰ See http://disu.se/software/u/api/U/String/#newline-p-instance-method
|
197
|
+
¹¹ See http://disu.se/software/u/api/U/String/#print-p-instance-method
|
198
|
+
¹² See http://disu.se/software/u/api/U/String/#punct-p-instance-method
|
199
|
+
¹³ See http://disu.se/software/u/api/U/String/#soft_dotted-p-instance-method
|
200
|
+
¹⁴ See http://disu.se/software/u/api/U/String/#space-p-instance-method
|
201
|
+
¹⁵ See http://disu.se/software/u/api/U/String/#title-p-instance-method
|
202
|
+
¹⁶ See http://disu.se/software/u/api/U/String/#valid-p-instance-method
|
203
|
+
¹⁷ See http://disu.se/software/u/api/U/String/#wide-p-instance-method
|
204
|
+
¹⁸ See http://disu.se/software/u/api/U/String/#wide_cjk-p-instance-method
|
205
|
+
¹⁹ See http://disu.se/software/u/api/U/String/#xdigit-p-instance-method
|
206
|
+
²⁰ See http://disu.se/software/u/api/U/String/#zero_width-p-instance-method
|
207
|
+
|
208
|
+
Similar to these methods are
|
209
|
+
|
210
|
+
• #folded?¹
|
211
|
+
• #lower?²
|
212
|
+
• #upper?³
|
78
213
|
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
-
|
138
|
-
|
214
|
+
which check whether a ‹U::String› has been cased in a given manner.
|
215
|
+
|
216
|
+
¹ See http://disu.se/software/u/api/U/String/#folded-p-instance-method
|
217
|
+
² See http://disu.se/software/u/api/U/String/#lower-p-instance-method
|
218
|
+
³ See http://disu.se/software/u/api/U/String/#upper-p-instance-method
|
219
|
+
|
220
|
+
There’s also a #normalized?¹ method that checks whether a ‹U::String› has
|
221
|
+
been normalized on a given form.
|
222
|
+
|
223
|
+
¹ See http://disu.se/software/u/api/U/String/#normalized-p-instance-method
|
224
|
+
|
225
|
+
You can also access certain Unicode properties of the characters of a
|
226
|
+
U::String:
|
227
|
+
|
228
|
+
• #canonical_combining_class¹
|
229
|
+
• #general_category²
|
230
|
+
• #grapheme_break³
|
231
|
+
• #line_break⁴
|
232
|
+
• #script⁵
|
233
|
+
• #word_break⁶
|
234
|
+
|
235
|
+
¹ See http://disu.se/software/u/api/U/String/#canonical_combining_class-instance-method
|
236
|
+
² See http://disu.se/software/u/api/U/String/#general_category-instance-method
|
237
|
+
³ See http://disu.se/software/u/api/U/String/#grapheme_break-instance-method
|
238
|
+
⁴ See http://disu.se/software/u/api/U/String/#line_break-instance-method
|
239
|
+
⁵ See http://disu.se/software/u/api/U/String/#script-instance-method
|
240
|
+
⁶ See http://disu.se/software/u/api/U/String/#word_break-instance-method
|
241
|
+
|
242
|
+
§ Locale-specific Comparisons
|
243
|
+
|
244
|
+
Comparisons of U::Strings respect the current locale (and also allow you
|
245
|
+
to specify a locale to use): ‹#<=>›¹, #casecmp², and #collation_key³.
|
246
|
+
|
247
|
+
¹ See http://disu.se/software/u/api/U/String/#comparison-operator
|
248
|
+
² See http://disu.se/software/u/api/U/String/#casecmp-instance-method
|
249
|
+
³ See http://disu.se/software/u/api/U/String/#collation_key-instance-method
|
250
|
+
|
251
|
+
§ Additional Enumerators
|
252
|
+
|
253
|
+
There are a couple of additional enumerators in #each_grapheme_cluster¹
|
254
|
+
and #each_word² (along with aliases #grapheme_clusters³ and #words⁴).
|
255
|
+
|
256
|
+
¹ See http://disu.se/software/u/api/U/String/#each_grapheme_cluster-instance-method
|
257
|
+
² See http://disu.se/software/u/api/U/String/#each_word-instance-method
|
258
|
+
³ See http://disu.se/software/u/api/U/String/#grapheme_clusters-instance-method
|
259
|
+
⁴ See http://disu.se/software/u/api/U/String/#words-instance-method
|
260
|
+
|
261
|
+
§ Unicode-aware Sub-sequence Removal
|
262
|
+
|
263
|
+
#Chomp¹, #chop², #lstrip³, #rstrip⁴, and #strip⁵ all look for Unicode
|
264
|
+
newline and space characters, rather than only ASCII ones.
|
265
|
+
|
266
|
+
¹ See http://disu.se/software/u/api/U/String/#chomp-instance-method
|
267
|
+
² See http://disu.se/software/u/api/U/String/#chop-instance-method
|
268
|
+
³ See http://disu.se/software/u/api/U/String/#lstrip-instance-method
|
269
|
+
⁴ See http://disu.se/software/u/api/U/String/#rstrip-instance-method
|
270
|
+
⁵ See http://disu.se/software/u/api/U/String/#strip-instance-method
|
271
|
+
|
272
|
+
§ Unicode-aware Conversions
|
273
|
+
|
274
|
+
Case-shifting methods #downcase¹ and #upcase² do proper Unicode casing
|
275
|
+
and the interface is further augmented by #foldcase³ and #titlecase⁴.
|
276
|
+
#Mirror⁵ and #normalize⁶ do conversions similar in nature to the
|
277
|
+
case-shifting methods.
|
278
|
+
|
279
|
+
¹ See http://disu.se/software/u/api/U/String/#downcase-instance-method
|
280
|
+
² See http://disu.se/software/u/api/U/String/#upcase-instance-method
|
281
|
+
³ See http://disu.se/software/u/api/U/String/#foldcase-instance-method
|
282
|
+
⁴ See http://disu.se/software/u/api/U/String/#titlecase-instance-method
|
283
|
+
⁵ See http://disu.se/software/u/api/U/String/#mirror-instance-method
|
284
|
+
⁶ See http://disu.se/software/u/api/U/String/#normalize-instance-method
|
285
|
+
|
286
|
+
§ Width Calculations
|
287
|
+
|
288
|
+
#Width¹ will return the number of cells on a terminal that a U::String
|
289
|
+
will occupy.
|
290
|
+
|
291
|
+
#Center², #ljust³, and #rjust⁴ deal in width rather than length, making
|
292
|
+
them much more useful for generating terminal output. #%⁵ (and its alias
|
293
|
+
#format⁶) similarly deal in width.
|
294
|
+
|
295
|
+
¹ See http://disu.se/software/u/api/U/String/#width-instance-method
|
296
|
+
² See http://disu.se/software/u/api/U/String/#center-instance-method
|
297
|
+
³ See http://disu.se/software/u/api/U/String/#ljust-instance-method
|
298
|
+
⁴ See http://disu.se/software/u/api/U/String/#rjust-instance-method
|
299
|
+
⁵ See http://disu.se/software/u/api/U/String/#modulo-operator
|
300
|
+
⁶ See http://disu.se/software/u/api/U/String/#format-instance-method
|
301
|
+
|
302
|
+
§ Extended Type Conversions
|
303
|
+
|
304
|
+
Finally, #hex¹, #oct², and #to_i³ use Unicode alpha-numerics for their
|
305
|
+
respective conversions.
|
306
|
+
|
307
|
+
¹ See http://disu.se/software/u/api/U/String/#hex-instance-method
|
308
|
+
² See http://disu.se/software/u/api/U/String/#oct-instance-method
|
309
|
+
³ See http://disu.se/software/u/api/U/String/#to_i-instance-method
|
310
|
+
|
311
|
+
§ News
|
312
|
+
|
313
|
+
§ 1.0.0
|
314
|
+
|
315
|
+
Initial public release!
|
316
|
+
|
317
|
+
§ Financing
|
318
|
+
|
319
|
+
Currently, most of my time is spent at my day job and in my rather busy
|
320
|
+
private life. Please motivate me to spend time on this piece of software
|
321
|
+
by donating some of your money to this project. Yeah, I realize that
|
322
|
+
requesting money to develop software is a bit, well, capitalistic of me.
|
323
|
+
But please realize that I live in a capitalistic society and I need money
|
324
|
+
to have other people give me the things that I need to continue living
|
325
|
+
under the rules of said society. So, if you feel that this piece of
|
326
|
+
software has helped you out enough to warrant a reward, please PayPal a
|
327
|
+
donation to now@disu.se¹. Thanks! Your support won’t go unnoticed!
|
328
|
+
|
329
|
+
¹ Send a donation:
|
330
|
+
https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=now%40disu%2ese&item_name=Nikolai%20Weibull%20Software%20Services
|
331
|
+
|
332
|
+
§ Reporting Bugs
|
333
|
+
|
334
|
+
Please report any bugs that you encounter to the {issue tracker}¹.
|
335
|
+
|
336
|
+
¹ See https://github.com/now/u/issues
|
337
|
+
|
338
|
+
§ Authors
|
339
|
+
|
340
|
+
Nikolai Weibull wrote the code, the tests, the documentation, and this
|
341
|
+
README.
|
342
|
+
email: now@bitwi.se
|
343
|
+
executables: []
|
344
|
+
extensions:
|
345
|
+
- ext/u/extconf.rb
|
346
|
+
extra_rdoc_files: []
|
347
|
+
files:
|
348
|
+
- lib/u-1.0/buffer.rb
|
349
|
+
- lib/u-1.0/string.rb
|
350
|
+
- lib/u-1.0.rb
|
351
|
+
- lib/u-1.0/version.rb
|
352
|
+
- test/unit/u-1.0/buffer.rb
|
353
|
+
- test/unit/u-1.0/string.rb
|
354
|
+
- test/unit/u-1.0.rb
|
355
|
+
- test/unit/u-1.0/version.rb
|
356
|
+
- test/unit/case.rb
|
357
|
+
- test/unit/foldcase.rb
|
358
|
+
- test/unit/graphemebreak.rb
|
359
|
+
- test/unit/wordbreak.rb
|
360
|
+
- build/test/unit/break.rb
|
361
|
+
- build/test/unit/case.rb
|
362
|
+
- build/test/unit/foldcase.rb
|
363
|
+
- build/test/unit/normalize.rb
|
364
|
+
- test/unit/normalize.rb
|
365
|
+
- ext/u/extconf.rb
|
366
|
+
- ext/u/depend
|
367
|
+
- ext/u/attributes.c
|
368
|
+
- ext/u/attributes.h
|
369
|
+
- ext/u/case.h
|
370
|
+
- ext/u/output.h
|
371
|
+
- ext/u/private.c
|
372
|
+
- ext/u/private.h
|
373
|
+
- ext/u/rb_includes.h
|
374
|
+
- ext/u/rb_private.c
|
375
|
+
- ext/u/rb_private.h
|
376
|
+
- ext/u/rb_u.c
|
377
|
+
- ext/u/rb_u_buffer.c
|
378
|
+
- ext/u/rb_u_buffer.h
|
379
|
+
- ext/u/rb_u_re.c
|
380
|
+
- ext/u/rb_u_re.h
|
381
|
+
- ext/u/rb_u_string.c
|
382
|
+
- ext/u/rb_u_string.h
|
383
|
+
- ext/u/rb_u_string_alnum.c
|
384
|
+
- ext/u/rb_u_string_alpha.c
|
385
|
+
- ext/u/rb_u_string_aref.c
|
386
|
+
- ext/u/rb_u_string_ascii_only.c
|
387
|
+
- ext/u/rb_u_string_assigned.c
|
388
|
+
- ext/u/rb_u_string_b.c
|
389
|
+
- ext/u/rb_u_string_bytesize.c
|
390
|
+
- ext/u/rb_u_string_byteslice.c
|
391
|
+
- ext/u/rb_u_string_case_ignorable.c
|
392
|
+
- ext/u/rb_u_string_casecmp.c
|
393
|
+
- ext/u/rb_u_string_cased.c
|
394
|
+
- ext/u/rb_u_string_chomp.c
|
395
|
+
- ext/u/rb_u_string_chop.c
|
396
|
+
- ext/u/rb_u_string_chr.c
|
397
|
+
- ext/u/rb_u_string_cntrl.c
|
398
|
+
- ext/u/rb_u_string_collate.c
|
399
|
+
- ext/u/rb_u_string_collation_key.c
|
400
|
+
- ext/u/rb_u_string_canonical_combining_class.c
|
401
|
+
- ext/u/rb_u_string_count.c
|
402
|
+
- ext/u/rb_u_string_defined.c
|
403
|
+
- ext/u/rb_u_string_delete.c
|
404
|
+
- ext/u/rb_u_string_digit.c
|
405
|
+
- ext/u/rb_u_string_downcase.c
|
406
|
+
- ext/u/rb_u_string_dump.c
|
407
|
+
- ext/u/rb_u_string_each_byte.c
|
408
|
+
- ext/u/rb_u_string_each_char.c
|
409
|
+
- ext/u/rb_u_string_each_codepoint.c
|
410
|
+
- ext/u/rb_u_string_each_grapheme_cluster.c
|
411
|
+
- ext/u/rb_u_string_each_line.c
|
412
|
+
- ext/u/rb_u_string_each_word.c
|
413
|
+
- ext/u/rb_u_string_empty.c
|
414
|
+
- ext/u/rb_u_string_end_with.c
|
415
|
+
- ext/u/rb_u_string_eql.c
|
416
|
+
- ext/u/rb_u_string_equal.c
|
417
|
+
- ext/u/rb_u_string_foldcase.c
|
418
|
+
- ext/u/rb_u_string_folded.c
|
419
|
+
- ext/u/rb_u_string_format.c
|
420
|
+
- ext/u/rb_u_string_general_category.c
|
421
|
+
- ext/u/rb_u_string_getbyte.c
|
422
|
+
- ext/u/rb_u_string_graph.c
|
423
|
+
- ext/u/rb_u_string_grapheme_break.c
|
424
|
+
- ext/u/rb_u_string_gsub.c
|
425
|
+
- ext/u/rb_u_string_hash.c
|
426
|
+
- ext/u/rb_u_string_hex.c
|
427
|
+
- ext/u/rb_u_string_include.c
|
428
|
+
- ext/u/rb_u_string_index.c
|
429
|
+
- ext/u/rb_u_string_inspect.c
|
430
|
+
- ext/u/rb_u_string_internal_tr.c
|
431
|
+
- ext/u/rb_u_string_internal_tr.h
|
432
|
+
- ext/u/rb_u_string_justify.c
|
433
|
+
- ext/u/rb_u_string_length.c
|
434
|
+
- ext/u/rb_u_string_line_break.c
|
435
|
+
- ext/u/rb_u_string_lower.c
|
436
|
+
- ext/u/rb_u_string_lstrip.c
|
437
|
+
- ext/u/rb_u_string_match.c
|
438
|
+
- ext/u/rb_u_string_mirror.c
|
439
|
+
- ext/u/rb_u_string_newline.c
|
440
|
+
- ext/u/rb_u_string_normalize.c
|
441
|
+
- ext/u/rb_u_string_normalized.c
|
442
|
+
- ext/u/rb_u_string_oct.c
|
443
|
+
- ext/u/rb_u_string_ord.c
|
444
|
+
- ext/u/rb_u_string_partition.c
|
445
|
+
- ext/u/rb_u_string_plus.c
|
446
|
+
- ext/u/rb_u_string_print.c
|
447
|
+
- ext/u/rb_u_string_punct.c
|
448
|
+
- ext/u/rb_u_string_reverse.c
|
449
|
+
- ext/u/rb_u_string_rindex.c
|
450
|
+
- ext/u/rb_u_string_rpartition.c
|
451
|
+
- ext/u/rb_u_string_rstrip.c
|
452
|
+
- ext/u/rb_u_string_scan.c
|
453
|
+
- ext/u/rb_u_string_script.c
|
454
|
+
- ext/u/rb_u_string_soft_dotted.c
|
455
|
+
- ext/u/rb_u_string_space.c
|
456
|
+
- ext/u/rb_u_string_split.c
|
457
|
+
- ext/u/rb_u_string_squeeze.c
|
458
|
+
- ext/u/rb_u_string_start_with.c
|
459
|
+
- ext/u/rb_u_string_strip.c
|
460
|
+
- ext/u/rb_u_string_sub.c
|
461
|
+
- ext/u/rb_u_string_times.c
|
462
|
+
- ext/u/rb_u_string_title.c
|
463
|
+
- ext/u/rb_u_string_titlecase.c
|
464
|
+
- ext/u/rb_u_string_to_i.c
|
465
|
+
- ext/u/rb_u_string_to_inum.c
|
466
|
+
- ext/u/rb_u_string_to_inum.h
|
467
|
+
- ext/u/rb_u_string_to_str.c
|
468
|
+
- ext/u/rb_u_string_to_sym.c
|
469
|
+
- ext/u/rb_u_string_tr.c
|
470
|
+
- ext/u/rb_u_string_upcase.c
|
471
|
+
- ext/u/rb_u_string_upper.c
|
472
|
+
- ext/u/rb_u_string_valid.c
|
473
|
+
- ext/u/rb_u_string_valid_encoding.c
|
474
|
+
- ext/u/rb_u_string_wide.c
|
475
|
+
- ext/u/rb_u_string_wide_cjk.c
|
476
|
+
- ext/u/rb_u_string_width.c
|
477
|
+
- ext/u/rb_u_string_word_break.c
|
478
|
+
- ext/u/rb_u_string_xdigit.c
|
479
|
+
- ext/u/rb_u_string_zero_width.c
|
480
|
+
- ext/u/titled.c
|
481
|
+
- ext/u/titled.h
|
482
|
+
- ext/u/u.c
|
483
|
+
- ext/u/u.h
|
484
|
+
- ext/u/u_char_downcase.c
|
485
|
+
- ext/u/u_char_canonical_combining_class.c
|
486
|
+
- ext/u/u_char_digit_value.c
|
487
|
+
- ext/u/u_char_general_category.c
|
488
|
+
- ext/u/u_char_grapheme_break.c
|
489
|
+
- ext/u/u_char_isalnum.c
|
490
|
+
- ext/u/u_char_isalpha.c
|
491
|
+
- ext/u/u_char_isassigned.c
|
492
|
+
- ext/u/u_char_iscased.c
|
493
|
+
- ext/u/u_char_iscaseignorable.c
|
494
|
+
- ext/u/u_char_iscntrl.c
|
495
|
+
- ext/u/u_char_isdefined.c
|
496
|
+
- ext/u/u_char_isdigit.c
|
497
|
+
- ext/u/u_char_isgraph.c
|
498
|
+
- ext/u/u_char_islower.c
|
499
|
+
- ext/u/u_char_isnewline.c
|
500
|
+
- ext/u/u_char_isprint.c
|
501
|
+
- ext/u/u_char_ispunct.c
|
502
|
+
- ext/u/u_char_issoftdotted.c
|
503
|
+
- ext/u/u_char_isspace.c
|
504
|
+
- ext/u/u_char_isupper.c
|
505
|
+
- ext/u/u_char_isvalid.c
|
506
|
+
- ext/u/u_char_iswide.c
|
507
|
+
- ext/u/u_char_iswide_cjk.c
|
508
|
+
- ext/u/u_char_isxdigit.c
|
509
|
+
- ext/u/u_char_iszerowidth.c
|
510
|
+
- ext/u/u_char_line_break.c
|
511
|
+
- ext/u/u_char_mirror.c
|
512
|
+
- ext/u/u_char_normalized.c
|
513
|
+
- ext/u/u_char_script.c
|
514
|
+
- ext/u/u_char_to_u.c
|
515
|
+
- ext/u/u_char_upcase.c
|
516
|
+
- ext/u/u_char_xdigit_value.c
|
517
|
+
- ext/u/u_char_word_break.c
|
518
|
+
- ext/u/u_char_width.c
|
519
|
+
- ext/u/u_collate.c
|
520
|
+
- ext/u/u_collation_key.c
|
521
|
+
- ext/u/u_downcase.c
|
522
|
+
- ext/u/u_decode.c
|
523
|
+
- ext/u/u_foldcase.c
|
524
|
+
- ext/u/u_grapheme_clusters.c
|
525
|
+
- ext/u/u_has_prefix.c
|
526
|
+
- ext/u/u_index.c
|
527
|
+
- ext/u/u_is_ascii_only.c
|
528
|
+
- ext/u/u_locale.c
|
529
|
+
- ext/u/u_locale.h
|
530
|
+
- ext/u/u_mirror.c
|
531
|
+
- ext/u/u_n_bytes.c
|
532
|
+
- ext/u/u_n_chars.c
|
533
|
+
- ext/u/u_normalize.c
|
534
|
+
- ext/u/u_normalized.c
|
535
|
+
- ext/u/u_offset_to_pointer.c
|
536
|
+
- ext/u/u_pointer_to_offset.c
|
537
|
+
- ext/u/u_recode.c
|
538
|
+
- ext/u/u_reverse.c
|
539
|
+
- ext/u/u_rindex.c
|
540
|
+
- ext/u/u_titlecase.c
|
541
|
+
- ext/u/u_upcase.c
|
542
|
+
- ext/u/u_width.c
|
543
|
+
- ext/u/u_words.c
|
544
|
+
- ext/u/yield.h
|
545
|
+
- build/ext/u/data/attributes.rb
|
546
|
+
- build/ext/u/data/bidi-mirroring.rb
|
547
|
+
- build/ext/u/data/case-folding.rb
|
548
|
+
- build/ext/u/data/cased.rb
|
549
|
+
- build/ext/u/data/canonical-combining-class.rb
|
550
|
+
- build/ext/u/data/compose.rb
|
551
|
+
- build/ext/u/data/constants.rb
|
552
|
+
- build/ext/u/data/decompose.rb
|
553
|
+
- build/ext/u/data/general-category.rb
|
554
|
+
- build/ext/u/data/grapheme-word-break.rb
|
555
|
+
- build/ext/u/data/marshalled.rb
|
556
|
+
- build/ext/u/data/script.rb
|
557
|
+
- build/ext/u/data/soft-dotted.rb
|
558
|
+
- build/ext/u/data/title-table.rb
|
559
|
+
- build/ext/u/data/wide.rb
|
560
|
+
- build/lib/u/build.rb
|
561
|
+
- build/lib/u/build/data.rb
|
562
|
+
- build/lib/u/build/data/bidimirroring.rb
|
563
|
+
- build/lib/u/build/data/break.rb
|
564
|
+
- build/lib/u/build/data/casefolding.rb
|
565
|
+
- build/lib/u/build/data/compositionexclusions.rb
|
566
|
+
- build/lib/u/build/data/derivedeastasianwidth.rb
|
567
|
+
- build/lib/u/build/data/file.rb
|
568
|
+
- build/lib/u/build/data/linebreak.rb
|
569
|
+
- build/lib/u/build/data/proplist.rb
|
570
|
+
- build/lib/u/build/data/scripts.rb
|
571
|
+
- build/lib/u/build/data/specialcasing.rb
|
572
|
+
- build/lib/u/build/data/unicode.rb
|
573
|
+
- build/lib/u/build/data/unicode/entry.rb
|
574
|
+
- build/lib/u/build/data/unicode/entry/decomposition.rb
|
575
|
+
- build/lib/u/build/data/unicode/points.rb
|
576
|
+
- build/lib/u/build/header.rb
|
577
|
+
- build/lib/u/build/header/table.rb
|
578
|
+
- build/lib/u/build/header/table/row.rb
|
579
|
+
- build/lib/u/build/header/tables.rb
|
580
|
+
- build/lib/u/build/header/tables/intervals.rb
|
581
|
+
- build/lib/u/build/header/tables/split.rb
|
582
|
+
- build/lib/u/build/header/tables/split/data.rb
|
583
|
+
- build/lib/u/build/header/tables/split/part1.rb
|
584
|
+
- build/lib/u/build/header/tables/split/part2.rb
|
585
|
+
- build/lib/u/build/header/tables/split/row.rb
|
586
|
+
- build/lib/u/build/header/tables/split/rows.rb
|
587
|
+
- ext/u/data/attributes.h
|
588
|
+
- ext/u/data/bidi-mirroring.h
|
589
|
+
- ext/u/data/case-folding.h
|
590
|
+
- ext/u/data/cased.h
|
591
|
+
- ext/u/data/canonical-combining-class.h
|
592
|
+
- ext/u/data/compose.h
|
593
|
+
- ext/u/data/constants.h
|
594
|
+
- ext/u/data/decompose.h
|
595
|
+
- ext/u/data/general-category.h
|
596
|
+
- ext/u/data/grapheme-break.h
|
597
|
+
- ext/u/data/line-break.h
|
598
|
+
- ext/u/data/normalization-quick-check.h
|
599
|
+
- ext/u/data/script.h
|
600
|
+
- ext/u/data/soft-dotted.h
|
601
|
+
- ext/u/data/title-table.h
|
602
|
+
- ext/u/data/types.h
|
603
|
+
- ext/u/data/wide-cjk.h
|
604
|
+
- ext/u/data/wide.h
|
605
|
+
- ext/u/data/word-break.h
|
139
606
|
homepage: https://github.com/now/u
|
140
607
|
licenses: []
|
141
|
-
|
608
|
+
metadata: {}
|
142
609
|
post_install_message:
|
143
610
|
rdoc_options: []
|
144
|
-
|
145
|
-
require_paths:
|
146
|
-
- ext
|
611
|
+
require_paths:
|
147
612
|
- lib
|
148
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
none: false
|
159
|
-
requirements:
|
160
|
-
- - ">="
|
161
|
-
- !ruby/object:Gem::Version
|
162
|
-
hash: 3
|
163
|
-
segments:
|
164
|
-
- 0
|
165
|
-
version: "0"
|
613
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
614
|
+
requirements:
|
615
|
+
- - '>='
|
616
|
+
- !ruby/object:Gem::Version
|
617
|
+
version: '0'
|
618
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
619
|
+
requirements:
|
620
|
+
- - '>='
|
621
|
+
- !ruby/object:Gem::Version
|
622
|
+
version: '0'
|
166
623
|
requirements: []
|
167
|
-
|
168
624
|
rubyforge_project:
|
169
|
-
rubygems_version:
|
625
|
+
rubygems_version: 2.0.3
|
170
626
|
signing_key:
|
171
|
-
specification_version:
|
172
|
-
summary:
|
627
|
+
specification_version: 4
|
628
|
+
summary: U extends Ruby’s Unicode support.
|
173
629
|
test_files: []
|
174
|
-
|