twitter_cldr 2.4.1 → 2.4.2

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.
data/History.txt CHANGED
@@ -1,3 +1,7 @@
1
+ == 2.4.2
2
+
3
+ * Fixing non-quoted symbol error in en-GB plural resource file.
4
+
1
5
  == 2.4.1
2
6
 
3
7
  * Upgrade to CLDR v23.1, ICU4J 51.2.
@@ -4,5 +4,5 @@
4
4
  # http://www.apache.org/licenses/LICENSE-2.0
5
5
 
6
6
  module TwitterCldr
7
- VERSION = "2.4.1"
7
+ VERSION = "2.4.2"
8
8
  end
@@ -1,3 +1,3 @@
1
1
  ---
2
- :en-GB: ! '{ :en-GB => { :i18n => { :plural => { :keys => [:one, :other], :rule =>
3
- lambda { |n| n == 1 ? :one : :other } } } } }'
2
+ :en-GB: ! '{ :''en-GB'' => { :i18n => { :plural => { :keys => [:one, :other], :rule
3
+ => lambda { |n| n == 1 ? :one : :other } } } } }'
metadata CHANGED
@@ -1,67 +1,60 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: twitter_cldr
3
- version: !ruby/object:Gem::Version
4
- prerelease:
5
- version: 2.4.1
3
+ version: !ruby/object:Gem::Version
4
+ hash: 27
5
+ prerelease:
6
+ segments:
7
+ - 2
8
+ - 4
9
+ - 2
10
+ version: 2.4.2
6
11
  platform: ruby
7
- authors:
12
+ authors:
8
13
  - Cameron Dutro
9
- autorequire:
14
+ autorequire:
10
15
  bindir: bin
11
16
  cert_chain: []
12
- date: 2013-06-11 00:00:00.000000000 Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
17
+
18
+ date: 2013-07-10 00:00:00 Z
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
15
21
  name: json
16
- version_requirements: !ruby/object:Gem::Requirement
17
- requirements:
18
- - - '>='
19
- - !ruby/object:Gem::Version
20
- version: '0'
21
- none: false
22
- requirement: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - '>='
25
- - !ruby/object:Gem::Version
26
- version: '0'
27
- none: false
28
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"
29
32
  type: :runtime
30
- - !ruby/object:Gem::Dependency
33
+ version_requirements: *id001
34
+ - !ruby/object:Gem::Dependency
31
35
  name: tzinfo
32
- version_requirements: !ruby/object:Gem::Requirement
33
- requirements:
34
- - - '>='
35
- - !ruby/object:Gem::Version
36
- version: '0'
37
- none: false
38
- requirement: !ruby/object:Gem::Requirement
39
- requirements:
40
- - - '>='
41
- - !ruby/object:Gem::Version
42
- version: '0'
43
- none: false
44
36
  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"
45
46
  type: :runtime
47
+ version_requirements: *id002
46
48
  description: Ruby implementation of the ICU (International Components for Unicode) that uses the Common Locale Data Repository to format dates, plurals, and more.
47
- email:
49
+ email:
48
50
  - cdutro@twitter.com
49
51
  executables: []
52
+
50
53
  extensions: []
54
+
51
55
  extra_rdoc_files: []
52
- files:
53
- - lib/twitter_cldr.rb
54
- - lib/twitter_cldr/collation.rb
55
- - lib/twitter_cldr/core_ext.rb
56
- - lib/twitter_cldr/formatters.rb
57
- - lib/twitter_cldr/localized.rb
58
- - lib/twitter_cldr/normalization.rb
59
- - lib/twitter_cldr/parsers.rb
60
- - lib/twitter_cldr/resources.rb
61
- - lib/twitter_cldr/shared.rb
62
- - lib/twitter_cldr/tokenizers.rb
63
- - lib/twitter_cldr/utils.rb
64
- - lib/twitter_cldr/version.rb
56
+
57
+ files:
65
58
  - lib/twitter_cldr/collation/collator.rb
66
59
  - lib/twitter_cldr/collation/implicit_collation_elements.rb
67
60
  - lib/twitter_cldr/collation/sort_key_builder.rb
@@ -69,26 +62,29 @@ files:
69
62
  - lib/twitter_cldr/collation/trie_builder.rb
70
63
  - lib/twitter_cldr/collation/trie_loader.rb
71
64
  - lib/twitter_cldr/collation/trie_with_fallback.rb
65
+ - lib/twitter_cldr/collation.rb
66
+ - lib/twitter_cldr/core_ext.rb
72
67
  - lib/twitter_cldr/formatters/base.rb
73
- - lib/twitter_cldr/formatters/list_formatter.rb
74
- - lib/twitter_cldr/formatters/numbers.rb
75
- - lib/twitter_cldr/formatters/plurals.rb
76
68
  - lib/twitter_cldr/formatters/calendars/date_formatter.rb
77
69
  - lib/twitter_cldr/formatters/calendars/datetime_formatter.rb
78
70
  - lib/twitter_cldr/formatters/calendars/time_formatter.rb
79
71
  - lib/twitter_cldr/formatters/calendars/timespan_formatter.rb
80
- - lib/twitter_cldr/formatters/numbers/currency_formatter.rb
81
- - lib/twitter_cldr/formatters/numbers/decimal_formatter.rb
82
- - lib/twitter_cldr/formatters/numbers/number_formatter.rb
83
- - lib/twitter_cldr/formatters/numbers/percent_formatter.rb
72
+ - lib/twitter_cldr/formatters/list_formatter.rb
84
73
  - lib/twitter_cldr/formatters/numbers/abbreviated/abbreviated_number_formatter.rb
85
74
  - lib/twitter_cldr/formatters/numbers/abbreviated/long_decimal_formatter.rb
86
75
  - lib/twitter_cldr/formatters/numbers/abbreviated/short_decimal_formatter.rb
76
+ - lib/twitter_cldr/formatters/numbers/currency_formatter.rb
77
+ - lib/twitter_cldr/formatters/numbers/decimal_formatter.rb
87
78
  - lib/twitter_cldr/formatters/numbers/helpers/base.rb
88
79
  - lib/twitter_cldr/formatters/numbers/helpers/fraction.rb
89
80
  - lib/twitter_cldr/formatters/numbers/helpers/integer.rb
81
+ - lib/twitter_cldr/formatters/numbers/number_formatter.rb
82
+ - lib/twitter_cldr/formatters/numbers/percent_formatter.rb
83
+ - lib/twitter_cldr/formatters/numbers.rb
90
84
  - lib/twitter_cldr/formatters/plurals/plural_formatter.rb
91
85
  - lib/twitter_cldr/formatters/plurals/rules.rb
86
+ - lib/twitter_cldr/formatters/plurals.rb
87
+ - lib/twitter_cldr/formatters.rb
92
88
  - lib/twitter_cldr/localized/localized_array.rb
93
89
  - lib/twitter_cldr/localized/localized_date.rb
94
90
  - lib/twitter_cldr/localized/localized_datetime.rb
@@ -99,13 +95,16 @@ files:
99
95
  - lib/twitter_cldr/localized/localized_symbol.rb
100
96
  - lib/twitter_cldr/localized/localized_time.rb
101
97
  - lib/twitter_cldr/localized/localized_timespan.rb
98
+ - lib/twitter_cldr/localized.rb
102
99
  - lib/twitter_cldr/normalization/base.rb
103
100
  - lib/twitter_cldr/normalization/hangul.rb
104
101
  - lib/twitter_cldr/normalization/nfc.rb
105
102
  - lib/twitter_cldr/normalization/nfd.rb
106
103
  - lib/twitter_cldr/normalization/nfkc.rb
107
104
  - lib/twitter_cldr/normalization/nfkd.rb
105
+ - lib/twitter_cldr/normalization.rb
108
106
  - lib/twitter_cldr/parsers/number_parser.rb
107
+ - lib/twitter_cldr/parsers.rb
109
108
  - lib/twitter_cldr/resources/bidi_test_importer.rb
110
109
  - lib/twitter_cldr/resources/canonical_compositions_updater.rb
111
110
  - lib/twitter_cldr/resources/collation_tries_dumper.rb
@@ -119,6 +118,7 @@ files:
119
118
  - lib/twitter_cldr/resources/postal_codes_importer.rb
120
119
  - lib/twitter_cldr/resources/tailoring_importer.rb
121
120
  - lib/twitter_cldr/resources/unicode_data_importer.rb
121
+ - lib/twitter_cldr/resources.rb
122
122
  - lib/twitter_cldr/shared/bidi.rb
123
123
  - lib/twitter_cldr/shared/calendar.rb
124
124
  - lib/twitter_cldr/shared/code_point.rb
@@ -130,25 +130,24 @@ files:
130
130
  - lib/twitter_cldr/shared/postal_codes.rb
131
131
  - lib/twitter_cldr/shared/territories.rb
132
132
  - lib/twitter_cldr/shared/timezones.rb
133
+ - lib/twitter_cldr/shared.rb
133
134
  - lib/twitter_cldr/tokenizers/base.rb
134
- - lib/twitter_cldr/tokenizers/composite_token.rb
135
- - lib/twitter_cldr/tokenizers/token.rb
136
135
  - lib/twitter_cldr/tokenizers/calendars/additional_date_format_selector.rb
137
136
  - lib/twitter_cldr/tokenizers/calendars/date_tokenizer.rb
138
137
  - lib/twitter_cldr/tokenizers/calendars/datetime_tokenizer.rb
139
138
  - lib/twitter_cldr/tokenizers/calendars/time_tokenizer.rb
140
139
  - lib/twitter_cldr/tokenizers/calendars/timespan_tokenizer.rb
140
+ - lib/twitter_cldr/tokenizers/composite_token.rb
141
141
  - lib/twitter_cldr/tokenizers/numbers/number_tokenizer.rb
142
+ - lib/twitter_cldr/tokenizers/token.rb
143
+ - lib/twitter_cldr/tokenizers.rb
142
144
  - lib/twitter_cldr/utils/code_points.rb
143
145
  - lib/twitter_cldr/utils/interpolation.rb
144
146
  - lib/twitter_cldr/utils/territories.rb
145
147
  - lib/twitter_cldr/utils/yaml.rb
146
- - spec/core_ext_spec.rb
147
- - spec/normalization_spec.rb
148
- - spec/readme_spec.rb
149
- - spec/spec_helper.rb
150
- - spec/twitter_cldr_spec.rb
151
- - spec/utils_spec.rb
148
+ - lib/twitter_cldr/utils.rb
149
+ - lib/twitter_cldr/version.rb
150
+ - lib/twitter_cldr.rb
152
151
  - spec/bidi/bidi_spec.rb
153
152
  - spec/bidi/classpath_bidi_test.txt
154
153
  - spec/collation/collation_spec.rb
@@ -157,11 +156,6 @@ files:
157
156
  - spec/collation/implicit_collation_elements_spec.rb
158
157
  - spec/collation/sort_key_builder_spec.rb
159
158
  - spec/collation/tailoring_spec.rb
160
- - spec/collation/trie_builder_spec.rb
161
- - spec/collation/trie_dumps_spec.rb
162
- - spec/collation/trie_loader_spec.rb
163
- - spec/collation/trie_spec.rb
164
- - spec/collation/trie_with_fallback_spec.rb
165
159
  - spec/collation/tailoring_tests/af.txt
166
160
  - spec/collation/tailoring_tests/ar.txt
167
161
  - spec/collation/tailoring_tests/ca.txt
@@ -196,19 +190,25 @@ files:
196
190
  - spec/collation/tailoring_tests/ur.txt
197
191
  - spec/collation/tailoring_tests/zh-Hant.txt
198
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
199
  - spec/formatters/base_spec.rb
200
- - spec/formatters/list_formatter_spec.rb
201
200
  - spec/formatters/calendars/datetime_formatter_spec.rb
202
201
  - spec/formatters/calendars/timespan_formatter_spec.rb
203
- - spec/formatters/numbers/currency_formatter_spec.rb
204
- - spec/formatters/numbers/decimal_formatter_spec.rb
205
- - spec/formatters/numbers/number_formatter_spec.rb
206
- - spec/formatters/numbers/percent_formatter_spec.rb
202
+ - spec/formatters/list_formatter_spec.rb
207
203
  - spec/formatters/numbers/abbreviated/abbreviated_number_formatter_spec.rb
208
204
  - spec/formatters/numbers/abbreviated/long_decimal_formatter_spec.rb
209
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
210
208
  - spec/formatters/numbers/helpers/fraction_spec.rb
211
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
212
  - spec/formatters/plurals/plural_formatter_spec.rb
213
213
  - spec/formatters/plurals/rules_spec.rb
214
214
  - spec/localized/localized_array_spec.rb
@@ -224,7 +224,9 @@ files:
224
224
  - spec/normalization/hangul_spec.rb
225
225
  - spec/normalization/normalization_spec.rb
226
226
  - spec/normalization/NormalizationTestShort.txt
227
+ - spec/normalization_spec.rb
227
228
  - spec/parsers/number_parser_spec.rb
229
+ - spec/readme_spec.rb
228
230
  - spec/resources/loader_spec.rb
229
231
  - spec/shared/calendar_spec.rb
230
232
  - spec/shared/code_point_spec.rb
@@ -235,21 +237,24 @@ files:
235
237
  - spec/shared/phone_codes_spec.rb
236
238
  - spec/shared/postal_codes_spec.rb
237
239
  - spec/shared/territories_spec.rb
240
+ - spec/spec_helper.rb
238
241
  - spec/tokenizers/base_spec.rb
239
- - spec/tokenizers/composite_token_spec.rb
240
- - spec/tokenizers/token_spec.rb
241
242
  - spec/tokenizers/calendars/additional_date_format_selector_spec.rb
242
243
  - spec/tokenizers/calendars/date_tokenizer_spec.rb
243
244
  - spec/tokenizers/calendars/datetime_tokenizer_spec.rb
244
245
  - spec/tokenizers/calendars/time_tokenizer_spec.rb
245
246
  - spec/tokenizers/calendars/timespan_tokenizer_spec.rb
247
+ - spec/tokenizers/composite_token_spec.rb
246
248
  - spec/tokenizers/numbers/number_tokenizer_spec.rb
249
+ - spec/tokenizers/token_spec.rb
250
+ - spec/twitter_cldr_spec.rb
247
251
  - spec/utils/code_points_spec.rb
248
252
  - spec/utils/interpolation_spec.rb
249
253
  - spec/utils/territories_spec.rb
250
254
  - spec/utils/yaml/t.gif
251
255
  - spec/utils/yaml/t.yaml
252
256
  - spec/utils/yaml/yaml_spec.rb
257
+ - spec/utils_spec.rb
253
258
  - resources/collation/FractionalUCA_SHORT.txt
254
259
  - resources/collation/tailoring/af.yml
255
260
  - resources/collation/tailoring/ar.yml
@@ -857,10 +862,6 @@ files:
857
862
  - resources/shared/language_codes_table.dump
858
863
  - resources/shared/phone_codes.yml
859
864
  - resources/shared/postal_codes.yml
860
- - resources/unicode_data/blocks.yml
861
- - resources/unicode_data/canonical_compositions.yml
862
- - resources/unicode_data/composition_exclusions.yml
863
- - resources/unicode_data/hangul_blocks.yml
864
865
  - resources/unicode_data/blocks/aegean_numbers.yml
865
866
  - resources/unicode_data/blocks/alchemical_symbols.yml
866
867
  - resources/unicode_data/blocks/alphabetic_presentation_forms.yml
@@ -1081,6 +1082,10 @@ files:
1081
1082
  - resources/unicode_data/blocks/yi_radicals.yml
1082
1083
  - resources/unicode_data/blocks/yi_syllables.yml
1083
1084
  - resources/unicode_data/blocks/yijing_hexagram_symbols.yml
1085
+ - resources/unicode_data/blocks.yml
1086
+ - resources/unicode_data/canonical_compositions.yml
1087
+ - resources/unicode_data/composition_exclusions.yml
1088
+ - resources/unicode_data/hangul_blocks.yml
1084
1089
  - Gemfile
1085
1090
  - History.txt
1086
1091
  - LICENSE
@@ -1090,32 +1095,36 @@ files:
1090
1095
  - twitter_cldr.gemspec
1091
1096
  homepage: http://twitter.com
1092
1097
  licenses: []
1093
- post_install_message:
1098
+
1099
+ post_install_message:
1094
1100
  rdoc_options: []
1095
- require_paths:
1101
+
1102
+ require_paths:
1096
1103
  - lib
1097
- required_ruby_version: !ruby/object:Gem::Requirement
1098
- requirements:
1099
- - - '>='
1100
- - !ruby/object:Gem::Version
1101
- segments:
1102
- - 0
1103
- hash: 2
1104
- version: '0'
1104
+ required_ruby_version: !ruby/object:Gem::Requirement
1105
1105
  none: false
1106
- required_rubygems_version: !ruby/object:Gem::Requirement
1107
- requirements:
1108
- - - '>='
1109
- - !ruby/object:Gem::Version
1110
- segments:
1106
+ requirements:
1107
+ - - ">="
1108
+ - !ruby/object:Gem::Version
1109
+ hash: 3
1110
+ segments:
1111
1111
  - 0
1112
- hash: 2
1113
- version: '0'
1112
+ version: "0"
1113
+ required_rubygems_version: !ruby/object:Gem::Requirement
1114
1114
  none: false
1115
+ requirements:
1116
+ - - ">="
1117
+ - !ruby/object:Gem::Version
1118
+ hash: 3
1119
+ segments:
1120
+ - 0
1121
+ version: "0"
1115
1122
  requirements: []
1116
- rubyforge_project:
1117
- rubygems_version: 1.8.24
1118
- signing_key:
1123
+
1124
+ rubyforge_project:
1125
+ rubygems_version: 1.8.10
1126
+ signing_key:
1119
1127
  specification_version: 3
1120
1128
  summary: Ruby implementation of the ICU (International Components for Unicode) that uses the Common Locale Data Repository to format dates, plurals, and more.
1121
1129
  test_files: []
1130
+