view_component_reflex 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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f994d68e2d141a7ddb6f256d64fb55350e85011b0cbea0bcb9184fda24b35df6
|
4
|
+
data.tar.gz: bb4f268de2b510782c60ab164e76f79322cc478f8b100a7711742e50ee2f3f4c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a69bcd9c9b98a994d1ac00b81bfdc3993e6564d2ae3fc8bcd0559e07c663a2beefa7b3b6efff118279e88560954cb6cbd7413ea0ce7936463570ccaaaf0051b5
|
7
|
+
data.tar.gz: 02b12f819add7a693360fd211a5d591d723f1569f880cd781472e89187187743908c64056ec8a1b098838e007a2b9a2340a52631b8a9a5794469b3d8e23181a3
|
@@ -25,12 +25,12 @@ module ViewComponentReflex
|
|
25
25
|
end
|
26
26
|
|
27
27
|
def refresh_all!
|
28
|
-
refresh!(
|
28
|
+
refresh!('body')
|
29
29
|
end
|
30
30
|
|
31
|
-
def set_state(new_state = {})
|
31
|
+
def set_state(new_state = {}, primary_selector = nil, *selectors)
|
32
32
|
ViewComponentReflex::Engine.state_adapter.set_state(self, element.dataset[:key], new_state)
|
33
|
-
refresh!
|
33
|
+
refresh!(primary_selector, *selectors)
|
34
34
|
end
|
35
35
|
|
36
36
|
before_reflex do |reflex, *args|
|
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: 0.6.
|
4
|
+
version: 0.6.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joshua LeBlanc
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-06-
|
11
|
+
date: 2020-06-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|