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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: f1b8be2f54422da1817f6b8d26016b50e043bf34
4
- data.tar.gz: 5231602b200700f87cd94e834b5bbe7c9596dca6
2
+ SHA256:
3
+ metadata.gz: 96a528eb170aecee18393a03db3c43f371015f1b573e8ba03cbadd74b3a21e80
4
+ data.tar.gz: b8d43d105f4633780785d2d1a1c4bfa91a21e2d2f752bc5d64f7ed7bedf04b6c
5
5
  SHA512:
6
- metadata.gz: 9b575a32f92415d8218497dc17b2672e652a2a2823aa671686b26e3d2acf820d9b7dfa7265314463859e857d5581919cf2b201b84ceb3f77e186e0d89231409d
7
- data.tar.gz: e6bf517a04f231b1d8317cf52c31b56752c6226f2c9fcd1de75feca97108584faa8bd7758ac1322105f7c5875a5940f3f7caa8d64d22e814d68985b1f5a95f14
6
+ metadata.gz: 60b2e7c67c32a47d76e8ba255ed43961273cb39ebd002657a8c0176aa398e8c492b32e24e0a03ae32531bc127f9bcbaecd4cd8e4e64d8080a33a1bec5d791f81
7
+ data.tar.gz: 737222664678a380434ef1e39e3ac81f9c39f17fdcb4a26f1b7c66dd4700e3771d1c934e4f5a4825879fb7617ce31b7a0c6477dcff846043ebbe9c8519b941ce
checksums.yaml.gz.sig CHANGED
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -1,22 +1,26 @@
1
1
  -----BEGIN CERTIFICATE-----
2
- MIIDsDCCApigAwIBAgIBATANBgkqhkiG9w0BAQUFADBXMQ0wCwYDVQQDDARtYWls
3
- MR4wHAYKCZImiZPyLGQBGRYObWF0dGhld2Zhd2NldHQxEjAQBgoJkiaJk/IsZAEZ
4
- FgJjbzESMBAGCgmSJomT8ixkARkWAnVrMB4XDTE2MDczMTA5MTMyMloXDTE3MDcz
5
- MTA5MTMyMlowVzENMAsGA1UEAwwEbWFpbDEeMBwGCgmSJomT8ixkARkWDm1h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leNJjjhq1KOK61enwt2Dm9I8K5p
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(partial_link_text: 'Log on').click
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
@@ -1,3 +1,3 @@
1
1
  module HsbcLatestDownload
2
- VERSION = "0.3.1"
2
+ VERSION = "0.3.2"
3
3
  end
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.1
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
- MIIDsDCCApigAwIBAgIBATANBgkqhkiG9w0BAQUFADBXMQ0wCwYDVQQDDARtYWls
14
- MR4wHAYKCZImiZPyLGQBGRYObWF0dGhld2Zhd2NldHQxEjAQBgoJkiaJk/IsZAEZ
15
- FgJjbzESMBAGCgmSJomT8ixkARkWAnVrMB4XDTE2MDczMTA5MTMyMloXDTE3MDcz
16
- MTA5MTMyMlowVzENMAsGA1UEAwwEbWFpbDEeMBwGCgmSJomT8ixkARkWDm1hdHRo
17
- ZXdmYXdjZXR0MRIwEAYKCZImiZPyLGQBGRYCY28xEjAQBgoJkiaJk/IsZAEZFgJ1
18
- azCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMD79gWa1lNLhS4uyQdu
19
- W0a0wB7ovDJxVMbVWhXm086S9yi7Sb71NmpWZmaWB54eXS/IfBRFLiiJl9+7LEJ+
20
- xlpDXbOfQmHFHyt21ED0y5m9ixDBSpZux0HnWPEo3yDWwvg4jehuk7VpOsKCSpf9
21
- uX0GNDr4GsVZDp7KpVGVE5FjLdq+Scg0zCOY1kut5DOBw1sxbZC6xW7JjAlB8Rka
22
- NkMsFBA98sBAl1Pz+tn2e1Du7hV6OX72v3AncC5uchvLXO2SQxlhOxQxjqOaqogy
23
- yP8WLCN///eepc6ISpLemIUT4KHdRz9L8jKHErpuzaBiNtWIhcyv7MB7ZaMcrb8U
24
- Oh8CAwEAAaOBhjCBgzAJBgNVHRME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 Qev/b5QUG7nL/HCqc/0f5Q==
33
37
  -----END CERTIFICATE-----
34
- date: 2016-10-13 00:00:00.000000000 Z
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.5.1
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
- �Ӂ���;L?t�(�C��2��*�t�6�./40��|a��PoJT>4ofM�U;��d�=@��X����8w"��Z�ʻ�(��
1
+ I7(BH��bH��(�#ca��\�8PӃ�������y�pա��O�A��π��t�B,�oi���,���:/�$9���0MJ9�}��=Sk���iS�5�gG啻S�mOݩ��lX6��A�Ζalq��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��