enola 0.4.4 → 0.5.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/CHANGELOG.md +31 -0
- data/LICENSE +1 -1
- data/README.md +42 -15
- data/lib/enola/channel.rb +1 -1
- data/lib/enola/version.rb +4 -1
- data/lib/enola.rb +5 -1
- metadata +6 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 689fed2c591f5809d780118557d16abb71dd2c16ae81e71382fbeee1cb70001e
|
|
4
|
+
data.tar.gz: c7c4671e4d4c153f8f0f6db9f9395a6670681a1006581c5faecf2b196170cc30
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b4a72e0931b1f110f482062fa8e2627f59adfac7add1592ea1c8ef22e5bc4f6f7fc5c4ae851cf7534c50997ec8fc3cd2928e3e84a0e3bc841f9f22ee87933d85
|
|
7
|
+
data.tar.gz: 7f5cd2dc8f9b69897c095c54e95d4c9d58913607de47ca71789fa3eb8d419811d5d2c5393cc6abed7630e2f35314b6c76b61836beff63fa012761eaa0f27c4e7
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,34 @@
|
|
|
1
|
+
## munola 0.4.4.2 and munola-rb 0.4.4.2 (2026-08-23)
|
|
2
|
+
|
|
3
|
+
munola follows the channel it drives. Its binary is now cut from the stable
|
|
4
|
+
channel after it took eight changes measured against a Ruby architecture
|
|
5
|
+
linter, so the gem's version moves with the release it fetches. The Rails
|
|
6
|
+
layer is its own gem, `munola-rb`, the way `enola-rb` is for the upstream
|
|
7
|
+
channel; `require "munola"` loads no Rails. A catalogue recipe the binary
|
|
8
|
+
already binds is no longer bound a second time.
|
|
9
|
+
|
|
10
|
+
## enola 0.4.4.1 and enola-rb 0.4.4.1 (2026-08-23)
|
|
11
|
+
|
|
12
|
+
Wrapper fixes on the same upstream release. A test that set the channel put
|
|
13
|
+
back upstream rather than what it found, so on some orderings a channel gem's
|
|
14
|
+
own installation read as upstream. The Rails layer packaged its generator
|
|
15
|
+
through a glob wide enough to take another channel's; it now packages its own.
|
|
16
|
+
Both gems still drive upstream v0.4.4.
|
|
17
|
+
|
|
18
|
+
## munola-rb 0.4.4.1 (2026-08-23)
|
|
19
|
+
|
|
20
|
+
The Rails layer over munola, what enola-rb is to enola: `rails generate
|
|
21
|
+
munola:install [--tenant-column COLUMN]` writes the starter laws, the
|
|
22
|
+
bindings the binary's own init picks and the munola catalogue, and the
|
|
23
|
+
enola:init, enola:snapshot and enola:check tasks drive munola's binary
|
|
24
|
+
because munola installs its own resolver. The generator and the railtie
|
|
25
|
+
move here out of the munola gem, so `require "munola"` loads no Rails and a
|
|
26
|
+
project that only drives the binary carries no Rails machinery. The recipe
|
|
27
|
+
catalogue, the detection and the tenant-column argument stay munola's.
|
|
28
|
+
|
|
29
|
+
`Enola.resolver_factory` is readable as well as writable, so whoever
|
|
30
|
+
replaces it can put back what was installed rather than what it assumed.
|
|
31
|
+
|
|
1
32
|
## munola 0.4.4.1 (2026-08-23)
|
|
2
33
|
|
|
3
34
|
The wrapper over the munola channel, first release with an implementation.
|
data/LICENSE
CHANGED
|
@@ -187,7 +187,7 @@ APPENDIX: How to apply the Apache License to your work.
|
|
|
187
187
|
same "printed page" as the copyright notice for easier
|
|
188
188
|
identification within third-party archives.
|
|
189
189
|
|
|
190
|
-
Copyright (c) 2026
|
|
190
|
+
Copyright (c) 2026 Muhamed Isabegovic
|
|
191
191
|
|
|
192
192
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
193
|
you may not use this file except in compliance with the License.
|
data/README.md
CHANGED
|
@@ -1,13 +1,19 @@
|
|
|
1
1
|
# enola-rb
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Four pure-Ruby gems, one repository, for running
|
|
4
4
|
[enola](https://github.com/enola-labs/enola), the architecture-graph tool,
|
|
5
5
|
from Ruby. None of them carries a binary or compiles anything.
|
|
6
6
|
|
|
7
|
+
Two channels, the same layering on both: `enola` wraps the released upstream
|
|
8
|
+
binary and `enola-rb` adds the Rails layer on it; `munola` wraps the munola
|
|
9
|
+
binary and `munola-rb` adds the Rails layer on that. The Rails code is written
|
|
10
|
+
once, in `enola-rb`, and the munola gems add only what is munola's own.
|
|
11
|
+
|
|
7
12
|
## `enola`
|
|
8
13
|
|
|
9
|
-
The wrapper of the released enola.
|
|
10
|
-
drives
|
|
14
|
+
The wrapper of the released enola. The gem versions itself; the release it
|
|
15
|
+
drives is `Enola::UPSTREAM_VERSION`, v0.4.4 as of `enola 0.5.0`, and every
|
|
16
|
+
gemspec summary names it.
|
|
11
17
|
|
|
12
18
|
```ruby
|
|
13
19
|
gem "enola"
|
|
@@ -39,7 +45,7 @@ This gem is not an enola-labs release; it runs theirs.
|
|
|
39
45
|
|
|
40
46
|
## `enola-rb`
|
|
41
47
|
|
|
42
|
-
The Rails layer over `enola`. It depends on `enola` at the same
|
|
48
|
+
The Rails layer over `enola`. It depends on `enola` at the same minor and on
|
|
43
49
|
[enola-guides](https://github.com/misabegovic/enola-guides), and adds nothing
|
|
44
50
|
to the binary's surface.
|
|
45
51
|
|
|
@@ -68,18 +74,17 @@ remedy.
|
|
|
68
74
|
|
|
69
75
|
One person's taste on top of enola: the same wrapper over another channel,
|
|
70
76
|
the builds cut from [a fork of enola](https://github.com/misabegovic/enola),
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
against it. What it adds is the channel and the catalogue.
|
|
77
|
+
each release naming what differs from that upstream. The gem versions itself;
|
|
78
|
+
the channel release it fetches is `Munola::CHANNEL_VERSION`, which carries the
|
|
79
|
+
upstream it is built on plus a segment of its own (`0.4.4.2` on v0.4.4). It is
|
|
80
|
+
offered upstream where it fits and is not positioned against it. What it adds is the channel and the catalogue.
|
|
75
81
|
|
|
76
82
|
```ruby
|
|
77
83
|
gem "munola"
|
|
78
84
|
```
|
|
79
85
|
|
|
80
86
|
```sh
|
|
81
|
-
|
|
82
|
-
bundle exec munola init .
|
|
87
|
+
bundle exec munola init . --tenant-column company_id
|
|
83
88
|
bundle exec munola --version
|
|
84
89
|
```
|
|
85
90
|
|
|
@@ -95,9 +100,31 @@ inflection table; it writes `mcp-arch.yaml` with both Ruby providers on by
|
|
|
95
100
|
default, Prism through the script the `enola` gem carries and Rubydex built
|
|
96
101
|
into the binary, and fetches the Rubydex library, a failed fetch reported as a
|
|
97
102
|
named skip. It never asks a question. `munola --version` names the munola
|
|
98
|
-
version, the upstream it is built on and which binary
|
|
103
|
+
version, the channel release and upstream it is built on, and which binary
|
|
104
|
+
answered.
|
|
105
|
+
|
|
106
|
+
The binary comes from the fork's releases the way `enola`'s comes from
|
|
107
|
+
upstream's, fetched on first use and verified against the sha256 the release
|
|
108
|
+
publishes; `MUNOLA_BINARY=/path/to/enola` names one to drive instead, and
|
|
109
|
+
every command says which answered. `munola` depends on `enola` at the same
|
|
110
|
+
minor and on `enola-guides` 0.3.1 or later; requiring it loads no Rails.
|
|
111
|
+
|
|
112
|
+
## `munola-rb`
|
|
113
|
+
|
|
114
|
+
The Rails layer over `munola`, what `enola-rb` is to `enola`. It depends on
|
|
115
|
+
both at the same minor and adds one generator.
|
|
116
|
+
|
|
117
|
+
```ruby
|
|
118
|
+
gem "munola-rb"
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
```sh
|
|
122
|
+
bin/rails generate munola:install --tenant-column company_id
|
|
123
|
+
bin/rake enola:snapshot
|
|
124
|
+
bin/rake enola:check
|
|
125
|
+
```
|
|
99
126
|
|
|
100
|
-
The
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
and
|
|
127
|
+
The generator runs the same install `munola init` does. The rake tasks are
|
|
128
|
+
enola-rb's and need no munola copy: `munola` installs its own resolver when it
|
|
129
|
+
loads, so `enola:snapshot` and `enola:check` drive the munola binary in an app
|
|
130
|
+
that has this gem, and the upstream binary in one that does not.
|
data/lib/enola/channel.rb
CHANGED
data/lib/enola/version.rb
CHANGED
data/lib/enola.rb
CHANGED
|
@@ -14,10 +14,14 @@ require_relative "enola/cli"
|
|
|
14
14
|
|
|
15
15
|
module Enola
|
|
16
16
|
class << self
|
|
17
|
-
attr_writer :channel
|
|
17
|
+
attr_writer :channel
|
|
18
18
|
|
|
19
19
|
# Another channel's gem installs its own resolver here, so every rake
|
|
20
20
|
# task and wrapped command built on Runner drives that channel's binary.
|
|
21
|
+
# Readable as well as writable: whoever replaces it can put back what was
|
|
22
|
+
# installed rather than what it assumed.
|
|
23
|
+
attr_accessor :resolver_factory
|
|
24
|
+
|
|
21
25
|
def resolver
|
|
22
26
|
(@resolver_factory || -> { Resolver.new(channel: channel) }).call
|
|
23
27
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: enola
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.5.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Muhamed Isabegovic
|
|
@@ -26,8 +26,9 @@ dependencies:
|
|
|
26
26
|
version: '1.3'
|
|
27
27
|
description: |
|
|
28
28
|
A pure-Ruby wrapper around enola, the architecture-graph tool by enola-labs.
|
|
29
|
-
The gem
|
|
30
|
-
|
|
29
|
+
The gem versions itself; the enola release it drives is named in its
|
|
30
|
+
UPSTREAM_VERSION, 0.4.4 here. The binary is not in the
|
|
31
|
+
gem: the first command that needs it downloads the release for your
|
|
31
32
|
platform, verifies it against the checksum the release publishes, and keeps
|
|
32
33
|
it in a per-user cache. Every command and exit code is forwarded unchanged.
|
|
33
34
|
This gem is not an enola-labs release.
|
|
@@ -79,6 +80,6 @@ requirements: []
|
|
|
79
80
|
rubygems_version: 3.5.22
|
|
80
81
|
signing_key:
|
|
81
82
|
specification_version: 4
|
|
82
|
-
summary: 'Runs the released enola from Ruby: fetched on first use, verified,
|
|
83
|
-
|
|
83
|
+
summary: 'Runs the released enola from Ruby: fetched on first use, verified, cached.
|
|
84
|
+
This release drives enola 0.4.4.'
|
|
84
85
|
test_files: []
|