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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9e8b7799cae1e5018367e722f35b0c1bb22dae5bd4405cbc1e20319b7b6fd9d9
4
- data.tar.gz: 68b9c98144244ffe4bc0c14eb499595884c9e5a3bffc3b866c7484363ba28cea
3
+ metadata.gz: 1878f447c68ac5fc43e6982352185cfba05604eae3aaa849542e64e489e012fa
4
+ data.tar.gz: 9e1127f5f592781198af0bd5a986dbcbd07ffd409c183d6a879a9dc3ec47f126
5
5
  SHA512:
6
- metadata.gz: 59fcd1b13e6f05cc96ff15056e54bd44565a2ee236c79568d1a341632747971fd6c9f42e29df8e4fd0970ed2a006fce28f2c1c3ed700876fad2badb66d48e949
7
- data.tar.gz: 38405561fc456dcd62b48e0bb32529d4a8ef08ef75ec6e8b6a56fd6bee006a07dfcf9c159bfad35ef40f2e8612dd4bd5a5ffb5cb4ed07a6b9f49d9c95b4ebd19
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
@@ -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)
@@ -2,5 +2,5 @@
2
2
  # BoqComAu::VERSION
3
3
 
4
4
  module BoqComAu
5
- VERSION = '0.0.2'
5
+ VERSION = '0.0.3'
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: boq_com_au
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - thoran