vident-typed-minitest 0.13.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 +7 -0
- data/CHANGELOG.md +215 -0
- data/LICENSE.txt +21 -0
- data/README.md +866 -0
- data/lib/vident/typed/minitest/attributes_tester.rb +214 -0
- data/lib/vident/typed/minitest/auto_test.rb +73 -0
- data/lib/vident/typed/minitest/engine.rb +8 -0
- data/lib/vident/typed/minitest/test_case.rb +12 -0
- data/lib/vident/typed/minitest/version.rb +7 -0
- data/lib/vident/typed/minitest.rb +14 -0
- metadata +166 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 786db5880e5fef34fe4d384ab2510941377841ab7027898e3f60d79a33a95c0a
|
4
|
+
data.tar.gz: c0d1574499adb3375aeb8011e58913871603fe706d9a0d20ee4fbaf166cb98d4
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 78b372798790813ca01419f7782f118adffe2446003e59375c85190f8dd9ddb6c012361765a9eb0512193dd163abbec5ae1cbe40eba20af888e850c801f8fca2
|
7
|
+
data.tar.gz: 9cbe8b03aab06ebe888a4592aaad3b0c4a1ac8c9a76a74eccb9d8f5af04258a10611c47b38e9c5bef689d633562037f36b0e91838546224717d665757c39d9dc
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,215 @@
|
|
1
|
+
|
2
|
+
# Change Log
|
3
|
+
All notable changes to this project will be documented in this file.
|
4
|
+
|
5
|
+
The format is based on [Keep a Changelog](http://keepachangelog.com/)
|
6
|
+
and this project adheres to [Semantic Versioning](http://semver.org/).
|
7
|
+
|
8
|
+
|
9
|
+
## [Unreleased]
|
10
|
+
|
11
|
+
### Added
|
12
|
+
|
13
|
+
- New monorepo structure for the Vident project, retaining the separate gems however.
|
14
|
+
- All gems now have the same version and are released together.
|
15
|
+
|
16
|
+
### Changed
|
17
|
+
|
18
|
+
### Fixed
|
19
|
+
|
20
|
+
## [0.12.1] - 2024-06-12
|
21
|
+
|
22
|
+
### Fixed
|
23
|
+
|
24
|
+
- parsing of targets where the controller is also specified
|
25
|
+
|
26
|
+
## [0.12.0] - 2024-02-25
|
27
|
+
|
28
|
+
### Added
|
29
|
+
|
30
|
+
- `outlet` DSL methods updated so that the selector is scoped to the component's root element by default. This
|
31
|
+
is probably the most common use case, and it's now the default.
|
32
|
+
- `with_outlets` DSL method added to generate the data-* attributes for the outlets and return as a fragment
|
33
|
+
of HTML
|
34
|
+
|
35
|
+
|
36
|
+
## [0.11.0] - 2024-02-21
|
37
|
+
|
38
|
+
### Added
|
39
|
+
|
40
|
+
- `outlet_host` DSL method to support components hooking themselves into a host component's outlets
|
41
|
+
|
42
|
+
|
43
|
+
|
44
|
+
## [0.10.1] - 2024-02-21
|
45
|
+
|
46
|
+
### Added
|
47
|
+
|
48
|
+
- `outlets` option now accepts either a string stimulus controller identifier, a component instance, or a tuple of
|
49
|
+
identifier and CSS selector for the outlet.
|
50
|
+
|
51
|
+
|
52
|
+
## [0.10.0] - 2024-02-21
|
53
|
+
|
54
|
+
### Added
|
55
|
+
|
56
|
+
- `outlets` option for components, used to specify Stimulus outlets
|
57
|
+
|
58
|
+
## [0.9.0] - 2023-08-11
|
59
|
+
|
60
|
+
### Added
|
61
|
+
|
62
|
+
- `#cache_key` support is now part of the core gem, and can be added to components using `Vident::Caching` module
|
63
|
+
|
64
|
+
## [0.8.0] - 2023-03-31
|
65
|
+
|
66
|
+
### Added
|
67
|
+
|
68
|
+
- new gems for Vident related functionality, eg `vident-typed` and `vident-tailwind`
|
69
|
+
- `vident` is now the core gem which can be used with any component system. Gems for Phlex and ViewComponent are available, `vident-phlex` and `vident-view_component`, and `vident-typed-phlex` and `vident-typed-view_component` are available with typed attributes support.
|
70
|
+
|
71
|
+
### Changed
|
72
|
+
|
73
|
+
- removed functionality for `better_html`, `dry-types`, `view_component`, and `phlex` from the core gem
|
74
|
+
- gem is now a Rails Engine and supports eager and autoloading
|
75
|
+
|
76
|
+
### Fixed
|
77
|
+
|
78
|
+
- Fix untyped attributes inheritance
|
79
|
+
|
80
|
+
## [0.7.0] - 2023-03-08
|
81
|
+
|
82
|
+
### Added
|
83
|
+
|
84
|
+
- new `Vident::Tailwind` module which uses [tailwind_merge](https://github.com/gjtorikian/tailwind_merge) to merge TailwindCSS classes
|
85
|
+
|
86
|
+
### Changed
|
87
|
+
|
88
|
+
- Removed a dependency on intenal constants from `phlex`
|
89
|
+
|
90
|
+
## [0.6.3] - 2023-03-03
|
91
|
+
|
92
|
+
### Fixed
|
93
|
+
|
94
|
+
- Fix for changes to HTML tag collection in Phlex
|
95
|
+
|
96
|
+
|
97
|
+
## [0.6.2] - 2023-02-23
|
98
|
+
|
99
|
+
### Fixed
|
100
|
+
|
101
|
+
- Element tag options are not set when no ID is provided
|
102
|
+
|
103
|
+
|
104
|
+
## [0.6.1] - 2023-02-20
|
105
|
+
|
106
|
+
### Fixed
|
107
|
+
|
108
|
+
- `better_html` support fix for aliased dsl methods
|
109
|
+
|
110
|
+
|
111
|
+
## [0.6.0] - 2023-02-20
|
112
|
+
|
113
|
+
### Added
|
114
|
+
|
115
|
+
- Experimental support for `better_html` in the root components (the stimulus attributes are generated with `html_attributes`)
|
116
|
+
|
117
|
+
|
118
|
+
|
119
|
+
## [0.5.1] - 2023-02-17
|
120
|
+
|
121
|
+
### Added
|
122
|
+
|
123
|
+
- N/A
|
124
|
+
|
125
|
+
### Changed
|
126
|
+
|
127
|
+
- N/A
|
128
|
+
|
129
|
+
### Fixed
|
130
|
+
|
131
|
+
- Typed attributes was not always using custom coercion methods if they were defined
|
132
|
+
|
133
|
+
### Removed
|
134
|
+
|
135
|
+
- N/A
|
136
|
+
|
137
|
+
### Deprecated
|
138
|
+
|
139
|
+
- N/A
|
140
|
+
|
141
|
+
### Security
|
142
|
+
|
143
|
+
- N/A
|
144
|
+
|
145
|
+
---
|
146
|
+
|
147
|
+
# Package Changelogs
|
148
|
+
|
149
|
+
## vident-better_html
|
150
|
+
|
151
|
+
### [0.6.0] - 2023-02-20
|
152
|
+
|
153
|
+
#### Added
|
154
|
+
|
155
|
+
- Experimental support for `better_html` in the root components (the stimulus attributes are generated with `html_attributes`)
|
156
|
+
|
157
|
+
### [0.6.1] - 2023-02-20
|
158
|
+
|
159
|
+
#### Fixed
|
160
|
+
|
161
|
+
- `better_html` support fix for aliased dsl methods
|
162
|
+
|
163
|
+
## vident-tailwind
|
164
|
+
|
165
|
+
### [0.1.1] - 2023-04-02
|
166
|
+
|
167
|
+
#### Fixed
|
168
|
+
|
169
|
+
- `tailwind_merge` should only take a non-nil value, and since it uses the class string as a cache key, it should not be blank.
|
170
|
+
|
171
|
+
## vident-typed-view_component
|
172
|
+
|
173
|
+
### [0.3.0] - 2023-08-12
|
174
|
+
|
175
|
+
- Update to depend on `vident-view_component` v0.3.0
|
176
|
+
- Adds support for new `Vident::Caching` module
|
177
|
+
- Update examples to support view_component v3
|
178
|
+
|
179
|
+
### [0.1.0] - 2023-04-01
|
180
|
+
|
181
|
+
- Initial release, extracted from `vident`
|
182
|
+
|
183
|
+
## vident-view_component
|
184
|
+
|
185
|
+
### [0.3.0] - 2023-08-12
|
186
|
+
|
187
|
+
- Update to depend on `vident` v0.9.0
|
188
|
+
- Adds support for new `Vident::Caching` module
|
189
|
+
- Update examples to support view_component v3
|
190
|
+
|
191
|
+
### [0.1.0] - 2023-04-01
|
192
|
+
|
193
|
+
- Initial release, extracted from `vident`
|
194
|
+
|
195
|
+
## vident-phlex
|
196
|
+
|
197
|
+
### [0.3.0] - 2023-08-12
|
198
|
+
|
199
|
+
- Update to depend on `vident` v0.9.0
|
200
|
+
- Adds support for new `Vident::Caching` module
|
201
|
+
|
202
|
+
### [0.1.0] - 2023-04-01
|
203
|
+
|
204
|
+
- Initial release, extracted from `vident`
|
205
|
+
|
206
|
+
## vident-typed-phlex
|
207
|
+
|
208
|
+
### [0.3.0] - 2023-08-12
|
209
|
+
|
210
|
+
- Update to depend on `vident-typed` v0.3.0
|
211
|
+
- Adds support for new `Vident::Caching` module
|
212
|
+
|
213
|
+
### [0.1.0] - 2023-04-01
|
214
|
+
|
215
|
+
- Initial release, extracted from `vident`
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2022-2025 Stephen Ierodiaconou
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|