refinerycms-events 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/app/helpers/events_helper.rb +1 -1
  2. metadata +1 -1
@@ -52,7 +52,7 @@ module EventsHelper
52
52
  def event_list(options = Hash.new)
53
53
  grouped_events = Event.
54
54
  all(:limit => options.fetch(:limit) { 10 }, :order => 'start_at ASC',
55
- :conditions => [ 'start_at >= ? || end_at >= ?', Time.now, Time.now ]).
55
+ :conditions => [ 'start_at >= ? OR end_at >= ?', Time.now, Time.now ]).
56
56
  group_by { |e| e.start_at.to_date }
57
57
 
58
58
  render(:partial => '/events/event_list',
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: refinerycms-events
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - SemanticGap