trusty-festivity-extension 2.5.1 → 2.5.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
  SHA1:
3
- metadata.gz: 82364fea2c1e61a2feea4939638fc494ebd81b6c
4
- data.tar.gz: 0d359b7620132cc7ff91eb41fd22a3d65019fe98
3
+ metadata.gz: 1284893e414e06f2440837c4f171edfb51b62d9f
4
+ data.tar.gz: 0320e52fff95816d496d2ca0e41a444c819363b6
5
5
  SHA512:
6
- metadata.gz: 13dceb9c7c86f99154e55b72a354b41d447356e56a53761d2297c4c9a7908890c5f9605ef1dfb252872b01c53e6f2a5a2636bdf67a5f8b8aecc161d02d3f7720
7
- data.tar.gz: 8ca4d794963fe7bd86a4d085ef4136fba9a9d61c7560ed80aa01c4102a28609241cea84f6ef2ce32a23c39e32edff7b6498cda3d6a497a968798e86b0cb184d8
6
+ metadata.gz: c13ff9cf2d2ccf8c3d5876759945a84c3ecc3d46f1e6b5ad81cd89953daa0251a4bc11dc9aa8851ea5fd74490d406117a6688a31ca9ade03d19c90a8088fb8db
7
+ data.tar.gz: 283de5d2d2dd9a57e6b554612e7d11f5dedb8f1583ae3073eec2d4dad78cf08e46b26473fc4f0584dcd995ab40d7979eea70966e7d7d03e21e4e011e6856531d
@@ -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.1"
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.1
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-08 00:00:00.000000000 Z
11
+ date: 2016-04-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: trusty-cms