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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 136cf6c7ac5d993f41d75c2f441cbea8329aef35ae57edadc70d3530dc8850dc
4
- data.tar.gz: e48d77fc6c7c06e77a4b58702bdd618dac3589a15428bbbc62abf5e3f3551821
3
+ metadata.gz: 38a29453b60641c65dce6fa59db036553e682fba8522515ff219292fd050a840
4
+ data.tar.gz: 0fefd2221e50f281d566c4e9288431f57e1f6516c9b3dbd1e0cf8907725a2121
5
5
  SHA512:
6
- metadata.gz: dd7911d0a278a7998ea615cfac226b999bfd386af07bfe4ab03628330711eb9568a61fe0ec0089f638c0f2602d9f5ff69897d9ceffbee4fe54fd8330fceb8e6b
7
- data.tar.gz: 1543207b85bb2e61c53625fc2a610a9b99d4c0dc1b560165e79456725ab07000b62a8e7354dc2b817a44b7e53b13815373388b81480d53fa19ca5b6e3a7f6584
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
@@ -9,7 +9,7 @@ client, RBS signatures, and packed-gem consumer qualification.
9
9
  Add the stable release to your bundle:
10
10
 
11
11
  ```ruby
12
- gem "verifiabl-issuer", "0.5.0"
12
+ gem "verifiabl-issuer", "0.6.0"
13
13
  ```
14
14
 
15
15
  Then run `bundle install`.
@@ -13,12 +13,10 @@
13
13
  "employment_basis": null,
14
14
  "engagement_type": null,
15
15
  "award": null,
16
- "hourly": {
17
- "ordinary_rate": "decimal",
18
- "hours": "decimal",
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
- "hourly": {
86
- "ordinary_rate": "decimal",
87
- "hours": "decimal",
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
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Verifiabl
4
4
  module Issuer
5
- VERSION = "0.5.0"
5
+ VERSION = "0.6.0"
6
6
  end
7
7
  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.5.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-09 00:00:00.000000000 Z
11
+ date: 2026-10-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: base64