app_store_info 1.0.4 → 1.0.5
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/lib/app_store_info/app.rb +1 -1
- data/lib/app_store_info/regions.rb +16 -8
- data/lib/app_store_info/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0e82c73fc3edaf47c68acfda2c3084452c7bfdaa
|
|
4
|
+
data.tar.gz: 35c09551781464f55d2a2bde74291b22fdb45888
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d50e2d21569cfd34a3fe2857ad4a9055a4f26984bc98e06c47439379a43d6049c1af6f93d9463f12f9c1e56682dfb53bbe78ecff70df6d7b4894fababde1c0b0
|
|
7
|
+
data.tar.gz: 7d7a236b033abd72b7a51b63568c4b24ab6c81910240209a7f620c9f9ace6a9b9fcda16428d45ec3e764bac2d3f1b7d0ef286015983a69487fc9446ceaba7aac
|
data/lib/app_store_info/app.rb
CHANGED
|
@@ -12,7 +12,7 @@ module AppStoreInfo
|
|
|
12
12
|
genre_ids: 'genreIds', price: 'price', currency: 'currency',
|
|
13
13
|
supported_devices: 'supportedDevices', company: 'artistName',
|
|
14
14
|
description: 'description', minimum_os_version: 'minimumOsVersion',
|
|
15
|
-
features: 'features'
|
|
15
|
+
features: 'features', languages: 'languageCodesISO2A'
|
|
16
16
|
|
|
17
17
|
def initialize(json)
|
|
18
18
|
read_json_accessors(json)
|
|
@@ -63,17 +63,25 @@ module AppStoreInfo
|
|
|
63
63
|
}.freeze
|
|
64
64
|
|
|
65
65
|
REGIONS = {
|
|
66
|
-
'Europe' => %w(
|
|
67
|
-
|
|
66
|
+
'Europe' => %w(
|
|
67
|
+
AL AT BY BE BG HR CY CZ DK EE FI FR DE GR HU IS IE IT LV LT LU MK MT MD NL NO PL PT RO RU
|
|
68
|
+
SK SI ES SE CH TR UA GB
|
|
69
|
+
),
|
|
68
70
|
|
|
69
|
-
'Africa, Middle East, and India' => %w(
|
|
70
|
-
|
|
71
|
+
'Africa, Middle East, and India' => %w(
|
|
72
|
+
DZ AO AM AZ BH BJ BW BF CV TD CG EG GM GH GW IN IL JO KE KW LB LR MG MW ML MR MU MZ NA NE
|
|
73
|
+
NG OM QA SA SN SC SL ZA SZ ST TZ TN UG AE YE ZW
|
|
74
|
+
),
|
|
71
75
|
|
|
72
|
-
'Latin America and the Caribbean' => %w(
|
|
73
|
-
GT GY HN JM MX MS NI PA PY PE LC KN
|
|
76
|
+
'Latin America and the Caribbean' => %w(
|
|
77
|
+
AI AG AR BS BB BZ BM BO BR KY CL CO CR DM DO EC SV GD GT GY HN JM MX MS NI PA PY PE LC KN
|
|
78
|
+
VC SR TT TC UY VE VG
|
|
79
|
+
),
|
|
74
80
|
|
|
75
|
-
'Asia Pacific' => %w(
|
|
76
|
-
SB LK TW TJ TH TM
|
|
81
|
+
'Asia Pacific' => %w(
|
|
82
|
+
AU BT BN KH CN FJ HK ID JP KZ KR KG LA MO MY FM MN NP NZ PK PW PG PH SG SB LK TW TJ TH TM
|
|
83
|
+
UZ VN
|
|
84
|
+
),
|
|
77
85
|
|
|
78
86
|
'The United States and Canada' => %w(CA US)
|
|
79
87
|
}
|