portal_scraper 1.7.0 → 1.8.0
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 -1
- 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: 1939dee0f771654ced16cfc0b9df2d7fad0e95028579bf47fb0ec75216a437b1
|
4
|
+
data.tar.gz: 5ee3c84ca36f19d1684b23b0929975d7210e5bb2f3f002e700fd61e5a1e2bd7f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c2a171f87a5463ac205e4c7bd6f4140d1a2db0e84a6a3f2cddbf381010708f8013cb03803d277e3e41692120ccb3409b10fece235b82b6a6c9fc81055849a24d
|
7
|
+
data.tar.gz: 462c1a675eec28ec90f1089987305cbb3a25d2add2cea43425ba5bdd7010d24c78c37d7b2b6f4e5ebc1cd0d1b191ba7914df293a4a719d96a0b8f2d98e58ffa5
|
@@ -27,7 +27,8 @@ module PortalScraper
|
|
27
27
|
account = link.click
|
28
28
|
accounts_data[:accounts] << {
|
29
29
|
client_ref: find_table_value(account, 'Identifiant tiers'),
|
30
|
-
balance: account.search('table#contrat th.n').text.gsub(/[[:space:]]+/, '').tr('.,', ',.').to_f
|
30
|
+
balance: account.search('table#contrat th.n').text.gsub(/[[:space:]]+/, '').tr('.,', ',.').to_f,
|
31
|
+
opened_on: account.search('table#contrat td').text.gsub(/\d{2}\/\d{2}\/\d{4}/)&.max
|
31
32
|
}
|
32
33
|
end
|
33
34
|
|
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
|
+
version: 1.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Armand Mégrot
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2019-
|
12
|
+
date: 2019-12-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: mechanize
|