portal_scraper 1.4.0 → 1.4.1
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 +1 -1
- data/lib/portal_scraper/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 528699b1216ea500430d60e2c094d1338e27a2541bd58d2913829da810b70ef5
|
4
|
+
data.tar.gz: ce9ba88cf06971c5cf3999c87bb0b981e126922ed457950ca29937acbc33650a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6bd226eddbf651b826a0c209fb546cdf4d603000fc216b0c35c191679e6fc9976ba83b209482203a248dd0488639ddc8fcca913f017efa997ea8fa7846516654
|
7
|
+
data.tar.gz: 2a556200ae1fad277e399351928a2b0be6f5fef24794ac39bb6a2c0c28d1ae4ce68d9d2ac648ca14afd259020294aea1914d78610a31837b17c792fffd813c7f
|
@@ -33,7 +33,7 @@ module PortalScraper
|
|
33
33
|
app.get(url_for('/appTiersCreation.do')) do |create_page|
|
34
34
|
create_page.form_with(name: /(create|creation)/i) do |form|
|
35
35
|
form.fields.each { |f| try_form_fields(form, [f.name], user[f.name.to_sym]) }
|
36
|
-
fill_commune(app, form, user[:codePostal], user[:ville])
|
36
|
+
fill_commune(app, form, user[:codePostal], user[:ville].gsub('-', ' ').upcase.sub('SAINT', 'ST'))
|
37
37
|
fill_birth_place(form, user[:paysNaissance])
|
38
38
|
form['modeContact'] = ''
|
39
39
|
form['creerTiers'] = 'Créer'
|