twitter_cldr 2.4.2 → 2.4.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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: e7f44e818f4e5166f45c42579d91ecc27f28a3d5
4
+ data.tar.gz: ae6815b54c99d68d8b1cf1fec574d5f0ae09097c
5
+ SHA512:
6
+ metadata.gz: 8573dcbf880ff7da628f00a0cfbb03e60f358cb9ee1aec72edf2ec5a0e2bf30a259355a7827fb48ca6591faecb114e0e0b4363a2928e879b22cf26ac3a9028f7
7
+ data.tar.gz: c2ccdcac7d53d42ff5901f832578e42ac7ba31bd6ff47ba26ac8939d68938532427cd442ca799fdce72aaaa5fff42602b4d78d1371a7570ca7990b19045c4c38
data/History.txt CHANGED
@@ -1,3 +1,7 @@
1
+ == 2.4.3
2
+
3
+ * Fixing abbreviated timespan formats for en-GB.
4
+
1
5
  == 2.4.2
2
6
 
3
7
  * Fixing non-quoted symbol error in en-GB plural resource file.
@@ -4,5 +4,5 @@
4
4
  # http://www.apache.org/licenses/LICENSE-2.0
5
5
 
6
6
  module TwitterCldr
7
- VERSION = "2.4.2"
7
+ VERSION = "2.4.3"
8
8
  end
@@ -1,5 +1,5 @@
1
1
  ---
2
- :en:
2
+ :en-GB:
3
3
  :units:
4
4
  :day:
5
5
  :abbreviated:
@@ -183,38 +183,40 @@ describe TwitterCldr::Utils do
183
183
  end
184
184
 
185
185
  it "tests successful roundtrip of multi-byte characters" do
186
- [
187
- 0x80,
188
- 0x85,
189
- 0xa0,
190
- 0x07ff,
191
- 0x0800,
192
- 0x0fff,
193
- 0x1000,
194
- 0x2028,
195
- 0x2029,
196
- 0xcfff,
197
- 0xd000,
198
- 0xd7ff,
199
- 0xe000,
200
- 0xfffd,
201
- 0x10000,
202
- 0x3ffff,
203
- 0x40000,
204
- 0xfffff,
205
- 0x100000,
206
- 0x10ffff,
207
- ].each do |ucs_code|
208
- [-1, 0, 1].each do |ofs|
209
- (c = [ucs_code + ofs].pack('U'))
210
- next unless c.valid_encoding? if c.respond_to? :valid_encoding?
211
- c_hex = c.unpack('H8')
212
- y = c.localize.to_yaml(
213
- :escape_b_specific => true,
214
- :escape_as_utf8 => true
215
- )
216
- r = YAML.load(y)
217
- (c == "\xc2\x85" ? "\n" : c).should == r # "\N" is normalized as "\n"
186
+ if RUBY_VERSION < "2.0.0" && RUBY_PLATFORM != "java"
187
+ [
188
+ 0x80,
189
+ 0x85,
190
+ 0xa0,
191
+ 0x07ff,
192
+ 0x0800,
193
+ 0x0fff,
194
+ 0x1000,
195
+ 0x2028,
196
+ 0x2029,
197
+ 0xcfff,
198
+ 0xd000,
199
+ 0xd7ff,
200
+ 0xe000,
201
+ 0xfffd,
202
+ 0x10000,
203
+ 0x3ffff,
204
+ 0x40000,
205
+ 0xfffff,
206
+ 0x100000,
207
+ 0x10ffff,
208
+ ].each do |ucs_code|
209
+ [-1, 0, 1].each do |ofs|
210
+ (c = [ucs_code + ofs].pack('U'))
211
+ next unless c.valid_encoding? if c.respond_to? :valid_encoding?
212
+ y = c.localize.to_yaml(
213
+ :escape_b_specific => true,
214
+ :escape_as_utf8 => true
215
+ )
216
+
217
+ r = YAML.load(y)
218
+ (c == "\xc2\x85" ? "\n" : c).should == r # "\N" is normalized as "\n"
219
+ end
218
220
  end
219
221
  end
220
222
  end
@@ -283,27 +285,34 @@ describe TwitterCldr::Utils do
283
285
  src = (c.class == String) ? (c + ext) : c
284
286
  y = TwitterCldr::Utils::YAML.dump(src, :escape_as_utf8 => true)
285
287
  r = YAML.load(y)
286
- src.should == r
288
+
289
+ if (RUBY_VERSION >= "2.0.0" || RUBY_PLATFORM == "java") && c.is_a?(String) && c.downcase == "null"
290
+ src.should == c + ext
291
+ else
292
+ src.should == r
293
+ end
287
294
  end
288
295
  end
289
296
  end
290
297
 
291
298
  it "tests successfull roundtrip for a few special characters" do
292
- chars = "aあ\t\-\?,\[\{\#&\*!\|>'\"\%\@\`.\\ \n\xc2\xa0\xe2\x80\xa8".split('')
293
-
294
- chars.each do |i|
295
- chars.each do |j|
296
- chars.each do |k|
297
- src = [i, j, k].join
298
- y = TwitterCldr::Utils::YAML.dump(src,
299
- :printable_with_syck => true,
300
- :escape_b_specific => true,
301
- :escape_as_utf8 => true
302
- )
303
- r = YAML.load(y)
304
- src.should == r
305
- end
306
- end
299
+ if RUBY_VERSION < "2.0.0" && RUBY_PLATFORM != "java"
300
+ chars = "aあ\t\-\?,\[\{\#&\*!\|>'\"\%\@\`.\\ \n\xc2\xa0\xe2\x80\xa8".split('')
301
+
302
+ chars.each do |i|
303
+ chars.each do |j|
304
+ chars.each do |k|
305
+ src = [i, j, k].join
306
+ y = TwitterCldr::Utils::YAML.dump(src,
307
+ :printable_with_syck => true,
308
+ :escape_b_specific => true,
309
+ :escape_as_utf8 => true
310
+ )
311
+ r = YAML.load(y)
312
+ src.should == r
313
+ end
314
+ end
315
+ end
307
316
  end
308
317
  end
309
318
 
@@ -413,9 +422,11 @@ describe TwitterCldr::Utils do
413
422
  end
414
423
 
415
424
  it "guards against circular references" do
416
- a = []
417
- a << a
418
- lambda { TwitterCldr::Utils::YAML.dump(a) }.should raise_error(ArgumentError)
425
+ if RUBY_PLATFORM != "java"
426
+ a = []
427
+ a << a
428
+ lambda { TwitterCldr::Utils::YAML.dump(a) }.should raise_error(ArgumentError)
429
+ end
419
430
  end
420
431
 
421
432
  it "tests binary dumps" do
@@ -431,4 +442,4 @@ describe TwitterCldr::Utils do
431
442
  end
432
443
 
433
444
  end
434
- end
445
+ end
metadata CHANGED
@@ -1,60 +1,59 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: twitter_cldr
3
- version: !ruby/object:Gem::Version
4
- hash: 27
5
- prerelease:
6
- segments:
7
- - 2
8
- - 4
9
- - 2
10
- version: 2.4.2
3
+ version: !ruby/object:Gem::Version
4
+ version: 2.4.3
11
5
  platform: ruby
12
- authors:
6
+ authors:
13
7
  - Cameron Dutro
14
8
  autorequire:
15
9
  bindir: bin
16
10
  cert_chain: []
17
-
18
- date: 2013-07-10 00:00:00 Z
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
11
+ date: 2014-04-23 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
21
14
  name: json
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
24
- none: false
25
- requirements:
26
- - - ">="
27
- - !ruby/object:Gem::Version
28
- hash: 3
29
- segments:
30
- - 0
31
- version: "0"
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - '>='
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
32
20
  type: :runtime
33
- version_requirements: *id001
34
- - !ruby/object:Gem::Dependency
35
- name: tzinfo
36
21
  prerelease: false
37
- requirement: &id002 !ruby/object:Gem::Requirement
38
- none: false
39
- requirements:
40
- - - ">="
41
- - !ruby/object:Gem::Version
42
- hash: 3
43
- segments:
44
- - 0
45
- version: "0"
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - '>='
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: tzinfo
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - '>='
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
46
34
  type: :runtime
47
- version_requirements: *id002
48
- description: Ruby implementation of the ICU (International Components for Unicode) that uses the Common Locale Data Repository to format dates, plurals, and more.
49
- email:
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '>='
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ description: Ruby implementation of the ICU (International Components for Unicode)
42
+ that uses the Common Locale Data Repository to format dates, plurals, and more.
43
+ email:
50
44
  - cdutro@twitter.com
51
45
  executables: []
52
-
53
46
  extensions: []
54
-
55
47
  extra_rdoc_files: []
56
-
57
- files:
48
+ files:
49
+ - Gemfile
50
+ - History.txt
51
+ - LICENSE
52
+ - NOTICE
53
+ - README.md
54
+ - Rakefile
55
+ - lib/twitter_cldr.rb
56
+ - lib/twitter_cldr/collation.rb
58
57
  - lib/twitter_cldr/collation/collator.rb
59
58
  - lib/twitter_cldr/collation/implicit_collation_elements.rb
60
59
  - lib/twitter_cldr/collation/sort_key_builder.rb
@@ -62,14 +61,15 @@ files:
62
61
  - lib/twitter_cldr/collation/trie_builder.rb
63
62
  - lib/twitter_cldr/collation/trie_loader.rb
64
63
  - lib/twitter_cldr/collation/trie_with_fallback.rb
65
- - lib/twitter_cldr/collation.rb
66
64
  - lib/twitter_cldr/core_ext.rb
65
+ - lib/twitter_cldr/formatters.rb
67
66
  - lib/twitter_cldr/formatters/base.rb
68
67
  - lib/twitter_cldr/formatters/calendars/date_formatter.rb
69
68
  - lib/twitter_cldr/formatters/calendars/datetime_formatter.rb
70
69
  - lib/twitter_cldr/formatters/calendars/time_formatter.rb
71
70
  - lib/twitter_cldr/formatters/calendars/timespan_formatter.rb
72
71
  - lib/twitter_cldr/formatters/list_formatter.rb
72
+ - lib/twitter_cldr/formatters/numbers.rb
73
73
  - lib/twitter_cldr/formatters/numbers/abbreviated/abbreviated_number_formatter.rb
74
74
  - lib/twitter_cldr/formatters/numbers/abbreviated/long_decimal_formatter.rb
75
75
  - lib/twitter_cldr/formatters/numbers/abbreviated/short_decimal_formatter.rb
@@ -80,11 +80,10 @@ files:
80
80
  - lib/twitter_cldr/formatters/numbers/helpers/integer.rb
81
81
  - lib/twitter_cldr/formatters/numbers/number_formatter.rb
82
82
  - lib/twitter_cldr/formatters/numbers/percent_formatter.rb
83
- - lib/twitter_cldr/formatters/numbers.rb
83
+ - lib/twitter_cldr/formatters/plurals.rb
84
84
  - lib/twitter_cldr/formatters/plurals/plural_formatter.rb
85
85
  - lib/twitter_cldr/formatters/plurals/rules.rb
86
- - lib/twitter_cldr/formatters/plurals.rb
87
- - lib/twitter_cldr/formatters.rb
86
+ - lib/twitter_cldr/localized.rb
88
87
  - lib/twitter_cldr/localized/localized_array.rb
89
88
  - lib/twitter_cldr/localized/localized_date.rb
90
89
  - lib/twitter_cldr/localized/localized_datetime.rb
@@ -95,16 +94,16 @@ files:
95
94
  - lib/twitter_cldr/localized/localized_symbol.rb
96
95
  - lib/twitter_cldr/localized/localized_time.rb
97
96
  - lib/twitter_cldr/localized/localized_timespan.rb
98
- - lib/twitter_cldr/localized.rb
97
+ - lib/twitter_cldr/normalization.rb
99
98
  - lib/twitter_cldr/normalization/base.rb
100
99
  - lib/twitter_cldr/normalization/hangul.rb
101
100
  - lib/twitter_cldr/normalization/nfc.rb
102
101
  - lib/twitter_cldr/normalization/nfd.rb
103
102
  - lib/twitter_cldr/normalization/nfkc.rb
104
103
  - lib/twitter_cldr/normalization/nfkd.rb
105
- - lib/twitter_cldr/normalization.rb
106
- - lib/twitter_cldr/parsers/number_parser.rb
107
104
  - lib/twitter_cldr/parsers.rb
105
+ - lib/twitter_cldr/parsers/number_parser.rb
106
+ - lib/twitter_cldr/resources.rb
108
107
  - lib/twitter_cldr/resources/bidi_test_importer.rb
109
108
  - lib/twitter_cldr/resources/canonical_compositions_updater.rb
110
109
  - lib/twitter_cldr/resources/collation_tries_dumper.rb
@@ -118,7 +117,7 @@ files:
118
117
  - lib/twitter_cldr/resources/postal_codes_importer.rb
119
118
  - lib/twitter_cldr/resources/tailoring_importer.rb
120
119
  - lib/twitter_cldr/resources/unicode_data_importer.rb
121
- - lib/twitter_cldr/resources.rb
120
+ - lib/twitter_cldr/shared.rb
122
121
  - lib/twitter_cldr/shared/bidi.rb
123
122
  - lib/twitter_cldr/shared/calendar.rb
124
123
  - lib/twitter_cldr/shared/code_point.rb
@@ -130,7 +129,7 @@ files:
130
129
  - lib/twitter_cldr/shared/postal_codes.rb
131
130
  - lib/twitter_cldr/shared/territories.rb
132
131
  - lib/twitter_cldr/shared/timezones.rb
133
- - lib/twitter_cldr/shared.rb
132
+ - lib/twitter_cldr/tokenizers.rb
134
133
  - lib/twitter_cldr/tokenizers/base.rb
135
134
  - lib/twitter_cldr/tokenizers/calendars/additional_date_format_selector.rb
136
135
  - lib/twitter_cldr/tokenizers/calendars/date_tokenizer.rb
@@ -140,121 +139,12 @@ files:
140
139
  - lib/twitter_cldr/tokenizers/composite_token.rb
141
140
  - lib/twitter_cldr/tokenizers/numbers/number_tokenizer.rb
142
141
  - lib/twitter_cldr/tokenizers/token.rb
143
- - lib/twitter_cldr/tokenizers.rb
142
+ - lib/twitter_cldr/utils.rb
144
143
  - lib/twitter_cldr/utils/code_points.rb
145
144
  - lib/twitter_cldr/utils/interpolation.rb
146
145
  - lib/twitter_cldr/utils/territories.rb
147
146
  - lib/twitter_cldr/utils/yaml.rb
148
- - lib/twitter_cldr/utils.rb
149
147
  - lib/twitter_cldr/version.rb
150
- - lib/twitter_cldr.rb
151
- - spec/bidi/bidi_spec.rb
152
- - spec/bidi/classpath_bidi_test.txt
153
- - spec/collation/collation_spec.rb
154
- - spec/collation/CollationTest_CLDR_NON_IGNORABLE_Short.txt
155
- - spec/collation/collator_spec.rb
156
- - spec/collation/implicit_collation_elements_spec.rb
157
- - spec/collation/sort_key_builder_spec.rb
158
- - spec/collation/tailoring_spec.rb
159
- - spec/collation/tailoring_tests/af.txt
160
- - spec/collation/tailoring_tests/ar.txt
161
- - spec/collation/tailoring_tests/ca.txt
162
- - spec/collation/tailoring_tests/cs.txt
163
- - spec/collation/tailoring_tests/da.txt
164
- - spec/collation/tailoring_tests/de.txt
165
- - spec/collation/tailoring_tests/el.txt
166
- - spec/collation/tailoring_tests/en.txt
167
- - spec/collation/tailoring_tests/es.txt
168
- - spec/collation/tailoring_tests/eu.txt
169
- - spec/collation/tailoring_tests/fa.txt
170
- - spec/collation/tailoring_tests/fi.txt
171
- - spec/collation/tailoring_tests/fil.txt
172
- - spec/collation/tailoring_tests/fr.txt
173
- - spec/collation/tailoring_tests/he.txt
174
- - spec/collation/tailoring_tests/hi.txt
175
- - spec/collation/tailoring_tests/hu.txt
176
- - spec/collation/tailoring_tests/id.txt
177
- - spec/collation/tailoring_tests/it.txt
178
- - spec/collation/tailoring_tests/ja.txt
179
- - spec/collation/tailoring_tests/ko.txt
180
- - spec/collation/tailoring_tests/ms.txt
181
- - spec/collation/tailoring_tests/nb.txt
182
- - spec/collation/tailoring_tests/nl.txt
183
- - spec/collation/tailoring_tests/pl.txt
184
- - spec/collation/tailoring_tests/pt.txt
185
- - spec/collation/tailoring_tests/ru.txt
186
- - spec/collation/tailoring_tests/sv.txt
187
- - spec/collation/tailoring_tests/th.txt
188
- - spec/collation/tailoring_tests/tr.txt
189
- - spec/collation/tailoring_tests/uk.txt
190
- - spec/collation/tailoring_tests/ur.txt
191
- - spec/collation/tailoring_tests/zh-Hant.txt
192
- - spec/collation/tailoring_tests/zh.txt
193
- - spec/collation/trie_builder_spec.rb
194
- - spec/collation/trie_dumps_spec.rb
195
- - spec/collation/trie_loader_spec.rb
196
- - spec/collation/trie_spec.rb
197
- - spec/collation/trie_with_fallback_spec.rb
198
- - spec/core_ext_spec.rb
199
- - spec/formatters/base_spec.rb
200
- - spec/formatters/calendars/datetime_formatter_spec.rb
201
- - spec/formatters/calendars/timespan_formatter_spec.rb
202
- - spec/formatters/list_formatter_spec.rb
203
- - spec/formatters/numbers/abbreviated/abbreviated_number_formatter_spec.rb
204
- - spec/formatters/numbers/abbreviated/long_decimal_formatter_spec.rb
205
- - spec/formatters/numbers/abbreviated/short_decimal_formatter_spec.rb
206
- - spec/formatters/numbers/currency_formatter_spec.rb
207
- - spec/formatters/numbers/decimal_formatter_spec.rb
208
- - spec/formatters/numbers/helpers/fraction_spec.rb
209
- - spec/formatters/numbers/helpers/integer_spec.rb
210
- - spec/formatters/numbers/number_formatter_spec.rb
211
- - spec/formatters/numbers/percent_formatter_spec.rb
212
- - spec/formatters/plurals/plural_formatter_spec.rb
213
- - spec/formatters/plurals/rules_spec.rb
214
- - spec/localized/localized_array_spec.rb
215
- - spec/localized/localized_date_spec.rb
216
- - spec/localized/localized_datetime_spec.rb
217
- - spec/localized/localized_hash_spec.rb
218
- - spec/localized/localized_number_spec.rb
219
- - spec/localized/localized_object_spec.rb
220
- - spec/localized/localized_string_spec.rb
221
- - spec/localized/localized_symbol_spec.rb
222
- - spec/localized/localized_time_spec.rb
223
- - spec/normalization/base_spec.rb
224
- - spec/normalization/hangul_spec.rb
225
- - spec/normalization/normalization_spec.rb
226
- - spec/normalization/NormalizationTestShort.txt
227
- - spec/normalization_spec.rb
228
- - spec/parsers/number_parser_spec.rb
229
- - spec/readme_spec.rb
230
- - spec/resources/loader_spec.rb
231
- - spec/shared/calendar_spec.rb
232
- - spec/shared/code_point_spec.rb
233
- - spec/shared/currencies_spec.rb
234
- - spec/shared/language_codes_spec.rb
235
- - spec/shared/languages_spec.rb
236
- - spec/shared/numbers_spec.rb
237
- - spec/shared/phone_codes_spec.rb
238
- - spec/shared/postal_codes_spec.rb
239
- - spec/shared/territories_spec.rb
240
- - spec/spec_helper.rb
241
- - spec/tokenizers/base_spec.rb
242
- - spec/tokenizers/calendars/additional_date_format_selector_spec.rb
243
- - spec/tokenizers/calendars/date_tokenizer_spec.rb
244
- - spec/tokenizers/calendars/datetime_tokenizer_spec.rb
245
- - spec/tokenizers/calendars/time_tokenizer_spec.rb
246
- - spec/tokenizers/calendars/timespan_tokenizer_spec.rb
247
- - spec/tokenizers/composite_token_spec.rb
248
- - spec/tokenizers/numbers/number_tokenizer_spec.rb
249
- - spec/tokenizers/token_spec.rb
250
- - spec/twitter_cldr_spec.rb
251
- - spec/utils/code_points_spec.rb
252
- - spec/utils/interpolation_spec.rb
253
- - spec/utils/territories_spec.rb
254
- - spec/utils/yaml/t.gif
255
- - spec/utils/yaml/t.yaml
256
- - spec/utils/yaml/yaml_spec.rb
257
- - spec/utils_spec.rb
258
148
  - resources/collation/FractionalUCA_SHORT.txt
259
149
  - resources/collation/tailoring/af.yml
260
150
  - resources/collation/tailoring/ar.yml
@@ -368,8 +258,8 @@ files:
368
258
  - resources/custom/locales/da/units.yml
369
259
  - resources/custom/locales/de/units.yml
370
260
  - resources/custom/locales/el/units.yml
371
- - resources/custom/locales/en/units.yml
372
261
  - resources/custom/locales/en-GB/units.yml
262
+ - resources/custom/locales/en/units.yml
373
263
  - resources/custom/locales/es/units.yml
374
264
  - resources/custom/locales/eu/units.yml
375
265
  - resources/custom/locales/fa/units.yml
@@ -405,8 +295,8 @@ files:
405
295
  - resources/custom/locales/uk/units.yml
406
296
  - resources/custom/locales/ur/units.yml
407
297
  - resources/custom/locales/vi/units.yml
408
- - resources/custom/locales/zh/units.yml
409
298
  - resources/custom/locales/zh-Hant/units.yml
299
+ - resources/custom/locales/zh/units.yml
410
300
  - resources/locales/af/calendars.yml
411
301
  - resources/locales/af/currencies.yml
412
302
  - resources/locales/af/languages.yml
@@ -506,15 +396,6 @@ files:
506
396
  - resources/locales/el/plurals.yml
507
397
  - resources/locales/el/territories.yml
508
398
  - resources/locales/el/units.yml
509
- - resources/locales/en/calendars.yml
510
- - resources/locales/en/currencies.yml
511
- - resources/locales/en/languages.yml
512
- - resources/locales/en/layout.yml
513
- - resources/locales/en/lists.yml
514
- - resources/locales/en/numbers.yml
515
- - resources/locales/en/plurals.yml
516
- - resources/locales/en/territories.yml
517
- - resources/locales/en/units.yml
518
399
  - resources/locales/en-GB/calendars.yml
519
400
  - resources/locales/en-GB/currencies.yml
520
401
  - resources/locales/en-GB/languages.yml
@@ -524,6 +405,15 @@ files:
524
405
  - resources/locales/en-GB/plurals.yml
525
406
  - resources/locales/en-GB/territories.yml
526
407
  - resources/locales/en-GB/units.yml
408
+ - resources/locales/en/calendars.yml
409
+ - resources/locales/en/currencies.yml
410
+ - resources/locales/en/languages.yml
411
+ - resources/locales/en/layout.yml
412
+ - resources/locales/en/lists.yml
413
+ - resources/locales/en/numbers.yml
414
+ - resources/locales/en/plurals.yml
415
+ - resources/locales/en/territories.yml
416
+ - resources/locales/en/units.yml
527
417
  - resources/locales/es/calendars.yml
528
418
  - resources/locales/es/currencies.yml
529
419
  - resources/locales/es/languages.yml
@@ -839,15 +729,6 @@ files:
839
729
  - resources/locales/vi/plurals.yml
840
730
  - resources/locales/vi/territories.yml
841
731
  - resources/locales/vi/units.yml
842
- - resources/locales/zh/calendars.yml
843
- - resources/locales/zh/currencies.yml
844
- - resources/locales/zh/languages.yml
845
- - resources/locales/zh/layout.yml
846
- - resources/locales/zh/lists.yml
847
- - resources/locales/zh/numbers.yml
848
- - resources/locales/zh/plurals.yml
849
- - resources/locales/zh/territories.yml
850
- - resources/locales/zh/units.yml
851
732
  - resources/locales/zh-Hant/calendars.yml
852
733
  - resources/locales/zh-Hant/currencies.yml
853
734
  - resources/locales/zh-Hant/languages.yml
@@ -857,11 +738,21 @@ files:
857
738
  - resources/locales/zh-Hant/plurals.yml
858
739
  - resources/locales/zh-Hant/territories.yml
859
740
  - resources/locales/zh-Hant/units.yml
741
+ - resources/locales/zh/calendars.yml
742
+ - resources/locales/zh/currencies.yml
743
+ - resources/locales/zh/languages.yml
744
+ - resources/locales/zh/layout.yml
745
+ - resources/locales/zh/lists.yml
746
+ - resources/locales/zh/numbers.yml
747
+ - resources/locales/zh/plurals.yml
748
+ - resources/locales/zh/territories.yml
749
+ - resources/locales/zh/units.yml
860
750
  - resources/shared/currency_digits_and_rounding.yml
861
751
  - resources/shared/iso_currency_symbols.yml
862
752
  - resources/shared/language_codes_table.dump
863
753
  - resources/shared/phone_codes.yml
864
754
  - resources/shared/postal_codes.yml
755
+ - resources/unicode_data/blocks.yml
865
756
  - resources/unicode_data/blocks/aegean_numbers.yml
866
757
  - resources/unicode_data/blocks/alchemical_symbols.yml
867
758
  - resources/unicode_data/blocks/alphabetic_presentation_forms.yml
@@ -1082,49 +973,139 @@ files:
1082
973
  - resources/unicode_data/blocks/yi_radicals.yml
1083
974
  - resources/unicode_data/blocks/yi_syllables.yml
1084
975
  - resources/unicode_data/blocks/yijing_hexagram_symbols.yml
1085
- - resources/unicode_data/blocks.yml
1086
976
  - resources/unicode_data/canonical_compositions.yml
1087
977
  - resources/unicode_data/composition_exclusions.yml
1088
978
  - resources/unicode_data/hangul_blocks.yml
1089
- - Gemfile
1090
- - History.txt
1091
- - LICENSE
1092
- - NOTICE
1093
- - README.md
1094
- - Rakefile
979
+ - spec/bidi/bidi_spec.rb
980
+ - spec/bidi/classpath_bidi_test.txt
981
+ - spec/collation/CollationTest_CLDR_NON_IGNORABLE_Short.txt
982
+ - spec/collation/collation_spec.rb
983
+ - spec/collation/collator_spec.rb
984
+ - spec/collation/implicit_collation_elements_spec.rb
985
+ - spec/collation/sort_key_builder_spec.rb
986
+ - spec/collation/tailoring_spec.rb
987
+ - spec/collation/tailoring_tests/af.txt
988
+ - spec/collation/tailoring_tests/ar.txt
989
+ - spec/collation/tailoring_tests/ca.txt
990
+ - spec/collation/tailoring_tests/cs.txt
991
+ - spec/collation/tailoring_tests/da.txt
992
+ - spec/collation/tailoring_tests/de.txt
993
+ - spec/collation/tailoring_tests/el.txt
994
+ - spec/collation/tailoring_tests/en.txt
995
+ - spec/collation/tailoring_tests/es.txt
996
+ - spec/collation/tailoring_tests/eu.txt
997
+ - spec/collation/tailoring_tests/fa.txt
998
+ - spec/collation/tailoring_tests/fi.txt
999
+ - spec/collation/tailoring_tests/fil.txt
1000
+ - spec/collation/tailoring_tests/fr.txt
1001
+ - spec/collation/tailoring_tests/he.txt
1002
+ - spec/collation/tailoring_tests/hi.txt
1003
+ - spec/collation/tailoring_tests/hu.txt
1004
+ - spec/collation/tailoring_tests/id.txt
1005
+ - spec/collation/tailoring_tests/it.txt
1006
+ - spec/collation/tailoring_tests/ja.txt
1007
+ - spec/collation/tailoring_tests/ko.txt
1008
+ - spec/collation/tailoring_tests/ms.txt
1009
+ - spec/collation/tailoring_tests/nb.txt
1010
+ - spec/collation/tailoring_tests/nl.txt
1011
+ - spec/collation/tailoring_tests/pl.txt
1012
+ - spec/collation/tailoring_tests/pt.txt
1013
+ - spec/collation/tailoring_tests/ru.txt
1014
+ - spec/collation/tailoring_tests/sv.txt
1015
+ - spec/collation/tailoring_tests/th.txt
1016
+ - spec/collation/tailoring_tests/tr.txt
1017
+ - spec/collation/tailoring_tests/uk.txt
1018
+ - spec/collation/tailoring_tests/ur.txt
1019
+ - spec/collation/tailoring_tests/zh-Hant.txt
1020
+ - spec/collation/tailoring_tests/zh.txt
1021
+ - spec/collation/trie_builder_spec.rb
1022
+ - spec/collation/trie_dumps_spec.rb
1023
+ - spec/collation/trie_loader_spec.rb
1024
+ - spec/collation/trie_spec.rb
1025
+ - spec/collation/trie_with_fallback_spec.rb
1026
+ - spec/core_ext_spec.rb
1027
+ - spec/formatters/base_spec.rb
1028
+ - spec/formatters/calendars/datetime_formatter_spec.rb
1029
+ - spec/formatters/calendars/timespan_formatter_spec.rb
1030
+ - spec/formatters/list_formatter_spec.rb
1031
+ - spec/formatters/numbers/abbreviated/abbreviated_number_formatter_spec.rb
1032
+ - spec/formatters/numbers/abbreviated/long_decimal_formatter_spec.rb
1033
+ - spec/formatters/numbers/abbreviated/short_decimal_formatter_spec.rb
1034
+ - spec/formatters/numbers/currency_formatter_spec.rb
1035
+ - spec/formatters/numbers/decimal_formatter_spec.rb
1036
+ - spec/formatters/numbers/helpers/fraction_spec.rb
1037
+ - spec/formatters/numbers/helpers/integer_spec.rb
1038
+ - spec/formatters/numbers/number_formatter_spec.rb
1039
+ - spec/formatters/numbers/percent_formatter_spec.rb
1040
+ - spec/formatters/plurals/plural_formatter_spec.rb
1041
+ - spec/formatters/plurals/rules_spec.rb
1042
+ - spec/localized/localized_array_spec.rb
1043
+ - spec/localized/localized_date_spec.rb
1044
+ - spec/localized/localized_datetime_spec.rb
1045
+ - spec/localized/localized_hash_spec.rb
1046
+ - spec/localized/localized_number_spec.rb
1047
+ - spec/localized/localized_object_spec.rb
1048
+ - spec/localized/localized_string_spec.rb
1049
+ - spec/localized/localized_symbol_spec.rb
1050
+ - spec/localized/localized_time_spec.rb
1051
+ - spec/normalization/NormalizationTestShort.txt
1052
+ - spec/normalization/base_spec.rb
1053
+ - spec/normalization/hangul_spec.rb
1054
+ - spec/normalization/normalization_spec.rb
1055
+ - spec/normalization_spec.rb
1056
+ - spec/parsers/number_parser_spec.rb
1057
+ - spec/readme_spec.rb
1058
+ - spec/resources/loader_spec.rb
1059
+ - spec/shared/calendar_spec.rb
1060
+ - spec/shared/code_point_spec.rb
1061
+ - spec/shared/currencies_spec.rb
1062
+ - spec/shared/language_codes_spec.rb
1063
+ - spec/shared/languages_spec.rb
1064
+ - spec/shared/numbers_spec.rb
1065
+ - spec/shared/phone_codes_spec.rb
1066
+ - spec/shared/postal_codes_spec.rb
1067
+ - spec/shared/territories_spec.rb
1068
+ - spec/spec_helper.rb
1069
+ - spec/tokenizers/base_spec.rb
1070
+ - spec/tokenizers/calendars/additional_date_format_selector_spec.rb
1071
+ - spec/tokenizers/calendars/date_tokenizer_spec.rb
1072
+ - spec/tokenizers/calendars/datetime_tokenizer_spec.rb
1073
+ - spec/tokenizers/calendars/time_tokenizer_spec.rb
1074
+ - spec/tokenizers/calendars/timespan_tokenizer_spec.rb
1075
+ - spec/tokenizers/composite_token_spec.rb
1076
+ - spec/tokenizers/numbers/number_tokenizer_spec.rb
1077
+ - spec/tokenizers/token_spec.rb
1078
+ - spec/twitter_cldr_spec.rb
1079
+ - spec/utils/code_points_spec.rb
1080
+ - spec/utils/interpolation_spec.rb
1081
+ - spec/utils/territories_spec.rb
1082
+ - spec/utils/yaml/t.gif
1083
+ - spec/utils/yaml/t.yaml
1084
+ - spec/utils/yaml/yaml_spec.rb
1085
+ - spec/utils_spec.rb
1095
1086
  - twitter_cldr.gemspec
1096
1087
  homepage: http://twitter.com
1097
1088
  licenses: []
1098
-
1089
+ metadata: {}
1099
1090
  post_install_message:
1100
1091
  rdoc_options: []
1101
-
1102
- require_paths:
1092
+ require_paths:
1103
1093
  - lib
1104
- required_ruby_version: !ruby/object:Gem::Requirement
1105
- none: false
1106
- requirements:
1107
- - - ">="
1108
- - !ruby/object:Gem::Version
1109
- hash: 3
1110
- segments:
1111
- - 0
1112
- version: "0"
1113
- required_rubygems_version: !ruby/object:Gem::Requirement
1114
- none: false
1115
- requirements:
1116
- - - ">="
1117
- - !ruby/object:Gem::Version
1118
- hash: 3
1119
- segments:
1120
- - 0
1121
- version: "0"
1094
+ required_ruby_version: !ruby/object:Gem::Requirement
1095
+ requirements:
1096
+ - - '>='
1097
+ - !ruby/object:Gem::Version
1098
+ version: '0'
1099
+ required_rubygems_version: !ruby/object:Gem::Requirement
1100
+ requirements:
1101
+ - - '>='
1102
+ - !ruby/object:Gem::Version
1103
+ version: '0'
1122
1104
  requirements: []
1123
-
1124
1105
  rubyforge_project:
1125
- rubygems_version: 1.8.10
1106
+ rubygems_version: 2.2.2
1126
1107
  signing_key:
1127
- specification_version: 3
1128
- summary: Ruby implementation of the ICU (International Components for Unicode) that uses the Common Locale Data Repository to format dates, plurals, and more.
1108
+ specification_version: 4
1109
+ summary: Ruby implementation of the ICU (International Components for Unicode) that
1110
+ uses the Common Locale Data Repository to format dates, plurals, and more.
1129
1111
  test_files: []
1130
-