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 +4 -4
- data/.github/workflows/update_bsb_db.yml +7 -1
- data/.release-please-manifest.json +1 -1
- data/CHANGELOG.md +14 -0
- data/Gemfile +2 -1
- data/README.md +3 -7
- data/config/bsb_db.json +3161 -1973
- data/lib/bsb/bank_list_generator.rb +1 -1
- data/lib/bsb/version.rb +1 -1
- data/lib/tasks/bsb_tasks.rake +29 -0
- data/test/fixtures/vcr_cassettes/fetch_key_file.yml +156 -0
- data/test/tasks/bsb_tasks_test.rb +52 -0
- data/test/test_helper.rb +3 -1
- metadata +4 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e2460bf7299e420d7a84a4c55cbfdeb730757c24f67a860c6ccc372cbd19adf1
|
|
4
|
+
data.tar.gz: b36f4636e2cddb909c00ab5b123f033e78b14984f95ca0d234f398d37d887bc5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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.
|
|
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
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:
|
|
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.
|