lutaml 0.11.2 → 0.11.4
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/.github/workflows/release.yml +13 -11
- data/README.md +49 -0
- data/lib/lutaml/version.rb +1 -1
- data/lutaml.gemspec +2 -1
- metadata +19 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 801bd028c5c0adbb4f66c7025f6c3a958d57d7f8d9beff937d803f3735792dde
|
|
4
|
+
data.tar.gz: 0ec4e7d17155aa3194c850aa31cb3f11d4494aeb92414b403c65e7cc27d96b5e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8d9af90a66fc40bd2415b7ab1120e2d231b89e7db35845e966e9e3138d1ec4e80d79e56b66d37ff9457dbb29ca363f312a5228b455f5746454f7ea82f121f845
|
|
7
|
+
data.tar.gz: f080df35bfdfa37691d74acec208d5863a9aa1fd423f5d750d5cf640fdc89daecb5c9ec6be07cb98f313ae12dadb4eeee106235b1c7a5c714d2bd843ef8ccb83
|
|
@@ -4,7 +4,6 @@ name: release
|
|
|
4
4
|
|
|
5
5
|
permissions:
|
|
6
6
|
contents: write
|
|
7
|
-
packages: write
|
|
8
7
|
id-token: write
|
|
9
8
|
|
|
10
9
|
on:
|
|
@@ -12,24 +11,27 @@ on:
|
|
|
12
11
|
inputs:
|
|
13
12
|
next_version:
|
|
14
13
|
description: |
|
|
15
|
-
Next release version. Possible values: x.y.z, major, minor, patch
|
|
16
|
-
Also, you can pass 'skip' to skip 'git tag' and do 'gem push' for the current version
|
|
14
|
+
Next release version. Possible values: x.y.z, major, minor, patch or pre|rc|etc
|
|
17
15
|
required: true
|
|
18
16
|
default: 'skip'
|
|
19
|
-
acknowledge_breaking_in_patch:
|
|
20
|
-
description: "Skip the release-breaking-check guard"
|
|
21
|
-
required: false
|
|
22
|
-
default: "true"
|
|
23
17
|
repository_dispatch:
|
|
24
18
|
types: [ do-release ]
|
|
25
19
|
|
|
20
|
+
# One release at a time: concurrent bumps race the version commit
|
|
21
|
+
# and half-published gems are worse than a queued release.
|
|
22
|
+
concurrency:
|
|
23
|
+
group: release
|
|
24
|
+
cancel-in-progress: false
|
|
25
|
+
|
|
26
26
|
jobs:
|
|
27
27
|
release:
|
|
28
28
|
uses: metanorma/ci/.github/workflows/rubygems-release.yml@main
|
|
29
29
|
with:
|
|
30
30
|
next_version: ${{ github.event.inputs.next_version }}
|
|
31
|
-
acknowledge_breaking_in_patch: ${{ github.event.inputs.acknowledge_breaking_in_patch == 'true' }}
|
|
32
|
-
gated: false
|
|
33
31
|
secrets:
|
|
34
|
-
rubygems-api-key:
|
|
35
|
-
|
|
32
|
+
# OMIT rubygems-api-key: metanorma/ci switches to OIDC Trusted Publishing
|
|
33
|
+
# when the secret is empty (USE_OIDC = rubygems-api-key == ''). Trusted
|
|
34
|
+
# Publishing is already configured for the lutaml gems on rubygems.org.
|
|
35
|
+
# The removed `gated` input no longer exists in the reusable workflow
|
|
36
|
+
# and made every dispatch fail at startup.
|
|
37
|
+
pat_token: ${{ secrets.LUTAML_CI_PAT_TOKEN }}
|
data/README.md
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# LutaML
|
|
2
|
+
|
|
3
|
+
LutaML is data models in textual form. The `lutaml` gem is the umbrella
|
|
4
|
+
of the LutaML family: it installs the core engine together with the
|
|
5
|
+
textual modelling languages built on top of it, and exposes the EXPRESS
|
|
6
|
+
parsing surface under the `Lutaml::Express` namespace.
|
|
7
|
+
|
|
8
|
+
## The LutaML family
|
|
9
|
+
|
|
10
|
+
| Gem | Role |
|
|
11
|
+
| --- | --- |
|
|
12
|
+
| [lutaml-model](https://github.com/lutaml/lutaml-model) | Core declarative data modelling engine with serialization to and from XML, JSON, YAML, TOML and Hash. |
|
|
13
|
+
| [lutaml-lml](https://github.com/lutaml/lutaml-lml) | Parser and converter for the LutaML Model Language (LML, `.lml`/`.lutaml`) textual syntax. |
|
|
14
|
+
| [lutaml-uml](https://github.com/lutaml/lutaml-uml) | UML domain models, document repository (`.lur` packages), and static-site generation. |
|
|
15
|
+
| [expressir](https://github.com/lutaml/expressir) | EXPRESS language parser and repository tooling. |
|
|
16
|
+
| **lutaml** (this gem) | Umbrella for the family; EXPRESS schema parsing through `Lutaml::Express::Parsers::Exp`. |
|
|
17
|
+
|
|
18
|
+
The wider ecosystem installs separately as needed:
|
|
19
|
+
[lutaml-store](https://github.com/lutaml/lutaml-store) (document store),
|
|
20
|
+
[lutaml-hal](https://github.com/lutaml/lutaml-hal) (HAL documents),
|
|
21
|
+
[lutaml-jsonschema](https://github.com/lutaml/lutaml-jsonschema) (JSON
|
|
22
|
+
Schema generation), [lutaml-xmi](https://github.com/lutaml/lutaml-xmi)
|
|
23
|
+
(XMI import), and [lutaml-path](https://github.com/lutaml/lutaml-path)
|
|
24
|
+
(path queries over LutaML models).
|
|
25
|
+
|
|
26
|
+
## Installation
|
|
27
|
+
|
|
28
|
+
```ruby
|
|
29
|
+
gem "lutaml"
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
## Usage
|
|
33
|
+
|
|
34
|
+
```ruby
|
|
35
|
+
require "lutaml"
|
|
36
|
+
|
|
37
|
+
repository = File.open("schema.exp") do |io|
|
|
38
|
+
Lutaml::Express::Parsers::Exp.parse(io)
|
|
39
|
+
end
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
Requiring `lutaml` loads `lutaml-lml`, `lutaml-uml` (including its
|
|
43
|
+
repository layer) and the EXPRESS parser autoload; every member of the
|
|
44
|
+
family builds on `lutaml-model`.
|
|
45
|
+
|
|
46
|
+
## License
|
|
47
|
+
|
|
48
|
+
The gem is available as open source under the terms of the
|
|
49
|
+
[MIT License](https://opensource.org/licenses/MIT).
|
data/lib/lutaml/version.rb
CHANGED
data/lutaml.gemspec
CHANGED
|
@@ -34,6 +34,7 @@ Gem::Specification.new do |spec|
|
|
|
34
34
|
# (fiddle was removed from Ruby 4.0 default gems, breaking reline on Windows)
|
|
35
35
|
spec.add_dependency "fiddle"
|
|
36
36
|
spec.add_dependency "lutaml-lml"
|
|
37
|
-
spec.add_dependency "lutaml-
|
|
37
|
+
spec.add_dependency "lutaml-model", "~> 0.8.0"
|
|
38
|
+
spec.add_dependency "lutaml-uml", "~> 1.0"
|
|
38
39
|
spec.metadata["rubygems_mfa_required"] = "true"
|
|
39
40
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: lutaml
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.11.
|
|
4
|
+
version: 0.11.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ribose Inc.
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-09-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: expressir
|
|
@@ -52,20 +52,34 @@ dependencies:
|
|
|
52
52
|
- - ">="
|
|
53
53
|
- !ruby/object:Gem::Version
|
|
54
54
|
version: '0'
|
|
55
|
+
- !ruby/object:Gem::Dependency
|
|
56
|
+
name: lutaml-model
|
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
|
58
|
+
requirements:
|
|
59
|
+
- - "~>"
|
|
60
|
+
- !ruby/object:Gem::Version
|
|
61
|
+
version: 0.8.0
|
|
62
|
+
type: :runtime
|
|
63
|
+
prerelease: false
|
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
65
|
+
requirements:
|
|
66
|
+
- - "~>"
|
|
67
|
+
- !ruby/object:Gem::Version
|
|
68
|
+
version: 0.8.0
|
|
55
69
|
- !ruby/object:Gem::Dependency
|
|
56
70
|
name: lutaml-uml
|
|
57
71
|
requirement: !ruby/object:Gem::Requirement
|
|
58
72
|
requirements:
|
|
59
73
|
- - "~>"
|
|
60
74
|
- !ruby/object:Gem::Version
|
|
61
|
-
version: '0
|
|
75
|
+
version: '1.0'
|
|
62
76
|
type: :runtime
|
|
63
77
|
prerelease: false
|
|
64
78
|
version_requirements: !ruby/object:Gem::Requirement
|
|
65
79
|
requirements:
|
|
66
80
|
- - "~>"
|
|
67
81
|
- !ruby/object:Gem::Version
|
|
68
|
-
version: '0
|
|
82
|
+
version: '1.0'
|
|
69
83
|
description: 'LutaML: data models in textual form'
|
|
70
84
|
email:
|
|
71
85
|
- open.source@ribose.com
|
|
@@ -86,6 +100,7 @@ files:
|
|
|
86
100
|
- CLAUDE.md
|
|
87
101
|
- Gemfile
|
|
88
102
|
- README.adoc
|
|
103
|
+
- README.md
|
|
89
104
|
- Rakefile
|
|
90
105
|
- bin/console
|
|
91
106
|
- bin/folder_yaml2lutaml.sh
|