trusty-festivity-extension 2.5.1 → 2.5.2
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/tags/header_tags.rb +2 -2
- data/lib/trusty-festivity-extension.rb +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1284893e414e06f2440837c4f171edfb51b62d9f
|
|
4
|
+
data.tar.gz: 0320e52fff95816d496d2ca0e41a444c819363b6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c13ff9cf2d2ccf8c3d5876759945a84c3ecc3d46f1e6b5ad81cd89953daa0251a4bc11dc9aa8851ea5fd74490d406117a6688a31ca9ade03d19c90a8088fb8db
|
|
7
|
+
data.tar.gz: 283de5d2d2dd9a57e6b554612e7d11f5dedb8f1583ae3073eec2d4dad78cf08e46b26473fc4f0584dcd995ab40d7979eea70966e7d7d03e21e4e011e6856531d
|
data/lib/tags/header_tags.rb
CHANGED
|
@@ -22,9 +22,9 @@ module Tags::HeaderTags
|
|
|
22
22
|
page = Page.find_by_slug_for_site(tag.locals.page.slug).first
|
|
23
23
|
body_class = page && page == Page.current_site.homepage ? "home" : "internal"
|
|
24
24
|
action_controller = request.env["action_controller.instance"].class
|
|
25
|
-
if action_controller == FestivityEventsController || FestivityMarketsController && request.env["action_controller.instance"].action_name == "index"
|
|
25
|
+
if (action_controller == FestivityEventsController || action_controller == FestivityMarketsController) && request.env["action_controller.instance"].action_name == "index"
|
|
26
26
|
body_class += " events-list"
|
|
27
|
-
elsif action_controller == FestivityEventsController || FestivityMarketsController && request.env["action_controller.instance"].action_name == "show"
|
|
27
|
+
elsif (action_controller == FestivityEventsController || action_controller == FestivityMarketsController) && request.env["action_controller.instance"].action_name == "show"
|
|
28
28
|
body_class += " event-detail"
|
|
29
29
|
end
|
|
30
30
|
body_class
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
module TrustyFestivityExtension
|
|
2
|
-
VERSION = "2.5.
|
|
2
|
+
VERSION = "2.5.2"
|
|
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"
|
|
6
|
-
AUTHORS = ["Eric Sipple"]
|
|
6
|
+
AUTHORS = ["Eric Sipple, Danielle Greaves, Brittany Martin"]
|
|
7
7
|
EMAIL = ["sipple@trustarts.org"]
|
|
8
8
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: trusty-festivity-extension
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.5.
|
|
4
|
+
version: 2.5.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
|
-
- Eric Sipple
|
|
7
|
+
- Eric Sipple, Danielle Greaves, Brittany Martin
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-04-
|
|
11
|
+
date: 2016-04-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: trusty-cms
|