Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

file 127 lines (82 sloc) 3.983 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127
== 2.0.0

* Added locales ga, ta, gl, cy, sr, bg, ku, ro, lv, be, sq, sk, and bn.
* Added additional date formats.
* Upgraded to CLDR 22.1.
* Imported currency symbols and formatting rules from CLDR.
* Added support for short/long numbers (eg. 1M for 1,000,000).
* Improved RCov/Simplecov support.
* Added custom Hungarian plurals rule.
* Added support for approximate timespans (relative times).

=== 1.9.1

* Locale resources now exported without Unicode escape sequences.

=== 1.9.0

* Included Unicode-safe YAML dumping support via an adaptation of the ya2yaml gem.
* Implemented the Unicode Bidirectional Algorithm to help reorder mixed right-to-left and left-to-right text.
* Added list formatting support.

=== 1.8.1

* Improved, more accurate Finnish and Chinese collation support.
* Moved JavaScript build environment to twitter-cldr-js.

=== 1.8.0

* Added support for language code conversion.
* `#localize` methods (eg. for Hash, String, etc) now dynamically generated, part of the `TwitterCldr::Localized` namespace.
* New convenience method `TwitterCldr::Normalization#normalize`.

=== 1.7.0

* Wrote rake tasks to update CLDR and ICU resources.
* All resource files now written with symbolized keys so the gem doesn't have to recursively symbolize them on load.
* Unicode code points now represented internally with integers instead of strings for better performance.
* Added number formatting in JavaScript.
* Added telephone code lookup functionality (per country) and postal code validation.

=== 1.6.2

* Collation tries now loaded from marshal dumps, collation running time improved by ~80%.

=== 1.6.1

* Added case-first collation element tailoring support for languages like Danish.
* Included a missing development dependency (ruby_parser).

=== 1.6.0

* Added locale-aware collation via fractional collation element tailoring.
* Added #sort and #sort! methods to LocalizedArray.
* Added JavaScript relative time functionality, eg. "2 seconds ago".

=== 1.5.0

* Added collation (sorting) support via the Unicode Collation Algorithm.
* Added Catalan, Basque, Greek, Afrikaans, Ukrainian, and Czech support along with calendar fixes for existing locales.
* DateTimeTokenizer now falls back on English if the given locale isn't supported.

=== 1.4.1

* Added ability to use NFC and NFKC in core_ext/string

=== 1.4.0

* Added NFC and NFKC algorithms.
* Refactored Shared::UnicodeData::Attributes into Shared::CodePoint.

=== 1.3.6

* Added relative time functionality, eg. "2 seconds ago".

=== 1.3.0

* Reorganized locale resources.
* Added explicit specs for examples in the README.
* ArgumentError now raised if a resource can't be found.
* Fixed behavior of the :precision option for number formatting.
* Updated CLDR data to v21 (http://cldr.unicode.org/index/downloads/cldr-21).
* Added support for localized arrays (i.e. arrays of Unicode code points).

=== 1.2.0

* Added NFKD normalization algorithm.
* Formatter tokens now cached for better performance.
* Improvements to core extensions (Symbol, Date, etc).
* Added full normalization test from unicode.org.
* Autoload classes to improve performance.

=== 1.1.0

* Plural support [@KL-7]
* Unicode data, decomposition [@timothyandrew]

=== 1.0.1

* Fixed a US-ASCII bug that caused rake errors. This fix applies to both Ruby 1.8 and 1.9.
* Fixed a regexp error in a test function, as well as a tokenizer bug. All tests now pass.
* Added support for Travis, a distributed build platform.

=== 1.0.0

* Look ma, I'm open source!

=== 0.1.4

* Added functionality to gracefully fall back on default locale if chosen locale is unsupported.

=== 0.1.3

* Added support for Arabic, Hebrew, Farsi, Thai, and Urdu.

=== 0.1.2

* Added world language support.

=== 0.1.1

* Localized dates, times, and datetimes can now be interchangeably converted to each other.
* Fixed a bug that would not allow lookup of resource data by string (only symbol).
* Added really basic plural support.

=== 0.1.0

* Birthday!
Something went wrong with that request. Please try again.