edoxen 0.1.2 → 0.3.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/CLAUDE.md +220 -0
- data/README.adoc +153 -498
- data/lib/edoxen/_metadata.rb.deprecated +57 -0
- data/lib/edoxen/action.rb +5 -20
- data/lib/edoxen/approval.rb +6 -10
- data/lib/edoxen/cli.rb +70 -87
- data/lib/edoxen/consideration.rb +5 -13
- data/lib/edoxen/enums.rb +43 -0
- data/lib/edoxen/error.rb +7 -0
- data/lib/edoxen/localization.rb +30 -0
- data/lib/edoxen/meeting_identifier.rb +2 -6
- data/lib/edoxen/resolution.rb +19 -32
- data/lib/edoxen/resolution_collection.rb +15 -0
- data/lib/edoxen/resolution_date.rb +7 -8
- data/lib/edoxen/resolution_metadata.rb +26 -0
- data/lib/edoxen/resolution_relation.rb +5 -39
- data/lib/edoxen/schema_validator.rb +160 -248
- data/lib/edoxen/source_url.rb +18 -0
- data/lib/edoxen/structured_identifier.rb +17 -0
- data/lib/edoxen/url.rb +2 -3
- data/lib/edoxen/version.rb +1 -1
- data/lib/edoxen.rb +36 -14
- data/schema/edoxen.yaml +300 -339
- metadata +11 -3
- data/lib/edoxen/metadata.rb +0 -27
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: edoxen
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ribose Inc.
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2026-06-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: json_schemer
|
|
@@ -68,6 +68,7 @@ files:
|
|
|
68
68
|
- ".rspec"
|
|
69
69
|
- ".rubocop.yml"
|
|
70
70
|
- ".rubocop_todo.yml"
|
|
71
|
+
- CLAUDE.md
|
|
71
72
|
- CODE_OF_CONDUCT.md
|
|
72
73
|
- Gemfile
|
|
73
74
|
- README.adoc
|
|
@@ -75,18 +76,25 @@ files:
|
|
|
75
76
|
- edoxen.gemspec
|
|
76
77
|
- exe/edoxen
|
|
77
78
|
- lib/edoxen.rb
|
|
79
|
+
- lib/edoxen/_metadata.rb.deprecated
|
|
78
80
|
- lib/edoxen/action.rb
|
|
79
81
|
- lib/edoxen/approval.rb
|
|
80
82
|
- lib/edoxen/cli.rb
|
|
81
83
|
- lib/edoxen/consideration.rb
|
|
84
|
+
- lib/edoxen/enums.rb
|
|
85
|
+
- lib/edoxen/error.rb
|
|
86
|
+
- lib/edoxen/localization.rb
|
|
82
87
|
- lib/edoxen/meeting.rb
|
|
83
88
|
- lib/edoxen/meeting_identifier.rb
|
|
84
|
-
- lib/edoxen/metadata.rb
|
|
85
89
|
- lib/edoxen/resolution.rb
|
|
90
|
+
- lib/edoxen/resolution_collection.rb
|
|
86
91
|
- lib/edoxen/resolution_date.rb
|
|
92
|
+
- lib/edoxen/resolution_metadata.rb
|
|
87
93
|
- lib/edoxen/resolution_relation.rb
|
|
88
94
|
- lib/edoxen/resolution_set.rb
|
|
89
95
|
- lib/edoxen/schema_validator.rb
|
|
96
|
+
- lib/edoxen/source_url.rb
|
|
97
|
+
- lib/edoxen/structured_identifier.rb
|
|
90
98
|
- lib/edoxen/url.rb
|
|
91
99
|
- lib/edoxen/version.rb
|
|
92
100
|
- schema/edoxen.yaml
|
data/lib/edoxen/metadata.rb
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
require "lutaml/model"
|
|
4
|
-
require_relative "resolution_date"
|
|
5
|
-
require_relative "url"
|
|
6
|
-
|
|
7
|
-
module Edoxen
|
|
8
|
-
class Metadata < Lutaml::Model::Serializable
|
|
9
|
-
attribute :title, :string
|
|
10
|
-
attribute :identifier, :string
|
|
11
|
-
attribute :dates, ResolutionDate, collection: true
|
|
12
|
-
attribute :source, :string
|
|
13
|
-
attribute :venue, :string
|
|
14
|
-
attribute :chair, :string
|
|
15
|
-
attribute :urls, Url, collection: true
|
|
16
|
-
|
|
17
|
-
key_value do
|
|
18
|
-
map "title", to: :title
|
|
19
|
-
map "identifier", to: :identifier
|
|
20
|
-
map "dates", to: :dates
|
|
21
|
-
map "source", to: :source
|
|
22
|
-
map "venue", to: :venue
|
|
23
|
-
map "chair", to: :chair
|
|
24
|
-
map "urls", to: :urls
|
|
25
|
-
end
|
|
26
|
-
end
|
|
27
|
-
end
|