trusty-festivity-extension 2.3.17 → 2.3.18

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: 731f8a2e760d36a03dbbf4c359b7fb8b3ac6f51f
4
- data.tar.gz: 3837ea455e5e049cb7e19c4bc2ad3bbf9776c7f9
3
+ metadata.gz: dc36078f077620bd5dc5e9c4192ee764f23d6768
4
+ data.tar.gz: 35bd79f91bc3f41a321d44bb0654e16c131ee648
5
5
  SHA512:
6
- metadata.gz: 6777bd78b020bfa30893d6dcfd5eb4df19af3cd2b9295f75a00860178b0c5df9268101e3b6977f72e1cc9c16e285dff71aed588de7207ab46273d090741b66de
7
- data.tar.gz: 5b896823d0553b57507e08073b9d4d7c10cbbae35238a53cf104671a4b53a0ff85e66631863ae08607b68a6c0c0a9ded20e2822691fb6f1760d67bf9b702a7de
6
+ metadata.gz: ef4d168f6a01eb0f83a37c4b8858ee59aa37ac5a813d3867dd147553efae8e4b8cf09ae3525c973ea1df7386e017dc6c155096f9f36c8eae13ee88933a602d96
7
+ data.tar.gz: 683257a4b7925b7ab693b647b54873eac60b839de88c4d383cb2ca9fd0dea9578c2314f6631e1d2d066dfbba12e86948d3f14822ad1336dc182fac57d4b9db85
@@ -49,7 +49,7 @@ class FestivityEventsController < ApplicationController
49
49
  private
50
50
 
51
51
  def cache_key
52
- "#{params[:categories.to_s]}-#{params[:dates].to_s}-#{request.xhr?}"
52
+ "#{params[:categories.to_s]}-#{params[:dates].to_s}-#{request.xhr?}-#{request.subdomain}.#{request.domain}"
53
53
  end
54
54
 
55
55
  def search_dates
@@ -1,3 +1,5 @@
1
1
  %section.events-group
2
- - @events.each do |event|
3
- = render partial: 'event', locals: {event: event, show_dates: true}
2
+ - cache(@events, selected_sort: @selected_sort, base_domain: current_site.base_domain) do
3
+ - @events.each do |event|
4
+ - cache(event, base_domain: current_site.base_domain) do
5
+ = render partial: 'event', locals: {event: event, show_dates: true}
@@ -1,5 +1,5 @@
1
1
  module TrustyFestivityExtension
2
- VERSION = "2.3.17"
2
+ VERSION = "2.3.18"
3
3
  SUMMARY = "Festival microsite engine for Trusty CMS"
4
4
  DESCRIPTION = "Event management for arts festivals."
5
5
  URL = "http://github.com/pgharts/trusty-festivity-extension"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trusty-festivity-extension
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.17
4
+ version: 2.3.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Sipple