vident-view_component 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fd8d7cb32155219b2349ae5fc0f1c91bf4775326bd0a789d5ca6eb45c42a1b26
4
- data.tar.gz: 91adb04e1eb708ea7ee686f99befae1b88c591eb1efffc5ef7410464d55bd936
3
+ metadata.gz: 848a3faeaa109da61bb73b5ee1575683b8aec8ac558260b7a05f88ffb769f0e9
4
+ data.tar.gz: 8e6915ae431e0dd27b7bb2363adbe74e7070e38b6c4fdb0e4c9a318bf7e49176
5
5
  SHA512:
6
- metadata.gz: e7bb39179fcea699c14bdaacc2ec6fb489a68fae54befbdf26ee0fc54c151830ef5d39501230a2692ecbb2138b56b4784e417f7ce3058426a29d6eecac0d9cd8
7
- data.tar.gz: 64b175d196a7a8d64256f264507d6257dba77d64222f984e6c4fb8484d23f7d5c8b085c5ff0fd8e609d6b32563a30986a81342d9378e46b36ecac65e0dbd7a69
6
+ metadata.gz: 316c88943129243754782ac6d95f6b33e857d1e3f8468122758bba1208816b837f0a8221986421bfa5ffa745abbf2d0023d7a2dff6bbf8354d2b8b343983518d
7
+ data.tar.gz: d2e958342276c41e43ff34472afbc9738709489085ce9859cef077ec066b9060045f0cc0c59d008d283e0384d45814ea9073d8388dcbdca095e865ada8e55196
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
@@ -5,14 +5,6 @@ module Vident
5
5
  class RootComponent < ::ViewComponent::Base
6
6
  include ::Vident::RootComponent
7
7
 
8
- if Gem.loaded_specs.has_key? "better_html"
9
- begin
10
- include ::Vident::BetterHtml::RootComponent
11
- rescue
12
- raise "if `better_html`` is being used you must install `vident-better_html"
13
- end
14
- end
15
-
16
8
  SELF_CLOSING_TAGS = Set[:area, :base, :br, :col, :embed, :hr, :img, :input, :link, :meta, :param, :source, :track, :wbr].freeze
17
9
 
18
10
  def target_tag(tag_name, targets, **options, &block)
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vident-view_component
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.1
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: 2025-06-26 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: railties
@@ -55,14 +55,14 @@ dependencies:
55
55
  requirements:
56
56
  - - "~>"
57
57
  - !ruby/object:Gem::Version
58
- version: 0.13.1
58
+ version: 0.14.0
59
59
  type: :runtime
60
60
  prerelease: false
61
61
  version_requirements: !ruby/object:Gem::Requirement
62
62
  requirements:
63
63
  - - "~>"
64
64
  - !ruby/object:Gem::Version
65
- version: 0.13.1
65
+ version: 0.14.0
66
66
  - !ruby/object:Gem::Dependency
67
67
  name: view_component
68
68
  requirement: !ruby/object:Gem::Requirement
@@ -120,7 +120,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
120
120
  - !ruby/object:Gem::Version
121
121
  version: '0'
122
122
  requirements: []
123
- rubygems_version: 3.6.2
123
+ rubygems_version: 3.6.7
124
124
  specification_version: 4
125
125
  summary: Vident with ViewComponent
126
126
  test_files: []