simple_calendar 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
@@ -86,7 +86,7 @@ module SimpleCalendar
|
|
86
86
|
|
87
87
|
# Returns an array of events for a given day
|
88
88
|
def day_events(date, events)
|
89
|
-
events.select { |e| e.start_time.to_date == date }
|
89
|
+
events.select { |e| e.start_time.to_date == date }.sort_by { |e| e.start_time }
|
90
90
|
end
|
91
91
|
|
92
92
|
# Generates the header that includes the month and next and previous months
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simple_calendar
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.7
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-03-24 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -57,7 +57,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
57
57
|
version: '0'
|
58
58
|
segments:
|
59
59
|
- 0
|
60
|
-
hash:
|
60
|
+
hash: 2090267451068015802
|
61
61
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
62
62
|
none: false
|
63
63
|
requirements:
|
@@ -66,7 +66,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
66
66
|
version: '0'
|
67
67
|
segments:
|
68
68
|
- 0
|
69
|
-
hash:
|
69
|
+
hash: 2090267451068015802
|
70
70
|
requirements: []
|
71
71
|
rubyforge_project: simple_calendar
|
72
72
|
rubygems_version: 1.8.24
|