simple_calendar 1.1.8 → 1.1.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/simple_calendar/calendar.rb +1 -1
- data/lib/simple_calendar/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 65fb5fd5211c292f991e0ae45d44aabad4ef9bbc
|
4
|
+
data.tar.gz: 5aae83bda73fa5357a46fa11eb768f83cac7eeca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f2a87f319397852670c5ba042bc3642d33dd51a1c4e98a6814b576bba198440d86e14251e06e55e295c86dce52e114387473be345a83aa6c5d53e339b27ff451
|
7
|
+
data.tar.gz: 444b28f23ea11284ac1919c9371680a8554bdd75ed20fc4e315fdb42be9a83440e931c0e3ec2ce8b7461338618a368bfeb5090a2de5975c5d5140e1d3f5fbbb2
|
@@ -73,7 +73,7 @@ module SimpleCalendar
|
|
73
73
|
def events_for_date(current_date)
|
74
74
|
if events.any? && events.first.respond_to?(:simple_calendar_start_time)
|
75
75
|
events.select do |e|
|
76
|
-
current_date ==
|
76
|
+
current_date == e.send(:simple_calendar_start_time).in_time_zone(@timezone).to_date
|
77
77
|
end.sort_by(&:simple_calendar_start_time)
|
78
78
|
else
|
79
79
|
events
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simple_calendar
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Oliver
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-11-
|
11
|
+
date: 2014-11-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|