hsbc_latest_download 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/certs/mattfawcett.pem +24 -20
- data/hsbc_latest_download-0.3.1.gem +0 -0
- data/lib/hsbc_latest_download/download.rb +3 -2
- data/lib/hsbc_latest_download/version.rb +1 -1
- metadata +28 -23
- metadata.gz.sig +3 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 96a528eb170aecee18393a03db3c43f371015f1b573e8ba03cbadd74b3a21e80
|
4
|
+
data.tar.gz: b8d43d105f4633780785d2d1a1c4bfa91a21e2d2f752bc5d64f7ed7bedf04b6c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 60b2e7c67c32a47d76e8ba255ed43961273cb39ebd002657a8c0176aa398e8c492b32e24e0a03ae32531bc127f9bcbaecd4cd8e4e64d8080a33a1bec5d791f81
|
7
|
+
data.tar.gz: 737222664678a380434ef1e39e3ac81f9c39f17fdcb4a26f1b7c66dd4700e3771d1c934e4f5a4825879fb7617ce31b7a0c6477dcff846043ebbe9c8519b941ce
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/certs/mattfawcett.pem
CHANGED
@@ -1,22 +1,26 @@
|
|
1
1
|
-----BEGIN CERTIFICATE-----
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
2
|
+
MIIEXDCCAsSgAwIBAgIBATANBgkqhkiG9w0BAQsFAD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W+W8vnx6leNJjjhq1KOK61enwt2Dm9I8K5p
|
18
|
+
/dZMx/PzUwKBcO3B4d35pil8GXNXhAqSxKrWocHPli1I+bnIaUqhcWQpAEXg4AAR
|
19
|
+
+f5GKUXm1p4+vkHuikinvIMjc1+e4FLcgg3aI0kEhPYUrO8THzX8mZ0up+NxmCye
|
20
|
+
4E3K1ZRIHMruV+ZXbX5FJwkPv3QbW8tT2YJUHuQpV9e54sFI/nlfGL2/g2kC4Xf+
|
21
|
+
q6k6Rq1o+MuGj4mGtDS+w05ILL5jZ1k+dmLdebwKk5gACwiqwpVwy46cv76sAKu5
|
22
|
+
A6iyORHIwP78FJsIqj3q5fxHE4KZK74wjEQPEFUOI8GNANZhN89si1dTGV7Z3XUa
|
23
|
+
1lJUIs1AxDEAsCwzk4XimgC/g9lqNavDUO532PIUtOHVhFkJwmUolAp4vWXyt6Sl
|
24
|
+
n1Ip2u08JWmBXVNkJLtNR9UQgR901iKI01z44EyZp+m5xwwKMcNQCm8dRgoeJ8QO
|
25
|
+
Qev/b5QUG7nL/HCqc/0f5Q==
|
22
26
|
-----END CERTIFICATE-----
|
Binary file
|
@@ -14,7 +14,8 @@ module HsbcLatestDownload
|
|
14
14
|
|
15
15
|
wait = Selenium::WebDriver::Wait.new(:timeout => 10)
|
16
16
|
|
17
|
-
driver.find_element(
|
17
|
+
wait.until { driver.find_element(:class => 'login-button') }
|
18
|
+
driver.find_element(class: 'login-button').click
|
18
19
|
|
19
20
|
wait.until { driver.find_element(:name => 'userid') }
|
20
21
|
element = driver.find_element(:name, 'userid')
|
@@ -45,9 +46,9 @@ module HsbcLatestDownload
|
|
45
46
|
within_modal = "//div[contains(concat(' ',normalize-space(@class),' '),' dijitDialogFixed ')]"
|
46
47
|
wait.until { driver.find_element(:xpath => "#{within_modal}//input[@value='ofx']") }
|
47
48
|
driver.find_element(:xpath, "#{within_modal}//input[@value='ofx']").click
|
49
|
+
sleep 1
|
48
50
|
|
49
51
|
driver.find_element(:xpath, "#{within_modal}//button[@data-dojo-attach-point='dapDownloadBtn']").click
|
50
|
-
|
51
52
|
sleep 10
|
52
53
|
|
53
54
|
driver.find_element(partial_link_text: 'Log off').click
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hsbc_latest_download
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Fawcett
|
@@ -10,28 +10,32 @@ bindir: exe
|
|
10
10
|
cert_chain:
|
11
11
|
- |
|
12
12
|
-----BEGIN CERTIFICATE-----
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
13
|
+
MIIEXDCCAsSgAwIBAgIBATANBgkqhkiG9w0BAQsFADAtMSswKQYDVQQDDCJtYWls
|
14
|
+
L0RDPW1hdHRoZXdmYXdjZXR0L0RDPWNvL0RDPXVrMB4XDTE4MDIyODE0MzgyM1oX
|
15
|
+
DTE5MDIyODE0MzgyM1owLTErMCkGA1UEAwwibWFpbC9EQz1tYXR0aGV3ZmF3Y2V0
|
16
|
+
dC9EQz1jby9EQz11azCCAaIwDQYJKoZIhvcNAQEBBQADggGPADCCAYoCggGBALZH
|
17
|
+
2u4KhL1f2p5YTpNJfqHFYpjclOy1SNG4pxpb4XSVvZq4+YPvq5kr8zXrXn0TieeU
|
18
|
+
DRpZtW3IhBB9xYj5cZw9K7IajdDqmYtWhaX+JG/vb7RbtZwY50yrE168S6FKYPI/
|
19
|
+
lKI/yEyCQTWvFzdGrHI5x06WBC6nQeoSV/sYX5RtL8rUbsSYe3KoK2SyEkyd5J1j
|
20
|
+
WbzaS2EgHjWctVa1zxQYy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JWmBXVNkJLtNR9UQgR901iKI01z44EyZp+m5xwwKMcNQCm8dRgoeJ8QO
|
36
|
+
Qev/b5QUG7nL/HCqc/0f5Q==
|
33
37
|
-----END CERTIFICATE-----
|
34
|
-
date:
|
38
|
+
date: 2018-02-28 00:00:00.000000000 Z
|
35
39
|
dependencies:
|
36
40
|
- !ruby/object:Gem::Dependency
|
37
41
|
name: selenium-webdriver
|
@@ -92,6 +96,7 @@ files:
|
|
92
96
|
- bin/setup
|
93
97
|
- certs/mattfawcett.pem
|
94
98
|
- exe/hsbc_latest_download
|
99
|
+
- hsbc_latest_download-0.3.1.gem
|
95
100
|
- hsbc_latest_download.gemspec
|
96
101
|
- lib/hsbc_latest_download.rb
|
97
102
|
- lib/hsbc_latest_download/download.rb
|
@@ -116,7 +121,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
116
121
|
version: '0'
|
117
122
|
requirements: []
|
118
123
|
rubyforge_project:
|
119
|
-
rubygems_version: 2.
|
124
|
+
rubygems_version: 2.7.3
|
120
125
|
signing_key:
|
121
126
|
specification_version: 4
|
122
127
|
summary: Download latest hsbc transactions as OFX
|
metadata.gz.sig
CHANGED
@@ -1 +1,3 @@
|
|
1
|
-
|
1
|
+
�I7(BH��b�H��(�#ca��\�8PӃ�������y�pա��O�A��π��t�B,�oi���,���:/�$9���0MJ9�}��=Sk���iS�5�gG啻S�mOݩ��lX6��A�Ζal�q��D��6oA)&m;e�_�U�KO���7�X��3���ho��TG�7���Y�����}WGy=m�{�榫��)�AFbI8l
|
2
|
+
�s��݅P0`;�X�"��sR�[������I8�
|
3
|
+
�����{��������Na���U�g���vd������$�����%�9�NJ�O`���s��m)�t��z~��Q��
|