flexite 0.0.12 → 0.0.13

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
  SHA1:
3
- metadata.gz: 11326bdb94ef7622d24cdf587a10549df48e5254
4
- data.tar.gz: 96dd1225de3dae207abb1f623c3ec6f583e0bd03
3
+ metadata.gz: 402a34e51f3582aa2993c6be56cc3bc666506c89
4
+ data.tar.gz: 0251ef6f67dc4bf52a48cdce7c34f53053d292c5
5
5
  SHA512:
6
- metadata.gz: 8addb6fc95a342ddd7c47c13aba784b768d951c72b2bc9568f0e9e1802b2d4a5b0bdd3a032f95da8b774dbb78f282a9e73371e685501bd0febe8b72f9202d8e1
7
- data.tar.gz: dd29306cb7b7fe41f764e811b63f99f4c7719c985fa292488c3b6ab5462025316c6ebb4d9f925f197091a87164e5e2e9033e8404a00e2e5e49152bdd055a171d
6
+ metadata.gz: dc14f085d53cdcf7f752b2f94bcec374047fbc5f5bfeda4e3f99f52f9b781490220129db6e4b6a73b2a658420df050a0661853b4b75d07074f2544a49f923265
7
+ data.tar.gz: e9c9fd2e52dfcd6147c38a60603645a8af6fdf8298bf0a4887dcce1222a2c73da32fbfbf885c58052da7016df0a15c1ba7a19873c965bf5bb8362e894bfdab5d
@@ -6,7 +6,7 @@ module Flexite
6
6
 
7
7
  def index
8
8
  @configs = Config.tree_view(params[:config_id])
9
- @cache_key = "#{controller_name}/#{action_name}.#{request.format.symbol}/#{Config.roots.maximum(:updated_at)&.to_s(:number)}"
9
+ @cache_key = "#{controller_name}/#{action_name}.#{request.format.symbol}/#{Config.roots.maximum(:updated_at)&.to_s(:number)}/#{params.fetch(:config_id, :root)}"
10
10
  end
11
11
 
12
12
  def new
@@ -1,3 +1,3 @@
1
1
  module Flexite
2
- VERSION = '0.0.12'
2
+ VERSION = '0.0.13'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flexite
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.12
4
+ version: 0.0.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Maksim Rusakovich