portal_scraper 1.2.2 → 1.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/portal_scraper/accounts/client.rb +2 -2
- data/lib/portal_scraper/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5652460df11dd2c25bd5628b991eb3b0f2e62d02b2c4717c966b23d6bb4885ca
|
4
|
+
data.tar.gz: 83d7985aa78c0ead3a8fbedd939a48a052667dd2e94b42f420cc1f02b27ce6af
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3912e4709b6076e71e4c510be4b558a8ca6814fec5fc3c0aa1b82742b6c4b17307a362f9c908ff79c9dfe3600e3a17f6c55016ab2416ce452e1ab6ee212b8fc9
|
7
|
+
data.tar.gz: c1d94dd080fe873a7892b9f81d63b447f4a8a8d66f990c5bfe14ff0d892a9667098f575e1fb38d15829e48c185a0143c5631f902a1b08ecdab55e07543af71ba
|
@@ -89,8 +89,8 @@ module PortalScraper
|
|
89
89
|
|
90
90
|
def fill_birth_place(form, country_code)
|
91
91
|
form['paysNaissance'] = country_code
|
92
|
-
form['libPaysNaissance'] = CODE_TO_COUNTRY_MAPPING
|
93
|
-
form['territoireNaissance'] = CODE_TO_COUNTRY_MAPPING
|
92
|
+
form['libPaysNaissance'] = CODE_TO_COUNTRY_MAPPING.dig(country_code, 'name')
|
93
|
+
form['territoireNaissance'] = CODE_TO_COUNTRY_MAPPING.dig(country_code, 'category')
|
94
94
|
end
|
95
95
|
|
96
96
|
def find_table_value(node, column_name)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: portal_scraper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Armand Mégrot
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-04-
|
11
|
+
date: 2019-04-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mechanize
|