view_component_reflex 3.2.0.pre → 3.2.0.pre1
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 +4 -4
- data/lib/view_component_reflex/component.rb +3 -2
- data/lib/view_component_reflex/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a3b1851bd40c4a1acb112fec827e83ecfae175e9730384870a3f260cba7416e3
|
|
4
|
+
data.tar.gz: fb576359bc41876e9650b9751101546c5f4e28c5c7945d8d91250474a875d29b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 18b08f163efd06e13d2a312893ce73034568f98f9e1bd4ec9b331ce9ba3bf7c521ad8b0c4284eab7f80ea60bf246e6b054c7d726f4b10244b1fd4a43c0eeab38
|
|
7
|
+
data.tar.gz: e7b120980bc136fb12301a9f53e1308efe6393eddcf9b90d25c3ca30db3af855575cfb778266be25624a922eedb3217bd3212ad0eb6158c874f99e5c9be82385
|
|
@@ -188,12 +188,13 @@ module ViewComponentReflex
|
|
|
188
188
|
# and line number, which should be unique. We hash it to make it a nice number
|
|
189
189
|
erb_file = caller.select { |p| p.match? /.\.html\.(haml|erb|slim)/ }[1]
|
|
190
190
|
key = if erb_file
|
|
191
|
-
|
|
191
|
+
erb_file.split(":in")[0]
|
|
192
|
+
|
|
192
193
|
else
|
|
193
194
|
""
|
|
194
195
|
end
|
|
195
196
|
key += collection_key.to_s if collection_key
|
|
196
|
-
@key = key
|
|
197
|
+
@key = Digest::SHA2.hexdigest(key)
|
|
197
198
|
end
|
|
198
199
|
|
|
199
200
|
# Helper to use to create the proper reflex data attributes for an element
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: view_component_reflex
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.2.0.
|
|
4
|
+
version: 3.2.0.pre1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Joshua LeBlanc
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-
|
|
11
|
+
date: 2022-06-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|
|
@@ -116,7 +116,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
116
116
|
- !ruby/object:Gem::Version
|
|
117
117
|
version: 1.3.1
|
|
118
118
|
requirements: []
|
|
119
|
-
rubygems_version: 3.
|
|
119
|
+
rubygems_version: 3.2.9
|
|
120
120
|
signing_key:
|
|
121
121
|
specification_version: 4
|
|
122
122
|
summary: Allow stimulus reflexes in a view component
|