ariadne_view_components 0.0.86.7 → 0.0.86.8

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: 0a39428dcfdc1a4cd39ba0460252ce8304da0004fae178dbb02789bb3b1f0e6b
4
- data.tar.gz: b0ec3ccfb839efda8014b64761bc94a213216bbe8a6c3ae588870bff3da0002e
3
+ metadata.gz: c4c4e1c01355e1029dfd73a5d99e59584de225da37e09193b1ce4c2f0ebe066f
4
+ data.tar.gz: a7c816e8a5af436dc47e5fe144b37387b24bcc71c6e0eb15230911da6dbaca79
5
5
  SHA512:
6
- metadata.gz: e22d0e70736435f07fd4105d1f826e6b5c6275bb1379218166ded7ebe19013032509e6c49bbd9e22416b578208a9b5ddb8ea9dea209870eee54c61a190e7dd22
7
- data.tar.gz: ad961197d436e881b79fe5e20bc8ab918a0e988c2f7598025753603da36d1fe6096fd7f5247d66c3a4c121af4e299b3e4cc46a742ff97dbeb330279cd0d38c2c
6
+ metadata.gz: 1da3beafdadeb60d8fc0694a0643550f607ea4ba4b4c75df0da0edb2f11f5676ea15844b454eb71443d1bd986e51473a692247af0a1f1760d317649c9e48a9ba
7
+ data.tar.gz: 65314736b356d78f9e5ce2d7b4cf4c56685f036053903efb4ba4f1e2a317175141234293adbc97c5ef08a0dd8b37ead403129f2ea4537a9415c489dc1415ec2a
data/CHANGELOG.md CHANGED
@@ -1,3 +1,5 @@
1
+ # [v0.0.86.8] - 15-08-2024
2
+ **Full Changelog**: https://github.com/yettoapp/ariadne/compare/v0.0.86.7...v0.0.86.8
1
3
  # [v0.0.86.7] - 15-08-2024
2
4
  **Full Changelog**: https://github.com/yettoapp/ariadne/compare/v0.0.86.6...v0.0.86.7
3
5
  # [v0.0.86.6] - 11-08-2024
@@ -30,11 +30,13 @@ module Ariadne
30
30
  end
31
31
 
32
32
  html_attrs[:data] ||= {}
33
+ added_controller = html_attrs[:data].delete(:controller) || ""
34
+ added_action = html_attrs[:data].delete(:action) || ""
33
35
  html_attrs[:data] = {
34
- controller: "#{stimulus_name} #{html_attrs[:data][:controller]}".rstrip,
36
+ controller: "#{stimulus_name} #{added_controller}",
35
37
  "#{stimulus_name}-target": "toggle",
36
- action: "click->#{stimulus_name}#toggle #{html_attrs[:data][:action]}".rstrip,
37
- }
38
+ action: "click->#{stimulus_name}#toggle #{added_action}",
39
+ }.merge(html_attrs[:data])
38
40
  end
39
41
 
40
42
  def before_render
@@ -3,6 +3,6 @@
3
3
  # :nocov:
4
4
  module Ariadne
5
5
  module ViewComponents
6
- VERSION = "0.0.86.7"
6
+ VERSION = "0.0.86.8"
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ariadne_view_components
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.86.7
4
+ version: 0.0.86.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Garen J. Torikian