twitter_cldr_js 3.1.0 → 3.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/History.txt +4 -0
- data/lib/assets/javascripts/twitter_cldr/ar.js +1 -1
- data/lib/assets/javascripts/twitter_cldr/core.js +14 -14
- data/lib/assets/javascripts/twitter_cldr/en.js +1 -1
- data/lib/assets/javascripts/twitter_cldr/hi.js +1 -1
- data/lib/assets/javascripts/twitter_cldr/ko.js +1 -1
- data/lib/assets/javascripts/twitter_cldr/ru.js +1 -1
- data/lib/assets/javascripts/twitter_cldr/test_resources.js +1 -1
- data/lib/twitter_cldr/js/mustache/implementation/calendars/datetime.coffee +1 -1
- data/lib/twitter_cldr/js/mustache/implementation/calendars/timespan.coffee +1 -1
- data/lib/twitter_cldr/js/mustache/implementation/numbers/rbnf/number_data_reader.coffee +1 -1
- data/lib/twitter_cldr/js/mustache/implementation/numbers/rbnf/rbnf.coffee +1 -1
- data/lib/twitter_cldr/js/mustache/implementation/parsers/number_parser.coffee +1 -1
- data/lib/twitter_cldr/js/mustache/implementation/plurals/rules.coffee +1 -1
- data/lib/twitter_cldr/js/mustache/implementation/settings.coffee +2 -2
- data/lib/twitter_cldr/js/mustache/implementation/shared/break_iterator.coffee +1 -1
- data/lib/twitter_cldr/js/mustache/implementation/shared/calendar.coffee +1 -1
- data/lib/twitter_cldr/js/mustache/implementation/shared/code_point.coffee +1 -1
- data/lib/twitter_cldr/js/mustache/implementation/shared/languages.coffee +1 -1
- data/lib/twitter_cldr/js/mustache/implementation/shared/lists.coffee +1 -1
- data/lib/twitter_cldr/js/version.rb +1 -1
- metadata +2 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f7ab2d30702e35d3c2ef977cc48666a9183faa16
|
4
|
+
data.tar.gz: d79af6dd6fb8a357423d2815fec259b70925d257
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4c5f7cc212f3198ee4a5d481ef3f32957a0bd361736b49d725038c27a3a3fae7ebd3a55dfff7b3e8c3263b5cd9a4bb52b1e044c78bad26e537270c357ccc5cb5
|
7
|
+
data.tar.gz: 779a461940f2b82947c35124fdb49ae4dad960b0a0e9c68c8cefedf8836714b8258fbbfcf0b5ba357608fc57641c021e680b0941189954eceb26295924ebef52
|
data/History.txt
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
// Copyright 2012 Twitter, Inc
|
4
4
|
// http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
|
6
|
-
// TwitterCLDR (JavaScript) v3.1.
|
6
|
+
// TwitterCLDR (JavaScript) v3.1.1
|
7
7
|
// Authors: Cameron Dutro [@camertron]
|
8
8
|
Kirill Lashuk [@KL_7]
|
9
9
|
portions by Sven Fuchs [@svenfuchs]
|
@@ -231,11 +231,11 @@
|
|
231
231
|
function Settings() {}
|
232
232
|
|
233
233
|
Settings.is_rtl = function() {
|
234
|
-
return TwitterCldr.get_data()
|
234
|
+
return TwitterCldr.get_data().Settings.is_rtl;
|
235
235
|
};
|
236
236
|
|
237
237
|
Settings.locale = function() {
|
238
|
-
return TwitterCldr.get_data()
|
238
|
+
return TwitterCldr.get_data().Settings.locale;
|
239
239
|
};
|
240
240
|
|
241
241
|
return Settings;
|
@@ -326,7 +326,7 @@
|
|
326
326
|
;
|
327
327
|
|
328
328
|
PluralRules.data = function() {
|
329
|
-
return TwitterCldr.get_data()
|
329
|
+
return TwitterCldr.get_data().PluralRules;
|
330
330
|
};
|
331
331
|
|
332
332
|
PluralRules.all = function(type) {
|
@@ -369,7 +369,7 @@
|
|
369
369
|
}
|
370
370
|
|
371
371
|
TimespanFormatter.data = function() {
|
372
|
-
return TwitterCldr.get_data()
|
372
|
+
return TwitterCldr.get_data().TimespanFormatter;
|
373
373
|
};
|
374
374
|
|
375
375
|
TimespanFormatter.prototype.patterns = function() {
|
@@ -471,7 +471,7 @@
|
|
471
471
|
}
|
472
472
|
|
473
473
|
DateTimeFormatter.data = function() {
|
474
|
-
return TwitterCldr.get_data()
|
474
|
+
return TwitterCldr.get_data().DateTimeFormatter;
|
475
475
|
};
|
476
476
|
|
477
477
|
DateTimeFormatter.prototype.tokens = function() {
|
@@ -1007,7 +1007,7 @@
|
|
1007
1007
|
function ListFormatter() {}
|
1008
1008
|
|
1009
1009
|
ListFormatter.data = function() {
|
1010
|
-
return TwitterCldr.get_data()
|
1010
|
+
return TwitterCldr.get_data().ListFormatter;
|
1011
1011
|
};
|
1012
1012
|
|
1013
1013
|
ListFormatter.prototype.formats = function() {
|
@@ -1503,7 +1503,7 @@
|
|
1503
1503
|
}
|
1504
1504
|
|
1505
1505
|
BreakIterator.data = function() {
|
1506
|
-
return TwitterCldr.get_data()
|
1506
|
+
return TwitterCldr.get_data().BreakIterator;
|
1507
1507
|
};
|
1508
1508
|
|
1509
1509
|
BreakIterator.prototype.each_sentence = function(str, block) {
|
@@ -1683,7 +1683,7 @@
|
|
1683
1683
|
REDIRECT_PREFIX = "calendars.gregorian.";
|
1684
1684
|
|
1685
1685
|
Calendar.calendar = function() {
|
1686
|
-
return TwitterCldr.get_data()
|
1686
|
+
return TwitterCldr.get_data().Calendar.calendar;
|
1687
1687
|
};
|
1688
1688
|
|
1689
1689
|
Calendar.months = function(options) {
|
@@ -1758,7 +1758,7 @@
|
|
1758
1758
|
CodePoint.properties = ["sentence_break", "line_break", "word_break"];
|
1759
1759
|
|
1760
1760
|
CodePoint.data = function() {
|
1761
|
-
return TwitterCldr.get_data()
|
1761
|
+
return TwitterCldr.get_data().CodePoint;
|
1762
1762
|
};
|
1763
1763
|
|
1764
1764
|
function CodePoint(fields) {
|
@@ -2045,7 +2045,7 @@
|
|
2045
2045
|
function Languages() {}
|
2046
2046
|
|
2047
2047
|
Languages.data = function() {
|
2048
|
-
return TwitterCldr.get_data()
|
2048
|
+
return TwitterCldr.get_data().Languages;
|
2049
2049
|
};
|
2050
2050
|
|
2051
2051
|
Languages.all = function() {
|
@@ -2211,7 +2211,7 @@
|
|
2211
2211
|
}
|
2212
2212
|
|
2213
2213
|
NumberParser.data = function() {
|
2214
|
-
return TwitterCldr.get_data()
|
2214
|
+
return TwitterCldr.get_data().NumberParser;
|
2215
2215
|
};
|
2216
2216
|
|
2217
2217
|
NumberParser.prototype.group_separator = function() {
|
@@ -4135,7 +4135,7 @@
|
|
4135
4135
|
}
|
4136
4136
|
|
4137
4137
|
RBNF.data = function() {
|
4138
|
-
return TwitterCldr.get_data()
|
4138
|
+
return TwitterCldr.get_data().RBNF;
|
4139
4139
|
};
|
4140
4140
|
|
4141
4141
|
RBNF.prototype.resource = function() {
|
@@ -4320,7 +4320,7 @@
|
|
4320
4320
|
}
|
4321
4321
|
|
4322
4322
|
NumberDataReader.data = function() {
|
4323
|
-
return TwitterCldr.get_data()
|
4323
|
+
return TwitterCldr.get_data().NumberDataReader;
|
4324
4324
|
};
|
4325
4325
|
|
4326
4326
|
NumberDataReader.prototype.resource = function() {
|
@@ -10,7 +10,7 @@ class TwitterCldr.BreakIterator
|
|
10
10
|
@segmentation_parser = new TwitterCldr.SegmentationParser()
|
11
11
|
|
12
12
|
@data :->
|
13
|
-
TwitterCldr.get_data()
|
13
|
+
TwitterCldr.get_data().BreakIterator
|
14
14
|
|
15
15
|
each_sentence : (str, block) ->
|
16
16
|
@each_boundary(str, "sentence", block)
|
@@ -26,7 +26,7 @@ class TwitterCldr.CodePoint
|
|
26
26
|
@properties = ["sentence_break", "line_break", "word_break"]
|
27
27
|
|
28
28
|
@data :->
|
29
|
-
TwitterCldr.get_data()
|
29
|
+
TwitterCldr.get_data().CodePoint
|
30
30
|
|
31
31
|
constructor : (@fields) ->
|
32
32
|
for i in [0...TwitterCldr.CodePoint.code_point_fields.length] by 1
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: twitter_cldr_js
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.1.
|
4
|
+
version: 3.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cameron Dutro
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-05-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|
@@ -423,4 +423,3 @@ signing_key:
|
|
423
423
|
specification_version: 4
|
424
424
|
summary: Text formatting using data from Unicode's Common Locale Data Repository (CLDR).
|
425
425
|
test_files: []
|
426
|
-
has_rdoc: true
|