janela 0.4.1 → 0.6.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 +26 -0
- data/README.md +51 -2
- data/UPGRADING.md +107 -0
- data/app/assets/javascripts/janela/frame_controller.js +38 -3
- data/app/helpers/janela/frames_helper.rb +14 -3
- data/app/views/janela/frames/_frame.html.erb +1 -1
- data/app/views/janela/queries/show.html.erb +6 -1
- data/docs/decisions/026-a-renderer-is-the-seam-and-html-comes-first.md +93 -0
- data/docs/decisions/027-the-gallery-is-a-host-page.md +87 -0
- data/docs/decisions/028-the-predicate-list-adr-025-named.md +75 -0
- data/docs/decisions/029-a-panes-frame-is-identified-by-who-it-is.md +112 -0
- data/docs/decisions/030-a-panes-src-belongs-to-turbo.md +93 -0
- data/docs/decisions/031-a-subclass-inherits-the-dashboard.md +110 -0
- data/docs/decisions/INDEX.md +13 -7
- data/lib/janela/definition.rb +49 -3
- data/lib/janela/dimension.rb +13 -0
- data/lib/janela/doctor.rb +29 -1
- data/lib/janela/model.rb +46 -10
- data/lib/janela/version.rb +1 -1
- data/lib/janela.rb +31 -3
- metadata +21 -1
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: janela
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.6.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jay Killeen
|
|
@@ -161,6 +161,12 @@ files:
|
|
|
161
161
|
- docs/decisions/023-vitral-is-a-theme-not-the-stylesheet.md
|
|
162
162
|
- docs/decisions/024-selecting-more-than-one-value.md
|
|
163
163
|
- docs/decisions/025-janela-bounds-what-a-filter-can-ask-for.md
|
|
164
|
+
- docs/decisions/026-a-renderer-is-the-seam-and-html-comes-first.md
|
|
165
|
+
- docs/decisions/027-the-gallery-is-a-host-page.md
|
|
166
|
+
- docs/decisions/028-the-predicate-list-adr-025-named.md
|
|
167
|
+
- docs/decisions/029-a-panes-frame-is-identified-by-who-it-is.md
|
|
168
|
+
- docs/decisions/030-a-panes-src-belongs-to-turbo.md
|
|
169
|
+
- docs/decisions/031-a-subclass-inherits-the-dashboard.md
|
|
164
170
|
- docs/decisions/INDEX.md
|
|
165
171
|
- docs/multi-tenancy.md
|
|
166
172
|
- docs/naming.md
|
|
@@ -183,6 +189,20 @@ metadata:
|
|
|
183
189
|
changelog_uri: https://github.com/retail-tasker/janela/blob/main/CHANGELOG.md
|
|
184
190
|
bug_tracker_uri: https://github.com/retail-tasker/janela/issues
|
|
185
191
|
rubygems_mfa_required: 'true'
|
|
192
|
+
post_install_message: |
|
|
193
|
+
Janela 0.6.0 changes how single table inheritance is handled (ADR 031).
|
|
194
|
+
You need to act only if your application has STI subclasses under a model
|
|
195
|
+
that declares a janela block. Every named subclass of one is now
|
|
196
|
+
registered and addressable on its own route key, and Janela.definitions
|
|
197
|
+
returns one entry per subclass where a form offering a choice of model
|
|
198
|
+
previously showed one.
|
|
199
|
+
|
|
200
|
+
Everyone else: nothing to do.
|
|
201
|
+
|
|
202
|
+
Steps: UPGRADING.md in this gem, or
|
|
203
|
+
https://github.com/retail-tasker/janela/blob/main/UPGRADING.md
|
|
204
|
+
|
|
205
|
+
Then run: bin/rails janela:doctor
|
|
186
206
|
rdoc_options: []
|
|
187
207
|
require_paths:
|
|
188
208
|
- lib
|