ea 0.1.6 → 0.2.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/TODO.release/01-release-lutaml-uml-030.md +30 -0
- data/TODO.release/02-fix-lutaml-meta-gem-requires.md +33 -0
- data/TODO.release/03-release-lutaml-0110.md +20 -0
- data/TODO.release/04-update-ea-gemspec-pin.md +23 -0
- data/TODO.release/05-remove-ea-conditional-requires.md +48 -0
- data/TODO.release/06-release-ea-020.md +20 -0
- data/TODO.release/07-migrate-plateau-model.md +35 -0
- data/TODO.release/README.md +15 -0
- data/lib/ea/version.rb +1 -1
- metadata +11 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: af7f7d010d0ca70a7230803dfd39e5037fda7f983e532ee6e4280ee7f472c16d
|
|
4
|
+
data.tar.gz: badde638cef78b714cc82aa872678b346a6f9ca230784984e5fa3771f040d610
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 62d4940b0196c8e603905a05471c1770d904142b35a203a1303e479e4f2e7425afd8fac143641c20cb3d855ffa05c7393735d891897b3a3cae0be3bdcc1e950e
|
|
7
|
+
data.tar.gz: d0e112129ac798cc9b35f55666d40e594d9fc604bc6768f5de9cc5f9ac2a95a3dcb66b50cffa78145392b9d7c952ce576d9e0373df82e3645c689412f5f10ae3
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# 01 — Release lutaml-uml 0.3.0
|
|
2
|
+
|
|
3
|
+
**Status: PENDING**
|
|
4
|
+
|
|
5
|
+
## Problem
|
|
6
|
+
The local lutaml-uml has 10 unpushed commits (559 files, +354k LOC)
|
|
7
|
+
containing the UmlRepository + StaticSite + Vue frontend infrastructure.
|
|
8
|
+
None of this is on rubygems. The published versions (0.2.12, 1.0.0)
|
|
9
|
+
don't include any of it.
|
|
10
|
+
|
|
11
|
+
This blocks ea CI — `lutaml/uml_repository` is not installable from
|
|
12
|
+
rubygems.
|
|
13
|
+
|
|
14
|
+
## Steps
|
|
15
|
+
1. Commit all local changes on `chore/consolidate-todos` branch.
|
|
16
|
+
2. Bump version: `0.2.0` → `0.3.0`.
|
|
17
|
+
3. Verify `bundle exec rspec` passes.
|
|
18
|
+
4. Push branch + open PR.
|
|
19
|
+
5. Merge-rebase.
|
|
20
|
+
6. Trigger GHA release.
|
|
21
|
+
|
|
22
|
+
## Version rationale
|
|
23
|
+
0.3.0 not 0.2.13 because the UmlRepository + StaticSite is a major
|
|
24
|
+
feature surface. 0.3.0 continues the 0.x API line (Lutaml::Uml::UmlClass
|
|
25
|
+
etc.) that ea targets. Published 1.0.0 has a different API (renamed
|
|
26
|
+
classes) and should be ignored / yanked.
|
|
27
|
+
|
|
28
|
+
## Verification
|
|
29
|
+
- `gem list -r --exact lutaml-uml` shows 0.3.0.
|
|
30
|
+
- `gem content lutaml-uml --version 0.3.0 | grep uml_repository` succeeds.
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# 02 — Fix lutaml meta-gem broken requires
|
|
2
|
+
|
|
3
|
+
**Status: PENDING**
|
|
4
|
+
|
|
5
|
+
## Problem
|
|
6
|
+
`lib/lutaml.rb` requires 6 files that don't exist:
|
|
7
|
+
|
|
8
|
+
```ruby
|
|
9
|
+
require "lutaml/converter" # MISSING
|
|
10
|
+
require "lutaml/ea" # MISSING (ea uses Ea:: namespace)
|
|
11
|
+
require "lutaml/xmi" # MISSING (xmi uses Xmi:: namespace)
|
|
12
|
+
require "lutaml/qea" # MISSING
|
|
13
|
+
require "lutaml/model_transformations" # MISSING
|
|
14
|
+
require "lutaml/cli" # MISSING
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
`require "lutaml"` crashes immediately. The meta-gem is unusable.
|
|
18
|
+
|
|
19
|
+
## Fix
|
|
20
|
+
Remove the 6 broken requires. Keep only the ones that resolve to
|
|
21
|
+
real files in the gem's own `lib/` tree:
|
|
22
|
+
|
|
23
|
+
```ruby
|
|
24
|
+
require_relative "lutaml/version"
|
|
25
|
+
require "lutaml/lml"
|
|
26
|
+
require "lutaml/uml"
|
|
27
|
+
require "lutaml/uml_repository"
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
## Note
|
|
31
|
+
The meta-gem should NOT try to remap other gems' namespaces. The ea
|
|
32
|
+
gem uses `Ea::*`, the xmi gem uses `Xmi::*`. Users who want both should
|
|
33
|
+
`require "ea"` and `require "xmi"` explicitly.
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# 03 — Release lutaml 0.11.0
|
|
2
|
+
|
|
3
|
+
**Status: PENDING (depends on 02)**
|
|
4
|
+
|
|
5
|
+
## Problem
|
|
6
|
+
Published 0.10.19 has phantom runtime deps (htmlentities, liquid,
|
|
7
|
+
listen, nokogiri, paint, lutaml-path) that shouldn't be in the
|
|
8
|
+
meta-gem gemspec. Plus the 6 broken requires from TODO 02.
|
|
9
|
+
|
|
10
|
+
## Steps
|
|
11
|
+
1. After TODO 02 fix is merged.
|
|
12
|
+
2. Bump version: `0.10.19` → `0.11.0`.
|
|
13
|
+
3. Verify `require "lutaml"` works without LoadError.
|
|
14
|
+
4. Push + merge.
|
|
15
|
+
5. Trigger GHA release.
|
|
16
|
+
|
|
17
|
+
## Verification
|
|
18
|
+
- `require "lutaml"` succeeds.
|
|
19
|
+
- No LoadError from missing requires.
|
|
20
|
+
- Published gemspec deps are clean.
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# 04 — Update ea gemspec pin to ~> 0.3
|
|
2
|
+
|
|
3
|
+
**Status: PENDING (depends on 01)**
|
|
4
|
+
|
|
5
|
+
## Problem
|
|
6
|
+
ea.gemspec pins `spec.add_development_dependency "lutaml-uml", "~> 0.2.0"`.
|
|
7
|
+
This resolves to 0.2.12 on rubygems, which doesn't have UmlRepository.
|
|
8
|
+
CI fails on every PR.
|
|
9
|
+
|
|
10
|
+
## Fix
|
|
11
|
+
```ruby
|
|
12
|
+
# BEFORE:
|
|
13
|
+
spec.add_development_dependency "lutaml-uml", "~> 0.2.0"
|
|
14
|
+
|
|
15
|
+
# AFTER:
|
|
16
|
+
spec.add_development_dependency "lutaml-uml", "~> 0.3"
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
`~> 0.3` means `>= 0.3.0, < 1.0.0`, which resolves to 0.3.0 (with
|
|
20
|
+
UmlRepository) and excludes the incompatible 1.0.0.
|
|
21
|
+
|
|
22
|
+
## Verification
|
|
23
|
+
- `bundle exec rspec` passes in CI (rubygems mode) without admin override.
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# 05 — Remove ea conditional require workarounds
|
|
2
|
+
|
|
3
|
+
**Status: PENDING (depends on 01)**
|
|
4
|
+
|
|
5
|
+
## Problem
|
|
6
|
+
Multiple spec files use `begin/rescue LoadError` around
|
|
7
|
+
`require "lutaml/uml_repository"` because the published gem didn't
|
|
8
|
+
ship the file. After lutaml-uml 0.3.0 is released, these workarounds
|
|
9
|
+
are unnecessary noise.
|
|
10
|
+
|
|
11
|
+
## Files to simplify
|
|
12
|
+
|
|
13
|
+
### spec/spec_helper.rb
|
|
14
|
+
```ruby
|
|
15
|
+
# BEFORE:
|
|
16
|
+
begin
|
|
17
|
+
require "lutaml/uml"
|
|
18
|
+
rescue LoadError
|
|
19
|
+
end
|
|
20
|
+
begin
|
|
21
|
+
require "lutaml/uml_repository"
|
|
22
|
+
rescue LoadError
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
# AFTER:
|
|
26
|
+
require "lutaml/uml"
|
|
27
|
+
require "lutaml/uml_repository"
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
### spec/ea/diagram/extractor_spec.rb
|
|
31
|
+
```ruby
|
|
32
|
+
# BEFORE:
|
|
33
|
+
begin
|
|
34
|
+
require "lutaml/uml_repository/repository"
|
|
35
|
+
rescue LoadError
|
|
36
|
+
end
|
|
37
|
+
RSpec.configure do ... skip ... end
|
|
38
|
+
|
|
39
|
+
# AFTER:
|
|
40
|
+
require "lutaml/uml_repository/repository"
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
### spec/ea/qea/verification/comprehensive_equivalence_spec.rb
|
|
44
|
+
Same pattern — remove begin/rescue + skip guard.
|
|
45
|
+
|
|
46
|
+
## Verification
|
|
47
|
+
- Full suite passes without any conditional requires.
|
|
48
|
+
- No `skip "lutaml/uml_repository not available"` messages.
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# 06 — Release ea 0.2.0
|
|
2
|
+
|
|
3
|
+
**Status: PENDING (depends on 04, 05)**
|
|
4
|
+
|
|
5
|
+
## Problem
|
|
6
|
+
ea is at 0.1.6. The gemspec pin change (`~> 0.2.0` → `~> 0.3`) is a
|
|
7
|
+
breaking change for anyone using ea's dev dependency — they need to
|
|
8
|
+
install lutaml-uml 0.3.0. This warrants a minor version bump.
|
|
9
|
+
|
|
10
|
+
## Steps
|
|
11
|
+
1. After TODO 04 and 05 are merged.
|
|
12
|
+
2. Bump version: `0.1.6` → `0.2.0`.
|
|
13
|
+
3. Verify `bundle exec rspec` passes in rubygems mode (CI mode).
|
|
14
|
+
4. Push + merge.
|
|
15
|
+
5. Trigger GHA release.
|
|
16
|
+
|
|
17
|
+
## Verification
|
|
18
|
+
- ea 0.2.0 on rubygems.
|
|
19
|
+
- `gem install ea && ea spa model.qea` works with published lutaml-uml 0.3.0.
|
|
20
|
+
- CI passes WITHOUT admin override (first time ever).
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# 07 — Migrate plateau-model to ea gem
|
|
2
|
+
|
|
3
|
+
**Status: PENDING (depends on 06)**
|
|
4
|
+
|
|
5
|
+
## Problem
|
|
6
|
+
The plateau-model project (`/Users/mulgogi/src/mn/plateau-model`)
|
|
7
|
+
currently depends on the broken `lutaml` meta-gem via a local path:
|
|
8
|
+
|
|
9
|
+
```ruby
|
|
10
|
+
# Gemfile
|
|
11
|
+
gem "lutaml", path: "/Users/mulgogi/src/lutaml/lutaml"
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
And generates SPA via:
|
|
15
|
+
```bash
|
|
16
|
+
bundle exec lutaml uml build-spa model.qea -o index.html
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
## Fix
|
|
20
|
+
Switch to the standalone `ea` gem:
|
|
21
|
+
|
|
22
|
+
```ruby
|
|
23
|
+
# Gemfile
|
|
24
|
+
source "https://rubygems.org"
|
|
25
|
+
gem "ea", "~> 0.2"
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
bundle exec ea spa model.qea -o index.html
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
## Verification
|
|
33
|
+
- Generated index.html is structurally equivalent to the existing one
|
|
34
|
+
(same packages=58, diagrams=188, classes≈600).
|
|
35
|
+
- No dependency on the lutaml meta-gem.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# TODO.release — Streamlined dependency tree
|
|
2
|
+
|
|
3
|
+
Execute each item in order. Each step depends on the previous.
|
|
4
|
+
|
|
5
|
+
## Index
|
|
6
|
+
|
|
7
|
+
| # | Title | Gem | Priority |
|
|
8
|
+
|---|---|---|---|
|
|
9
|
+
| 01 | [Release lutaml-uml 0.3.0](01-release-lutaml-uml-030.md) | lutaml-uml | BLOCKING — critical path |
|
|
10
|
+
| 02 | [Fix lutaml meta-gem broken requires](02-fix-lutaml-meta-gem-requires.md) | lutaml | high — independent of 01 |
|
|
11
|
+
| 03 | [Release lutaml 0.11.0](03-release-lutaml-0110.md) | lutaml | high — depends on 02 |
|
|
12
|
+
| 04 | [Update ea gemspec pin to ~> 0.3](04-update-ea-gemspec-pin.md) | ea | high — depends on 01 |
|
|
13
|
+
| 05 | [Remove ea conditional require workarounds](05-remove-ea-conditional-requires.md) | ea | high — depends on 01 |
|
|
14
|
+
| 06 | [Release ea 0.2.0](06-release-ea-020.md) | ea | high — depends on 04, 05 |
|
|
15
|
+
| 07 | [Migrate plateau-model to ea gem](07-migrate-plateau-model.md) | plateau-model | medium — depends on 06 |
|
data/lib/ea/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ea
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ribose Inc.
|
|
@@ -134,14 +134,14 @@ dependencies:
|
|
|
134
134
|
requirements:
|
|
135
135
|
- - "~>"
|
|
136
136
|
- !ruby/object:Gem::Version
|
|
137
|
-
version: 0.
|
|
137
|
+
version: '0.5'
|
|
138
138
|
type: :development
|
|
139
139
|
prerelease: false
|
|
140
140
|
version_requirements: !ruby/object:Gem::Requirement
|
|
141
141
|
requirements:
|
|
142
142
|
- - "~>"
|
|
143
143
|
- !ruby/object:Gem::Version
|
|
144
|
-
version: 0.
|
|
144
|
+
version: '0.5'
|
|
145
145
|
- !ruby/object:Gem::Dependency
|
|
146
146
|
name: rubocop
|
|
147
147
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -213,6 +213,14 @@ files:
|
|
|
213
213
|
- TODO.next/38-xmi-parser-feature-parity.md
|
|
214
214
|
- TODO.next/39-ea-spa-cli-command.md
|
|
215
215
|
- TODO.next/40-drop-lur-only-check-in-diagrams-extract.md
|
|
216
|
+
- TODO.release/01-release-lutaml-uml-030.md
|
|
217
|
+
- TODO.release/02-fix-lutaml-meta-gem-requires.md
|
|
218
|
+
- TODO.release/03-release-lutaml-0110.md
|
|
219
|
+
- TODO.release/04-update-ea-gemspec-pin.md
|
|
220
|
+
- TODO.release/05-remove-ea-conditional-requires.md
|
|
221
|
+
- TODO.release/06-release-ea-020.md
|
|
222
|
+
- TODO.release/07-migrate-plateau-model.md
|
|
223
|
+
- TODO.release/README.md
|
|
216
224
|
- config/diagram_styles.yml
|
|
217
225
|
- config/model_transformations.yml
|
|
218
226
|
- config/qea_schema.yml
|