verifiabl-issuer 0.5.0 → 0.6.0
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.md +14 -0
- data/README.md +1 -1
- data/lib/verifiabl/issuer/generated/non-pii-v2-fields.json +6 -10
- data/lib/verifiabl/issuer/generated/v2_codes.rb +8 -0
- data/lib/verifiabl/issuer/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 38a29453b60641c65dce6fa59db036553e682fba8522515ff219292fd050a840
|
|
4
|
+
data.tar.gz: 0fefd2221e50f281d566c4e9288431f57e1f6516c9b3dbd1e0cf8907725a2121
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b55577426409f44798777c70be3e21bff6f4280d072b9502bee0662f53dd0b43c98650d920f68ea1b120dc1450b43c8f5acfca4f7dbc076cf55e140a5798e16b
|
|
7
|
+
data.tar.gz: de6f5b281c1c0dbbb603e57d35e3896105a39d5758bf1c9effd6d4c79f28b82980f9ce757200403b095a78c96d79b243817fac8ff4c70056749977a3b9488fd9
|
data/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,20 @@ All notable changes to the Verifiabl Ruby SDK will be documented in this file.
|
|
|
4
4
|
|
|
5
5
|
## Unreleased
|
|
6
6
|
|
|
7
|
+
## [0.6.0] - 2026-10-13
|
|
8
|
+
|
|
9
|
+
### Changed
|
|
10
|
+
|
|
11
|
+
- **Breaking:** AU2 and NZ2 payloads replace `hourly` and `annual_rate` with
|
|
12
|
+
`base_rate`, the base rate the payslip prints apart from the earnings lines:
|
|
13
|
+
`{amount: "450.00", per: "day"}`. `per` is one of
|
|
14
|
+
`PayslipCodes::Australian::BASE_RATE_PERIODS` or
|
|
15
|
+
`PayslipCodes::NewZealand::BASE_RATE_PERIODS`. AU takes `hour`, `day` or
|
|
16
|
+
`year`; NZ also takes `week`. To migrate, send the printed annual rate as
|
|
17
|
+
`base_rate` with `per: "year"`, and a printed hourly rate as `base_rate`
|
|
18
|
+
with `per: "hour"`. Send hours and amounts only on `ordinary` earnings
|
|
19
|
+
lines. The API still accepts the old fields from earlier SDK versions.
|
|
20
|
+
|
|
7
21
|
## [0.5.0] - 2026-10-09
|
|
8
22
|
|
|
9
23
|
### Added
|
data/README.md
CHANGED
|
@@ -13,12 +13,10 @@
|
|
|
13
13
|
"employment_basis": null,
|
|
14
14
|
"engagement_type": null,
|
|
15
15
|
"award": null,
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"amount": "decimal"
|
|
16
|
+
"base_rate": {
|
|
17
|
+
"amount": "decimal",
|
|
18
|
+
"per": null
|
|
20
19
|
},
|
|
21
|
-
"annual_rate": "decimal",
|
|
22
20
|
"taxable_gross": "decimal",
|
|
23
21
|
"stsl_withholding": "decimal",
|
|
24
22
|
"earnings": [
|
|
@@ -82,12 +80,10 @@
|
|
|
82
80
|
"tax_code": null,
|
|
83
81
|
"employment_type": null,
|
|
84
82
|
"hours_paid": "decimal",
|
|
85
|
-
"
|
|
86
|
-
"
|
|
87
|
-
"
|
|
88
|
-
"amount": "decimal"
|
|
83
|
+
"base_rate": {
|
|
84
|
+
"amount": "decimal",
|
|
85
|
+
"per": null
|
|
89
86
|
},
|
|
90
|
-
"annual_rate": "decimal",
|
|
91
87
|
"earnings_not_liable_for_acc": "decimal",
|
|
92
88
|
"earnings": [
|
|
93
89
|
{
|
|
@@ -40,6 +40,10 @@ module Verifiabl
|
|
|
40
40
|
PAY_FREQUENCIES = %w[
|
|
41
41
|
weekly fortnightly monthly quarterly four_weekly semi_monthly
|
|
42
42
|
].map!(&:freeze).freeze
|
|
43
|
+
|
|
44
|
+
BASE_RATE_PERIODS = %w[
|
|
45
|
+
hour day year
|
|
46
|
+
].map!(&:freeze).freeze
|
|
43
47
|
end
|
|
44
48
|
|
|
45
49
|
module NewZealand
|
|
@@ -62,6 +66,10 @@ module Verifiabl
|
|
|
62
66
|
LEAVE_BALANCE_UNITS = %w[
|
|
63
67
|
hours days weeks
|
|
64
68
|
].map!(&:freeze).freeze
|
|
69
|
+
|
|
70
|
+
BASE_RATE_PERIODS = %w[
|
|
71
|
+
hour day week year
|
|
72
|
+
].map!(&:freeze).freeze
|
|
65
73
|
end
|
|
66
74
|
end
|
|
67
75
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: verifiabl-issuer
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.6.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Verifiabl
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-10-
|
|
11
|
+
date: 2026-10-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: base64
|