twitter_cldr 3.0.3 → 3.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +13 -5
- data/Gemfile +3 -7
- data/History.txt +6 -0
- data/README.md +1 -1
- data/Rakefile +26 -16
- data/lib/twitter_cldr/data_readers/number_data_reader.rb +9 -2
- data/lib/twitter_cldr/data_readers/timespan_data_reader.rb +11 -12
- data/lib/twitter_cldr/formatters/numbers/abbreviated/abbreviated_number_formatter.rb +10 -8
- data/lib/twitter_cldr/formatters/numbers/number_formatter.rb +2 -2
- data/lib/twitter_cldr/localized/localized_datetime.rb +1 -1
- data/lib/twitter_cldr/localized/localized_number.rb +13 -3
- data/lib/twitter_cldr/resources/collation_tries_dumper.rb +1 -2
- data/lib/twitter_cldr/resources/language_codes_importer.rb +1 -1
- data/lib/twitter_cldr/resources/locales_resources_importer.rb +13 -2
- data/lib/twitter_cldr/resources/tailoring_importer.rb +3 -2
- data/lib/twitter_cldr/shared/calendar.rb +4 -4
- data/lib/twitter_cldr/shared/postal_codes.rb +5 -7
- data/lib/twitter_cldr/version.rb +1 -1
- data/resources/collation/tailoring/de-CH.yml +4 -0
- data/resources/collation/tailoring/en-AU.yml +4 -0
- data/resources/collation/tailoring/en-CA.yml +4 -0
- data/resources/collation/tailoring/en-IE.yml +4 -0
- data/resources/collation/tailoring/en-SG.yml +4 -0
- data/resources/collation/tailoring/en-ZA.yml +4 -0
- data/resources/collation/tailoring/es-CO.yml +4 -0
- data/resources/collation/tailoring/es-MX.yml +4 -0
- data/resources/collation/tailoring/es-US.yml +4 -0
- data/resources/collation/tailoring/fr-BE.yml +4 -0
- data/resources/collation/tailoring/fr-CA.yml +4 -0
- data/resources/collation/tailoring/fr-CH.yml +4 -0
- data/resources/collation/tailoring/it-CH.yml +4 -0
- data/resources/collation/tries/af.dump +0 -0
- data/resources/collation/tries/ar.dump +0 -0
- data/resources/collation/tries/be.dump +0 -0
- data/resources/collation/tries/bg.dump +0 -0
- data/resources/collation/tries/bn.dump +0 -0
- data/resources/collation/tries/ca.dump +0 -0
- data/resources/collation/tries/cs.dump +0 -0
- data/resources/collation/tries/cy.dump +0 -0
- data/resources/collation/tries/da.dump +0 -0
- data/resources/collation/tries/de-CH.dump +0 -0
- data/resources/collation/tries/de.dump +0 -0
- data/resources/collation/tries/default.dump +0 -0
- data/resources/collation/tries/el.dump +0 -0
- data/resources/collation/tries/en-AU.dump +0 -0
- data/resources/collation/tries/en-CA.dump +0 -0
- data/resources/collation/tries/en-GB.dump +0 -0
- data/resources/collation/tries/en-IE.dump +0 -0
- data/resources/collation/tries/en-SG.dump +0 -0
- data/resources/collation/tries/en-ZA.dump +0 -0
- data/resources/collation/tries/en.dump +0 -0
- data/resources/collation/tries/es-CO.dump +0 -0
- data/resources/collation/tries/es-MX.dump +0 -0
- data/resources/collation/tries/es-US.dump +0 -0
- data/resources/collation/tries/es.dump +0 -0
- data/resources/collation/tries/eu.dump +0 -0
- data/resources/collation/tries/fa.dump +0 -0
- data/resources/collation/tries/fi.dump +0 -0
- data/resources/collation/tries/fil.dump +0 -0
- data/resources/collation/tries/fr-BE.dump +0 -0
- data/resources/collation/tries/fr-CA.dump +0 -0
- data/resources/collation/tries/fr-CH.dump +0 -0
- data/resources/collation/tries/fr.dump +0 -0
- data/resources/collation/tries/ga.dump +0 -0
- data/resources/collation/tries/gl.dump +0 -0
- data/resources/collation/tries/he.dump +0 -0
- data/resources/collation/tries/hi.dump +0 -0
- data/resources/collation/tries/hr.dump +0 -0
- data/resources/collation/tries/hu.dump +0 -0
- data/resources/collation/tries/id.dump +0 -0
- data/resources/collation/tries/is.dump +0 -0
- data/resources/collation/tries/it-CH.dump +0 -0
- data/resources/collation/tries/it.dump +0 -0
- data/resources/collation/tries/ja.dump +0 -0
- data/resources/collation/tries/ko.dump +0 -0
- data/resources/collation/tries/lv.dump +0 -0
- data/resources/collation/tries/ms.dump +0 -0
- data/resources/collation/tries/nb.dump +0 -0
- data/resources/collation/tries/nl.dump +0 -0
- data/resources/collation/tries/pl.dump +0 -0
- data/resources/collation/tries/pt.dump +0 -0
- data/resources/collation/tries/ro.dump +0 -0
- data/resources/collation/tries/ru.dump +0 -0
- data/resources/collation/tries/sk.dump +0 -0
- data/resources/collation/tries/sq.dump +0 -0
- data/resources/collation/tries/sr.dump +0 -0
- data/resources/collation/tries/sv.dump +0 -0
- data/resources/collation/tries/ta.dump +0 -0
- data/resources/collation/tries/th.dump +0 -0
- data/resources/collation/tries/tr.dump +0 -0
- data/resources/collation/tries/uk.dump +0 -0
- data/resources/collation/tries/ur.dump +0 -0
- data/resources/collation/tries/vi.dump +0 -0
- data/resources/collation/tries/zh-Hant.dump +0 -0
- data/resources/collation/tries/zh.dump +0 -0
- data/resources/locales/af/plurals.yml +2 -1
- data/resources/locales/af/units.yml +108 -108
- data/resources/locales/ar/plurals.yml +5 -4
- data/resources/locales/ar/units.yml +220 -220
- data/resources/locales/be/plurals.yml +6 -6
- data/resources/locales/be/units.yml +122 -122
- data/resources/locales/bg/plurals.yml +2 -1
- data/resources/locales/bg/units.yml +108 -108
- data/resources/locales/bn/plurals.yml +2 -1
- data/resources/locales/bn/units.yml +108 -108
- data/resources/locales/ca/plurals.yml +3 -2
- data/resources/locales/ca/units.yml +108 -108
- data/resources/locales/cs/plurals.yml +5 -5
- data/resources/locales/cs/units.yml +136 -136
- data/resources/locales/cy/plurals.yml +3 -3
- data/resources/locales/cy/units.yml +108 -220
- data/resources/locales/da/plurals.yml +3 -2
- data/resources/locales/da/units.yml +108 -108
- data/resources/locales/de-CH/calendars.yml +303 -0
- data/resources/locales/de-CH/currencies.yml +955 -0
- data/resources/locales/de-CH/languages.yml +583 -0
- data/resources/locales/de-CH/layout.yml +5 -0
- data/resources/locales/de-CH/lists.yml +23 -0
- data/resources/locales/de-CH/numbers.yml +62 -0
- data/resources/locales/de-CH/plurals.yml +5 -0
- data/resources/locales/de-CH/rbnf.yml +4 -0
- data/resources/locales/de-CH/territories.yml +264 -0
- data/resources/locales/de-CH/units.yml +108 -0
- data/resources/locales/de/plurals.yml +3 -2
- data/resources/locales/de/units.yml +108 -108
- data/resources/locales/el/plurals.yml +2 -1
- data/resources/locales/el/units.yml +108 -108
- data/resources/locales/en-AU/calendars.yml +208 -0
- data/resources/locales/en-AU/currencies.yml +953 -0
- data/resources/locales/en-AU/languages.yml +583 -0
- data/resources/locales/en-AU/layout.yml +5 -0
- data/resources/locales/en-AU/lists.yml +23 -0
- data/resources/locales/en-AU/numbers.yml +62 -0
- data/resources/locales/en-AU/plurals.yml +5 -0
- data/resources/locales/en-AU/rbnf.yml +4 -0
- data/resources/locales/en-AU/territories.yml +264 -0
- data/resources/locales/en-AU/units.yml +108 -0
- data/resources/locales/en-CA/calendars.yml +208 -0
- data/resources/locales/en-CA/currencies.yml +953 -0
- data/resources/locales/en-CA/languages.yml +583 -0
- data/resources/locales/en-CA/layout.yml +5 -0
- data/resources/locales/en-CA/lists.yml +23 -0
- data/resources/locales/en-CA/numbers.yml +62 -0
- data/resources/locales/en-CA/plurals.yml +5 -0
- data/resources/locales/en-CA/rbnf.yml +4 -0
- data/resources/locales/en-CA/territories.yml +264 -0
- data/resources/locales/en-CA/units.yml +108 -0
- data/resources/locales/en-GB/plurals.yml +3 -2
- data/resources/locales/en-GB/units.yml +108 -108
- data/resources/locales/en-IE/calendars.yml +208 -0
- data/resources/locales/en-IE/currencies.yml +953 -0
- data/resources/locales/en-IE/languages.yml +583 -0
- data/resources/locales/en-IE/layout.yml +5 -0
- data/resources/locales/en-IE/lists.yml +23 -0
- data/resources/locales/en-IE/numbers.yml +62 -0
- data/resources/locales/en-IE/plurals.yml +5 -0
- data/resources/locales/en-IE/rbnf.yml +4 -0
- data/resources/locales/en-IE/territories.yml +264 -0
- data/resources/locales/en-IE/units.yml +108 -0
- data/resources/locales/en-SG/calendars.yml +208 -0
- data/resources/locales/en-SG/currencies.yml +953 -0
- data/resources/locales/en-SG/languages.yml +583 -0
- data/resources/locales/en-SG/layout.yml +5 -0
- data/resources/locales/en-SG/lists.yml +23 -0
- data/resources/locales/en-SG/numbers.yml +62 -0
- data/resources/locales/en-SG/plurals.yml +5 -0
- data/resources/locales/en-SG/rbnf.yml +4 -0
- data/resources/locales/en-SG/territories.yml +264 -0
- data/resources/locales/en-SG/units.yml +108 -0
- data/resources/locales/en-ZA/calendars.yml +208 -0
- data/resources/locales/en-ZA/currencies.yml +954 -0
- data/resources/locales/en-ZA/languages.yml +583 -0
- data/resources/locales/en-ZA/layout.yml +5 -0
- data/resources/locales/en-ZA/lists.yml +23 -0
- data/resources/locales/en-ZA/numbers.yml +62 -0
- data/resources/locales/en-ZA/plurals.yml +5 -0
- data/resources/locales/en-ZA/rbnf.yml +4 -0
- data/resources/locales/en-ZA/territories.yml +264 -0
- data/resources/locales/en-ZA/units.yml +108 -0
- data/resources/locales/en/plurals.yml +3 -2
- data/resources/locales/en/units.yml +108 -108
- data/resources/locales/es-CO/calendars.yml +290 -0
- data/resources/locales/es-CO/currencies.yml +953 -0
- data/resources/locales/es-CO/languages.yml +583 -0
- data/resources/locales/es-CO/layout.yml +5 -0
- data/resources/locales/es-CO/lists.yml +23 -0
- data/resources/locales/es-CO/numbers.yml +62 -0
- data/resources/locales/es-CO/plurals.yml +4 -0
- data/resources/locales/es-CO/rbnf.yml +4 -0
- data/resources/locales/es-CO/territories.yml +264 -0
- data/resources/locales/es-CO/units.yml +108 -0
- data/resources/locales/es-MX/calendars.yml +290 -0
- data/resources/locales/es-MX/currencies.yml +1075 -0
- data/resources/locales/es-MX/languages.yml +583 -0
- data/resources/locales/es-MX/layout.yml +5 -0
- data/resources/locales/es-MX/lists.yml +23 -0
- data/resources/locales/es-MX/numbers.yml +62 -0
- data/resources/locales/es-MX/plurals.yml +4 -0
- data/resources/locales/es-MX/rbnf.yml +4 -0
- data/resources/locales/es-MX/territories.yml +264 -0
- data/resources/locales/es-MX/units.yml +108 -0
- data/resources/locales/es-US/calendars.yml +296 -0
- data/resources/locales/es-US/currencies.yml +953 -0
- data/resources/locales/es-US/languages.yml +583 -0
- data/resources/locales/es-US/layout.yml +5 -0
- data/resources/locales/es-US/lists.yml +23 -0
- data/resources/locales/es-US/numbers.yml +62 -0
- data/resources/locales/es-US/plurals.yml +4 -0
- data/resources/locales/es-US/rbnf.yml +4 -0
- data/resources/locales/es-US/territories.yml +264 -0
- data/resources/locales/es-US/units.yml +108 -0
- data/resources/locales/es/plurals.yml +2 -1
- data/resources/locales/es/units.yml +108 -108
- data/resources/locales/eu/plurals.yml +2 -1
- data/resources/locales/eu/units.yml +108 -108
- data/resources/locales/fa/plurals.yml +2 -1
- data/resources/locales/fa/units.yml +108 -108
- data/resources/locales/fi/plurals.yml +3 -2
- data/resources/locales/fi/units.yml +108 -108
- data/resources/locales/fil/plurals.yml +3 -2
- data/resources/locales/fil/units.yml +108 -108
- data/resources/locales/fr-BE/calendars.yml +305 -0
- data/resources/locales/fr-BE/currencies.yml +968 -0
- data/resources/locales/fr-BE/languages.yml +583 -0
- data/resources/locales/fr-BE/layout.yml +5 -0
- data/resources/locales/fr-BE/lists.yml +23 -0
- data/resources/locales/fr-BE/numbers.yml +62 -0
- data/resources/locales/fr-BE/plurals.yml +4 -0
- data/resources/locales/fr-BE/rbnf.yml +596 -0
- data/resources/locales/fr-BE/territories.yml +264 -0
- data/resources/locales/fr-BE/units.yml +108 -0
- data/resources/locales/fr-CA/calendars.yml +308 -0
- data/resources/locales/fr-CA/currencies.yml +968 -0
- data/resources/locales/fr-CA/languages.yml +583 -0
- data/resources/locales/fr-CA/layout.yml +5 -0
- data/resources/locales/fr-CA/lists.yml +23 -0
- data/resources/locales/fr-CA/numbers.yml +62 -0
- data/resources/locales/fr-CA/plurals.yml +4 -0
- data/resources/locales/fr-CA/rbnf.yml +4 -0
- data/resources/locales/fr-CA/territories.yml +264 -0
- data/resources/locales/fr-CA/units.yml +108 -0
- data/resources/locales/fr-CH/calendars.yml +307 -0
- data/resources/locales/fr-CH/currencies.yml +969 -0
- data/resources/locales/fr-CH/languages.yml +583 -0
- data/resources/locales/fr-CH/layout.yml +5 -0
- data/resources/locales/fr-CH/lists.yml +23 -0
- data/resources/locales/fr-CH/numbers.yml +62 -0
- data/resources/locales/fr-CH/plurals.yml +4 -0
- data/resources/locales/fr-CH/rbnf.yml +599 -0
- data/resources/locales/fr-CH/territories.yml +264 -0
- data/resources/locales/fr-CH/units.yml +108 -0
- data/resources/locales/fr/plurals.yml +2 -1
- data/resources/locales/fr/units.yml +108 -108
- data/resources/locales/ga/plurals.yml +4 -3
- data/resources/locales/ga/units.yml +108 -108
- data/resources/locales/gl/plurals.yml +3 -2
- data/resources/locales/gl/units.yml +108 -108
- data/resources/locales/he/plurals.yml +5 -5
- data/resources/locales/he/units.yml +164 -164
- data/resources/locales/hi/plurals.yml +2 -1
- data/resources/locales/hi/units.yml +108 -108
- data/resources/locales/hr/plurals.yml +7 -11
- data/resources/locales/hr/units.yml +164 -164
- data/resources/locales/hu/plurals.yml +2 -1
- data/resources/locales/hu/units.yml +108 -108
- data/resources/locales/id/plurals.yml +2 -1
- data/resources/locales/id/units.yml +108 -108
- data/resources/locales/is/plurals.yml +4 -4
- data/resources/locales/is/units.yml +108 -108
- data/resources/locales/it-CH/calendars.yml +291 -0
- data/resources/locales/it-CH/currencies.yml +954 -0
- data/resources/locales/it-CH/languages.yml +583 -0
- data/resources/locales/it-CH/layout.yml +5 -0
- data/resources/locales/it-CH/lists.yml +23 -0
- data/resources/locales/it-CH/numbers.yml +62 -0
- data/resources/locales/it-CH/plurals.yml +5 -0
- data/resources/locales/it-CH/rbnf.yml +4 -0
- data/resources/locales/it-CH/territories.yml +264 -0
- data/resources/locales/it-CH/units.yml +108 -0
- data/resources/locales/it/plurals.yml +3 -2
- data/resources/locales/it/units.yml +108 -108
- data/resources/locales/ja/plurals.yml +2 -1
- data/resources/locales/ja/units.yml +108 -108
- data/resources/locales/ko/plurals.yml +2 -1
- data/resources/locales/ko/units.yml +108 -108
- data/resources/locales/lv/plurals.yml +8 -10
- data/resources/locales/lv/units.yml +136 -136
- data/resources/locales/ms/plurals.yml +2 -1
- data/resources/locales/ms/units.yml +108 -108
- data/resources/locales/nb/plurals.yml +2 -1
- data/resources/locales/nb/units.yml +108 -108
- data/resources/locales/nl/plurals.yml +3 -2
- data/resources/locales/nl/units.yml +108 -108
- data/resources/locales/pl/plurals.yml +8 -10
- data/resources/locales/pl/units.yml +164 -164
- data/resources/locales/pt/plurals.yml +4 -3
- data/resources/locales/pt/units.yml +108 -108
- data/resources/locales/ro/plurals.yml +5 -4
- data/resources/locales/ro/units.yml +136 -136
- data/resources/locales/ru/plurals.yml +6 -7
- data/resources/locales/ru/units.yml +164 -164
- data/resources/locales/sk/plurals.yml +5 -5
- data/resources/locales/sk/units.yml +136 -136
- data/resources/locales/sq/plurals.yml +2 -1
- data/resources/locales/sq/units.yml +108 -108
- data/resources/locales/sr/plurals.yml +7 -11
- data/resources/locales/sr/units.yml +164 -164
- data/resources/locales/sv/plurals.yml +3 -2
- data/resources/locales/sv/units.yml +108 -108
- data/resources/locales/ta/plurals.yml +2 -1
- data/resources/locales/ta/units.yml +108 -108
- data/resources/locales/th/plurals.yml +2 -1
- data/resources/locales/th/units.yml +108 -108
- data/resources/locales/tr/plurals.yml +2 -1
- data/resources/locales/tr/units.yml +108 -108
- data/resources/locales/uk/plurals.yml +8 -9
- data/resources/locales/uk/units.yml +164 -164
- data/resources/locales/ur/plurals.yml +3 -2
- data/resources/locales/ur/units.yml +108 -108
- data/resources/locales/vi/plurals.yml +2 -1
- data/resources/locales/vi/units.yml +108 -108
- data/resources/locales/zh-Hant/plurals.yml +3 -2
- data/resources/locales/zh-Hant/units.yml +108 -108
- data/resources/locales/zh/plurals.yml +2 -1
- data/resources/locales/zh/units.yml +108 -108
- data/resources/shared/language_codes_table.dump +0 -0
- data/resources/shared/phone_codes.yml +9 -1
- data/resources/shared/postal_codes.yml +1276 -333
- data/resources/shared/segments/segments_root.yml +3 -0
- data/spec/data_readers/timespan_data_reader_spec.rb +16 -0
- data/spec/formatters/calendars/datetime_formatter_spec.rb +2 -2
- data/spec/formatters/numbers/abbreviated/abbreviated_number_formatter_spec.rb +25 -17
- data/spec/formatters/numbers/abbreviated/short_decimal_formatter_spec.rb +47 -34
- data/spec/formatters/numbers/currency_formatter_spec.rb +1 -1
- data/spec/formatters/numbers/decimal_formatter_spec.rb +1 -1
- data/spec/formatters/numbers/number_formatter_spec.rb +1 -1
- data/spec/formatters/numbers/percent_formatter_spec.rb +1 -1
- data/spec/formatters/numbers/rbnf/locales/de-CH/rbnf_test.yml +940 -0
- data/spec/formatters/numbers/rbnf/locales/en-AU/rbnf_test.yml +1291 -0
- data/spec/formatters/numbers/rbnf/locales/en-CA/rbnf_test.yml +1291 -0
- data/spec/formatters/numbers/rbnf/locales/en-IE/rbnf_test.yml +1291 -0
- data/spec/formatters/numbers/rbnf/locales/en-SG/rbnf_test.yml +1291 -0
- data/spec/formatters/numbers/rbnf/locales/en-ZA/rbnf_test.yml +1291 -0
- data/spec/formatters/numbers/rbnf/locales/es-CO/rbnf_test.yml +1642 -0
- data/spec/formatters/numbers/rbnf/locales/es-MX/rbnf_test.yml +1642 -0
- data/spec/formatters/numbers/rbnf/locales/es-US/rbnf_test.yml +1642 -0
- data/spec/formatters/numbers/rbnf/locales/fr-BE/rbnf_test.yml +1408 -0
- data/spec/formatters/numbers/rbnf/locales/fr-CA/rbnf_test.yml +1408 -0
- data/spec/formatters/numbers/rbnf/locales/fr-CH/rbnf_test.yml +1408 -0
- data/spec/formatters/numbers/rbnf/locales/it-CH/rbnf_test.yml +1174 -0
- data/spec/formatters/plurals/rules_spec.rb +4 -0
- data/spec/localized/localized_datetime_spec.rb +1 -1
- data/spec/localized/localized_number_spec.rb +28 -0
- data/spec/localized/localized_time_spec.rb +1 -1
- data/spec/shared/calendar_spec.rb +4 -1
- data/spec/tokenizers/calendars/date_tokenizer_spec.rb +3 -3
- data/spec/tokenizers/calendars/datetime_tokenizer_spec.rb +1 -2
- data/spec/tokenizers/calendars/time_tokenizer_spec.rb +2 -2
- data/spec/tokenizers/numbers/number_tokenizer_spec.rb +4 -4
- metadata +399 -230
- data/spec/data_readers/timespan_data_reader.rb +0 -22
@@ -79,7 +79,7 @@ describe LocalizedDateTime do
|
|
79
79
|
|
80
80
|
it "don't raise errors for additional date formats" do
|
81
81
|
TwitterCldr.supported_locales.each do |locale|
|
82
|
-
data_reader = CalendarDataReader.new(locale)
|
82
|
+
data_reader = TwitterCldr::DataReaders::CalendarDataReader.new(locale)
|
83
83
|
data_reader.additional_format_selector.patterns.each do |pattern|
|
84
84
|
# puts "#{locale}: #{pattern}"
|
85
85
|
# lambda { date_time.localize(locale).to_additional_s(pattern.to_s) }.should_not raise_error
|
@@ -53,6 +53,34 @@ describe LocalizedNumber do
|
|
53
53
|
end
|
54
54
|
end
|
55
55
|
end
|
56
|
+
|
57
|
+
describe "to_short_decimal" do
|
58
|
+
context "when the patter is missing" do
|
59
|
+
it "returns the number as is" do
|
60
|
+
expect(LocalizedNumber.new(7000, :af, :type => :short_decimal).to_s).to eq("7000")
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
context "when the patter uses 'ten thousands' abbreviation" do
|
65
|
+
it "formats the number properly" do
|
66
|
+
expect(LocalizedNumber.new(93_000_000, :ja, :type => :short_decimal).to_s).to match_normalized("9300万")
|
67
|
+
end
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
describe "to_long_decimal" do
|
72
|
+
context "when the patter is missing" do
|
73
|
+
it "returns the number as is" do
|
74
|
+
expect(LocalizedNumber.new(7000, :ko, :type => :long_decimal).to_s).to eq("7000")
|
75
|
+
end
|
76
|
+
end
|
77
|
+
|
78
|
+
context "when the patter uses 'ten thousands' abbreviation" do
|
79
|
+
it "formats the number properly" do
|
80
|
+
expect(LocalizedNumber.new(93_000_000, :'zh-Hant', :type => :long_decimal).to_s).to match_normalized("9300萬")
|
81
|
+
end
|
82
|
+
end
|
83
|
+
end
|
56
84
|
end
|
57
85
|
|
58
86
|
describe '#to_s' do
|
@@ -58,7 +58,7 @@ describe LocalizedTime do
|
|
58
58
|
describe 'formatters' do
|
59
59
|
it "don't raise errors for any locale" do
|
60
60
|
TwitterCldr.supported_locales.each do |locale|
|
61
|
-
(CalendarDataReader.types - [:additional]).each do |type|
|
61
|
+
(TwitterCldr::DataReaders::CalendarDataReader.types - [:additional]).each do |type|
|
62
62
|
expect { Time.now.localize(locale).send(:"to_#{type}_s") }.not_to raise_error
|
63
63
|
end
|
64
64
|
end
|
@@ -11,12 +11,15 @@ describe Calendar do
|
|
11
11
|
|
12
12
|
let(:calendar) { Calendar.new(:de) }
|
13
13
|
|
14
|
-
|
14
|
+
def clear_cache
|
15
15
|
# clear cache for each test
|
16
16
|
Calendar.send(:class_variable_set, :@@calendar_cache, {})
|
17
17
|
Calendar.send(:class_variable_set, :@@field_cache, {})
|
18
18
|
end
|
19
19
|
|
20
|
+
before(:each) { clear_cache }
|
21
|
+
after(:each) { clear_cache }
|
22
|
+
|
20
23
|
describe '#initialize' do
|
21
24
|
it 'returns calendar for default locale and type' do
|
22
25
|
stub(TwitterCldr).locale { :fr }
|
@@ -10,7 +10,7 @@ include TwitterCldr::Tokenizers
|
|
10
10
|
describe DateTokenizer do
|
11
11
|
describe "#tokens" do
|
12
12
|
it "should tokenize plaintext segments correctly (i.e. Spanish)" do
|
13
|
-
data_reader = DateDataReader.new(:es, :type => :full)
|
13
|
+
data_reader = TwitterCldr::DataReaders::DateDataReader.new(:es, :type => :full)
|
14
14
|
got = data_reader.tokenizer.tokenize(data_reader.pattern)
|
15
15
|
expected = [
|
16
16
|
{ :value => "EEEE", :type => :pattern },
|
@@ -25,7 +25,7 @@ describe DateTokenizer do
|
|
25
25
|
end
|
26
26
|
|
27
27
|
it "should tokenize patterns with non-latin characters correctly (i.e. Japanese)" do
|
28
|
-
data_reader = DateDataReader.new(:ja, :type => :full)
|
28
|
+
data_reader = TwitterCldr::DataReaders::DateDataReader.new(:ja, :type => :full)
|
29
29
|
got = data_reader.tokenizer.tokenize(data_reader.pattern)
|
30
30
|
expected = [
|
31
31
|
{ :value => "y", :type => :pattern },
|
@@ -45,7 +45,7 @@ describe DateTokenizer do
|
|
45
45
|
be_nil, 'buddhist calendar is missing for :th locale (check resources/locales/th/calendars.yml)'
|
46
46
|
)
|
47
47
|
|
48
|
-
data_reader = DateDataReader.new(:th, :type => :long, :calendar_type => :buddhist)
|
48
|
+
data_reader = TwitterCldr::DataReaders::DateDataReader.new(:th, :type => :long, :calendar_type => :buddhist)
|
49
49
|
got = data_reader.tokenizer.tokenize(data_reader.pattern)
|
50
50
|
expected = [
|
51
51
|
{ :value => "d", :type => :pattern },
|
@@ -6,10 +6,9 @@
|
|
6
6
|
require 'spec_helper'
|
7
7
|
|
8
8
|
include TwitterCldr::Tokenizers
|
9
|
-
include TwitterCldr::DataReaders
|
10
9
|
|
11
10
|
describe DateTimeTokenizer do
|
12
|
-
let(:data_reader) { DateTimeDataReader.new(:es, :type => :full) }
|
11
|
+
let(:data_reader) { TwitterCldr::DataReaders::DateTimeDataReader.new(:es, :type => :full) }
|
13
12
|
let(:tokenizer) { data_reader.tokenizer }
|
14
13
|
|
15
14
|
describe "#tokenize" do
|
@@ -10,7 +10,7 @@ include TwitterCldr::Tokenizers
|
|
10
10
|
describe TimeTokenizer do
|
11
11
|
describe "#tokens" do
|
12
12
|
it "should tokenize a time string correctly (i.e. German)" do
|
13
|
-
data_reader = TimeDataReader.new(:de, :type => :full)
|
13
|
+
data_reader = TwitterCldr::DataReaders::TimeDataReader.new(:de, :type => :full)
|
14
14
|
got = data_reader.tokenizer.tokenize(data_reader.pattern)
|
15
15
|
expected = [
|
16
16
|
{ :value => "HH", :type => :pattern },
|
@@ -25,7 +25,7 @@ describe TimeTokenizer do
|
|
25
25
|
end
|
26
26
|
|
27
27
|
it "should tokenize patterns with non-latin characters correctly (i.e. Korean)" do
|
28
|
-
data_reader = TimeDataReader.new(:ko, :type => :full)
|
28
|
+
data_reader = TwitterCldr::DataReaders::TimeDataReader.new(:ko, :type => :full)
|
29
29
|
got = data_reader.tokenizer.tokenize(data_reader.pattern)
|
30
30
|
expected = [
|
31
31
|
{ :value => "a", :type => :pattern },
|
@@ -12,7 +12,7 @@ describe NumberTokenizer do
|
|
12
12
|
let(:number) { 10 }
|
13
13
|
|
14
14
|
it "gets tokens for a latin language (i.e. Portuguese)" do
|
15
|
-
data_reader = NumberDataReader.new(:pt)
|
15
|
+
data_reader = TwitterCldr::DataReaders::NumberDataReader.new(:pt)
|
16
16
|
got = data_reader.tokenizer.tokenize(data_reader.pattern(number))
|
17
17
|
expected = [
|
18
18
|
{ :value => "", :type => :plaintext },
|
@@ -22,7 +22,7 @@ describe NumberTokenizer do
|
|
22
22
|
end
|
23
23
|
|
24
24
|
it "gets tokens for a non-latin language (i.e. Russian)" do
|
25
|
-
data_reader = NumberDataReader.new(:ru)
|
25
|
+
data_reader = TwitterCldr::DataReaders::NumberDataReader.new(:ru)
|
26
26
|
got = data_reader.tokenizer.tokenize(data_reader.pattern(number))
|
27
27
|
expected = [
|
28
28
|
{ :value => "", :type => :plaintext },
|
@@ -32,7 +32,7 @@ describe NumberTokenizer do
|
|
32
32
|
end
|
33
33
|
|
34
34
|
it "correctly parses suffixes (i.e. Russian currency)" do
|
35
|
-
data_reader = NumberDataReader.new(:ru, :type => :currency)
|
35
|
+
data_reader = TwitterCldr::DataReaders::NumberDataReader.new(:ru, :type => :currency)
|
36
36
|
got = data_reader.tokenizer.tokenize(data_reader.pattern(number))
|
37
37
|
expected = [
|
38
38
|
{ :value => "", :type => :plaintext },
|
@@ -43,7 +43,7 @@ describe NumberTokenizer do
|
|
43
43
|
end
|
44
44
|
|
45
45
|
it "correctly parses prefixes (i.e. English (American) currency)" do
|
46
|
-
data_reader = NumberDataReader.new(:en, :type => :currency)
|
46
|
+
data_reader = TwitterCldr::DataReaders::NumberDataReader.new(:en, :type => :currency)
|
47
47
|
got = data_reader.tokenizer.tokenize(data_reader.pattern(number))
|
48
48
|
expected = [
|
49
49
|
{ :value => "¤", :type => :plaintext },
|
metadata
CHANGED
@@ -1,55 +1,55 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: twitter_cldr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cameron Dutro
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-07-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - '>='
|
17
|
+
- - ! '>='
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - '>='
|
24
|
+
- - ! '>='
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: camertron-eprun
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - '>='
|
31
|
+
- - ! '>='
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '0'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - '>='
|
38
|
+
- - ! '>='
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: tzinfo
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - '>='
|
45
|
+
- - ! '>='
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '0'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - '>='
|
52
|
+
- - ! '>='
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
55
|
description: Ruby implementation of the ICU (International Components for Unicode)
|
@@ -60,6 +60,14 @@ executables: []
|
|
60
60
|
extensions: []
|
61
61
|
extra_rdoc_files: []
|
62
62
|
files:
|
63
|
+
- Gemfile
|
64
|
+
- History.txt
|
65
|
+
- LICENSE
|
66
|
+
- NOTICE
|
67
|
+
- README.md
|
68
|
+
- Rakefile
|
69
|
+
- lib/twitter_cldr.rb
|
70
|
+
- lib/twitter_cldr/collation.rb
|
63
71
|
- lib/twitter_cldr/collation/collator.rb
|
64
72
|
- lib/twitter_cldr/collation/implicit_collation_elements.rb
|
65
73
|
- lib/twitter_cldr/collation/sort_key_builder.rb
|
@@ -67,8 +75,8 @@ files:
|
|
67
75
|
- lib/twitter_cldr/collation/trie_builder.rb
|
68
76
|
- lib/twitter_cldr/collation/trie_loader.rb
|
69
77
|
- lib/twitter_cldr/collation/trie_with_fallback.rb
|
70
|
-
- lib/twitter_cldr/collation.rb
|
71
78
|
- lib/twitter_cldr/core_ext.rb
|
79
|
+
- lib/twitter_cldr/data_readers.rb
|
72
80
|
- lib/twitter_cldr/data_readers/additional_date_format_selector.rb
|
73
81
|
- lib/twitter_cldr/data_readers/calendar_data_reader.rb
|
74
82
|
- lib/twitter_cldr/data_readers/data_reader.rb
|
@@ -77,11 +85,12 @@ files:
|
|
77
85
|
- lib/twitter_cldr/data_readers/number_data_reader.rb
|
78
86
|
- lib/twitter_cldr/data_readers/time_data_reader.rb
|
79
87
|
- lib/twitter_cldr/data_readers/timespan_data_reader.rb
|
80
|
-
- lib/twitter_cldr/
|
88
|
+
- lib/twitter_cldr/formatters.rb
|
81
89
|
- lib/twitter_cldr/formatters/calendars/date_time_formatter.rb
|
82
90
|
- lib/twitter_cldr/formatters/calendars/timespan_formatter.rb
|
83
91
|
- lib/twitter_cldr/formatters/formatter.rb
|
84
92
|
- lib/twitter_cldr/formatters/list_formatter.rb
|
93
|
+
- lib/twitter_cldr/formatters/numbers.rb
|
85
94
|
- lib/twitter_cldr/formatters/numbers/abbreviated/abbreviated_number_formatter.rb
|
86
95
|
- lib/twitter_cldr/formatters/numbers/abbreviated/long_decimal_formatter.rb
|
87
96
|
- lib/twitter_cldr/formatters/numbers/abbreviated/short_decimal_formatter.rb
|
@@ -92,6 +101,7 @@ files:
|
|
92
101
|
- lib/twitter_cldr/formatters/numbers/helpers/integer.rb
|
93
102
|
- lib/twitter_cldr/formatters/numbers/number_formatter.rb
|
94
103
|
- lib/twitter_cldr/formatters/numbers/percent_formatter.rb
|
104
|
+
- lib/twitter_cldr/formatters/numbers/rbnf.rb
|
95
105
|
- lib/twitter_cldr/formatters/numbers/rbnf/formatters.rb
|
96
106
|
- lib/twitter_cldr/formatters/numbers/rbnf/post_processors/chinese.rb
|
97
107
|
- lib/twitter_cldr/formatters/numbers/rbnf/rule.rb
|
@@ -99,12 +109,10 @@ files:
|
|
99
109
|
- lib/twitter_cldr/formatters/numbers/rbnf/rule_parser.rb
|
100
110
|
- lib/twitter_cldr/formatters/numbers/rbnf/rule_set.rb
|
101
111
|
- lib/twitter_cldr/formatters/numbers/rbnf/substitution.rb
|
102
|
-
- lib/twitter_cldr/formatters/
|
103
|
-
- lib/twitter_cldr/formatters/numbers.rb
|
112
|
+
- lib/twitter_cldr/formatters/plurals.rb
|
104
113
|
- lib/twitter_cldr/formatters/plurals/plural_formatter.rb
|
105
114
|
- lib/twitter_cldr/formatters/plurals/rules.rb
|
106
|
-
- lib/twitter_cldr/
|
107
|
-
- lib/twitter_cldr/formatters.rb
|
115
|
+
- lib/twitter_cldr/localized.rb
|
108
116
|
- lib/twitter_cldr/localized/localized_array.rb
|
109
117
|
- lib/twitter_cldr/localized/localized_date.rb
|
110
118
|
- lib/twitter_cldr/localized/localized_datetime.rb
|
@@ -115,8 +123,8 @@ files:
|
|
115
123
|
- lib/twitter_cldr/localized/localized_symbol.rb
|
116
124
|
- lib/twitter_cldr/localized/localized_time.rb
|
117
125
|
- lib/twitter_cldr/localized/localized_timespan.rb
|
118
|
-
- lib/twitter_cldr/localized.rb
|
119
126
|
- lib/twitter_cldr/normalization.rb
|
127
|
+
- lib/twitter_cldr/parsers.rb
|
120
128
|
- lib/twitter_cldr/parsers/number_parser.rb
|
121
129
|
- lib/twitter_cldr/parsers/parser.rb
|
122
130
|
- lib/twitter_cldr/parsers/segmentation_parser.rb
|
@@ -128,7 +136,7 @@ files:
|
|
128
136
|
- lib/twitter_cldr/parsers/unicode_regex/literal.rb
|
129
137
|
- lib/twitter_cldr/parsers/unicode_regex/unicode_string.rb
|
130
138
|
- lib/twitter_cldr/parsers/unicode_regex_parser.rb
|
131
|
-
- lib/twitter_cldr/
|
139
|
+
- lib/twitter_cldr/resources.rb
|
132
140
|
- lib/twitter_cldr/resources/bidi_test_importer.rb
|
133
141
|
- lib/twitter_cldr/resources/canonical_compositions_updater.rb
|
134
142
|
- lib/twitter_cldr/resources/casefolder.rb.erb
|
@@ -148,12 +156,12 @@ files:
|
|
148
156
|
- lib/twitter_cldr/resources/readme_renderer.rb
|
149
157
|
- lib/twitter_cldr/resources/regexp_ast_generator.rb
|
150
158
|
- lib/twitter_cldr/resources/tailoring_importer.rb
|
151
|
-
- lib/twitter_cldr/resources/uli/segment_exceptions_importer.rb
|
152
159
|
- lib/twitter_cldr/resources/uli.rb
|
160
|
+
- lib/twitter_cldr/resources/uli/segment_exceptions_importer.rb
|
153
161
|
- lib/twitter_cldr/resources/unicode_data_importer.rb
|
154
162
|
- lib/twitter_cldr/resources/unicode_importer.rb
|
155
163
|
- lib/twitter_cldr/resources/unicode_properties_importer.rb
|
156
|
-
- lib/twitter_cldr/
|
164
|
+
- lib/twitter_cldr/shared.rb
|
157
165
|
- lib/twitter_cldr/shared/bidi.rb
|
158
166
|
- lib/twitter_cldr/shared/break_iterator.rb
|
159
167
|
- lib/twitter_cldr/shared/calendar.rb
|
@@ -170,7 +178,7 @@ files:
|
|
170
178
|
- lib/twitter_cldr/shared/territories.rb
|
171
179
|
- lib/twitter_cldr/shared/timezones.rb
|
172
180
|
- lib/twitter_cldr/shared/unicode_regex.rb
|
173
|
-
- lib/twitter_cldr/
|
181
|
+
- lib/twitter_cldr/tokenizers.rb
|
174
182
|
- lib/twitter_cldr/tokenizers/calendars/date_time_tokenizer.rb
|
175
183
|
- lib/twitter_cldr/tokenizers/calendars/date_tokenizer.rb
|
176
184
|
- lib/twitter_cldr/tokenizers/calendars/time_tokenizer.rb
|
@@ -183,192 +191,14 @@ files:
|
|
183
191
|
- lib/twitter_cldr/tokenizers/token.rb
|
184
192
|
- lib/twitter_cldr/tokenizers/tokenizer.rb
|
185
193
|
- lib/twitter_cldr/tokenizers/unicode_regex/unicode_regex_tokenizer.rb
|
186
|
-
- lib/twitter_cldr/
|
194
|
+
- lib/twitter_cldr/utils.rb
|
187
195
|
- lib/twitter_cldr/utils/code_points.rb
|
188
196
|
- lib/twitter_cldr/utils/interpolation.rb
|
189
197
|
- lib/twitter_cldr/utils/range_set.rb
|
190
198
|
- lib/twitter_cldr/utils/regexp_ast.rb
|
191
199
|
- lib/twitter_cldr/utils/regexp_sampler.rb
|
192
200
|
- lib/twitter_cldr/utils/yaml.rb
|
193
|
-
- lib/twitter_cldr/utils.rb
|
194
201
|
- lib/twitter_cldr/version.rb
|
195
|
-
- lib/twitter_cldr.rb
|
196
|
-
- spec/bidi/bidi_spec.rb
|
197
|
-
- spec/bidi/classpath_bidi_test.txt
|
198
|
-
- spec/collation/collation_spec.rb
|
199
|
-
- spec/collation/CollationTest_CLDR_NON_IGNORABLE_Short.txt
|
200
|
-
- spec/collation/collator_spec.rb
|
201
|
-
- spec/collation/implicit_collation_elements_spec.rb
|
202
|
-
- spec/collation/sort_key_builder_spec.rb
|
203
|
-
- spec/collation/tailoring_spec.rb
|
204
|
-
- spec/collation/tailoring_tests/af.txt
|
205
|
-
- spec/collation/tailoring_tests/ar.txt
|
206
|
-
- spec/collation/tailoring_tests/ca.txt
|
207
|
-
- spec/collation/tailoring_tests/cs.txt
|
208
|
-
- spec/collation/tailoring_tests/da.txt
|
209
|
-
- spec/collation/tailoring_tests/de.txt
|
210
|
-
- spec/collation/tailoring_tests/el.txt
|
211
|
-
- spec/collation/tailoring_tests/en.txt
|
212
|
-
- spec/collation/tailoring_tests/es.txt
|
213
|
-
- spec/collation/tailoring_tests/eu.txt
|
214
|
-
- spec/collation/tailoring_tests/fa.txt
|
215
|
-
- spec/collation/tailoring_tests/fi.txt
|
216
|
-
- spec/collation/tailoring_tests/fil.txt
|
217
|
-
- spec/collation/tailoring_tests/fr.txt
|
218
|
-
- spec/collation/tailoring_tests/he.txt
|
219
|
-
- spec/collation/tailoring_tests/hi.txt
|
220
|
-
- spec/collation/tailoring_tests/hu.txt
|
221
|
-
- spec/collation/tailoring_tests/id.txt
|
222
|
-
- spec/collation/tailoring_tests/it.txt
|
223
|
-
- spec/collation/tailoring_tests/ja.txt
|
224
|
-
- spec/collation/tailoring_tests/ko.txt
|
225
|
-
- spec/collation/tailoring_tests/ms.txt
|
226
|
-
- spec/collation/tailoring_tests/nb.txt
|
227
|
-
- spec/collation/tailoring_tests/nl.txt
|
228
|
-
- spec/collation/tailoring_tests/pl.txt
|
229
|
-
- spec/collation/tailoring_tests/pt.txt
|
230
|
-
- spec/collation/tailoring_tests/ru.txt
|
231
|
-
- spec/collation/tailoring_tests/sv.txt
|
232
|
-
- spec/collation/tailoring_tests/th.txt
|
233
|
-
- spec/collation/tailoring_tests/tr.txt
|
234
|
-
- spec/collation/tailoring_tests/uk.txt
|
235
|
-
- spec/collation/tailoring_tests/ur.txt
|
236
|
-
- spec/collation/tailoring_tests/zh-Hant.txt
|
237
|
-
- spec/collation/tailoring_tests/zh.txt
|
238
|
-
- spec/collation/trie_builder_spec.rb
|
239
|
-
- spec/collation/trie_dumps_spec.rb
|
240
|
-
- spec/collation/trie_loader_spec.rb
|
241
|
-
- spec/collation/trie_spec.rb
|
242
|
-
- spec/collation/trie_with_fallback_spec.rb
|
243
|
-
- spec/core_ext_spec.rb
|
244
|
-
- spec/data_readers/additional_date_format_selector_spec.rb
|
245
|
-
- spec/data_readers/date_time_data_reader_spec.rb
|
246
|
-
- spec/data_readers/number_data_reader_spec.rb
|
247
|
-
- spec/data_readers/timespan_data_reader.rb
|
248
|
-
- spec/formatters/calendars/datetime_formatter_spec.rb
|
249
|
-
- spec/formatters/list_formatter_spec.rb
|
250
|
-
- spec/formatters/numbers/abbreviated/abbreviated_number_formatter_spec.rb
|
251
|
-
- spec/formatters/numbers/abbreviated/long_decimal_formatter_spec.rb
|
252
|
-
- spec/formatters/numbers/abbreviated/short_decimal_formatter_spec.rb
|
253
|
-
- spec/formatters/numbers/currency_formatter_spec.rb
|
254
|
-
- spec/formatters/numbers/decimal_formatter_spec.rb
|
255
|
-
- spec/formatters/numbers/helpers/fraction_spec.rb
|
256
|
-
- spec/formatters/numbers/helpers/integer_spec.rb
|
257
|
-
- spec/formatters/numbers/number_formatter_spec.rb
|
258
|
-
- spec/formatters/numbers/percent_formatter_spec.rb
|
259
|
-
- spec/formatters/numbers/rbnf/allowed_failures.yml
|
260
|
-
- spec/formatters/numbers/rbnf/locales/af/rbnf_test.yml
|
261
|
-
- spec/formatters/numbers/rbnf/locales/ar/rbnf_test.yml
|
262
|
-
- spec/formatters/numbers/rbnf/locales/be/rbnf_test.yml
|
263
|
-
- spec/formatters/numbers/rbnf/locales/bg/rbnf_test.yml
|
264
|
-
- spec/formatters/numbers/rbnf/locales/bn/rbnf_test.yml
|
265
|
-
- spec/formatters/numbers/rbnf/locales/ca/rbnf_test.yml
|
266
|
-
- spec/formatters/numbers/rbnf/locales/cs/rbnf_test.yml
|
267
|
-
- spec/formatters/numbers/rbnf/locales/cy/rbnf_test.yml
|
268
|
-
- spec/formatters/numbers/rbnf/locales/da/rbnf_test.yml
|
269
|
-
- spec/formatters/numbers/rbnf/locales/de/rbnf_test.yml
|
270
|
-
- spec/formatters/numbers/rbnf/locales/el/rbnf_test.yml
|
271
|
-
- spec/formatters/numbers/rbnf/locales/en/rbnf_test.yml
|
272
|
-
- spec/formatters/numbers/rbnf/locales/en-GB/rbnf_test.yml
|
273
|
-
- spec/formatters/numbers/rbnf/locales/es/rbnf_test.yml
|
274
|
-
- spec/formatters/numbers/rbnf/locales/eu/rbnf_test.yml
|
275
|
-
- spec/formatters/numbers/rbnf/locales/fa/rbnf_test.yml
|
276
|
-
- spec/formatters/numbers/rbnf/locales/fi/rbnf_test.yml
|
277
|
-
- spec/formatters/numbers/rbnf/locales/fil/rbnf_test.yml
|
278
|
-
- spec/formatters/numbers/rbnf/locales/fr/rbnf_test.yml
|
279
|
-
- spec/formatters/numbers/rbnf/locales/ga/rbnf_test.yml
|
280
|
-
- spec/formatters/numbers/rbnf/locales/gl/rbnf_test.yml
|
281
|
-
- spec/formatters/numbers/rbnf/locales/he/rbnf_test.yml
|
282
|
-
- spec/formatters/numbers/rbnf/locales/hi/rbnf_test.yml
|
283
|
-
- spec/formatters/numbers/rbnf/locales/hr/rbnf_test.yml
|
284
|
-
- spec/formatters/numbers/rbnf/locales/hu/rbnf_test.yml
|
285
|
-
- spec/formatters/numbers/rbnf/locales/id/rbnf_test.yml
|
286
|
-
- spec/formatters/numbers/rbnf/locales/is/rbnf_test.yml
|
287
|
-
- spec/formatters/numbers/rbnf/locales/it/rbnf_test.yml
|
288
|
-
- spec/formatters/numbers/rbnf/locales/ja/rbnf_test.yml
|
289
|
-
- spec/formatters/numbers/rbnf/locales/ko/rbnf_test.yml
|
290
|
-
- spec/formatters/numbers/rbnf/locales/lv/rbnf_test.yml
|
291
|
-
- spec/formatters/numbers/rbnf/locales/ms/rbnf_test.yml
|
292
|
-
- spec/formatters/numbers/rbnf/locales/nb/rbnf_test.yml
|
293
|
-
- spec/formatters/numbers/rbnf/locales/nl/rbnf_test.yml
|
294
|
-
- spec/formatters/numbers/rbnf/locales/pl/rbnf_test.yml
|
295
|
-
- spec/formatters/numbers/rbnf/locales/pt/rbnf_test.yml
|
296
|
-
- spec/formatters/numbers/rbnf/locales/ro/rbnf_test.yml
|
297
|
-
- spec/formatters/numbers/rbnf/locales/ru/rbnf_test.yml
|
298
|
-
- spec/formatters/numbers/rbnf/locales/sk/rbnf_test.yml
|
299
|
-
- spec/formatters/numbers/rbnf/locales/sq/rbnf_test.yml
|
300
|
-
- spec/formatters/numbers/rbnf/locales/sr/rbnf_test.yml
|
301
|
-
- spec/formatters/numbers/rbnf/locales/sv/rbnf_test.yml
|
302
|
-
- spec/formatters/numbers/rbnf/locales/ta/rbnf_test.yml
|
303
|
-
- spec/formatters/numbers/rbnf/locales/th/rbnf_test.yml
|
304
|
-
- spec/formatters/numbers/rbnf/locales/tr/rbnf_test.yml
|
305
|
-
- spec/formatters/numbers/rbnf/locales/uk/rbnf_test.yml
|
306
|
-
- spec/formatters/numbers/rbnf/locales/ur/rbnf_test.yml
|
307
|
-
- spec/formatters/numbers/rbnf/locales/vi/rbnf_test.yml
|
308
|
-
- spec/formatters/numbers/rbnf/locales/zh/rbnf_test.yml
|
309
|
-
- spec/formatters/numbers/rbnf/locales/zh-Hant/rbnf_test.yml
|
310
|
-
- spec/formatters/numbers/rbnf/rbnf_spec.rb
|
311
|
-
- spec/formatters/plurals/plural_formatter_spec.rb
|
312
|
-
- spec/formatters/plurals/rules_spec.rb
|
313
|
-
- spec/localized/localized_array_spec.rb
|
314
|
-
- spec/localized/localized_date_spec.rb
|
315
|
-
- spec/localized/localized_datetime_spec.rb
|
316
|
-
- spec/localized/localized_hash_spec.rb
|
317
|
-
- spec/localized/localized_number_spec.rb
|
318
|
-
- spec/localized/localized_object_spec.rb
|
319
|
-
- spec/localized/localized_string_spec.rb
|
320
|
-
- spec/localized/localized_symbol_spec.rb
|
321
|
-
- spec/localized/localized_time_spec.rb
|
322
|
-
- spec/localized/localized_timespan_spec.rb
|
323
|
-
- spec/normalization_spec.rb
|
324
|
-
- spec/parsers/number_parser_spec.rb
|
325
|
-
- spec/parsers/parser_spec.rb
|
326
|
-
- spec/parsers/segmentation_parser_spec.rb
|
327
|
-
- spec/parsers/symbol_table_spec.rb
|
328
|
-
- spec/parsers/unicode_regex/character_class_spec.rb
|
329
|
-
- spec/parsers/unicode_regex/character_range_spec.rb
|
330
|
-
- spec/parsers/unicode_regex/character_set_spec.rb
|
331
|
-
- spec/parsers/unicode_regex/literal_spec.rb
|
332
|
-
- spec/parsers/unicode_regex/unicode_string_spec.rb
|
333
|
-
- spec/parsers/unicode_regex_parser_spec.rb
|
334
|
-
- spec/readme_spec.rb
|
335
|
-
- spec/resources/loader_spec.rb
|
336
|
-
- spec/shared/break_iterator_spec.rb
|
337
|
-
- spec/shared/calendar_spec.rb
|
338
|
-
- spec/shared/casefolder_spec.rb
|
339
|
-
- spec/shared/casefolding.txt
|
340
|
-
- spec/shared/casefolding_expected.txt
|
341
|
-
- spec/shared/code_point_spec.rb
|
342
|
-
- spec/shared/currencies_spec.rb
|
343
|
-
- spec/shared/language_codes_spec.rb
|
344
|
-
- spec/shared/languages_spec.rb
|
345
|
-
- spec/shared/numbering_system_spec.rb
|
346
|
-
- spec/shared/numbers_spec.rb
|
347
|
-
- spec/shared/phone_codes_spec.rb
|
348
|
-
- spec/shared/postal_code_generator_spec.rb
|
349
|
-
- spec/shared/postal_codes_spec.rb
|
350
|
-
- spec/shared/territories_spec.rb
|
351
|
-
- spec/shared/unicode_regex_spec.rb
|
352
|
-
- spec/spec_helper.rb
|
353
|
-
- spec/tokenizers/calendars/date_tokenizer_spec.rb
|
354
|
-
- spec/tokenizers/calendars/datetime_tokenizer_spec.rb
|
355
|
-
- spec/tokenizers/calendars/time_tokenizer_spec.rb
|
356
|
-
- spec/tokenizers/calendars/timespan_tokenizer_spec.rb
|
357
|
-
- spec/tokenizers/composite_token_spec.rb
|
358
|
-
- spec/tokenizers/numbers/number_tokenizer_spec.rb
|
359
|
-
- spec/tokenizers/segmentation/segmentation_tokenizer_spec.rb
|
360
|
-
- spec/tokenizers/token_spec.rb
|
361
|
-
- spec/tokenizers/unicode_regex/unicode_regex_tokenizer_spec.rb
|
362
|
-
- spec/twitter_cldr_spec.rb
|
363
|
-
- spec/utils/code_points_spec.rb
|
364
|
-
- spec/utils/interpolation_spec.rb
|
365
|
-
- spec/utils/range_set_spec.rb
|
366
|
-
- spec/utils/regexp_ast_spec.rb
|
367
|
-
- spec/utils/regexp_sampler_spec.rb
|
368
|
-
- spec/utils/yaml/t.gif
|
369
|
-
- spec/utils/yaml/t.yaml
|
370
|
-
- spec/utils/yaml/yaml_spec.rb
|
371
|
-
- spec/utils_spec.rb
|
372
202
|
- resources/collation/FractionalUCA_SHORT.txt
|
373
203
|
- resources/collation/tailoring/af.yml
|
374
204
|
- resources/collation/tailoring/ar.yml
|
@@ -379,15 +209,27 @@ files:
|
|
379
209
|
- resources/collation/tailoring/cs.yml
|
380
210
|
- resources/collation/tailoring/cy.yml
|
381
211
|
- resources/collation/tailoring/da.yml
|
212
|
+
- resources/collation/tailoring/de-CH.yml
|
382
213
|
- resources/collation/tailoring/de.yml
|
383
214
|
- resources/collation/tailoring/el.yml
|
215
|
+
- resources/collation/tailoring/en-AU.yml
|
216
|
+
- resources/collation/tailoring/en-CA.yml
|
384
217
|
- resources/collation/tailoring/en-GB.yml
|
218
|
+
- resources/collation/tailoring/en-IE.yml
|
219
|
+
- resources/collation/tailoring/en-SG.yml
|
220
|
+
- resources/collation/tailoring/en-ZA.yml
|
385
221
|
- resources/collation/tailoring/en.yml
|
222
|
+
- resources/collation/tailoring/es-CO.yml
|
223
|
+
- resources/collation/tailoring/es-MX.yml
|
224
|
+
- resources/collation/tailoring/es-US.yml
|
386
225
|
- resources/collation/tailoring/es.yml
|
387
226
|
- resources/collation/tailoring/eu.yml
|
388
227
|
- resources/collation/tailoring/fa.yml
|
389
228
|
- resources/collation/tailoring/fi.yml
|
390
229
|
- resources/collation/tailoring/fil.yml
|
230
|
+
- resources/collation/tailoring/fr-BE.yml
|
231
|
+
- resources/collation/tailoring/fr-CA.yml
|
232
|
+
- resources/collation/tailoring/fr-CH.yml
|
391
233
|
- resources/collation/tailoring/fr.yml
|
392
234
|
- resources/collation/tailoring/ga.yml
|
393
235
|
- resources/collation/tailoring/gl.yml
|
@@ -397,6 +239,7 @@ files:
|
|
397
239
|
- resources/collation/tailoring/hu.yml
|
398
240
|
- resources/collation/tailoring/id.yml
|
399
241
|
- resources/collation/tailoring/is.yml
|
242
|
+
- resources/collation/tailoring/it-CH.yml
|
400
243
|
- resources/collation/tailoring/it.yml
|
401
244
|
- resources/collation/tailoring/ja.yml
|
402
245
|
- resources/collation/tailoring/ko.yml
|
@@ -429,16 +272,28 @@ files:
|
|
429
272
|
- resources/collation/tries/cs.dump
|
430
273
|
- resources/collation/tries/cy.dump
|
431
274
|
- resources/collation/tries/da.dump
|
275
|
+
- resources/collation/tries/de-CH.dump
|
432
276
|
- resources/collation/tries/de.dump
|
433
277
|
- resources/collation/tries/default.dump
|
434
278
|
- resources/collation/tries/el.dump
|
279
|
+
- resources/collation/tries/en-AU.dump
|
280
|
+
- resources/collation/tries/en-CA.dump
|
435
281
|
- resources/collation/tries/en-GB.dump
|
282
|
+
- resources/collation/tries/en-IE.dump
|
283
|
+
- resources/collation/tries/en-SG.dump
|
284
|
+
- resources/collation/tries/en-ZA.dump
|
436
285
|
- resources/collation/tries/en.dump
|
286
|
+
- resources/collation/tries/es-CO.dump
|
287
|
+
- resources/collation/tries/es-MX.dump
|
288
|
+
- resources/collation/tries/es-US.dump
|
437
289
|
- resources/collation/tries/es.dump
|
438
290
|
- resources/collation/tries/eu.dump
|
439
291
|
- resources/collation/tries/fa.dump
|
440
292
|
- resources/collation/tries/fi.dump
|
441
293
|
- resources/collation/tries/fil.dump
|
294
|
+
- resources/collation/tries/fr-BE.dump
|
295
|
+
- resources/collation/tries/fr-CA.dump
|
296
|
+
- resources/collation/tries/fr-CH.dump
|
442
297
|
- resources/collation/tries/fr.dump
|
443
298
|
- resources/collation/tries/ga.dump
|
444
299
|
- resources/collation/tries/gl.dump
|
@@ -448,6 +303,7 @@ files:
|
|
448
303
|
- resources/collation/tries/hu.dump
|
449
304
|
- resources/collation/tries/id.dump
|
450
305
|
- resources/collation/tries/is.dump
|
306
|
+
- resources/collation/tries/it-CH.dump
|
451
307
|
- resources/collation/tries/it.dump
|
452
308
|
- resources/collation/tries/ja.dump
|
453
309
|
- resources/collation/tries/ko.dump
|
@@ -482,8 +338,8 @@ files:
|
|
482
338
|
- resources/custom/locales/da/units.yml
|
483
339
|
- resources/custom/locales/de/units.yml
|
484
340
|
- resources/custom/locales/el/units.yml
|
485
|
-
- resources/custom/locales/en/units.yml
|
486
341
|
- resources/custom/locales/en-GB/units.yml
|
342
|
+
- resources/custom/locales/en/units.yml
|
487
343
|
- resources/custom/locales/es/units.yml
|
488
344
|
- resources/custom/locales/eu/units.yml
|
489
345
|
- resources/custom/locales/fa/units.yml
|
@@ -519,8 +375,8 @@ files:
|
|
519
375
|
- resources/custom/locales/uk/units.yml
|
520
376
|
- resources/custom/locales/ur/units.yml
|
521
377
|
- resources/custom/locales/vi/units.yml
|
522
|
-
- resources/custom/locales/zh/units.yml
|
523
378
|
- resources/custom/locales/zh-Hant/units.yml
|
379
|
+
- resources/custom/locales/zh/units.yml
|
524
380
|
- resources/locales/af/calendars.yml
|
525
381
|
- resources/locales/af/currencies.yml
|
526
382
|
- resources/locales/af/languages.yml
|
@@ -611,6 +467,16 @@ files:
|
|
611
467
|
- resources/locales/da/rbnf.yml
|
612
468
|
- resources/locales/da/territories.yml
|
613
469
|
- resources/locales/da/units.yml
|
470
|
+
- resources/locales/de-CH/calendars.yml
|
471
|
+
- resources/locales/de-CH/currencies.yml
|
472
|
+
- resources/locales/de-CH/languages.yml
|
473
|
+
- resources/locales/de-CH/layout.yml
|
474
|
+
- resources/locales/de-CH/lists.yml
|
475
|
+
- resources/locales/de-CH/numbers.yml
|
476
|
+
- resources/locales/de-CH/plurals.yml
|
477
|
+
- resources/locales/de-CH/rbnf.yml
|
478
|
+
- resources/locales/de-CH/territories.yml
|
479
|
+
- resources/locales/de-CH/units.yml
|
614
480
|
- resources/locales/de/calendars.yml
|
615
481
|
- resources/locales/de/currencies.yml
|
616
482
|
- resources/locales/de/languages.yml
|
@@ -631,16 +497,26 @@ files:
|
|
631
497
|
- resources/locales/el/rbnf.yml
|
632
498
|
- resources/locales/el/territories.yml
|
633
499
|
- resources/locales/el/units.yml
|
634
|
-
- resources/locales/en/calendars.yml
|
635
|
-
- resources/locales/en/currencies.yml
|
636
|
-
- resources/locales/en/languages.yml
|
637
|
-
- resources/locales/en/layout.yml
|
638
|
-
- resources/locales/en/lists.yml
|
639
|
-
- resources/locales/en/numbers.yml
|
640
|
-
- resources/locales/en/plurals.yml
|
641
|
-
- resources/locales/en/rbnf.yml
|
642
|
-
- resources/locales/en/territories.yml
|
643
|
-
- resources/locales/en/units.yml
|
500
|
+
- resources/locales/en-AU/calendars.yml
|
501
|
+
- resources/locales/en-AU/currencies.yml
|
502
|
+
- resources/locales/en-AU/languages.yml
|
503
|
+
- resources/locales/en-AU/layout.yml
|
504
|
+
- resources/locales/en-AU/lists.yml
|
505
|
+
- resources/locales/en-AU/numbers.yml
|
506
|
+
- resources/locales/en-AU/plurals.yml
|
507
|
+
- resources/locales/en-AU/rbnf.yml
|
508
|
+
- resources/locales/en-AU/territories.yml
|
509
|
+
- resources/locales/en-AU/units.yml
|
510
|
+
- resources/locales/en-CA/calendars.yml
|
511
|
+
- resources/locales/en-CA/currencies.yml
|
512
|
+
- resources/locales/en-CA/languages.yml
|
513
|
+
- resources/locales/en-CA/layout.yml
|
514
|
+
- resources/locales/en-CA/lists.yml
|
515
|
+
- resources/locales/en-CA/numbers.yml
|
516
|
+
- resources/locales/en-CA/plurals.yml
|
517
|
+
- resources/locales/en-CA/rbnf.yml
|
518
|
+
- resources/locales/en-CA/territories.yml
|
519
|
+
- resources/locales/en-CA/units.yml
|
644
520
|
- resources/locales/en-GB/calendars.yml
|
645
521
|
- resources/locales/en-GB/currencies.yml
|
646
522
|
- resources/locales/en-GB/languages.yml
|
@@ -651,6 +527,76 @@ files:
|
|
651
527
|
- resources/locales/en-GB/rbnf.yml
|
652
528
|
- resources/locales/en-GB/territories.yml
|
653
529
|
- resources/locales/en-GB/units.yml
|
530
|
+
- resources/locales/en-IE/calendars.yml
|
531
|
+
- resources/locales/en-IE/currencies.yml
|
532
|
+
- resources/locales/en-IE/languages.yml
|
533
|
+
- resources/locales/en-IE/layout.yml
|
534
|
+
- resources/locales/en-IE/lists.yml
|
535
|
+
- resources/locales/en-IE/numbers.yml
|
536
|
+
- resources/locales/en-IE/plurals.yml
|
537
|
+
- resources/locales/en-IE/rbnf.yml
|
538
|
+
- resources/locales/en-IE/territories.yml
|
539
|
+
- resources/locales/en-IE/units.yml
|
540
|
+
- resources/locales/en-SG/calendars.yml
|
541
|
+
- resources/locales/en-SG/currencies.yml
|
542
|
+
- resources/locales/en-SG/languages.yml
|
543
|
+
- resources/locales/en-SG/layout.yml
|
544
|
+
- resources/locales/en-SG/lists.yml
|
545
|
+
- resources/locales/en-SG/numbers.yml
|
546
|
+
- resources/locales/en-SG/plurals.yml
|
547
|
+
- resources/locales/en-SG/rbnf.yml
|
548
|
+
- resources/locales/en-SG/territories.yml
|
549
|
+
- resources/locales/en-SG/units.yml
|
550
|
+
- resources/locales/en-ZA/calendars.yml
|
551
|
+
- resources/locales/en-ZA/currencies.yml
|
552
|
+
- resources/locales/en-ZA/languages.yml
|
553
|
+
- resources/locales/en-ZA/layout.yml
|
554
|
+
- resources/locales/en-ZA/lists.yml
|
555
|
+
- resources/locales/en-ZA/numbers.yml
|
556
|
+
- resources/locales/en-ZA/plurals.yml
|
557
|
+
- resources/locales/en-ZA/rbnf.yml
|
558
|
+
- resources/locales/en-ZA/territories.yml
|
559
|
+
- resources/locales/en-ZA/units.yml
|
560
|
+
- resources/locales/en/calendars.yml
|
561
|
+
- resources/locales/en/currencies.yml
|
562
|
+
- resources/locales/en/languages.yml
|
563
|
+
- resources/locales/en/layout.yml
|
564
|
+
- resources/locales/en/lists.yml
|
565
|
+
- resources/locales/en/numbers.yml
|
566
|
+
- resources/locales/en/plurals.yml
|
567
|
+
- resources/locales/en/rbnf.yml
|
568
|
+
- resources/locales/en/territories.yml
|
569
|
+
- resources/locales/en/units.yml
|
570
|
+
- resources/locales/es-CO/calendars.yml
|
571
|
+
- resources/locales/es-CO/currencies.yml
|
572
|
+
- resources/locales/es-CO/languages.yml
|
573
|
+
- resources/locales/es-CO/layout.yml
|
574
|
+
- resources/locales/es-CO/lists.yml
|
575
|
+
- resources/locales/es-CO/numbers.yml
|
576
|
+
- resources/locales/es-CO/plurals.yml
|
577
|
+
- resources/locales/es-CO/rbnf.yml
|
578
|
+
- resources/locales/es-CO/territories.yml
|
579
|
+
- resources/locales/es-CO/units.yml
|
580
|
+
- resources/locales/es-MX/calendars.yml
|
581
|
+
- resources/locales/es-MX/currencies.yml
|
582
|
+
- resources/locales/es-MX/languages.yml
|
583
|
+
- resources/locales/es-MX/layout.yml
|
584
|
+
- resources/locales/es-MX/lists.yml
|
585
|
+
- resources/locales/es-MX/numbers.yml
|
586
|
+
- resources/locales/es-MX/plurals.yml
|
587
|
+
- resources/locales/es-MX/rbnf.yml
|
588
|
+
- resources/locales/es-MX/territories.yml
|
589
|
+
- resources/locales/es-MX/units.yml
|
590
|
+
- resources/locales/es-US/calendars.yml
|
591
|
+
- resources/locales/es-US/currencies.yml
|
592
|
+
- resources/locales/es-US/languages.yml
|
593
|
+
- resources/locales/es-US/layout.yml
|
594
|
+
- resources/locales/es-US/lists.yml
|
595
|
+
- resources/locales/es-US/numbers.yml
|
596
|
+
- resources/locales/es-US/plurals.yml
|
597
|
+
- resources/locales/es-US/rbnf.yml
|
598
|
+
- resources/locales/es-US/territories.yml
|
599
|
+
- resources/locales/es-US/units.yml
|
654
600
|
- resources/locales/es/calendars.yml
|
655
601
|
- resources/locales/es/currencies.yml
|
656
602
|
- resources/locales/es/languages.yml
|
@@ -701,6 +647,36 @@ files:
|
|
701
647
|
- resources/locales/fil/rbnf.yml
|
702
648
|
- resources/locales/fil/territories.yml
|
703
649
|
- resources/locales/fil/units.yml
|
650
|
+
- resources/locales/fr-BE/calendars.yml
|
651
|
+
- resources/locales/fr-BE/currencies.yml
|
652
|
+
- resources/locales/fr-BE/languages.yml
|
653
|
+
- resources/locales/fr-BE/layout.yml
|
654
|
+
- resources/locales/fr-BE/lists.yml
|
655
|
+
- resources/locales/fr-BE/numbers.yml
|
656
|
+
- resources/locales/fr-BE/plurals.yml
|
657
|
+
- resources/locales/fr-BE/rbnf.yml
|
658
|
+
- resources/locales/fr-BE/territories.yml
|
659
|
+
- resources/locales/fr-BE/units.yml
|
660
|
+
- resources/locales/fr-CA/calendars.yml
|
661
|
+
- resources/locales/fr-CA/currencies.yml
|
662
|
+
- resources/locales/fr-CA/languages.yml
|
663
|
+
- resources/locales/fr-CA/layout.yml
|
664
|
+
- resources/locales/fr-CA/lists.yml
|
665
|
+
- resources/locales/fr-CA/numbers.yml
|
666
|
+
- resources/locales/fr-CA/plurals.yml
|
667
|
+
- resources/locales/fr-CA/rbnf.yml
|
668
|
+
- resources/locales/fr-CA/territories.yml
|
669
|
+
- resources/locales/fr-CA/units.yml
|
670
|
+
- resources/locales/fr-CH/calendars.yml
|
671
|
+
- resources/locales/fr-CH/currencies.yml
|
672
|
+
- resources/locales/fr-CH/languages.yml
|
673
|
+
- resources/locales/fr-CH/layout.yml
|
674
|
+
- resources/locales/fr-CH/lists.yml
|
675
|
+
- resources/locales/fr-CH/numbers.yml
|
676
|
+
- resources/locales/fr-CH/plurals.yml
|
677
|
+
- resources/locales/fr-CH/rbnf.yml
|
678
|
+
- resources/locales/fr-CH/territories.yml
|
679
|
+
- resources/locales/fr-CH/units.yml
|
704
680
|
- resources/locales/fr/calendars.yml
|
705
681
|
- resources/locales/fr/currencies.yml
|
706
682
|
- resources/locales/fr/languages.yml
|
@@ -791,6 +767,16 @@ files:
|
|
791
767
|
- resources/locales/is/rbnf.yml
|
792
768
|
- resources/locales/is/territories.yml
|
793
769
|
- resources/locales/is/units.yml
|
770
|
+
- resources/locales/it-CH/calendars.yml
|
771
|
+
- resources/locales/it-CH/currencies.yml
|
772
|
+
- resources/locales/it-CH/languages.yml
|
773
|
+
- resources/locales/it-CH/layout.yml
|
774
|
+
- resources/locales/it-CH/lists.yml
|
775
|
+
- resources/locales/it-CH/numbers.yml
|
776
|
+
- resources/locales/it-CH/plurals.yml
|
777
|
+
- resources/locales/it-CH/rbnf.yml
|
778
|
+
- resources/locales/it-CH/territories.yml
|
779
|
+
- resources/locales/it-CH/units.yml
|
794
780
|
- resources/locales/it/calendars.yml
|
795
781
|
- resources/locales/it/currencies.yml
|
796
782
|
- resources/locales/it/languages.yml
|
@@ -1001,16 +987,6 @@ files:
|
|
1001
987
|
- resources/locales/vi/rbnf.yml
|
1002
988
|
- resources/locales/vi/territories.yml
|
1003
989
|
- resources/locales/vi/units.yml
|
1004
|
-
- resources/locales/zh/calendars.yml
|
1005
|
-
- resources/locales/zh/currencies.yml
|
1006
|
-
- resources/locales/zh/languages.yml
|
1007
|
-
- resources/locales/zh/layout.yml
|
1008
|
-
- resources/locales/zh/lists.yml
|
1009
|
-
- resources/locales/zh/numbers.yml
|
1010
|
-
- resources/locales/zh/plurals.yml
|
1011
|
-
- resources/locales/zh/rbnf.yml
|
1012
|
-
- resources/locales/zh/territories.yml
|
1013
|
-
- resources/locales/zh/units.yml
|
1014
990
|
- resources/locales/zh-Hant/calendars.yml
|
1015
991
|
- resources/locales/zh-Hant/currencies.yml
|
1016
992
|
- resources/locales/zh-Hant/languages.yml
|
@@ -1021,6 +997,16 @@ files:
|
|
1021
997
|
- resources/locales/zh-Hant/rbnf.yml
|
1022
998
|
- resources/locales/zh-Hant/territories.yml
|
1023
999
|
- resources/locales/zh-Hant/units.yml
|
1000
|
+
- resources/locales/zh/calendars.yml
|
1001
|
+
- resources/locales/zh/currencies.yml
|
1002
|
+
- resources/locales/zh/languages.yml
|
1003
|
+
- resources/locales/zh/layout.yml
|
1004
|
+
- resources/locales/zh/lists.yml
|
1005
|
+
- resources/locales/zh/numbers.yml
|
1006
|
+
- resources/locales/zh/plurals.yml
|
1007
|
+
- resources/locales/zh/rbnf.yml
|
1008
|
+
- resources/locales/zh/territories.yml
|
1009
|
+
- resources/locales/zh/units.yml
|
1024
1010
|
- resources/shared/currency_digits_and_rounding.yml
|
1025
1011
|
- resources/shared/iso_currency_symbols.yml
|
1026
1012
|
- resources/shared/language_codes_table.dump
|
@@ -1037,6 +1023,7 @@ files:
|
|
1037
1023
|
- resources/uli/segments/it.yml
|
1038
1024
|
- resources/uli/segments/pt.yml
|
1039
1025
|
- resources/uli/segments/ru.yml
|
1026
|
+
- resources/unicode_data/blocks.yml
|
1040
1027
|
- resources/unicode_data/blocks/aegean_numbers.yml
|
1041
1028
|
- resources/unicode_data/blocks/alchemical_symbols.yml
|
1042
1029
|
- resources/unicode_data/blocks/alphabetic_presentation_forms.yml
|
@@ -1257,7 +1244,6 @@ files:
|
|
1257
1244
|
- resources/unicode_data/blocks/yi_radicals.yml
|
1258
1245
|
- resources/unicode_data/blocks/yi_syllables.yml
|
1259
1246
|
- resources/unicode_data/blocks/yijing_hexagram_symbols.yml
|
1260
|
-
- resources/unicode_data/blocks.yml
|
1261
1247
|
- resources/unicode_data/canonical_compositions.yml
|
1262
1248
|
- resources/unicode_data/casefolding.yml
|
1263
1249
|
- resources/unicode_data/composition_exclusions.yml
|
@@ -1273,12 +1259,195 @@ files:
|
|
1273
1259
|
- resources/unicode_data/properties/line_break.yml
|
1274
1260
|
- resources/unicode_data/properties/sentence_break.yml
|
1275
1261
|
- resources/unicode_data/properties/word_break.yml
|
1276
|
-
-
|
1277
|
-
-
|
1278
|
-
-
|
1279
|
-
-
|
1280
|
-
-
|
1281
|
-
-
|
1262
|
+
- spec/bidi/bidi_spec.rb
|
1263
|
+
- spec/bidi/classpath_bidi_test.txt
|
1264
|
+
- spec/collation/CollationTest_CLDR_NON_IGNORABLE_Short.txt
|
1265
|
+
- spec/collation/collation_spec.rb
|
1266
|
+
- spec/collation/collator_spec.rb
|
1267
|
+
- spec/collation/implicit_collation_elements_spec.rb
|
1268
|
+
- spec/collation/sort_key_builder_spec.rb
|
1269
|
+
- spec/collation/tailoring_spec.rb
|
1270
|
+
- spec/collation/tailoring_tests/af.txt
|
1271
|
+
- spec/collation/tailoring_tests/ar.txt
|
1272
|
+
- spec/collation/tailoring_tests/ca.txt
|
1273
|
+
- spec/collation/tailoring_tests/cs.txt
|
1274
|
+
- spec/collation/tailoring_tests/da.txt
|
1275
|
+
- spec/collation/tailoring_tests/de.txt
|
1276
|
+
- spec/collation/tailoring_tests/el.txt
|
1277
|
+
- spec/collation/tailoring_tests/en.txt
|
1278
|
+
- spec/collation/tailoring_tests/es.txt
|
1279
|
+
- spec/collation/tailoring_tests/eu.txt
|
1280
|
+
- spec/collation/tailoring_tests/fa.txt
|
1281
|
+
- spec/collation/tailoring_tests/fi.txt
|
1282
|
+
- spec/collation/tailoring_tests/fil.txt
|
1283
|
+
- spec/collation/tailoring_tests/fr.txt
|
1284
|
+
- spec/collation/tailoring_tests/he.txt
|
1285
|
+
- spec/collation/tailoring_tests/hi.txt
|
1286
|
+
- spec/collation/tailoring_tests/hu.txt
|
1287
|
+
- spec/collation/tailoring_tests/id.txt
|
1288
|
+
- spec/collation/tailoring_tests/it.txt
|
1289
|
+
- spec/collation/tailoring_tests/ja.txt
|
1290
|
+
- spec/collation/tailoring_tests/ko.txt
|
1291
|
+
- spec/collation/tailoring_tests/ms.txt
|
1292
|
+
- spec/collation/tailoring_tests/nb.txt
|
1293
|
+
- spec/collation/tailoring_tests/nl.txt
|
1294
|
+
- spec/collation/tailoring_tests/pl.txt
|
1295
|
+
- spec/collation/tailoring_tests/pt.txt
|
1296
|
+
- spec/collation/tailoring_tests/ru.txt
|
1297
|
+
- spec/collation/tailoring_tests/sv.txt
|
1298
|
+
- spec/collation/tailoring_tests/th.txt
|
1299
|
+
- spec/collation/tailoring_tests/tr.txt
|
1300
|
+
- spec/collation/tailoring_tests/uk.txt
|
1301
|
+
- spec/collation/tailoring_tests/ur.txt
|
1302
|
+
- spec/collation/tailoring_tests/zh-Hant.txt
|
1303
|
+
- spec/collation/tailoring_tests/zh.txt
|
1304
|
+
- spec/collation/trie_builder_spec.rb
|
1305
|
+
- spec/collation/trie_dumps_spec.rb
|
1306
|
+
- spec/collation/trie_loader_spec.rb
|
1307
|
+
- spec/collation/trie_spec.rb
|
1308
|
+
- spec/collation/trie_with_fallback_spec.rb
|
1309
|
+
- spec/core_ext_spec.rb
|
1310
|
+
- spec/data_readers/additional_date_format_selector_spec.rb
|
1311
|
+
- spec/data_readers/date_time_data_reader_spec.rb
|
1312
|
+
- spec/data_readers/number_data_reader_spec.rb
|
1313
|
+
- spec/data_readers/timespan_data_reader_spec.rb
|
1314
|
+
- spec/formatters/calendars/datetime_formatter_spec.rb
|
1315
|
+
- spec/formatters/list_formatter_spec.rb
|
1316
|
+
- spec/formatters/numbers/abbreviated/abbreviated_number_formatter_spec.rb
|
1317
|
+
- spec/formatters/numbers/abbreviated/long_decimal_formatter_spec.rb
|
1318
|
+
- spec/formatters/numbers/abbreviated/short_decimal_formatter_spec.rb
|
1319
|
+
- spec/formatters/numbers/currency_formatter_spec.rb
|
1320
|
+
- spec/formatters/numbers/decimal_formatter_spec.rb
|
1321
|
+
- spec/formatters/numbers/helpers/fraction_spec.rb
|
1322
|
+
- spec/formatters/numbers/helpers/integer_spec.rb
|
1323
|
+
- spec/formatters/numbers/number_formatter_spec.rb
|
1324
|
+
- spec/formatters/numbers/percent_formatter_spec.rb
|
1325
|
+
- spec/formatters/numbers/rbnf/allowed_failures.yml
|
1326
|
+
- spec/formatters/numbers/rbnf/locales/af/rbnf_test.yml
|
1327
|
+
- spec/formatters/numbers/rbnf/locales/ar/rbnf_test.yml
|
1328
|
+
- spec/formatters/numbers/rbnf/locales/be/rbnf_test.yml
|
1329
|
+
- spec/formatters/numbers/rbnf/locales/bg/rbnf_test.yml
|
1330
|
+
- spec/formatters/numbers/rbnf/locales/bn/rbnf_test.yml
|
1331
|
+
- spec/formatters/numbers/rbnf/locales/ca/rbnf_test.yml
|
1332
|
+
- spec/formatters/numbers/rbnf/locales/cs/rbnf_test.yml
|
1333
|
+
- spec/formatters/numbers/rbnf/locales/cy/rbnf_test.yml
|
1334
|
+
- spec/formatters/numbers/rbnf/locales/da/rbnf_test.yml
|
1335
|
+
- spec/formatters/numbers/rbnf/locales/de-CH/rbnf_test.yml
|
1336
|
+
- spec/formatters/numbers/rbnf/locales/de/rbnf_test.yml
|
1337
|
+
- spec/formatters/numbers/rbnf/locales/el/rbnf_test.yml
|
1338
|
+
- spec/formatters/numbers/rbnf/locales/en-AU/rbnf_test.yml
|
1339
|
+
- spec/formatters/numbers/rbnf/locales/en-CA/rbnf_test.yml
|
1340
|
+
- spec/formatters/numbers/rbnf/locales/en-GB/rbnf_test.yml
|
1341
|
+
- spec/formatters/numbers/rbnf/locales/en-IE/rbnf_test.yml
|
1342
|
+
- spec/formatters/numbers/rbnf/locales/en-SG/rbnf_test.yml
|
1343
|
+
- spec/formatters/numbers/rbnf/locales/en-ZA/rbnf_test.yml
|
1344
|
+
- spec/formatters/numbers/rbnf/locales/en/rbnf_test.yml
|
1345
|
+
- spec/formatters/numbers/rbnf/locales/es-CO/rbnf_test.yml
|
1346
|
+
- spec/formatters/numbers/rbnf/locales/es-MX/rbnf_test.yml
|
1347
|
+
- spec/formatters/numbers/rbnf/locales/es-US/rbnf_test.yml
|
1348
|
+
- spec/formatters/numbers/rbnf/locales/es/rbnf_test.yml
|
1349
|
+
- spec/formatters/numbers/rbnf/locales/eu/rbnf_test.yml
|
1350
|
+
- spec/formatters/numbers/rbnf/locales/fa/rbnf_test.yml
|
1351
|
+
- spec/formatters/numbers/rbnf/locales/fi/rbnf_test.yml
|
1352
|
+
- spec/formatters/numbers/rbnf/locales/fil/rbnf_test.yml
|
1353
|
+
- spec/formatters/numbers/rbnf/locales/fr-BE/rbnf_test.yml
|
1354
|
+
- spec/formatters/numbers/rbnf/locales/fr-CA/rbnf_test.yml
|
1355
|
+
- spec/formatters/numbers/rbnf/locales/fr-CH/rbnf_test.yml
|
1356
|
+
- spec/formatters/numbers/rbnf/locales/fr/rbnf_test.yml
|
1357
|
+
- spec/formatters/numbers/rbnf/locales/ga/rbnf_test.yml
|
1358
|
+
- spec/formatters/numbers/rbnf/locales/gl/rbnf_test.yml
|
1359
|
+
- spec/formatters/numbers/rbnf/locales/he/rbnf_test.yml
|
1360
|
+
- spec/formatters/numbers/rbnf/locales/hi/rbnf_test.yml
|
1361
|
+
- spec/formatters/numbers/rbnf/locales/hr/rbnf_test.yml
|
1362
|
+
- spec/formatters/numbers/rbnf/locales/hu/rbnf_test.yml
|
1363
|
+
- spec/formatters/numbers/rbnf/locales/id/rbnf_test.yml
|
1364
|
+
- spec/formatters/numbers/rbnf/locales/is/rbnf_test.yml
|
1365
|
+
- spec/formatters/numbers/rbnf/locales/it-CH/rbnf_test.yml
|
1366
|
+
- spec/formatters/numbers/rbnf/locales/it/rbnf_test.yml
|
1367
|
+
- spec/formatters/numbers/rbnf/locales/ja/rbnf_test.yml
|
1368
|
+
- spec/formatters/numbers/rbnf/locales/ko/rbnf_test.yml
|
1369
|
+
- spec/formatters/numbers/rbnf/locales/lv/rbnf_test.yml
|
1370
|
+
- spec/formatters/numbers/rbnf/locales/ms/rbnf_test.yml
|
1371
|
+
- spec/formatters/numbers/rbnf/locales/nb/rbnf_test.yml
|
1372
|
+
- spec/formatters/numbers/rbnf/locales/nl/rbnf_test.yml
|
1373
|
+
- spec/formatters/numbers/rbnf/locales/pl/rbnf_test.yml
|
1374
|
+
- spec/formatters/numbers/rbnf/locales/pt/rbnf_test.yml
|
1375
|
+
- spec/formatters/numbers/rbnf/locales/ro/rbnf_test.yml
|
1376
|
+
- spec/formatters/numbers/rbnf/locales/ru/rbnf_test.yml
|
1377
|
+
- spec/formatters/numbers/rbnf/locales/sk/rbnf_test.yml
|
1378
|
+
- spec/formatters/numbers/rbnf/locales/sq/rbnf_test.yml
|
1379
|
+
- spec/formatters/numbers/rbnf/locales/sr/rbnf_test.yml
|
1380
|
+
- spec/formatters/numbers/rbnf/locales/sv/rbnf_test.yml
|
1381
|
+
- spec/formatters/numbers/rbnf/locales/ta/rbnf_test.yml
|
1382
|
+
- spec/formatters/numbers/rbnf/locales/th/rbnf_test.yml
|
1383
|
+
- spec/formatters/numbers/rbnf/locales/tr/rbnf_test.yml
|
1384
|
+
- spec/formatters/numbers/rbnf/locales/uk/rbnf_test.yml
|
1385
|
+
- spec/formatters/numbers/rbnf/locales/ur/rbnf_test.yml
|
1386
|
+
- spec/formatters/numbers/rbnf/locales/vi/rbnf_test.yml
|
1387
|
+
- spec/formatters/numbers/rbnf/locales/zh-Hant/rbnf_test.yml
|
1388
|
+
- spec/formatters/numbers/rbnf/locales/zh/rbnf_test.yml
|
1389
|
+
- spec/formatters/numbers/rbnf/rbnf_spec.rb
|
1390
|
+
- spec/formatters/plurals/plural_formatter_spec.rb
|
1391
|
+
- spec/formatters/plurals/rules_spec.rb
|
1392
|
+
- spec/localized/localized_array_spec.rb
|
1393
|
+
- spec/localized/localized_date_spec.rb
|
1394
|
+
- spec/localized/localized_datetime_spec.rb
|
1395
|
+
- spec/localized/localized_hash_spec.rb
|
1396
|
+
- spec/localized/localized_number_spec.rb
|
1397
|
+
- spec/localized/localized_object_spec.rb
|
1398
|
+
- spec/localized/localized_string_spec.rb
|
1399
|
+
- spec/localized/localized_symbol_spec.rb
|
1400
|
+
- spec/localized/localized_time_spec.rb
|
1401
|
+
- spec/localized/localized_timespan_spec.rb
|
1402
|
+
- spec/normalization_spec.rb
|
1403
|
+
- spec/parsers/number_parser_spec.rb
|
1404
|
+
- spec/parsers/parser_spec.rb
|
1405
|
+
- spec/parsers/segmentation_parser_spec.rb
|
1406
|
+
- spec/parsers/symbol_table_spec.rb
|
1407
|
+
- spec/parsers/unicode_regex/character_class_spec.rb
|
1408
|
+
- spec/parsers/unicode_regex/character_range_spec.rb
|
1409
|
+
- spec/parsers/unicode_regex/character_set_spec.rb
|
1410
|
+
- spec/parsers/unicode_regex/literal_spec.rb
|
1411
|
+
- spec/parsers/unicode_regex/unicode_string_spec.rb
|
1412
|
+
- spec/parsers/unicode_regex_parser_spec.rb
|
1413
|
+
- spec/readme_spec.rb
|
1414
|
+
- spec/resources/loader_spec.rb
|
1415
|
+
- spec/shared/break_iterator_spec.rb
|
1416
|
+
- spec/shared/calendar_spec.rb
|
1417
|
+
- spec/shared/casefolder_spec.rb
|
1418
|
+
- spec/shared/casefolding.txt
|
1419
|
+
- spec/shared/casefolding_expected.txt
|
1420
|
+
- spec/shared/code_point_spec.rb
|
1421
|
+
- spec/shared/currencies_spec.rb
|
1422
|
+
- spec/shared/language_codes_spec.rb
|
1423
|
+
- spec/shared/languages_spec.rb
|
1424
|
+
- spec/shared/numbering_system_spec.rb
|
1425
|
+
- spec/shared/numbers_spec.rb
|
1426
|
+
- spec/shared/phone_codes_spec.rb
|
1427
|
+
- spec/shared/postal_code_generator_spec.rb
|
1428
|
+
- spec/shared/postal_codes_spec.rb
|
1429
|
+
- spec/shared/territories_spec.rb
|
1430
|
+
- spec/shared/unicode_regex_spec.rb
|
1431
|
+
- spec/spec_helper.rb
|
1432
|
+
- spec/tokenizers/calendars/date_tokenizer_spec.rb
|
1433
|
+
- spec/tokenizers/calendars/datetime_tokenizer_spec.rb
|
1434
|
+
- spec/tokenizers/calendars/time_tokenizer_spec.rb
|
1435
|
+
- spec/tokenizers/calendars/timespan_tokenizer_spec.rb
|
1436
|
+
- spec/tokenizers/composite_token_spec.rb
|
1437
|
+
- spec/tokenizers/numbers/number_tokenizer_spec.rb
|
1438
|
+
- spec/tokenizers/segmentation/segmentation_tokenizer_spec.rb
|
1439
|
+
- spec/tokenizers/token_spec.rb
|
1440
|
+
- spec/tokenizers/unicode_regex/unicode_regex_tokenizer_spec.rb
|
1441
|
+
- spec/twitter_cldr_spec.rb
|
1442
|
+
- spec/utils/code_points_spec.rb
|
1443
|
+
- spec/utils/interpolation_spec.rb
|
1444
|
+
- spec/utils/range_set_spec.rb
|
1445
|
+
- spec/utils/regexp_ast_spec.rb
|
1446
|
+
- spec/utils/regexp_sampler_spec.rb
|
1447
|
+
- spec/utils/yaml/t.gif
|
1448
|
+
- spec/utils/yaml/t.yaml
|
1449
|
+
- spec/utils/yaml/yaml_spec.rb
|
1450
|
+
- spec/utils_spec.rb
|
1282
1451
|
- twitter_cldr.gemspec
|
1283
1452
|
homepage: http://twitter.com
|
1284
1453
|
licenses: []
|
@@ -1289,17 +1458,17 @@ require_paths:
|
|
1289
1458
|
- lib
|
1290
1459
|
required_ruby_version: !ruby/object:Gem::Requirement
|
1291
1460
|
requirements:
|
1292
|
-
- - '>='
|
1461
|
+
- - ! '>='
|
1293
1462
|
- !ruby/object:Gem::Version
|
1294
1463
|
version: '0'
|
1295
1464
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
1296
1465
|
requirements:
|
1297
|
-
- - '>='
|
1466
|
+
- - ! '>='
|
1298
1467
|
- !ruby/object:Gem::Version
|
1299
1468
|
version: '0'
|
1300
1469
|
requirements: []
|
1301
1470
|
rubyforge_project:
|
1302
|
-
rubygems_version: 2.1
|
1471
|
+
rubygems_version: 2.2.1
|
1303
1472
|
signing_key:
|
1304
1473
|
specification_version: 4
|
1305
1474
|
summary: Ruby implementation of the ICU (International Components for Unicode) that
|