verifiabl-issuer 1.1.1 → 1.2.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: 90d677f2facac0c64e444f37c0284aa365a05a13bebf83753de619a29b291f48
4
- data.tar.gz: fe246495c9924ec99ea79851aba780748756be4f53d098663ae515483b885fb8
3
+ metadata.gz: 8cf3e66351726697654b88589061b28c82e190f467547b9bd073d6a5245f5050
4
+ data.tar.gz: 6d72b35c21f986926737005d094a8b0b9478fe8fdf371a7c76f21e8d1b2b11c1
5
5
  SHA512:
6
- metadata.gz: 3f2332139069ecfd58fe0bbdb0a14c5842627e177def6b2172420cfb8693e934d798e2a8c25335e59ddbd21c45a5954a979fe4726ae2176b63122484ee952f35
7
- data.tar.gz: 2958e2397b3a318ca4db2156ae4577d26457d0ddff9023bf3b2f0866d4fb5cf6bb92419d00d77b9a0459dd784282b76e5d869ae2de011550c829e751e178df5c
6
+ metadata.gz: 1bf0de98a23c28007861c6b4d2a2453bb7559e5f8559454d588c5acb55c77a5fffc035042d303e01d0e73c86da122c93094e732388608b627d422e8c50312c00
7
+ data.tar.gz: b342d904e02ba1aaec79bda866ecbc4061fdc2427b9c58fc20e65733b064d980ccf91c0b723e9cbb84ecbb7eb28317e667fd0bac872ba808e879d7c35085c359
data/CHANGELOG.md CHANGED
@@ -2,7 +2,14 @@
2
2
 
3
3
  All notable changes to the Verifiabl Ruby SDK will be documented in this file.
4
4
 
5
- ## Unreleased
5
+ ## [1.2.0] - 2026-11-03
6
+
7
+ ### Added
8
+
9
+ - AU2 `leave_balances`: `annual`, `personal` and `long_service`, each with its
10
+ accrual this period, as `{amount:, unit:}` with `unit` from
11
+ `PayslipCodes::Australian::LEAVE_BALANCE_UNITS` (`hours`, `days` or
12
+ `weeks`). Needs an API that accepts AU2 leave balances.
6
13
 
7
14
  ## [1.1.1] - 2026-10-28
8
15
 
@@ -58,6 +58,32 @@
58
58
  }
59
59
  ],
60
60
  "reimbursements": "decimal",
61
+ "leave_balances": {
62
+ "annual": {
63
+ "amount": "decimal",
64
+ "unit": null
65
+ },
66
+ "annual_accrued_this_period": {
67
+ "amount": "decimal",
68
+ "unit": null
69
+ },
70
+ "personal": {
71
+ "amount": "decimal",
72
+ "unit": null
73
+ },
74
+ "personal_accrued_this_period": {
75
+ "amount": "decimal",
76
+ "unit": null
77
+ },
78
+ "long_service": {
79
+ "amount": "decimal",
80
+ "unit": null
81
+ },
82
+ "long_service_accrued_this_period": {
83
+ "amount": "decimal",
84
+ "unit": null
85
+ }
86
+ },
61
87
  "ytd": {
62
88
  "taxable": "decimal",
63
89
  "super": "decimal",
@@ -44,6 +44,10 @@ module Verifiabl
44
44
  BASE_RATE_PERIODS = %w[
45
45
  hour day week fortnight month year
46
46
  ].map!(&:freeze).freeze
47
+
48
+ LEAVE_BALANCE_UNITS = %w[
49
+ hours days weeks
50
+ ].map!(&:freeze).freeze
47
51
  end
48
52
 
49
53
  module NewZealand
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Verifiabl
4
4
  module Issuer
5
- VERSION = "1.1.1"
5
+ VERSION = "1.2.0"
6
6
  end
7
7
  end
@@ -15,6 +15,7 @@ module Verifiabl
15
15
  ETP_TYPES: Array[String]
16
16
  ETP_COMPONENTS: Array[String]
17
17
  PAY_FREQUENCIES: Array[String]
18
+ LEAVE_BALANCE_UNITS: Array[String]
18
19
  end
19
20
 
20
21
  module NewZealand
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: 1.1.1
4
+ version: 1.2.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-28 00:00:00.000000000 Z
11
+ date: 2026-11-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: base64