countries 1.2.2 → 1.2.4
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.
- checksums.yaml +4 -4
- data/.gitignore +3 -1
- data/.travis.yml +5 -0
- data/CHANGELOG.md +10 -0
- data/README.markdown +0 -7
- data/lib/countries/country.rb +1 -1
- data/lib/countries/data/countries/BV.yaml +1 -1
- data/lib/countries/data/countries/CG.yaml +1 -1
- data/lib/countries/data/countries/RO.yaml +1 -1
- data/lib/countries/data/countries/ZM.yaml +1 -1
- data/lib/countries/data/subdivisions/NZ.yaml +4 -4
- data/lib/countries/data/subdivisions/PT.yaml +4 -4
- data/lib/countries/data/translation_corrections.yaml +8 -1
- data/lib/countries/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: eb1e054cd9be9187e1f48704f9bc206262f79ee2
|
|
4
|
+
data.tar.gz: 95a8e32736ed491b3f7e420676a520f0ab451676
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4e44de7a256c1c33d94277d53a5da580c84fd21f44382902d4d949208a3ba65cb928a650104c6e57ccf001bc7d11c886a7d5f1ca24b450f848d80a8c89ef36e7
|
|
7
|
+
data.tar.gz: 52f0567a6cdf60622a68555cd2600f4ae4e5e0d7d208ece149a7e69f42b54c362df30a2849d8389460fe792db3eb29d521f153c7f49f93819d79b953becf09f2
|
data/.gitignore
CHANGED
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,16 @@
|
|
|
2
2
|
All notable changes to this project will be documented in this file.
|
|
3
3
|
This project adheres to [Semantic Versioning](http://semver.org/).
|
|
4
4
|
|
|
5
|
+
## 1.2.4 @ 2016-01-21
|
|
6
|
+
- Romanian Standard VAT rate is 20% as of 2016-01-01 #325 @dougal
|
|
7
|
+
- Palestine submit #324 @samizan
|
|
8
|
+
- Added 47 as calling code for Bouvet Island, Norwegian territory #323
|
|
9
|
+
- Added XAF as currency code for Congo @espen
|
|
10
|
+
- Force converting passed locale to string @borodiychuk
|
|
11
|
+
|
|
12
|
+
## 1.2.3
|
|
13
|
+
- Content Updates
|
|
14
|
+
|
|
5
15
|
## 1.2.2
|
|
6
16
|
- Content Updates
|
|
7
17
|
|
data/README.markdown
CHANGED
|
@@ -129,13 +129,6 @@ Countries now uses the [Currencies][] gem. What this means is you now get back a
|
|
|
129
129
|
c.currency['name'] #=> 'Dollars'
|
|
130
130
|
c.currency['symbol'] #=> '$'
|
|
131
131
|
|
|
132
|
-
If a country has an alternate currency it can be accessed via the *alt_currency* method and will also return a Currency object.
|
|
133
|
-
|
|
134
|
-
Since we are using the [Currencies][] gem we get a bonus ExchangeBank that can be used with the [Money][] gem. It auto loads exchange rates from Yahoo Finance.
|
|
135
|
-
|
|
136
|
-
Money.default_bank = Currency::ExchangeBank.new
|
|
137
|
-
Money.us_dollar(100).exchange_to("CAD") # => Money.new(124, "CAD")
|
|
138
|
-
|
|
139
132
|
Address Formatting
|
|
140
133
|
------------------
|
|
141
134
|
|
data/lib/countries/country.rb
CHANGED
|
@@ -36,8 +36,8 @@ GIS:
|
|
|
36
36
|
max_latitude: -38.6219639
|
|
37
37
|
max_longitude: 178.115354
|
|
38
38
|
HKB:
|
|
39
|
-
name:
|
|
40
|
-
names:
|
|
39
|
+
name: Hawke's Bay
|
|
40
|
+
names: Hawke's Bay
|
|
41
41
|
latitude: -39.7711616
|
|
42
42
|
longitude: 176.7416374
|
|
43
43
|
min_latitude: -40.440783
|
|
@@ -145,8 +145,8 @@ WTC:
|
|
|
145
145
|
max_latitude: -41.16730769999999
|
|
146
146
|
max_longitude: 172.4800189
|
|
147
147
|
X1~:
|
|
148
|
-
name: Chatham
|
|
149
|
-
names: Chatham
|
|
148
|
+
name: Chatham Islands
|
|
149
|
+
names: Chatham Islands
|
|
150
150
|
latitude: -43.9120964
|
|
151
151
|
longitude: -176.5433025
|
|
152
152
|
min_latitude: -44.4343162
|
|
@@ -162,8 +162,8 @@
|
|
|
162
162
|
max_latitude: 40.7325793
|
|
163
163
|
max_longitude: -7.8250273
|
|
164
164
|
'20':
|
|
165
|
-
name:
|
|
166
|
-
names:
|
|
165
|
+
name: Açores
|
|
166
|
+
names: Açores
|
|
167
167
|
latitude: 37.7412488
|
|
168
168
|
longitude: -25.6755944
|
|
169
169
|
min_latitude: 36.9278178
|
|
@@ -171,8 +171,8 @@
|
|
|
171
171
|
max_latitude: 39.7261497
|
|
172
172
|
max_longitude: -25.0131855
|
|
173
173
|
'30':
|
|
174
|
-
name:
|
|
175
|
-
names:
|
|
174
|
+
name: Madeira
|
|
175
|
+
names: Madeira
|
|
176
176
|
latitude: 32.76070740000001
|
|
177
177
|
longitude: -16.9594723
|
|
178
178
|
min_latitude: 30.0303451
|
data/lib/countries/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: countries
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.2.
|
|
4
|
+
version: 1.2.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Josh Robinson
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date:
|
|
13
|
+
date: 2016-01-21 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: i18n_data
|