vident 0.6.1 → 0.6.3
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 34159659a1af3114685b2170e3c2f9667f1b87cc1a03082f99abb45d2b86bec4
|
4
|
+
data.tar.gz: 4bf98392df9f0f4c531930bcd26245c91287d48065941374eb4715ccfa15d439
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d5826f1ccef2cbfec3fe8fbf717e81441c438c5091d0ff60ff48a84272700bef7c4fdc33b9f51e4a6293cecae8d0d59802b03667d11eb8fd3c69ff25ca88d552
|
7
|
+
data.tar.gz: bd33d01fef040b09f5ca97a259d4e2f035d4fb4aead3c7a4115f758423ec247b676b8f37eee5b1a96fe8ba2dbb20dd0498c9e68fb2de972f3dd93dc9eca7885a
|
data/CHANGELOG.md
CHANGED
@@ -13,6 +13,20 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
|
|
13
13
|
|
14
14
|
### Fixed
|
15
15
|
|
16
|
+
## [0.6.3] - 2023-03-03
|
17
|
+
|
18
|
+
### Fixed
|
19
|
+
|
20
|
+
- Fix for changes to HTML tag collection in Phlex
|
21
|
+
|
22
|
+
|
23
|
+
## [0.6.2] - 2023-02-23
|
24
|
+
|
25
|
+
### Fixed
|
26
|
+
|
27
|
+
- Element tag options are not set when no ID is provided
|
28
|
+
|
29
|
+
|
16
30
|
## [0.6.1] - 2023-02-20
|
17
31
|
|
18
32
|
### Fixed
|
@@ -11,7 +11,9 @@ if Gem.loaded_specs.has_key? "phlex"
|
|
11
11
|
include UsingBetterHTML
|
12
12
|
end
|
13
13
|
|
14
|
-
VALID_TAGS = Set[
|
14
|
+
VALID_TAGS = Set[
|
15
|
+
*(Phlex::HTML::VoidElements::REGISTERED_ELEMENTS.keys + Phlex::HTML::StandardElements::REGISTERED_ELEMENTS.keys)
|
16
|
+
].freeze
|
15
17
|
|
16
18
|
# Create a tag for a target with a block containing content
|
17
19
|
def target_tag(tag_name, targets, **options, &block)
|
@@ -38,7 +38,8 @@ if Gem.loaded_specs.has_key? "view_component"
|
|
38
38
|
options = @html_options&.dup || {}
|
39
39
|
data_attrs = tag_data_attributes
|
40
40
|
options[:data] = options[:data].present? ? data_attrs.merge(options[:data]) : data_attrs
|
41
|
-
options
|
41
|
+
return options unless @id
|
42
|
+
options.merge(id: @id)
|
42
43
|
end
|
43
44
|
|
44
45
|
def content_tag_type
|
data/lib/vident/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vident
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stephen Ierodiaconou
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-03-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|