adf_builder 1.5.1 → 1.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 +21 -0
- data/Gemfile.lock +1 -1
- data/lib/adf_builder/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d4f7eb58f009963ad99808c7becc1a626c71f9d47b547a6b2de1c57acb03f513
|
|
4
|
+
data.tar.gz: 84c05f8ee4d3890ec61473eef531b70d01c76bc21f51ab5904cc5cc2ce73b52d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1c0c8483ec0de667a8cb0d2bc978b75799aba14cf3ca106f0e22807d3d3baf19c9ac470ee5981bacb917b6abfdca69a63b84fd2badb002f67c042ee3167ed57b
|
|
7
|
+
data.tar.gz: 51d7615793ed26de4efe45ad18efa05f964f83926090c197550762fc888187fa99aecf1b34c52ed2b8d62d0beeb1cd73d2814c12bd77c02d35c8fa1bc7bb9690
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,24 @@
|
|
|
1
|
+
## [1.6.0] - 2026-01-19
|
|
2
|
+
### Added
|
|
3
|
+
- **Comprehensive Test Suite**: Added 343 RSpec tests across 11 new spec files in `spec/comprehensive/`:
|
|
4
|
+
- `node_spec.rb` - Core Node class tests (initialization, children, method_missing)
|
|
5
|
+
- `prospect_spec.rb` - Prospect validation and structure tests
|
|
6
|
+
- `vehicle_spec.rb` - Vehicle elements, attributes, odometer, imagetag, price, options, colors
|
|
7
|
+
- `customer_spec.rb` - Customer and Contact validation and elements
|
|
8
|
+
- `address_spec.rb` - Address validation including 1-5 street lines and ISO 3166 country codes
|
|
9
|
+
- `timeframe_spec.rb` - Timeframe with ISO 8601 date validation
|
|
10
|
+
- `finance_spec.rb` - Finance method, amount, balance with ISO 4217 currency validation
|
|
11
|
+
- `vendor_spec.rb` - Vendor validation and elements
|
|
12
|
+
- `provider_spec.rb` - Provider optional elements and contact
|
|
13
|
+
- `xml_output_spec.rb` - XML structure, escaping, and serialization
|
|
14
|
+
- `boundary_spec.rb` - Edge cases: unicode, long strings, deep nesting, stress tests
|
|
15
|
+
- `error_cases_spec.rb` - Error message quality and validation behavior
|
|
16
|
+
|
|
17
|
+
## [1.5.1] - 2026-01-19
|
|
18
|
+
### Changed
|
|
19
|
+
- **BREAKING**: `Prospect` node now strictly enforces the presence of `requestdate`, `vehicle`, `customer`, and `vendor` child nodes to comply with ADF 1.0 DTD.
|
|
20
|
+
- **BREAKING**: `request_date` is now serialized as a child element `<requestdate>` instead of an attribute on `<prospect>`, fixing DTD compliance.
|
|
21
|
+
|
|
1
22
|
## [1.5.0] - 2026-01-19
|
|
2
23
|
- **Provider Node Support**:
|
|
3
24
|
- Implemented `Provider` node with support for `name`, `service`, `url`, `email`, `phone`, and `contact`.
|
data/Gemfile.lock
CHANGED
data/lib/adf_builder/version.rb
CHANGED