unicode-block 1.0.0 → 1.1.0

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.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/lib/unicode-block.rb +217 -97
  3. data/unicode-block.gemspec +60 -0
  4. metadata +3 -2
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.0
1
+ 1.1.0
@@ -3,106 +3,226 @@
3
3
 
4
4
  class UnicodeBlock
5
5
  BLOCKS = [
6
- [ 0x0000, 0x007F, "Basic Latin" ],
7
- [ 0x0080, 0x00FF, "Latin-1 Supplement" ],
8
- [ 0x0100, 0x017F, "Latin Extended-A" ],
9
- [ 0x0180, 0x024F, "Latin Extended-B" ],
10
- [ 0x0250, 0x02AF, "IPA Extensions" ],
11
- [ 0x02B0, 0x02FF, "Spacing Modifier Letters" ],
12
- [ 0x0300, 0x036F, "Combining Diacritical Marks" ],
13
- [ 0x0370, 0x03FF, "Greek" ],
14
- [ 0x0400, 0x04FF, "Cyrillic" ],
15
- [ 0x0530, 0x058F, "Armenian" ],
16
- [ 0x0590, 0x05FF, "Hebrew" ],
17
- [ 0x0600, 0x06FF, "Arabic" ],
18
- [ 0x0700, 0x074F, "Syriac" ],
19
- [ 0x0780, 0x07BF, "Thaana" ],
20
- [ 0x0900, 0x097F, "Devanagari" ],
21
- [ 0x0980, 0x09FF, "Bengali" ],
22
- [ 0x0A00, 0x0A7F, "Gurmukhi" ],
23
- [ 0x0A80, 0x0AFF, "Gujarati" ],
24
- [ 0x0B00, 0x0B7F, "Oriya" ],
25
- [ 0x0B80, 0x0BFF, "Tamil" ],
26
- [ 0x0C00, 0x0C7F, "Telugu" ],
27
- [ 0x0C80, 0x0CFF, "Kannada" ],
28
- [ 0x0D00, 0x0D7F, "Malayalam" ],
29
- [ 0x0D80, 0x0DFF, "Sinhala" ],
30
- [ 0x0E00, 0x0E7F, "Thai" ],
31
- [ 0x0E80, 0x0EFF, "Lao" ],
32
- [ 0x0F00, 0x0FFF, "Tibetan" ],
33
- [ 0x1000, 0x109F, "Myanmar" ],
34
- [ 0x10A0, 0x10FF, "Georgian" ],
35
- [ 0x1100, 0x11FF, "Hangul Jamo" ],
36
- [ 0x1200, 0x137F, "Ethiopic" ],
37
- [ 0x13A0, 0x13FF, "Cherokee" ],
38
- [ 0x1400, 0x167F, "Unified Canadian Aboriginal Syllabics" ],
39
- [ 0x1680, 0x169F, "Ogham" ],
40
- [ 0x16A0, 0x16FF, "Runic" ],
41
- [ 0x1780, 0x17FF, "Khmer" ],
42
- [ 0x1800, 0x18AF, "Mongolian" ],
43
- [ 0x1E00, 0x1EFF, "Latin Extended Additional" ],
44
- [ 0x1F00, 0x1FFF, "Greek Extended" ],
45
- [ 0x2000, 0x206F, "General Punctuation" ],
46
- [ 0x2070, 0x209F, "Superscripts and Subscripts" ],
47
- [ 0x20A0, 0x20CF, "Currency Symbols" ],
48
- [ 0x20D0, 0x20FF, "Combining Marks for Symbols" ],
49
- [ 0x2100, 0x214F, "Letterlike Symbols" ],
50
- [ 0x2150, 0x218F, "Number Forms" ],
51
- [ 0x2190, 0x21FF, "Arrows" ],
52
- [ 0x2200, 0x22FF, "Mathematical Operators" ],
53
- [ 0x2300, 0x23FF, "Miscellaneous Technical" ],
54
- [ 0x2400, 0x243F, "Control Pictures" ],
55
- [ 0x2440, 0x245F, "Optical Character Recognition" ],
56
- [ 0x2460, 0x24FF, "Enclosed Alphanumerics" ],
57
- [ 0x2500, 0x257F, "Box Drawing" ],
58
- [ 0x2580, 0x259F, "Block Elements" ],
59
- [ 0x25A0, 0x25FF, "Geometric Shapes" ],
60
- [ 0x2600, 0x26FF, "Miscellaneous Symbols" ],
61
- [ 0x2700, 0x27BF, "Dingbats" ],
62
- [ 0x2800, 0x28FF, "Braille Patterns" ],
63
- [ 0x2E80, 0x2EFF, "CJK Radicals Supplement" ],
64
- [ 0x2F00, 0x2FDF, "Kangxi Radicals" ],
65
- [ 0x2FF0, 0x2FFF, "Ideographic Description Characters" ],
66
- [ 0x3000, 0x303F, "CJK Symbols and Punctuation" ],
67
- [ 0x3040, 0x309F, "Hiragana" ],
68
- [ 0x30A0, 0x30FF, "Katakana" ],
69
- [ 0x3100, 0x312F, "Bopomofo" ],
70
- [ 0x3130, 0x318F, "Hangul Compatibility Jamo" ],
71
- [ 0x3190, 0x319F, "Kanbun" ],
72
- [ 0x31A0, 0x31BF, "Bopomofo Extended" ],
73
- [ 0x3200, 0x32FF, "Enclosed CJK Letters and Months" ],
74
- [ 0x3300, 0x33FF, "CJK Compatibility" ],
75
- [ 0x3400, 0x4DB5, "CJK Unified Ideographs Extension A" ],
76
- [ 0x4E00, 0x9FFF, "CJK Unified Ideographs" ],
77
- [ 0xA000, 0xA48F, "Yi Syllables" ],
78
- [ 0xA490, 0xA4CF, "Yi Radicals" ],
79
- [ 0xAC00, 0xD7A3, "Hangul Syllables" ],
80
- # [ 0xD800, 0xDB7F, "High Surrogates" ],
81
- # [ 0xDB80, 0xDBFF, "High Private Use Surrogates" ],
82
- # [ 0xDC00, 0xDFFF, "Low Surrogates" ],
83
- [ 0xE000, 0xF8FF, "Private Use" ],
84
- [ 0xF900, 0xFAFF, "CJK Compatibility Ideographs" ],
85
- [ 0xFB00, 0xFB4F, "Alphabetic Presentation Forms" ],
86
- [ 0xFB50, 0xFDFF, "Arabic Presentation Forms-A" ],
87
- [ 0xFE20, 0xFE2F, "Combining Half Marks" ],
88
- [ 0xFE30, 0xFE4F, "CJK Compatibility Forms" ],
89
- [ 0xFE50, 0xFE6F, "Small Form Variants" ],
90
- [ 0xFE70, 0xFEFE, "Arabic Presentation Forms-B" ],
91
- [ 0xFF00, 0xFFEF, "Halfwidth and Fullwidth Forms" ],
92
- [ 0xFFF0, 0xFFFD, "Specials" ],
6
+ [ 0x0000, 0x007F, "Basic Latin" ],
7
+ [ 0x0080, 0x00FF, "Latin-1 Supplement" ],
8
+ [ 0x0100, 0x017F, "Latin Extended-A" ],
9
+ [ 0x0180, 0x024F, "Latin Extended-B" ],
10
+ [ 0x0250, 0x02AF, "IPA Extensions" ],
11
+ [ 0x02B0, 0x02FF, "Spacing Modifier Letters" ],
12
+ [ 0x0300, 0x036F, "Combining Diacritical Marks" ],
13
+ [ 0x0370, 0x03FF, "Greek and Coptic" ],
14
+ [ 0x0400, 0x04FF, "Cyrillic" ],
15
+ [ 0x0500, 0x052F, "Cyrillic Supplement" ],
16
+ [ 0x0530, 0x058F, "Armenian" ],
17
+ [ 0x0590, 0x05FF, "Hebrew" ],
18
+ [ 0x0600, 0x06FF, "Arabic" ],
19
+ [ 0x0700, 0x074F, "Syriac" ],
20
+ [ 0x0750, 0x077F, "Arabic Supplement" ],
21
+ [ 0x0780, 0x07BF, "Thaana" ],
22
+ [ 0x07C0, 0x07FF, "NKo" ],
23
+ [ 0x0800, 0x083F, "Samaritan" ],
24
+ [ 0x0840, 0x085F, "Mandaic" ],
25
+ [ 0x0900, 0x097F, "Devanagari" ],
26
+ [ 0x0980, 0x09FF, "Bengali" ],
27
+ [ 0x0A00, 0x0A7F, "Gurmukhi" ],
28
+ [ 0x0A80, 0x0AFF, "Gujarati" ],
29
+ [ 0x0B00, 0x0B7F, "Oriya" ],
30
+ [ 0x0B80, 0x0BFF, "Tamil" ],
31
+ [ 0x0C00, 0x0C7F, "Telugu" ],
32
+ [ 0x0C80, 0x0CFF, "Kannada" ],
33
+ [ 0x0D00, 0x0D7F, "Malayalam" ],
34
+ [ 0x0D80, 0x0DFF, "Sinhala" ],
35
+ [ 0x0E00, 0x0E7F, "Thai" ],
36
+ [ 0x0E80, 0x0EFF, "Lao" ],
37
+ [ 0x0F00, 0x0FFF, "Tibetan" ],
38
+ [ 0x1000, 0x109F, "Myanmar" ],
39
+ [ 0x10A0, 0x10FF, "Georgian" ],
40
+ [ 0x1100, 0x11FF, "Hangul Jamo" ],
41
+ [ 0x1200, 0x137F, "Ethiopic" ],
42
+ [ 0x1380, 0x139F, "Ethiopic Supplement" ],
43
+ [ 0x13A0, 0x13FF, "Cherokee" ],
44
+ [ 0x1400, 0x167F, "Unified Canadian Aboriginal Syllabics" ],
45
+ [ 0x1680, 0x169F, "Ogham" ],
46
+ [ 0x16A0, 0x16FF, "Runic" ],
47
+ [ 0x1700, 0x171F, "Tagalog" ],
48
+ [ 0x1720, 0x173F, "Hanunoo" ],
49
+ [ 0x1740, 0x175F, "Buhid" ],
50
+ [ 0x1760, 0x177F, "Tagbanwa" ],
51
+ [ 0x1780, 0x17FF, "Khmer" ],
52
+ [ 0x1800, 0x18AF, "Mongolian" ],
53
+ [ 0x18B0, 0x18FF, "Unified Canadian Aboriginal Syllabics Extended" ],
54
+ [ 0x1900, 0x194F, "Limbu" ],
55
+ [ 0x1950, 0x197F, "Tai Le" ],
56
+ [ 0x1980, 0x19DF, "Tai Lue" ],
57
+ [ 0x19E0, 0x19FF, "Khmer Symbols" ],
58
+ [ 0x1A00, 0x1A1F, "Buginese" ],
59
+ [ 0x1A20, 0x1AAF, "Tai Tham" ],
60
+ [ 0x1B00, 0x1B7F, "Balinese" ],
61
+ [ 0x1B80, 0x1BBF, "Sundanese" ],
62
+ [ 0x1BC0, 0x1BFF, "Batak" ],
63
+ [ 0x1C00, 0x1C4F, "Lepcha" ],
64
+ [ 0x1C50, 0x1C7F, "Ol Chiki" ],
65
+ [ 0x1CD0, 0x1CFF, "Vedic Extensions" ],
66
+ [ 0x1D00, 0x1D7F, "Phonetic Extensions" ],
67
+ [ 0x1D80, 0x1DBF, "Phonetic Extensions Supplement" ],
68
+ [ 0x1DC0, 0x1DFF, "Combining Diacritical Marks Supplement" ],
69
+ [ 0x1E00, 0x1EFF, "Latin extended additional" ],
70
+ [ 0x1F00, 0x1FFF, "Greek Extended" ],
71
+ [ 0x2000, 0x206F, "General Punctuation" ],
72
+ [ 0x2070, 0x209F, "Superscripts and Subscripts" ],
73
+ [ 0x20A0, 0x20CF, "Currency Symbols" ],
74
+ [ 0x20D0, 0x20FF, "Combining Diacritical Marks for Symbols" ],
75
+ [ 0x2100, 0x214F, "Letterlike Symbols" ],
76
+ [ 0x2150, 0x218F, "Number Forms" ],
77
+ [ 0x2190, 0x21FF, "Arrows" ],
78
+ [ 0x2200, 0x22FF, "Mathematical Operators" ],
79
+ [ 0x2300, 0x23FF, "Miscellaneous Technical" ],
80
+ [ 0x2400, 0x243F, "Control Pictures" ],
81
+ [ 0x2440, 0x245F, "Optical Character Recognition" ],
82
+ [ 0x2460, 0x24FF, "Enclosed Alphanumerics" ],
83
+ [ 0x2500, 0x257F, "Box Drawing" ],
84
+ [ 0x2580, 0x259F, "Block Elements" ],
85
+ [ 0x25A0, 0x25FF, "Geometric Shapes" ],
86
+ [ 0x2600, 0x26FF, "Miscellaneous Symbols" ],
87
+ [ 0x2700, 0x27BF, "Dingbats" ],
88
+ [ 0x27C0, 0x27EF, "Miscellaneous Mathematical Symbols-A" ],
89
+ [ 0x27F0, 0x27FF, "Supplemental Arrows-A" ],
90
+ [ 0x2800, 0x28FF, "Braille Patterns" ],
91
+ [ 0x2900, 0x297F, "Supplemental Arrows-B" ],
92
+ [ 0x2980, 0x29FF, "Miscellaneous Mathematical Symbols-B" ],
93
+ [ 0x2A00, 0x2AFF, "Supplemental Mathematical Operators" ],
94
+ [ 0x2B00, 0x2BFF, "Miscellaneous Symbols and Arrows" ],
95
+ [ 0x2C00, 0x2C5F, "Glagolitic" ],
96
+ [ 0x2C60, 0x2C7F, "Latin Extended-C" ],
97
+ [ 0x2C80, 0x2CFF, "Coptic" ],
98
+ [ 0x2D00, 0x2D2F, "Georgian Supplement" ],
99
+ [ 0x2D30, 0x2D7F, "Tifinagh" ],
100
+ [ 0x2D80, 0x2DDF, "Ethiopic Extended" ],
101
+ [ 0x2DE0, 0x2DFF, "Cyrillic Extended-A" ],
102
+ [ 0x2E00, 0x2E7F, "Supplemental Punctuation" ],
103
+ [ 0x2E80, 0x2EFF, "Radicals Supplement" ],
104
+ [ 0x2F00, 0x2FDF, "Kangxi Radicals" ],
105
+ [ 0x2FF0, 0x2FFF, "Ideographic Description Characters" ],
106
+ [ 0x3000, 0x303F, "CJK Symbols and Punctuation" ],
107
+ [ 0x3040, 0x309F, "Hiragana" ],
108
+ [ 0x30A0, 0x30FF, "Katakana" ],
109
+ [ 0x3100, 0x312F, "Bopomofo" ],
110
+ [ 0x3130, 0x318F, "Hangul Compatibility Jamo" ],
111
+ [ 0x3190, 0x319F, "Kanbun" ],
112
+ [ 0x31A0, 0x31BF, "Bopomofo Extended" ],
113
+ [ 0x31C0, 0x31EF, "CJK Strokes" ],
114
+ [ 0x31F0, 0x31FF, "Katakana Phonetic Extensions" ],
115
+ [ 0x3200, 0x32FF, "Enclosed CJK Letters and Months" ],
116
+ [ 0x3300, 0x33FF, "CJK Compatibility" ],
117
+ [ 0x3400, 0x4DBF, "CJK Unified Ideographs Extension A" ],
118
+ [ 0x4DC0, 0x4DFF, "Yijing Hexagram Symbols" ],
119
+ [ 0x4E00, 0x9FFF, "CJK Unified Ideographs" ],
120
+ [ 0xA000, 0xA48F, "Yi Syllables" ],
121
+ [ 0xA490, 0xA4CF, "Yi Radicals" ],
122
+ [ 0xA4D0, 0xA4FF, "Lisu" ],
123
+ [ 0xA500, 0xA63F, "Vai" ],
124
+ [ 0xA640, 0xA69F, "Cyrillic Extended-B" ],
125
+ [ 0xA6A0, 0xA6FF, "Bamum" ],
126
+ [ 0xA700, 0xA71F, "Modifier Tone Letters" ],
127
+ [ 0xA720, 0xA7FF, "Latin Extended-D" ],
128
+ [ 0xA800, 0xA82F, "Syloti Nagri" ],
129
+ [ 0xA830, 0xA83F, "Common Indic Number Forms" ],
130
+ [ 0xA840, 0xA87F, "Phags-pa" ],
131
+ [ 0xA880, 0xA8DF, "Saurashtra" ],
132
+ [ 0xA8E0, 0xA8FF, "Devanagari Extended" ],
133
+ [ 0xA900, 0xA92F, "Kayah Li" ],
134
+ [ 0xA930, 0xA95F, "Rejang" ],
135
+ [ 0xA960, 0xA97F, "Hangul Jamo Extended-A" ],
136
+ [ 0xA980, 0xA9DF, "Javanese" ],
137
+ [ 0xAA00, 0xAA5F, "Cham" ],
138
+ [ 0xAA60, 0xAA7F, "Myanmar Extended-A" ],
139
+ [ 0xAA80, 0xAADF, "Tai Viet" ],
140
+ [ 0xAB00, 0xAB2F, "Ethiopic Extended-A" ],
141
+ [ 0xABC0, 0xABFF, "Meetei Mayek" ],
142
+ [ 0xAC00, 0xD7AF, "Hangul Syllables" ],
143
+ [ 0xD7B0, 0xD7FF, "Hangul Jamo Extended-B" ],
144
+ [ 0xD800, 0xDB7F, "High Surrogates" ],
145
+ [ 0xDB80, 0xDBFF, "High Private Use Surrogates" ],
146
+ [ 0xDC00, 0xDFFF, "Low Surrogates" ],
147
+ [ 0xE000, 0xF8FF, "Private Use Area" ],
148
+ [ 0xF900, 0xFAFF, "CJK Compatibility Ideographs" ],
149
+ [ 0xFB00, 0xFB4F, "Alphabetic Presentation Forms" ],
150
+ [ 0xFB50, 0xFDFF, "Arabic Presentation Forms-A" ],
151
+ [ 0xFE00, 0xFE0F, "Variation Selectors" ],
152
+ [ 0xFE10, 0xFE1F, "Vertical Forms" ],
153
+ [ 0xFE20, 0xFE2F, "Combining Half Marks" ],
154
+ [ 0xFE30, 0xFE4F, "CJK Compatibility Forms" ],
155
+ [ 0xFE50, 0xFE6F, "Small Form Variants" ],
156
+ [ 0xFE70, 0xFEFF, "Arabic Presentation Forms-B" ],
157
+ [ 0xFF00, 0xFFEF, "Halfwidth and Fullwidth Forms" ],
158
+ [ 0xFFF0, 0xFFFF, "Specials" ],
159
+ [ 0x10000, 0x1007F, "Linear B Syllabary" ],
160
+ [ 0x10080, 0x100FF, "Linear B Ideograms" ],
161
+ [ 0x10100, 0x1013F, "Aegean Numbers" ],
162
+ [ 0x10140, 0x1018F, "Ancient Greek Numbers" ],
163
+ [ 0x10190, 0x101CF, "Ancient Symbols" ],
164
+ [ 0x101D0, 0x101FF, "Phaistos Disc" ],
165
+ [ 0x10280, 0x1029F, "Lycian" ],
166
+ [ 0x102A0, 0x102DF, "Carian" ],
167
+ [ 0x10300, 0x1032F, "Old Italic" ],
168
+ [ 0x10330, 0x1034F, "Gothic" ],
169
+ [ 0x10380, 0x1039F, "Ugaritic" ],
170
+ [ 0x103A0, 0x103DF, "Old Persian" ],
171
+ [ 0x10400, 0x1044F, "Deseret" ],
172
+ [ 0x10450, 0x1047F, "Shavian" ],
173
+ [ 0x10480, 0x104AF, "Osmanya" ],
174
+ [ 0x10800, 0x1083F, "Cypriot Syllabary" ],
175
+ [ 0x10840, 0x1085F, "Imperial Aramaic" ],
176
+ [ 0x10900, 0x1091F, "Phoenician" ],
177
+ [ 0x10920, 0x1093F, "Lydian" ],
178
+ [ 0x10A00, 0x10A5F, "Kharoshthi" ],
179
+ [ 0x10A60, 0x10A7F, "Old South Arabian" ],
180
+ [ 0x10B00, 0x10B3F, "Avestan" ],
181
+ [ 0x10B40, 0x10B5F, "Inscriptional Parthian" ],
182
+ [ 0x10B60, 0x10B7F, "Inscriptional Pahlavi" ],
183
+ [ 0x10C00, 0x10C4F, "Old Turkic" ],
184
+ [ 0x10E60, 0x10E7F, "Rumi Numeral Symbols" ],
185
+ [ 0x11000, 0x1107F, "Brahmi" ],
186
+ [ 0x11080, 0x110CF, "Kaithi" ],
187
+ [ 0x12000, 0x123FF, "Cuneiform" ],
188
+ [ 0x12400, 0x1247F, "Cuneiform Numbers and Punctuation" ],
189
+ [ 0x13000, 0x1342F, "Egyptian Hieroglyphs" ],
190
+ [ 0x16800, 0x16A3F, "Bamum Supplement" ],
191
+ [ 0x1B000, 0x1B0FF, "Kana Supplement" ],
192
+ [ 0x1D000, 0x1D0FF, "Byzantine Musical Symbols" ],
193
+ [ 0x1D100, 0x1D1FF, "Musical Symbols" ],
194
+ [ 0x1D200, 0x1D24F, "Ancient Greek Musical Notation" ],
195
+ [ 0x1D300, 0x1D35F, "Tai Xuan Jing Symbols" ],
196
+ [ 0x1D360, 0x1D37F, "Counting Rod Numerals" ],
197
+ [ 0x1D400, 0x1D7FF, "Mathematical Alphanumeric Symbols" ],
198
+ [ 0x1F000, 0x1F02F, "Mahjong Tiles" ],
199
+ [ 0x1F030, 0x1F09F, "Domino Tiles" ],
200
+ [ 0x1F0A0, 0x1F0FF, "Playing Cards" ],
201
+ [ 0x1F100, 0x1F1FF, "Enclosed Alphanumeric Supplement" ],
202
+ [ 0x1F200, 0x1F2FF, "Enclosed Ideographic Supplement" ],
203
+ [ 0x1F300, 0x1F5FF, "Miscellaneous Symbols And Pictographs" ],
204
+ [ 0x1F600, 0x1F64F, "Emoticons" ],
205
+ [ 0x1F680, 0x1F6FF, "Transport And Map Symbols" ],
206
+ [ 0x1F700, 0x1F77F, "Alchemical Symbols" ],
207
+ [ 0x20000, 0x2A6DF, "CJK Unified Ideographs Extension B" ],
208
+ [ 0x2A700, 0x2B73F, "CJK Unified Ideographs Extension C" ],
209
+ [ 0x2B740, 0x2B81F, "CJK Unified Ideographs Extension D" ],
210
+ [ 0x2F800, 0x2FA1F, "CJK Compatibility Ideographs Supplement" ],
93
211
  ];
94
212
 
95
213
  BLOCKS.each { |first,last,name|
96
- blockname = name.gsub(/[\W]/,"_");
214
+ blockname = name.gsub(/[\W]/,"_");
97
215
  eval %Q{
98
- # BLOCKNAME_RANGE
99
- #{blockname.upcase}_RANGE = (#{first}..#{last});
100
-
101
- # BLOCKNAME_PROP
102
- #{blockname.upcase}_PROP = "\\\\u{#{first.to_s(16)}}-\\\\u{#{last.to_s(16)}}";
103
-
104
- # BLOCKNAME_REGEXP
105
- #{blockname.upcase}_REGEXP = Regexp.compile("[\#{#{blockname.upcase}_PROP}]");
106
- }
216
+ # BLOCKNAME_RANGE
217
+ #{blockname.upcase}_RANGE = (#{first}..#{last});
218
+
219
+ # BLOCKNAME_PROP
220
+ #{blockname.upcase}_PROP = "\\\\u{#{first.to_s(16)}}-\\\\u{#{last.to_s(16)}}";
221
+
222
+ # BLOCKNAME_REGEXP
223
+ if (!(name =~ /Surrogates/))
224
+ #{blockname.upcase}_REGEXP = Regexp.compile("[\#{#{blockname.upcase}_PROP}]");
225
+ end
226
+ }
107
227
  }
108
228
  end
@@ -0,0 +1,60 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = "unicode-block"
8
+ s.version = "1.1.0"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["lpm11"]
12
+ s.date = "2011-10-11"
13
+ s.description = "Unicode block list class."
14
+ s.email = "lpm11r@gmail.com"
15
+ s.extra_rdoc_files = [
16
+ "LICENSE.txt",
17
+ "README.rdoc"
18
+ ]
19
+ s.files = [
20
+ ".document",
21
+ ".rspec",
22
+ "Gemfile",
23
+ "LICENSE.txt",
24
+ "README.rdoc",
25
+ "Rakefile",
26
+ "VERSION",
27
+ "example/example1.rb",
28
+ "lib/unicode-block.rb",
29
+ "spec/spec_helper.rb",
30
+ "spec/unicode-block_spec.rb",
31
+ "unicode-block.gemspec"
32
+ ]
33
+ s.homepage = "http://github.com/lpm11/unicode-block"
34
+ s.licenses = ["MIT"]
35
+ s.require_paths = ["lib"]
36
+ s.rubygems_version = "1.8.10"
37
+ s.summary = "Unicode block list class."
38
+
39
+ if s.respond_to? :specification_version then
40
+ s.specification_version = 3
41
+
42
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
43
+ s.add_development_dependency(%q<rspec>, ["~> 2.3.0"])
44
+ s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
45
+ s.add_development_dependency(%q<jeweler>, ["~> 1.6.4"])
46
+ s.add_development_dependency(%q<rcov>, [">= 0"])
47
+ else
48
+ s.add_dependency(%q<rspec>, ["~> 2.3.0"])
49
+ s.add_dependency(%q<bundler>, ["~> 1.0.0"])
50
+ s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
51
+ s.add_dependency(%q<rcov>, [">= 0"])
52
+ end
53
+ else
54
+ s.add_dependency(%q<rspec>, ["~> 2.3.0"])
55
+ s.add_dependency(%q<bundler>, ["~> 1.0.0"])
56
+ s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
57
+ s.add_dependency(%q<rcov>, [">= 0"])
58
+ end
59
+ end
60
+
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: unicode-block
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.0.0
5
+ version: 1.1.0
6
6
  platform: ruby
7
7
  authors:
8
8
  - lpm11
@@ -77,6 +77,7 @@ files:
77
77
  - lib/unicode-block.rb
78
78
  - spec/spec_helper.rb
79
79
  - spec/unicode-block_spec.rb
80
+ - unicode-block.gemspec
80
81
  homepage: http://github.com/lpm11/unicode-block
81
82
  licenses:
82
83
  - MIT
@@ -90,7 +91,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
90
91
  requirements:
91
92
  - - ">="
92
93
  - !ruby/object:Gem::Version
93
- hash: -2892583044750942939
94
+ hash: -3414302638324279064
94
95
  segments:
95
96
  - 0
96
97
  version: "0"