bsb 1.4.5 → 1.4.7

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: c6d0037fc7ddbb8d7380ebf1c722de0f2961d001eef4ac86028695edc4d6aa04
4
- data.tar.gz: 280b906d56a7e7b67c8564cc1841564a965604d88b595876701f90e58a5eadc3
3
+ metadata.gz: e2460bf7299e420d7a84a4c55cbfdeb730757c24f67a860c6ccc372cbd19adf1
4
+ data.tar.gz: b36f4636e2cddb909c00ab5b123f033e78b14984f95ca0d234f398d37d887bc5
5
5
  SHA512:
6
- metadata.gz: b7803f34b2e92ace8109d8af2ffac8c2601541fcfecabb5520751c167f9befe2f101a0c43844c12c27f7c77b003e447537941a342362b8843cff5437c7d91a8d
7
- data.tar.gz: e566106856adae9867e1f86a4c15e2df08515020191adfcce13f5218a78781a0b2e25bf5bb154a1a50c58860c4b8f07ce41cfaae785a46aee3314ceed5d0d35d
6
+ metadata.gz: 8982ed1b3ca4686d3465ff99ab35debc5b213d58158be8d0ea2bad1d6c9c3fbb57f97f7099d2438d2c2b4628ce8fcf12f3846525c36e7c6e72e89a25d52fd07c
7
+ data.tar.gz: 569035ccab7ce03858fc37516976f10afe5f392b2543d1d46543e3cd2c90fc690cbf8e12aa4ace02100caa0e18274c16ffaf764a678fecc33288a48fdc6ef056
@@ -19,11 +19,17 @@ jobs:
19
19
  with:
20
20
  bundler-cache: true
21
21
 
22
+ - name: Fetch latest key file
23
+ run: bundle exec rake bsb:fetch_key_file[./tmp/key.csv]
24
+
25
+ - name: Update BSB Bank List
26
+ run: bundle exec rake bsb:sync_bank_list[./tmp/key.csv]
27
+
22
28
  - name: Fetch latest contents
23
29
  run: bundle exec rake bsb:sync_bsb_db
24
30
 
25
31
  - name: Remove latest_update file
26
- run: rm -f config/latest_update.json
32
+ run: rm -f config/latest_update.json && rm -f ./tmp/key.csv
27
33
 
28
34
  - name: Create Pull Request
29
35
  uses: peter-evans/create-pull-request@v7
@@ -1 +1 @@
1
- {".":"1.4.5"}
1
+ {".":"1.4.7"}
data/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.4.7](https://github.com/coinjar/bsb/compare/v1.4.6...v1.4.7) (2025-11-09)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * Update BSB Database ([#117](https://github.com/coinjar/bsb/issues/117)) ([27c3167](https://github.com/coinjar/bsb/commit/27c3167232c7ce1c8cc746ce000db35d24bec961))
9
+
10
+ ## [1.4.6](https://github.com/coinjar/bsb/compare/v1.4.5...v1.4.6) (2025-11-07)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * Update BSB Database ([#112](https://github.com/coinjar/bsb/issues/112)) ([1027f3b](https://github.com/coinjar/bsb/commit/1027f3b447affd49a0791f912e8adfa9be2ac121))
16
+
3
17
  ## [1.4.5](https://github.com/coinjar/bsb/compare/v1.4.4...v1.4.5) (2025-10-08)
4
18
 
5
19
 
data/Gemfile CHANGED
@@ -9,7 +9,8 @@ gem 'bundler', '~> 2.0'
9
9
  gem 'csv'
10
10
  gem 'faraday'
11
11
  gem 'minitest-stub-const'
12
- gem 'net-ftp', '~> 0.1.3'
13
12
  gem 'rake', '~> 13.0'
14
13
  gem 'rubocop'
15
14
  gem 'vcr'
15
+
16
+ gem 'faraday-follow_redirects', '~> 0.4.0'
data/README.md CHANGED
@@ -63,22 +63,18 @@ Included in this gem is also a set of Rake tasks to generate the JSON-formatted
63
63
 
64
64
  Two data sources are used:
65
65
 
66
+ * APCA [Key to Abbreviations](https://bsb.auspaynet.com.au/) and BSB Number (Checked monthly, rarely changes)
66
67
  * APCA BSB directory (Updated monthly. This gem will track the changes and push gem updates as frequently as my time allows.)
67
- * APCA Key to Abbreviations and BSB Number (No regular updates)
68
68
 
69
69
  Other formats of APCA BSB data is available from http://bsb.apca.com.au.
70
70
 
71
71
  ## Update BSB Bank List
72
72
 
73
- At the moment BSB data is a manual download from the Auspaynet site [here](https://bsb.auspaynet.com.au/).
74
-
75
- You will need to download the Key to Abbreviations and BSB Number file and place it in `tmp/`:
76
- - `Reference Documents` button > `Key to Abbreviations and BSB Number` in CSV format.
77
-
78
73
  Run the sync task with the files to complete sync of the latest data:
79
74
 
80
75
  ```sh
81
- rake bsb:sync_bank_list['tmp/key to abbreviations and bsb numbers (august 2024).csv']
76
+ rake bsb:fetch_key_file['tmp/key.csv']
77
+ rake bsb:sync_bank_list['tmp/key.csv']
82
78
  ```
83
79
 
84
80
  Browse the list of database changes, make a few queries on the website to ensure the results are the same.