enola 0.4.4 → 0.4.4.1
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/README.md +32 -7
- data/lib/enola/channel.rb +1 -1
- data/lib/enola/version.rb +4 -1
- data/lib/enola.rb +5 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 84ee668ecfaed2e6d8ebc55fe5054e1635300502f762887f2d7b96660beb908f
|
|
4
|
+
data.tar.gz: 2905c89cad26afb7f6226515c7b3620ed6e089c16ff5886398f4043deda50360
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e8b8a19a54c9f13be8b2dd6a1d62b5cb999d14a7ff959f0771ca25cfc63b6fac3822bc31ccd676cc44c60e4106401c626f9fc1e7b2802a68d3f5f68a0c23c322
|
|
7
|
+
data.tar.gz: 42a9119e1b7d33d1a20b3e3d9f7a79f2c8199de3599365f6d13674db19a968aba0a749180014b061bb413940a17ae8212ebf63181ee40302acdcae20952c1bb5
|
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/README.md
CHANGED
|
@@ -1,9 +1,14 @@
|
|
|
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
14
|
The wrapper of the released enola. Its version is the upstream release it
|
|
@@ -78,8 +83,7 @@ gem "munola"
|
|
|
78
83
|
```
|
|
79
84
|
|
|
80
85
|
```sh
|
|
81
|
-
|
|
82
|
-
bundle exec munola init .
|
|
86
|
+
bundle exec munola init . --tenant-column company_id
|
|
83
87
|
bundle exec munola --version
|
|
84
88
|
```
|
|
85
89
|
|
|
@@ -97,7 +101,28 @@ into the binary, and fetches the Rubydex library, a failed fetch reported as a
|
|
|
97
101
|
named skip. It never asks a question. `munola --version` names the munola
|
|
98
102
|
version, the upstream it is built on and which binary answered.
|
|
99
103
|
|
|
100
|
-
The
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
+
The binary comes from the fork's releases the way `enola`'s comes from
|
|
105
|
+
upstream's, fetched on first use and verified against the sha256 the release
|
|
106
|
+
publishes; `MUNOLA_BINARY=/path/to/enola` names one to drive instead, and
|
|
107
|
+
every command says which answered. `munola` depends on `enola` at its upstream
|
|
108
|
+
version and on `enola-guides` 0.3.1 or later; requiring it loads no Rails.
|
|
109
|
+
|
|
110
|
+
## `munola-rb`
|
|
111
|
+
|
|
112
|
+
The Rails layer over `munola`, what `enola-rb` is to `enola`. It depends on
|
|
113
|
+
both at their own versions and adds one generator.
|
|
114
|
+
|
|
115
|
+
```ruby
|
|
116
|
+
gem "munola-rb"
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
```sh
|
|
120
|
+
bin/rails generate munola:install --tenant-column company_id
|
|
121
|
+
bin/rake enola:snapshot
|
|
122
|
+
bin/rake enola:check
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
The generator runs the same install `munola init` does. The rake tasks are
|
|
126
|
+
enola-rb's and need no munola copy: `munola` installs its own resolver when it
|
|
127
|
+
loads, so `enola:snapshot` and `enola:check` drive the munola binary in an app
|
|
128
|
+
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
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
3
|
module Enola
|
|
4
|
-
VERSION
|
|
4
|
+
# The release this wrapper drives. VERSION carries a patch segment for
|
|
5
|
+
# wrapper-only fixes, so what to fetch is stated separately.
|
|
6
|
+
UPSTREAM_VERSION = "0.4.4"
|
|
7
|
+
VERSION = "#{UPSTREAM_VERSION}.1"
|
|
5
8
|
end
|
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
|