radiant-event_calendar-extension 1.5.3 → 1.5.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -286,7 +286,7 @@ class Event < ActiveRecord::Base
286
286
  end
287
287
 
288
288
  def facebook_url
289
- %{http://www.facebook.com/event.php?eid=#{facebook_id}} if facebook_id
289
+ %{http://www.facebook.com/event.php?eid=#{facebook_id}} unless facebook_id.blank?
290
290
  end
291
291
 
292
292
  def one_day?
@@ -461,7 +461,7 @@ module EventCalendarTags
461
461
  <pre><code><r:event:facebook_link class="facebook event" /></code></pre>
462
462
  }
463
463
  tag "event:facebook_link" do |tag|
464
- if tag.locals.event.facebook_id
464
+ if tag.locals.event.facebook_url
465
465
  options = tag.attr.dup
466
466
  options['class'] ||= 'facebook event'
467
467
  options['title'] ||= I18n.t('event_calendar_extension.view_on_facebook')
@@ -1,5 +1,5 @@
1
1
  module RadiantEventCalendarExtension
2
- VERSION = '1.5.3'
2
+ VERSION = '1.5.4'
3
3
  SUMMARY = %Q{Event Calendar Extension for Radiant CMS}
4
4
  DESCRIPTION = "An event calendar extension that administers events locally or draws them from any ical or CalDAV publishers (Google Calendar, .Mac, Darwin Calendar Server, etc.)"
5
5
  URL = "http://github.com/radiant/radiant-event_calendar-extension"
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: radiant-event_calendar-extension
3
3
  version: !ruby/object:Gem::Version
4
- hash: 5
4
+ hash: 11
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 5
9
- - 3
10
- version: 1.5.3
9
+ - 4
10
+ version: 1.5.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Loren Johnson
@@ -182,6 +182,7 @@ files:
182
182
  - public/stylesheets/sass/admin/event_calendar.sass
183
183
  - public/stylesheets/sass/admin/event_calendar_dashboard.sass
184
184
  - public/stylesheets/sass/event_calendar.sass
185
+ - radiant-event_calendar-extension-1.5.3.gem
185
186
  - radiant-event_calendar-extension.gemspec
186
187
  - Rakefile
187
188
  - README.md
@@ -203,7 +204,7 @@ files:
203
204
  homepage: http://github.com/radiant/radiant-event_calendar-extension
204
205
  licenses: []
205
206
 
206
- post_install_message: "\n Add this to your radiant project with:\n\n config.gem 'radiant-event_calendar-extension', :version => '~> 1.5.3'\n\n "
207
+ post_install_message: "\n Add this to your radiant project with:\n\n config.gem 'radiant-event_calendar-extension', :version => '~> 1.5.4'\n\n "
207
208
  rdoc_options: []
208
209
 
209
210
  require_paths: