flowcommerce-reference 0.4.6 → 0.4.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -309,7 +309,7 @@ module FlowCommerce
309
309
  end
310
310
 
311
311
  def Data.Mro
312
- new_c({"name":"Mauritania Ouguiya","iso_4217_3":"MRO","number_decimals":1,"symbols":{"primary":"MRO"},"default_locale":"ar-MR"})
312
+ new_c({"name":"Mauritania Ouguiya","iso_4217_3":"MRO","number_decimals":1,"symbols":{"primary":"MRO"}})
313
313
  end
314
314
 
315
315
  def Data.Mur
@@ -345,7 +345,7 @@ module FlowCommerce
345
345
  end
346
346
 
347
347
  def Data.Byn
348
- new_c({"name":"New Belarusian Ruble","iso_4217_3":"BYN","number_decimals":2,"symbols":{"primary":"BYN","narrow":"р."}})
348
+ new_c({"name":"New Belarusian Ruble","iso_4217_3":"BYN","number_decimals":2,"symbols":{"primary":"BYN","narrow":"р."},"default_locale":"ru-BY"})
349
349
  end
350
350
 
351
351
  def Data.Bgn
@@ -441,7 +441,7 @@ module FlowCommerce
441
441
  end
442
442
 
443
443
  def Data.Std
444
- new_c({"name":"Sao Tome & Principe Dobra","iso_4217_3":"STD","number_decimals":2,"symbols":{"primary":"STD"},"default_locale":"pt-ST"})
444
+ new_c({"name":"Sao Tome & Principe Dobra","iso_4217_3":"STD","number_decimals":2,"symbols":{"primary":"STD"}})
445
445
  end
446
446
 
447
447
  def Data.Sar
@@ -525,7 +525,7 @@ module FlowCommerce
525
525
  end
526
526
 
527
527
  def Data.Tnd
528
- new_c({"name":"Tunisian Dinar","iso_4217_3":"TND","number_decimals":3,"symbols":{"primary":"TND"}})
528
+ new_c({"name":"Tunisian Dinar","iso_4217_3":"TND","number_decimals":3,"symbols":{"primary":"TND"},"default_locale":"ar-TN"})
529
529
  end
530
530
 
531
531
  def Data.Tmt
@@ -561,7 +561,7 @@ module FlowCommerce
561
561
  end
562
562
 
563
563
  def Data.Vnd
564
- new_c({"name":"Vietnamese New Dong","iso_4217_3":"VND","number_decimals":0,"symbols":{"primary":"₫","narrow":"₫"},"default_locale":"vi-VN"})
564
+ new_c({"name":"Vietnamese New Dong","iso_4217_3":"VND","number_decimals":0,"symbols":{"primary":"₫","narrow":"₫"}})
565
565
  end
566
566
 
567
567
  def Data.Yer
@@ -29,7 +29,7 @@ module FlowCommerce
29
29
  end
30
30
 
31
31
  def Data.Ar
32
- new_l({"name":"Arabic","iso_639_2":"ar","countries":["ARE","BHR","COM","DJI","DZA","EGY","ISR","JOR","KWT","LBN","LBY","MAR","MRT","NER","OMN","QAT","SAU","SOM","TCD","YEM"],"locales":["ar-AE","ar-BH","ar-DZ","ar-EG","ar-IQ","ar-JO","ar-KW","ar-LB","ar-LY","ar-MA","ar-OM","ar-QA","ar-SA","ar-SY","ar-TN","ar-YE"]})
32
+ new_l({"name":"Arabic","iso_639_2":"ar","countries":["ARE","BHR","COM","DJI","DZA","EGY","ERI","IRQ","ISR","JOR","KWT","LBN","LBY","MAR","MRT","NER","OMN","QAT","SAU","SDN","SOM","SYR","TCD","TUN","YEM"],"locales":["ar-AE","ar-BH","ar-DZ","ar-EG","ar-IQ","ar-JO","ar-KW","ar-LB","ar-LY","ar-MA","ar-OM","ar-QA","ar-SA","ar-SY","ar-TN","ar-YE"]})
33
33
  end
34
34
 
35
35
  def Data.Hy
@@ -49,7 +49,7 @@ module FlowCommerce
49
49
  end
50
50
 
51
51
  def Data.Be
52
- new_l({"name":"Belarusian","iso_639_2":"be","countries":[],"locales":["be-BY"]})
52
+ new_l({"name":"Belarusian","iso_639_2":"be","countries":["BLR"],"locales":["be-BY"]})
53
53
  end
54
54
 
55
55
  def Data.Bn
@@ -69,7 +69,7 @@ module FlowCommerce
69
69
  end
70
70
 
71
71
  def Data.My
72
- new_l({"name":"Burmese","iso_639_2":"my","countries":[],"locales":[]})
72
+ new_l({"name":"Burmese","iso_639_2":"my","countries":["MMR"],"locales":[]})
73
73
  end
74
74
 
75
75
  def Data.Ca
@@ -109,7 +109,7 @@ module FlowCommerce
109
109
  end
110
110
 
111
111
  def Data.En
112
- new_l({"name":"English","iso_639_2":"en","countries":["ATG","AUS","BHS","BLZ","BRB","BWA","CAN","CMR","CUW","DMA","FJI","FSM","GBR","GHA","GMB","GRD","GUY","HKG","IND","IRL","JAM","KEN","KIR","KNA","LCA","LKA","LSO","MHL","MLT","MUS","MWI","MYS","NAM","NGA","NRU","NZL","PAK","PHL","PLW","PNG","RWA","SGP","SLB","SLE","SSD","SWZ","SXM","SYC","TON","TTO","TUV","TZA","UGA","USA","VCT","VUT","WSM","ZAF","ZMB"],"locales":["en-AU","en-BZ","en-CA","en-CB","en-GB","en-IE","en-JM","en-NZ","en-PH","en-TT","en-US","en-ZA","en-ZW"]})
112
+ new_l({"name":"English","iso_639_2":"en","countries":["ATG","AUS","BHS","BLZ","BRB","BWA","CAN","CMR","CUW","DMA","ERI","FJI","FSM","GBR","GHA","GMB","GRD","GUY","HKG","IND","IRL","JAM","KEN","KIR","KNA","LBR","LCA","LKA","LSO","MHL","MLT","MUS","MWI","MYS","NAM","NGA","NRU","NZL","PAK","PHL","PLW","PNG","RWA","SDN","SGP","SLB","SLE","SSD","SWZ","SXM","SYC","TON","TTO","TUV","TZA","UGA","USA","VCT","VUT","WSM","ZAF","ZMB","ZWE"],"locales":["en-AU","en-BZ","en-CA","en-CB","en-GB","en-IE","en-JM","en-NZ","en-PH","en-TT","en-US","en-ZA","en-ZW"]})
113
113
  end
114
114
 
115
115
  def Data.Et
@@ -129,7 +129,7 @@ module FlowCommerce
129
129
  end
130
130
 
131
131
  def Data.Fr
132
- new_l({"name":"French","iso_639_2":"fr","countries":["BEL","BEN","BFA","BLM","CAF","CAN","CHE","CIV","CMR","COG","COM","DJI","FRA","GAB","GIN","GLP","GNQ","GUF","HTI","ITA","JEY","LUX","MCO","MDG","MLI","MTQ","MUS","MYT","NCL","NER","PYF","REU","RWA","SEN","SPM","SYC","TCD","TGO","VUT","WLF"],"locales":["fr","fr-BE","fr-CA","fr-CH","fr-LU","fr-MC"]})
132
+ new_l({"name":"French","iso_639_2":"fr","countries":["BDI","BEL","BEN","BFA","BLM","CAF","CAN","CHE","CIV","CMR","COD","COG","COM","DJI","FRA","GAB","GIN","GLP","GNQ","GUF","HTI","ITA","JEY","LUX","MCO","MDG","MLI","MTQ","MUS","MYT","NCL","NER","PYF","REU","RWA","SEN","SPM","SYC","TCD","TGO","VUT","WLF"],"locales":["fr","fr-BE","fr-CA","fr-CH","fr-LU","fr-MC"]})
133
133
  end
134
134
 
135
135
  def Data.Ff
@@ -197,7 +197,7 @@ module FlowCommerce
197
197
  end
198
198
 
199
199
  def Data.It
200
- new_l({"name":"Italian","iso_639_2":"it","countries":["CHE","HRV","ITA","SMR","SVN"],"locales":["it","it-CH"]})
200
+ new_l({"name":"Italian","iso_639_2":"it","countries":["CHE","HRV","ITA","SMR","SVN","VAT"],"locales":["it","it-CH"]})
201
201
  end
202
202
 
203
203
  def Data.Ja
@@ -221,11 +221,11 @@ module FlowCommerce
221
221
  end
222
222
 
223
223
  def Data.Rn
224
- new_l({"name":"Kirundi","iso_639_2":"rn","countries":[],"locales":[]})
224
+ new_l({"name":"Kirundi","iso_639_2":"rn","countries":["BDI"],"locales":[]})
225
225
  end
226
226
 
227
227
  def Data.Kg
228
- new_l({"name":"Kongo","iso_639_2":"kg","countries":["AGO","COG"],"locales":[]})
228
+ new_l({"name":"Kongo","iso_639_2":"kg","countries":["AGO","COD","COG"],"locales":[]})
229
229
  end
230
230
 
231
231
  def Data.Ko
@@ -233,7 +233,7 @@ module FlowCommerce
233
233
  end
234
234
 
235
235
  def Data.Ku
236
- new_l({"name":"Kurdish","iso_639_2":"ku","countries":[],"locales":[]})
236
+ new_l({"name":"Kurdish","iso_639_2":"ku","countries":["IRQ"],"locales":[]})
237
237
  end
238
238
 
239
239
  def Data.Kj
@@ -249,7 +249,7 @@ module FlowCommerce
249
249
  end
250
250
 
251
251
  def Data.La
252
- new_l({"name":"Latin","iso_639_2":"la","countries":[],"locales":[]})
252
+ new_l({"name":"Latin","iso_639_2":"la","countries":["VAT"],"locales":[]})
253
253
  end
254
254
 
255
255
  def Data.Lv
@@ -257,7 +257,7 @@ module FlowCommerce
257
257
  end
258
258
 
259
259
  def Data.Ln
260
- new_l({"name":"Lingala","iso_639_2":"ln","countries":["COG"],"locales":[]})
260
+ new_l({"name":"Lingala","iso_639_2":"ln","countries":["COD","COG"],"locales":[]})
261
261
  end
262
262
 
263
263
  def Data.Lt
@@ -265,7 +265,7 @@ module FlowCommerce
265
265
  end
266
266
 
267
267
  def Data.Lu
268
- new_l({"name":"Luba-Katanga","iso_639_2":"lu","countries":[],"locales":[]})
268
+ new_l({"name":"Luba-Katanga","iso_639_2":"lu","countries":["COD"],"locales":[]})
269
269
  end
270
270
 
271
271
  def Data.Lb
@@ -273,7 +273,7 @@ module FlowCommerce
273
273
  end
274
274
 
275
275
  def Data.Mk
276
- new_l({"name":"Macedonian","iso_639_2":"mk","countries":[],"locales":["mk"]})
276
+ new_l({"name":"Macedonian","iso_639_2":"mk","countries":["MKD"],"locales":["mk"]})
277
277
  end
278
278
 
279
279
  def Data.Mg
@@ -305,7 +305,7 @@ module FlowCommerce
305
305
  end
306
306
 
307
307
  def Data.Nd
308
- new_l({"name":"Northern Ndebele","iso_639_2":"nd","countries":["ZAF"],"locales":[]})
308
+ new_l({"name":"Northern Ndebele","iso_639_2":"nd","countries":["ZAF","ZWE"],"locales":[]})
309
309
  end
310
310
 
311
311
  def Data.No
@@ -325,11 +325,11 @@ module FlowCommerce
325
325
  end
326
326
 
327
327
  def Data.Ps
328
- new_l({"name":"Pashto","iso_639_2":"ps","countries":[],"locales":[]})
328
+ new_l({"name":"Pashto","iso_639_2":"ps","countries":["AFG"],"locales":[]})
329
329
  end
330
330
 
331
331
  def Data.Fa
332
- new_l({"name":"Persian","iso_639_2":"fa","countries":["TJK"],"locales":["fa-IR"]})
332
+ new_l({"name":"Persian","iso_639_2":"fa","countries":["AFG","IRN","TJK"],"locales":["fa-IR"]})
333
333
  end
334
334
 
335
335
  def Data.Pl
@@ -353,7 +353,7 @@ module FlowCommerce
353
353
  end
354
354
 
355
355
  def Data.Ru
356
- new_l({"name":"Russian","iso_639_2":"ru","countries":["KAZ","KGZ","RUS","TJK"],"locales":["ru"]})
356
+ new_l({"name":"Russian","iso_639_2":"ru","countries":["BLR","KAZ","KGZ","RUS","TJK"],"locales":["ru"]})
357
357
  end
358
358
 
359
359
  def Data.Sg
@@ -365,7 +365,7 @@ module FlowCommerce
365
365
  end
366
366
 
367
367
  def Data.Sn
368
- new_l({"name":"Shona","iso_639_2":"sn","countries":[],"locales":[]})
368
+ new_l({"name":"Shona","iso_639_2":"sn","countries":["ZWE"],"locales":[]})
369
369
  end
370
370
 
371
371
  def Data.Si
@@ -393,11 +393,11 @@ module FlowCommerce
393
393
  end
394
394
 
395
395
  def Data.Es
396
- new_l({"name":"Spanish","iso_639_2":"es","countries":["ARG","BOL","CHL","COL","CRI","DOM","ECU","ESP","GNQ","GTM","HND","MEX","NIC","PAN","PER","PRY","SLV","URY","VEN"],"locales":["es","es-AR","es-BO","es-CL","es-CO","es-CR","es-DO","es-EC","es-GT","es-HN","es-MX","es-NI","es-PA","es-PE","es-PR","es-PY","es-SV","es-UY","es-VE"]})
396
+ new_l({"name":"Spanish","iso_639_2":"es","countries":["ARG","BOL","CHL","COL","CRI","CUB","DOM","ECU","ESH","ESP","GNQ","GTM","HND","MEX","NIC","PAN","PER","PRI","PRY","SLV","URY","VEN"],"locales":["es","es-AR","es-BO","es-CL","es-CO","es-CR","es-DO","es-EC","es-GT","es-HN","es-MX","es-NI","es-PA","es-PE","es-PR","es-PY","es-SV","es-UY","es-VE"]})
397
397
  end
398
398
 
399
399
  def Data.Sw
400
- new_l({"name":"Swahili","iso_639_2":"sw","countries":["KEN","TZA","UGA"],"locales":["sw-KE"]})
400
+ new_l({"name":"Swahili","iso_639_2":"sw","countries":["COD","KEN","TZA","UGA"],"locales":["sw-KE"]})
401
401
  end
402
402
 
403
403
  def Data.Ss
@@ -405,7 +405,7 @@ module FlowCommerce
405
405
  end
406
406
 
407
407
  def Data.Sv
408
- new_l({"name":"Swedish","iso_639_2":"sv","countries":["FIN","SWE"],"locales":["sv-FI","sv-SE"]})
408
+ new_l({"name":"Swedish","iso_639_2":"sv","countries":["ALA","FIN","SWE"],"locales":["sv-FI","sv-SE"]})
409
409
  end
410
410
 
411
411
  def Data.Tl
@@ -429,7 +429,7 @@ module FlowCommerce
429
429
  end
430
430
 
431
431
  def Data.Ti
432
- new_l({"name":"Tigrinya","iso_639_2":"ti","countries":[],"locales":[]})
432
+ new_l({"name":"Tigrinya","iso_639_2":"ti","countries":["ERI"],"locales":[]})
433
433
  end
434
434
 
435
435
  def Data.Ts
@@ -3,7 +3,7 @@
3
3
  module FlowCommerce
4
4
  module Reference
5
5
  class PaymentMethods
6
- SUPPORTED_CREDIT_CARDS = [:ach, :alipay, :american_express, :bankTransfer_IBAN, :bitcoin, :bitpay, :cartes_bancaires, :china_union_pay, :dankort, :diners_club, :directEbanking, :discover, :dotpay, :dragonpay_ebanking, :dragonpay_gcash, :dragonpay_otc_banking, :ebanking_FI, :giropay, :ideal, :interac, :jcb, :kcp_banktransfer, :kcp_creditcard, :kcp_payco, :klarna, :maestro, :mastercard, :molpay_points, :multibanco, :paypal, :qiwiwallet, :sepadirectdebit, :trustly, :trustpay, :unionpay, :visa, :wechatpay]
6
+ SUPPORTED_CREDIT_CARDS = [:ach, :afterpay, :alipay, :american_express, :apple_pay, :bankTransfer_IBAN, :bitcoin, :bitpay, :cartes_bancaires, :china_union_pay, :dankort, :diners_club, :directEbanking, :discover, :dotpay, :dragonpay_ebanking, :dragonpay_gcash, :dragonpay_otc_banking, :ebanking_FI, :giropay, :google_pay, :ideal, :interac, :jcb, :kcp_banktransfer, :kcp_creditcard, :kcp_payco, :klarna, :maestro, :mastercard, :molpay_points, :multibanco, :paypal, :qiwiwallet, :sepadirectdebit, :trustly, :trustpay, :unionpay, :visa, :wechatpay]
7
7
 
8
8
  class Data
9
9
  class << self
@@ -15,6 +15,10 @@ module FlowCommerce
15
15
  new_pm({"id":"ach","type":"online","name":"ACH","images":{"small":{"url":"https://flowcdn.io/util/logos/payment-methods/ach/30/original.png","width":65,"height":41},"medium":{"url":"https://flowcdn.io/util/logos/payment-methods/ach/60/original.png","width":100,"height":60},"large":{"url":"https://flowcdn.io/util/logos/payment-methods/ach/120/original.png","width":256,"height":256}},"regions":["world"]})
16
16
  end
17
17
 
18
+ def Afterpay
19
+ new_pm({"id":"afterpay","type":"online","name":"Afterpay","images":{"small":{"url":"https://flowcdn.io/util/logos/payment-methods/afterpay/30/original.png","width":65,"height":41},"medium":{"url":"https://flowcdn.io/util/logos/payment-methods/afterpay/60/original.png","width":100,"height":60},"large":{"url":"https://flowcdn.io/util/logos/payment-methods/afterpay/120/original.png","width":256,"height":256}},"regions":["world"]})
20
+ end
21
+
18
22
  def Alipay
19
23
  new_pm({"id":"alipay","type":"online","name":"Alipay","images":{"small":{"url":"https://flowcdn.io/util/logos/payment-methods/alipay/30/original.png","width":65,"height":41},"medium":{"url":"https://flowcdn.io/util/logos/payment-methods/alipay/60/original.png","width":100,"height":60},"large":{"url":"https://flowcdn.io/util/logos/payment-methods/alipay/120/original.png","width":256,"height":256}},"regions":["world"]})
20
24
  end
@@ -23,6 +27,10 @@ module FlowCommerce
23
27
  new_pm({"id":"american_express","type":"card","name":"American Express","images":{"small":{"url":"https://flowcdn.io/util/logos/payment-methods/american_express/30/original.png","width":65,"height":41},"medium":{"url":"https://flowcdn.io/util/logos/payment-methods/american_express/60/original.png","width":100,"height":60},"large":{"url":"https://flowcdn.io/util/logos/payment-methods/american_express/120/original.png","width":256,"height":256}},"regions":["world"]})
24
28
  end
25
29
 
30
+ def ApplePay
31
+ new_pm({"id":"apple_pay","type":"online","name":"Apple Pay","images":{"small":{"url":"https://flowcdn.io/util/logos/payment-methods/apple_pay/30/original.png","width":65,"height":41},"medium":{"url":"https://flowcdn.io/util/logos/payment-methods/apple_pay/60/original.png","width":100,"height":60},"large":{"url":"https://flowcdn.io/util/logos/payment-methods/apple_pay/120/original.png","width":256,"height":256}},"regions":["world"]})
32
+ end
33
+
26
34
  def BanktransferIban
27
35
  new_pm({"id":"bankTransfer_IBAN","type":"online","name":"International Bank Transfer (IBAN)","images":{"small":{"url":"https://flowcdn.io/util/logos/payment-methods/bankTransfer_IBAN/30/original.png","width":65,"height":41},"medium":{"url":"https://flowcdn.io/util/logos/payment-methods/bankTransfer_IBAN/60/original.png","width":100,"height":60},"large":{"url":"https://flowcdn.io/util/logos/payment-methods/bankTransfer_IBAN/120/original.png","width":256,"height":256}},"regions":["world"]})
28
36
  end
@@ -83,6 +91,10 @@ module FlowCommerce
83
91
  new_pm({"id":"giropay","type":"online","name":"GiroPay","images":{"small":{"url":"https://flowcdn.io/util/logos/payment-methods/giropay/30/original.png","width":65,"height":41},"medium":{"url":"https://flowcdn.io/util/logos/payment-methods/giropay/60/original.png","width":100,"height":60},"large":{"url":"https://flowcdn.io/util/logos/payment-methods/giropay/120/original.png","width":256,"height":256}},"regions":["world"]})
84
92
  end
85
93
 
94
+ def GooglePay
95
+ new_pm({"id":"google_pay","type":"online","name":"Google Pay","images":{"small":{"url":"https://flowcdn.io/util/logos/payment-methods/google_pay/30/original.png","width":65,"height":41},"medium":{"url":"https://flowcdn.io/util/logos/payment-methods/google_pay/60/original.png","width":100,"height":60},"large":{"url":"https://flowcdn.io/util/logos/payment-methods/google_pay/120/original.png","width":256,"height":256}},"regions":["world"]})
96
+ end
97
+
86
98
  def Ideal
87
99
  new_pm({"id":"ideal","type":"online","name":"iDEAL","images":{"small":{"url":"https://flowcdn.io/util/logos/payment-methods/ideal/30/original.png","width":65,"height":41},"medium":{"url":"https://flowcdn.io/util/logos/payment-methods/ideal/60/original.png","width":100,"height":60},"large":{"url":"https://flowcdn.io/util/logos/payment-methods/ideal/120/original.png","width":256,"height":256}},"regions":["world"]})
88
100
  end
data/lib/version.rb CHANGED
@@ -1,7 +1,7 @@
1
- # Automatically generated at 2018-07-12 09:37:28 +0100
1
+ # Automatically generated at 2018-10-16 09:38:33 -0400
2
2
 
3
3
  module FlowCommerce
4
4
  module Reference
5
- VERSION = '0.4.6'
5
+ VERSION = '0.4.7'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flowcommerce-reference
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.6
4
+ version: 0.4.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Bryzek
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2018-07-12 00:00:00.000000000 Z
12
+ date: 2018-10-16 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Simple native Ruby Library to browse ISO data related to countries, currencies,
15
15
  languages, etc.
@@ -46,7 +46,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
46
46
  version: '0'
47
47
  requirements: []
48
48
  rubyforge_project:
49
- rubygems_version: 2.5.2
49
+ rubygems_version: 2.5.2.3
50
50
  signing_key:
51
51
  specification_version: 4
52
52
  summary: Flow Commerce Ruby Library of ISO reference data