boq_com_au 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG +5 -0
- data/lib/BoqComAu/Account.rb +0 -14
- data/lib/BoqComAu/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: 1878f447c68ac5fc43e6982352185cfba05604eae3aaa849542e64e489e012fa
|
|
4
|
+
data.tar.gz: 9e1127f5f592781198af0bd5a986dbcbd07ffd409c183d6a879a9dc3ec47f126
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f4d30ffaaf0d48874655dfb1cf23a5d11748374be4ad2c9bb8a39073db5fa6e5e750e26945514b2c0b6fca71a3a460a534866dc9bc5e99535620d34c7e0a7b51
|
|
7
|
+
data.tar.gz: c4fe46849427efb5c5d8d7d4aeeda21cb9b01ff69b974182f15dbd8d8083302fc6ef333aa37be6e316db4883040afdd51454f49580e63069670aba8621feef11
|
data/CHANGELOG
CHANGED
|
@@ -2,6 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
## 20261103
|
|
4
4
|
|
|
5
|
+
0.0.3: BoqComAu::Account#login is WebAccount's, which waits for the log off link.
|
|
6
|
+
|
|
7
|
+
1. - BoqComAu::Account#login, #logon
|
|
8
|
+
2. ~ BoqComAu::VERSION: /0.0.2/0.0.3/
|
|
9
|
+
|
|
5
10
|
0.0.2: BoqComAu::Account#shutdown is WebAccount 0.6.1's, which quits the browser even where logging out fails.
|
|
6
11
|
|
|
7
12
|
1. - BoqComAu::Account#shutdown
|
data/lib/BoqComAu/Account.rb
CHANGED
|
@@ -28,20 +28,6 @@ module BoqComAu
|
|
|
28
28
|
@password || raise("No password: it's given as password:.")
|
|
29
29
|
end
|
|
30
30
|
|
|
31
|
-
def login(username: nil, password: nil)
|
|
32
|
-
@logged_in = false
|
|
33
|
-
username ||= self.username
|
|
34
|
-
password ||= self.password
|
|
35
|
-
driver.attempt do
|
|
36
|
-
get_login_page
|
|
37
|
-
enter_username(username)
|
|
38
|
-
enter_password(password)
|
|
39
|
-
login_page_submit_button.click
|
|
40
|
-
end
|
|
41
|
-
@logged_in = driver_wait.until{!driver.element_present?(:id, 'btnSignIn')}
|
|
42
|
-
end
|
|
43
|
-
alias_method :logon, :login
|
|
44
|
-
|
|
45
31
|
private
|
|
46
32
|
|
|
47
33
|
def initialize(username: nil, password: nil, chrome_profile_directory: nil, browser: nil, driver_options: nil)
|
data/lib/BoqComAu/VERSION.rb
CHANGED