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: 67e45f543fe3f97dd050d2290df241245d23b28e3cda663690f56040c3a544d4
4
- data.tar.gz: 4e3ad1886e6d29b9b67c633ba580fbc35800e567f5fe8cf0243362dede04bebd
3
+ metadata.gz: 34159659a1af3114685b2170e3c2f9667f1b87cc1a03082f99abb45d2b86bec4
4
+ data.tar.gz: 4bf98392df9f0f4c531930bcd26245c91287d48065941374eb4715ccfa15d439
5
5
  SHA512:
6
- metadata.gz: 04226cd965c9ea3b0c85aad8e17fa59f2d6093bf1629939daf5a628db7560de496f8c50d1aa053cc02115652bbc4dc38ea5c01bd23b22b6e99a6811065e8e66c
7
- data.tar.gz: 1ff880c833a70a07aa95099e79a565d25b924411600c951784e9eabbcf6ad9828c08973119d6209c51e285500c6d55970493832fa8af7acddf34ae9cc84c44d3
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[*(Phlex::HTML::VOID_ELEMENTS.keys + Phlex::HTML::STANDARD_ELEMENTS.keys)].freeze
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.merge(id: @id) if @id
41
+ return options unless @id
42
+ options.merge(id: @id)
42
43
  end
43
44
 
44
45
  def content_tag_type
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Vident
4
- VERSION = "0.6.1"
4
+ VERSION = "0.6.3"
5
5
  end
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.1
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-02-20 00:00:00.000000000 Z
11
+ date: 2023-03-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport