portal_scraper 1.1.1 → 1.1.2
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: 482837b19f398e53105bbff8bff9dba223a563da10db64f0a8b44a26e7ff7ace
|
4
|
+
data.tar.gz: e3ba79a2d1b42e5e76b1d56142440b88b26c8fa76884ff3e6c3425a3bd2f9bf1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4e977caf1916e017478fca710350ad31fb6f25b4511a10c396200aabc0e634cb3cefc54155f80458a09d79168ae266c716e942ac682a67d9f277e560cdedf56d
|
7
|
+
data.tar.gz: a341421ec6f0ca479137673bfb1eebba78531ab99f2e30a7a1e78030f3880b0eb995d5c30aeb7eb805a8a697c49b9d8ce1d8da2489d1ee77e840cb3825b7c0a0
|
@@ -39,7 +39,7 @@ module PortalScraper
|
|
39
39
|
account = link.click
|
40
40
|
accounts_data[:accounts] << {
|
41
41
|
client_ref: find_table_value(account, 'Identifiant tiers'),
|
42
|
-
balance: account.search('table#contrat th.n').text.gsub(/[[:space:]]+/, '').to_f
|
42
|
+
balance: account.search('table#contrat th.n').text.gsub(/[[:space:]]+/, '').tr('.,', ',.').to_f
|
43
43
|
}
|
44
44
|
end
|
45
45
|
accounts_data
|