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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 498b59240d859155a6a93ef798668699d07974e4d6becdc9357b2891e96cc0ad
4
- data.tar.gz: cd4fed17c3054b3645234aa09bd05e5ec793f13fdb14ba18149866c8d0ccd343
3
+ metadata.gz: d4f7eb58f009963ad99808c7becc1a626c71f9d47b547a6b2de1c57acb03f513
4
+ data.tar.gz: 84c05f8ee4d3890ec61473eef531b70d01c76bc21f51ab5904cc5cc2ce73b52d
5
5
  SHA512:
6
- metadata.gz: 0ea341099d5916fb3105f1ec221e6daaa2a401dcd8392f0c2dda2967fac7c44331671907aabee22807f0165aae7d438ecba9d5bc414b9b9aa397b7e51a14f716
7
- data.tar.gz: dcd42416ed477dc055827ee59affa4df3dee65d7b81fb602a24c20f1005b7a60e5db257bbcb55322a3d8eaa77287d7e7f573ce521b617c0db11017da0bb32154
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
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- adf_builder (1.5.0)
4
+ adf_builder (1.5.1)
5
5
  ox (~> 2.14)
6
6
 
7
7
  GEM
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module AdfBuilder
4
- VERSION = "1.5.1"
4
+ VERSION = "1.6.0"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: adf_builder
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.1
4
+ version: 1.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - marcus.salinas