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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2d955f16ec3fc0d202a414fb9bffe2056ccbc9e6ab89a17e39074c9b72672b75
4
- data.tar.gz: 5666f797c7c73c0d36a1f8f5435b855103ec3a1ebfe7b2918cc081a2d4d4b94e
3
+ metadata.gz: 528699b1216ea500430d60e2c094d1338e27a2541bd58d2913829da810b70ef5
4
+ data.tar.gz: ce9ba88cf06971c5cf3999c87bb0b981e126922ed457950ca29937acbc33650a
5
5
  SHA512:
6
- metadata.gz: d660fa624051947f57a56599f1c1304309f5af7bd78755c0117d2f38480040d56bff11bd873f35d2671f4bb6e16c070a63626923af3dc24fcea51d2c84a305ab
7
- data.tar.gz: a4204632ed78023b53cc626184d86ce24b4fb823533f55e2fea74ce18a82604f36be8c90fd2d26eab37db77d817955984a1821fe1d885bc68e9d95aa621dcce4
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'
@@ -2,7 +2,7 @@ module PortalScraper
2
2
  class Version
3
3
  MAJOR = 1
4
4
  MINOR = 4
5
- PATCH = 0
5
+ PATCH = 1
6
6
 
7
7
  def self.to_s
8
8
  [MAJOR, MINOR, PATCH].compact.join('.')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: portal_scraper
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Armand Mégrot