view_component_reflex 2.3.13 → 2.3.14

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: 4d37a33f261bcbac7f2bf33dcc95b61caf0e2f721cf516ebe72ade66fbc1807b
4
- data.tar.gz: dbd4a6323274b98414adfe3bab8495627ff498cdd996fd3e6821619d016e75e4
3
+ metadata.gz: 3ad19988c11a33e1cc66d09f768f2d74218db3c04e16c8625c4624ce5a223c9f
4
+ data.tar.gz: b994c4d403c7d24be9152f543f9b5e257f11405e8fd6d671921e28f3aaa61d2f
5
5
  SHA512:
6
- metadata.gz: 9d296523ef6010e8e0e1f678bf49be01557e8794bf1c24c64c32f1e6cbcd1a21f831ed27677e7511f68836030e5b91f15da687c8b8d13ff66a9be600858d006d
7
- data.tar.gz: 4366608cb15b0cf01cfce34f1d5c7932430da9f8f01b645f47df4f493fc96d9a7c3357e075118dce69c94b19111bb85b72b56f3dfa336d13c5e0eaf05d506fe9
6
+ metadata.gz: b4bd5cf4fd21a5dad48247bc6bdc4cd3d149ae67851298a4ed43d747f80ebeb3447589711e16648b8d00fa823e43d18a378caea4d658d35673ac84bebb6a6050
7
+ data.tar.gz: 1d5c9965e17767d5c44f6f6b8034569232179008780a0a3f870bf848c81572c70ec747f6acc50579da86a9c16f80eba2d22cfb01037462626cc93d8f04fc5770
data/README.md CHANGED
@@ -245,8 +245,8 @@ end
245
245
 
246
246
  ## State
247
247
 
248
- By default, view_component_reflex stores component state in memory. You can optionally set the state adapter
249
- to use the session by changing `config.state_adapter` to `ViewComponentReflex::StateAdapter::Session`
248
+ By default (since version `2.3.2`), view_component_reflex stores component state in session. You can optionally set the state adapter
249
+ to use the memory by changing `config.state_adapter` to `ViewComponentReflex::StateAdapter::Memory`.
250
250
 
251
251
  ## Custom State Adapters
252
252
 
@@ -119,7 +119,7 @@ module ViewComponentReflex
119
119
  return @component if @component
120
120
  @component = component_class.allocate
121
121
  reflex = self
122
- exposed_methods = [:params, :request, :element, :refresh!, :refresh_all!, :stimulus_controller, :session, :prevent_refresh!, :selector, :stimulate]
122
+ exposed_methods = [:params, :request, :connection, :element, :refresh!, :refresh_all!, :stimulus_controller, :session, :prevent_refresh!, :selector, :stimulate]
123
123
  exposed_methods.each do |meth|
124
124
  @component.define_singleton_method(meth) do |*a|
125
125
  reflex.send(meth, *a)
@@ -1,3 +1,3 @@
1
1
  module ViewComponentReflex
2
- VERSION = '2.3.13'
2
+ VERSION = '2.3.14'
3
3
  end
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: 2.3.13
4
+ version: 2.3.14
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-10-10 00:00:00.000000000 Z
11
+ date: 2020-10-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails