vident-typed-phlex 0.13.1 → 0.14.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 +5 -0
- data/README.md +0 -53
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 786fa55b8127d5176f14cf7a96eb278631182d1fa2cada2508eafd6bb9155672
|
4
|
+
data.tar.gz: 85a3bb536f39ec1997daff172aeac42cadee5354205f2ea4d6a752949daccd8b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 50085efa9aa4f69d5ca59623f1f2229cbf00a40c59e857597126562602204eca71f6862bf3299e89f7a1286fc456ac97392a3982ff219fca331b8d3fc3db6a77
|
7
|
+
data.tar.gz: f79ae323f96e8b8ce35340e3adb716439f42800909eb26952c4b196e758defc337aba799b5718d46e694228897b18481eff93c40e6be62411b39850c8d5f4f30
|
data/CHANGELOG.md
CHANGED
@@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
|
|
5
5
|
The format is based on [Keep a Changelog](http://keepachangelog.com/)
|
6
6
|
and this project adheres to [Semantic Versioning](http://semver.org/).
|
7
7
|
|
8
|
+
## [0.14.0] - 2025-09-17
|
9
|
+
|
10
|
+
## Breaking
|
11
|
+
|
12
|
+
Drop support for `better_html`
|
8
13
|
|
9
14
|
## [0.13.0] - 2024-04-07
|
10
15
|
|
data/README.md
CHANGED
@@ -19,7 +19,6 @@ And then optional extra features:
|
|
19
19
|
- `vident-typed-minitest`: Minitest integration for typed Vident components
|
20
20
|
- `vident-typed-phlex`: Phlex integration for typed Vident components
|
21
21
|
- `vident-typed-view_component`: ViewComponent integration for typed Vident
|
22
|
-
- `vident-better_html`: Better HTML integration for Vident
|
23
22
|
|
24
23
|
## Directory Structure
|
25
24
|
|
@@ -30,12 +29,6 @@ vident/
|
|
30
29
|
├── lib/ # All gem code
|
31
30
|
│ ├── vident.rb # Core entry point
|
32
31
|
│ ├── vident-phlex.rb # Gem entry points
|
33
|
-
│ ├── vident-better_html.rb
|
34
|
-
│ ├── vident/ # Shared code
|
35
|
-
│ ├── base.rb
|
36
|
-
│ ├── phlex/ # Phlex integration
|
37
|
-
│ ├── better_html/ # Better HTML integration
|
38
|
-
│ └── ...
|
39
32
|
├── test/ # All tests
|
40
33
|
│ ├── vident/ # Core tests
|
41
34
|
│ ├── vident-phlex/ # Tests for each gem
|
@@ -652,52 +645,6 @@ Or install it yourself as:
|
|
652
645
|
$ gem install vident-view_component
|
653
646
|
```
|
654
647
|
|
655
|
-
---
|
656
|
-
|
657
|
-
## gem: vident-better_html
|
658
|
-
|
659
|
-
# Vident::BetterHtml
|
660
|
-
Short description and motivation.
|
661
|
-
|
662
|
-
### Usage
|
663
|
-
How to use my plugin.
|
664
|
-
|
665
|
-
```ruby
|
666
|
-
BetterHtml.config = BetterHtml::Config.new(YAML.load(File.read(".better-html.yml")))
|
667
|
-
|
668
|
-
BetterHtml.configure do |config|
|
669
|
-
config.template_exclusion_filter = proc { |filename| !filename.start_with?(Rails.root.to_s) }
|
670
|
-
end
|
671
|
-
# ViewComponent needs to do this hack to work in certain cases
|
672
|
-
# see https://github.com/Shopify/better-html/pull/98
|
673
|
-
class BetterHtml::HtmlAttributes
|
674
|
-
alias_method :to_s_without_html_safe, :to_s
|
675
|
-
|
676
|
-
def to_s
|
677
|
-
to_s_without_html_safe.html_safe
|
678
|
-
end
|
679
|
-
end
|
680
|
-
```
|
681
|
-
|
682
|
-
### Installation
|
683
|
-
Add this line to your application's Gemfile:
|
684
|
-
|
685
|
-
```ruby
|
686
|
-
gem "vident-better_html"
|
687
|
-
```
|
688
|
-
|
689
|
-
And then execute:
|
690
|
-
```bash
|
691
|
-
$ bundle
|
692
|
-
```
|
693
|
-
|
694
|
-
Or install it yourself as:
|
695
|
-
```bash
|
696
|
-
$ gem install vident-better_html
|
697
|
-
```
|
698
|
-
|
699
|
-
---
|
700
|
-
|
701
648
|
## gem: vident-phlex
|
702
649
|
|
703
650
|
# Vident::Phlex
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vident-typed-phlex
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.14.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stephen Ierodiaconou
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date:
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: railties
|
@@ -35,28 +35,28 @@ dependencies:
|
|
35
35
|
requirements:
|
36
36
|
- - "~>"
|
37
37
|
- !ruby/object:Gem::Version
|
38
|
-
version: 0.
|
38
|
+
version: 0.14.0
|
39
39
|
type: :runtime
|
40
40
|
prerelease: false
|
41
41
|
version_requirements: !ruby/object:Gem::Requirement
|
42
42
|
requirements:
|
43
43
|
- - "~>"
|
44
44
|
- !ruby/object:Gem::Version
|
45
|
-
version: 0.
|
45
|
+
version: 0.14.0
|
46
46
|
- !ruby/object:Gem::Dependency
|
47
47
|
name: vident-typed
|
48
48
|
requirement: !ruby/object:Gem::Requirement
|
49
49
|
requirements:
|
50
50
|
- - "~>"
|
51
51
|
- !ruby/object:Gem::Version
|
52
|
-
version: 0.
|
52
|
+
version: 0.14.0
|
53
53
|
type: :runtime
|
54
54
|
prerelease: false
|
55
55
|
version_requirements: !ruby/object:Gem::Requirement
|
56
56
|
requirements:
|
57
57
|
- - "~>"
|
58
58
|
- !ruby/object:Gem::Version
|
59
|
-
version: 0.
|
59
|
+
version: 0.14.0
|
60
60
|
description: Vident with Phlex & typed attributes
|
61
61
|
email:
|
62
62
|
- stevegeek@gmail.com
|
@@ -92,7 +92,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
92
92
|
- !ruby/object:Gem::Version
|
93
93
|
version: '0'
|
94
94
|
requirements: []
|
95
|
-
rubygems_version: 3.6.
|
95
|
+
rubygems_version: 3.6.7
|
96
96
|
specification_version: 4
|
97
97
|
summary: Vident with Phlex & typed attributes
|
98
98
|
test_files: []
|