vident 0.6.0 → 0.6.1

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: e4d88cce5b38bd6e4c19016a7bad835cd25b8e4453284fc5795d039e7b48d145
4
- data.tar.gz: f63eca71787e977e9204336b16f8cd32e3fa5c73ee88977ff3befdd8a5f8a33a
3
+ metadata.gz: 67e45f543fe3f97dd050d2290df241245d23b28e3cda663690f56040c3a544d4
4
+ data.tar.gz: 4e3ad1886e6d29b9b67c633ba580fbc35800e567f5fe8cf0243362dede04bebd
5
5
  SHA512:
6
- metadata.gz: 3845320ed4eef3e3b3919ef970e93e9ed2c09332ccf14db2224b1d98402b43471e6a543690249fb42a64b52a50f35314f05844f460c702af60c5cc8cf0bc083a
7
- data.tar.gz: d167a0e66951777bbde64f657d97e68804ca15bc6890604e0d4015d27a4ee4b17a252574f5e0dcd5cc9f9864929f20bc24ad5689f98e1c853b7cb4da36c293a7
6
+ metadata.gz: 04226cd965c9ea3b0c85aad8e17fa59f2d6093bf1629939daf5a628db7560de496f8c50d1aa053cc02115652bbc4dc38ea5c01bd23b22b6e99a6811065e8e66c
7
+ data.tar.gz: 1ff880c833a70a07aa95099e79a565d25b924411600c951784e9eabbcf6ad9828c08973119d6209c51e285500c6d55970493832fa8af7acddf34ae9cc84c44d3
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.1] - 2023-02-20
17
+
18
+ ### Fixed
19
+
20
+ - `better_html` support fix for aliased dsl methods
21
+
22
+
16
23
  ## [0.6.0] - 2023-02-20
17
24
 
18
25
  ### Added
@@ -17,12 +17,14 @@ if Gem.loaded_specs.has_key? "better_html"
17
17
  attrs = build_target_data_attributes(parse_targets(targets))
18
18
  helpers.html_attributes(attrs.transform_keys! { |k| "data-#{k}" })
19
19
  end
20
+ alias_method :as_target, :as_targets
20
21
 
21
22
  # Return the HTML `data-action` attribute for the given actions
22
23
  def with_actions(*actions_to_set)
23
24
  actions_str = action_list(actions_to_set)
24
25
  actions_str.present? ? helpers.html_attributes("data-action" => actions_str) : nil
25
26
  end
27
+ alias_method :with_action, :with_actions
26
28
 
27
29
  private
28
30
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Vident
4
- VERSION = "0.6.0"
4
+ VERSION = "0.6.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vident
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen Ierodiaconou