orange 0.5.3 → 0.5.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -14,7 +14,7 @@ module Orange
14
14
  else
15
15
  calendars = model_class.all
16
16
  end
17
- events = OrangeEvent.all(:calendar => calendars, :order => [:starts.asc], :limit => 10)
17
+ events = OrangeEvent.all(:calendar => calendars, :starts.gt => Time.now, :order => [:starts.asc])
18
18
  orange[:calendar].calendar(tag.locals.packet, {:list => events, :template => template})
19
19
  end
20
20
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 5
8
- - 3
9
- version: 0.5.3
8
+ - 4
9
+ version: 0.5.4
10
10
  platform: ruby
11
11
  authors:
12
12
  - David Haslem