twitter_cldr 6.11.2 → 6.11.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cbd2915afa874b800c57f2d808dfcf03218625b27c23ff6be37bf666cc9f6164
4
- data.tar.gz: 32f81597c78d310f3030924001870e38137e7b0c4ab011c496167c2f0f3b8af1
3
+ metadata.gz: ca1b74d4a8067791e225230be2411329646c788634134e49ff94492a385e6687
4
+ data.tar.gz: 921204eea1fb84bcc4c469b3be205498419447d20b379eb5840ffcf19b5cfc7d
5
5
  SHA512:
6
- metadata.gz: df9df519e582bc1bfd6d3030fdb9a507c9e6aad2c3715434de1aa37c1f0ca3645d23945096264954b865b31a5500d13e578273d07d23415eabf382e591bdc583
7
- data.tar.gz: 367934c47449765583e8b24778fb5c99b7cc88e215bd51de041899fb87cdf6f406ab156b7255581a69c6edf9bc17f9ebfb1c4be54875977fee1f9cdf88db9278
6
+ metadata.gz: 6fcb16b98a4c4348cf4edb718d4a970aa80f800993f5bdf7062bfda9e70a9f6a23eb9f1286bdb34c0c017a4f2903e4cd24caad418d0554a6f9f1e0c30f67214d
7
+ data.tar.gz: 1e87d5ad77478304b4fa2b1b87c41fc95b1546dfa7a3a30205af51f8bb9d53c15085c761dc43de91c7cf3059d9217e061943ddb0cf7fd44681f05c9e099c7c9f
data/README.md CHANGED
@@ -71,7 +71,7 @@ If you're looking for a list of supported currencies, use the `TwitterCldr::Shar
71
71
  TwitterCldr::Shared::Currencies.currency_codes # ["ADP", "AED", "AFA", "AFN", ... ]
72
72
 
73
73
  # data for a specific currency code
74
- TwitterCldr::Shared::Currencies.for_code("CAD") # {:currency=>:CAD, :name=>"Canadian dollar", :cldr_symbol=>"CA$", :symbol=>"$", :code_points=>[36]}
74
+ TwitterCldr::Shared::Currencies.for_code("CAD") # {:currency=>:CAD, :name=>"Canadian Dollar", :cldr_symbol=>"CA$", :symbol=>"$", :code_points=>[36]}
75
75
  ```
76
76
 
77
77
  #### Short / Long Decimals
@@ -247,7 +247,7 @@ It's important to know that, even though any given format may not be available a
247
247
  | Hmv | 12:20 GMT |
248
248
  | M | 2 |
249
249
  | MEd | Fri, 2/14 |
250
- | MMM | M02 |
250
+ | MMM | Feb |
251
251
  | MMMEd | Fri, Feb 14 |
252
252
  | MMMMW | week 3 of February |
253
253
  | MMMMd | February 14 |
@@ -602,7 +602,7 @@ postal_code.regexp # /(\d{5})(?:[ \-](\d{4}))?/
602
602
  Get a sample of valid postal codes with the `#sample` method:
603
603
 
604
604
  ```ruby
605
- postal_code.sample(5) # ["60668-3382", "36022", "22364-5670", "32142-1738", "32633-0502"]
605
+ postal_code.sample(5) # ["32934", "29974", "17881-2274", "67896", "26121"]
606
606
  ```
607
607
 
608
608
  ### Phone Codes
@@ -1073,7 +1073,7 @@ TwitterCldr.locale # will return :ru
1073
1073
 
1074
1074
  ## Compatibility
1075
1075
 
1076
- TwitterCLDR is fully compatible with Ruby 2.0, 2.1, 2.2, 2.3, 2.4, 2.5, 2.6, 2.7, 3.0.
1076
+ TwitterCLDR is fully compatible with Ruby 2.3, 2.4, 2.5, 2.6, 2.7, 3.0, 3.1.
1077
1077
 
1078
1078
  ## Requirements
1079
1079
 
@@ -1106,6 +1106,6 @@ TwitterCLDR currently supports localization of certain textual objects in JavaSc
1106
1106
 
1107
1107
  ## License
1108
1108
 
1109
- Copyright 2021 Twitter, Inc.
1109
+ Copyright 2022 Twitter, Inc.
1110
1110
 
1111
1111
  Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0
@@ -19,7 +19,7 @@ module TwitterCldr
19
19
  if data
20
20
  result = {
21
21
  currency: currency_code,
22
- name: data[:one],
22
+ name: data[:name],
23
23
  cldr_symbol: data[:symbol] || currency_code.to_s,
24
24
  symbol: data[:symbol] || currency_code.to_s,
25
25
  code_points: (data[:symbol] || currency_code.to_s).unpack("U*")
@@ -4,5 +4,5 @@
4
4
  # http://www.apache.org/licenses/LICENSE-2.0
5
5
 
6
6
  module TwitterCldr
7
- VERSION = '6.11.2'
7
+ VERSION = '6.11.3'
8
8
  end
@@ -23,7 +23,7 @@ describe TwitterCldr::Shared::Currencies do
23
23
  data = described_class.for_code("PEN")
24
24
  expect(data).to be_a(Hash)
25
25
  expect(data).to include(
26
- name: "Peruvian sol",
26
+ name: "Peruvian Sol",
27
27
  currency: :PEN,
28
28
  symbol: "S/.",
29
29
  cldr_symbol: "PEN"
@@ -34,7 +34,7 @@ describe TwitterCldr::Shared::Currencies do
34
34
  data = described_class.for_code("CAD")
35
35
  expect(data).to be_a(Hash)
36
36
  expect(data).to include(
37
- name: "Canadian dollar",
37
+ name: "Canadian Dollar",
38
38
  currency: :CAD,
39
39
  symbol: "$",
40
40
  cldr_symbol: "CA$"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: twitter_cldr
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.11.2
4
+ version: 6.11.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cameron Dutro
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-02-17 00:00:00.000000000 Z
11
+ date: 2022-04-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: camertron-eprun