edoxen 2.1.2 → 2.1.3

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: 61cbf2b8c1a246081e37c9d7825cbcd6525eb9a7ac0c158532217fd62d78e157
4
- data.tar.gz: daa768397de2ea5f2d3e2ce357043cefa33be8b4904140248a6de3ba0f6eba3a
3
+ metadata.gz: a3d1039fd0c12889f97917e8629724f85e0ed80e9010487111fbc18583238d7e
4
+ data.tar.gz: a246be70bd3966ca6475e2058e806359f105a0570bf5387687861e192f325af3
5
5
  SHA512:
6
- metadata.gz: 0fa6668545d593136089233bc9040fdcc6b30a2c9a9333e2f4c87d0072ef8d30589a3083a095340454beb26c913ddb665c5f02a7e8d16fc7d567e1fae3c55786
7
- data.tar.gz: dba16df211688953e6d4a4ccc9423659dad03ac49f3d433842b922b6967a620cc5d570b30faef2209c61ad2525531f68b02eb175727c75fab69b6240556fb7a8
6
+ metadata.gz: 143c2914f4c03e05dc493862f68b0f1d3ae69cebe9a0ad76f5ed72cabdfcc8aa4ca2fafa13b408c24e05a3b5050b53c905604dc764cb8eeba6e25c15fac8b84c
7
+ data.tar.gz: 18803c449f8e2a82c5d6dbbf4bb49e425c5a2064bbd9e105cbc6a0a23584c220b120bafbefe08091f57d760da15d25c5cd37e01c5da800df0d0451d8046edbe5
data/CHANGELOG.md CHANGED
@@ -5,6 +5,26 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [2.1.3] — 2026-07-07
9
+
10
+ Patch release. Fixes the `ExtensionAttribute` schema to use the
11
+ camelCase wire names that match the lutaml-model mapping in
12
+ `lib/edoxen/extension_attribute.rb` (`map "intValue", to:
13
+ :integer_value`, etc.).
14
+
15
+ Before this fix, any YAML fixture using the documented v2.1 typed
16
+ ExtensionAttribute wire form (`intValue`, `floatValue`,
17
+ `booleanValue`, `dateValue`, `dateTimeValue`) failed the schema's
18
+ `additionalProperties: false` check. The schema declared snake_case
19
+ property names that didn't match the camelCase wire names.
20
+
21
+ Mirror change in `edoxen-model/schema/{decision-collection,meeting}.yaml`.
22
+
23
+ The schema-model-sync spec gets a small `WIRE_NAME_RENAMES` override
24
+ table for ExtensionAttribute — its attribute-to-property name mapping
25
+ is intentionally lossy (Ruby snake_case ↔ wire camelCase) and that's
26
+ the documented design.
27
+
8
28
  ## [2.1.2] — 2026-07-07
9
29
 
10
30
  Patch release. Adds `MeetingSeries` as a valid top-level document in
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Edoxen
4
- VERSION = "2.1.2"
4
+ VERSION = "2.1.3"
5
5
  end
data/schema/edoxen.yaml CHANGED
@@ -600,13 +600,15 @@ $defs:
600
600
  # String variant — wire name `value` (v2.0 back-compat).
601
601
  value: { type: string }
602
602
 
603
- # Typed variants (v2.1) — snake_case wire names (the gem uses
604
- # snake_case Ruby attr names; lutaml-model emits them as-is).
605
- integer_value: { type: integer }
606
- float_value: { type: number }
607
- boolean_value: { type: boolean }
608
- date_value: { type: string, format: date }
609
- date_time_value: { type: string, format: date-time }
603
+ # Typed variants (v2.1) — camelCase wire names matching the
604
+ # lutaml-model mapping in lib/edoxen/extension_attribute.rb
605
+ # (map "intValue", to: :integer_value, etc.). The Ruby attribute
606
+ # names are snake_case; the wire names are camelCase.
607
+ intValue: { type: integer }
608
+ floatValue: { type: number }
609
+ booleanValue: { type: boolean }
610
+ dateValue: { type: string, format: date }
611
+ dateTimeValue: { type: string, format: date-time }
610
612
 
611
613
  MeetingExtension:
612
614
  type: object
data/schema/meeting.yaml CHANGED
@@ -547,12 +547,12 @@ $defs:
547
547
  properties:
548
548
  key: { type: string }
549
549
  type: { type: string, enum: [string, integer, float, boolean, date, datetime] }
550
- value: { type: string }
551
- integer_value: { type: integer }
552
- float_value: { type: number }
553
- boolean_value: { type: boolean }
554
- date_value: { type: string, format: date }
555
- date_time_value: { type: string, format: date-time }
550
+ value: { type: string }
551
+ intValue: { type: integer }
552
+ floatValue: { type: number }
553
+ booleanValue: { type: boolean }
554
+ dateValue: { type: string, format: date }
555
+ dateTimeValue: { type: string, format: date-time }
556
556
 
557
557
  MeetingExtension:
558
558
  type: object
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: edoxen
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.2
4
+ version: 2.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.