vident 0.6.1 → 0.6.2

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: 617bb447fa9a255a73fa4f70de7da9df8a0bf8b3f8a0528a32d01dc39780d30b
4
+ data.tar.gz: d8898e7b5fcf959bc5fcacf46177d9ae550fbddd01e44368f26f1faa5bab916f
5
5
  SHA512:
6
- metadata.gz: 04226cd965c9ea3b0c85aad8e17fa59f2d6093bf1629939daf5a628db7560de496f8c50d1aa053cc02115652bbc4dc38ea5c01bd23b22b6e99a6811065e8e66c
7
- data.tar.gz: 1ff880c833a70a07aa95099e79a565d25b924411600c951784e9eabbcf6ad9828c08973119d6209c51e285500c6d55970493832fa8af7acddf34ae9cc84c44d3
6
+ metadata.gz: 7fedc5b84b8c99f5deb998378e2818519448375345e25857389866387ae2547d8ed5e8f9a1c99d33073d75d9ef9f5e89087b4b3aaefd01ba0df855e750da71be
7
+ data.tar.gz: d14be93998560999bc3d84e0e59dbdb28f1a1827abde538363f03423121e4113abf40fcbaf598a8d872344b5531568e58e23a216c089e3c403a60b02625d3107
data/CHANGELOG.md CHANGED
@@ -13,6 +13,13 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
13
13
 
14
14
  ### Fixed
15
15
 
16
+ ## [0.6.2] - 2023-02-23
17
+
18
+ ### Fixed
19
+
20
+ - Element tag options are not set when no ID is provided
21
+
22
+
16
23
  ## [0.6.1] - 2023-02-20
17
24
 
18
25
  ### Fixed
@@ -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.2"
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.2
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-02-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport