westpac_com_au 0.6.0 → 0.6.1

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: 6c802d540cdab07de0bf66b0f599529a88b3b1e33089f78d0fbc05d505c3e32d
4
- data.tar.gz: 1c30e9a6f93983fc4f66de84e58643f2e5c1ab3e9d9b5d86116dbb198ac75a05
3
+ metadata.gz: 8553ad989a56d55230e2d87f5e5b113757bbdd58dd0c980e3d26228171380478
4
+ data.tar.gz: ddc5a8b1eebb90eb798f4e3ae9a8a96ce84c3ac47e564f92e990d92250f4cd1c
5
5
  SHA512:
6
- metadata.gz: 379229a73a35a6d5f5cfa01daca3830db0fed959aa31c013e57c44e91e64f8948e89d7637ee89012220534a33506492b60636fb5680708eb9167ae4c394103d2
7
- data.tar.gz: 686dfc31312f391deed97a193dbfb35824826daa7527c57ee374ebd6cc87c44fe0bc8fa2097ab00197039b42112b17e250b3f570ecf00cb382f3b3611b15bdae
6
+ metadata.gz: d6c6d1d55abc6492efaf5fe8d1df3725f4a07d31afa6801f28f9124a4ece67385a734033cf44e8993c1f3748092168c38bfc7dbf8677be80f9f78290bcbf13a6
7
+ data.tar.gz: 238e274515d2d3c3019f0c0e3a703cc38908476a8c6ba52bcc6e72bd8ab15d4847618b9aec5e2dc0c7f0bba2fb601a7037de380c7b531493d69fa4ce502e1141
data/CHANGELOG CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  ## 20261116
4
4
 
5
+ 0.6.1: - WestpacComAu::Account#login, #validate_args: Now uses superclass WebAccount.
6
+
7
+ 1. ~ westpac_com_au.gemspec: webaccount /'~> 0.9'/'~> 0.10'/
8
+ 2. - WestpacComAu::Account#login, WebAccount 0.10.0's naming every missing value at once.
9
+ 3. - WestpacComAu::Account#validate_args, WebAccount 0.10.0's being inherited.
10
+ 4. ~ WestpacComAu::VERSION: /0.6.0/0.6.1/
11
+
5
12
  0.6.0: Ready for publishing.
6
13
 
7
14
  1. + westpac_com_au.gemspec
@@ -35,11 +35,6 @@ module WestpacComAu
35
35
  export_button: {css: 'button.export-link'}
36
36
  }
37
37
 
38
- def login(username: nil, password: nil)
39
- validate_args(username: username || self.username, password: password || self.password)
40
- super
41
- end
42
-
43
38
  # period is :all, the last year, or :last_month. Without it, from_date and to_date, which default to a year ago and today. Returns the name of the CSV file downloaded.
44
39
  def download_transactions(account_number:, period: nil, from_date: nil, to_date: nil)
45
40
  from_date, to_date = dates(period: period, from_date: from_date, to_date: to_date)
@@ -52,17 +47,6 @@ module WestpacComAu
52
47
 
53
48
  private
54
49
 
55
- def validate_args(args)
56
- missing_args = []
57
- args.each do |arg_name, value|
58
- missing_args << arg_name unless value
59
- end
60
- return if missing_args.empty?
61
- aggregate_error = missing_args.join(', ')
62
- copula = missing_args.count > 1 ? 'are' : 'is'
63
- raise ArgumentError, "#{aggregate_error} #{copula} missing."
64
- end
65
-
66
50
  # cookie notice
67
51
 
68
52
  # Didomi draws its notice once the page has loaded, so it's waited for briefly. Where the choice is remembered, as in a profile kept between runs, there's none.
@@ -2,5 +2,5 @@
2
2
  # WestpacComAu::VERSION
3
3
 
4
4
  module WestpacComAu
5
- VERSION = '0.6.0'
5
+ VERSION = '0.6.1'
6
6
  end
@@ -38,7 +38,7 @@ Gem::Specification.new do |spec|
38
38
 
39
39
  spec.dependencies = [
40
40
  ['selenium-webdriver', '>= 4.0'],
41
- ['webaccount', '~> 0.9']
41
+ ['webaccount', '~> 0.10']
42
42
  ]
43
43
 
44
44
  spec.development_dependencies = %w{
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: westpac_com_au
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - thoran
@@ -29,14 +29,14 @@ dependencies:
29
29
  requirements:
30
30
  - - "~>"
31
31
  - !ruby/object:Gem::Version
32
- version: '0.9'
32
+ version: '0.10'
33
33
  type: :runtime
34
34
  prerelease: false
35
35
  version_requirements: !ruby/object:Gem::Requirement
36
36
  requirements:
37
37
  - - "~>"
38
38
  - !ruby/object:Gem::Version
39
- version: '0.9'
39
+ version: '0.10'
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: minitest
42
42
  requirement: !ruby/object:Gem::Requirement