sps_king 0.6.1 → 0.7.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: 63d92e8383a7b5520b7429afbf3301edf537977a897ce5e2216cf36eda60351b
4
- data.tar.gz: 8dc27a90b8be5acf9f9db56c06b5fea062c4f28c8f456e0fe9dd69cc8cda1c15
3
+ metadata.gz: 31b32c348bef762b07d56477514a4a2bfd8e8f0e3747efc868dfc87c5c2d2611
4
+ data.tar.gz: a35d23dcca002639fe9fd1f81ef31c9da0fdb1211b5c3486f6d563451ad10fb9
5
5
  SHA512:
6
- metadata.gz: c45231ce09520b5e0734c0ec61774f2c93e251b051bd1ecc05e876d9699ba9bf3d4297a24f15a4ce937503f2d738382443c4a583695f3d44b688a213bfe97ed7
7
- data.tar.gz: 9038635798165df9d3efefa5ad934b56ebf03d5c0a29acca02d94aefcb92035a1cc519487cc1e438157cc3a35fd0385f2456519443a1c0a1e6c908085996d798
6
+ metadata.gz: b1945d74086db0e92cb5ad8dae6e091d40df533fa77cc44c8e58057f1c9ccb1b48bc153cccde657de747ef882b4f886aa1d5c994c2f90022a4b340ba20a1c70d
7
+ data.tar.gz: 336173dab180c320bb5bb201ed7ef06463c2cd1a1bf09fb7b4b84947a33def1190432c5d6bc1d5951b4e0956fdc1f4b455c7ad59d880928905e48e6f3c7cb710
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## What's Changed in v0.7.0
2
+
3
+ * Add support for pain.001.001.09.ch.03 in [#20](https://github.com/viafintech/sps_king/pull/20)
4
+
5
+ **Full Changelog**: https://github.com/viafintech/sps_king/compare/v0.6.1...v0.7.0
6
+
1
7
  ## What's Changed in v0.6.1
2
8
  * Add support for execution with Ruby 4 [#21](https://github.com/viafintech/sps_king/pull/21)
3
9
 
data/LICENSE.txt CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2018-2024 viafintech GmbH
1
+ Copyright (c) 2018-2025 viafintech GmbH
2
2
 
3
3
  Copyright (c) 2013-2017 Georg Leciejewski (Sales King GmbH) & Georg Ledermann for portions of this project copied from sepa_king
4
4
 
data/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
  [![Gem Version](https://badge.fury.io/rb/sps_king.svg)](http://badge.fury.io/rb/sps_king)
5
5
 
6
6
  sps_king is a Ruby gem which implements **pain** (**Pa**yment **In**itiation) file building for the Swiss Payment Standard, which is a subset of the ISO 20022 standard.
7
- This is currently implemented in v1.8 for Swiss Credit Transfers (`pain.001.001.03.ch.02`) and v1.2 for Swiss Direct Debits (`pain.008.001.02.ch.03`).
7
+ This is currently implemented in v1.8 and v1.9 for Swiss Credit Transfers (`pain.001.001.03.ch.02`, `pain.001.001.09.ch.03`) and v1.2 for Swiss Direct Debits (`pain.008.001.02.ch.03`).
8
8
 
9
9
  If you are looking for SEPA **pain** file building, take a look at [sepa_king](https://github.com/salesking/sepa_king).
10
10
  This gem is forked of `sepa_king` and therefore heavily inspired by the structure and the API.
@@ -130,7 +130,7 @@ sdd.add_transaction(
130
130
  sdd.add_transaction ...
131
131
 
132
132
  # Last: create XML string
133
- xml_string = sdd.to_xml # Use latest schema pain.008.001.02.ch.03
133
+ xml_string = sdd.to_xml # Use default schema pain.008.001.02.ch.03
134
134
  ```
135
135
 
136
136
  ### Credit Transfer Initiation
@@ -242,7 +242,8 @@ sct.add_transaction(
242
242
  sct.add_transaction ...
243
243
 
244
244
  # Last: create XML string
245
- xml_string = sct.to_xml # Use latest schema pain.001.001.03.ch.02
245
+ xml_string = sct.to_xml # Use default schema pain.001.001.03.ch.02
246
+ xml_string = sct.to_xml('pain.001.001.09.ch.03') # Use pain.001.001.09.ch.03
246
247
  ```
247
248
 
248
249
  ## Changelog