simple_calendar 1.1.6 → 1.1.7
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: accd1bd35603c8346cf9628d0eb5a05ea77162ac
|
4
|
+
data.tar.gz: dd09e1c1d9a301f1fb371a79e674322424e6f0f3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c5ef4500f68fb048e4037d8a20eaa91b78eda82c3545bf8ee9eecaea4570ead6395715a51e8c4b6dcd086484ece7bf9767e238bf19159c0bb02d9e2ad6a52c3f
|
7
|
+
data.tar.gz: a65e0949047fbccb825749b18081c1cb8229e80e4d77ca327f80fcea80ed5fee51e1b1d1fd60986e8e82a52c7d01f05f7ecf5c2863638dc9f6abe501c8108c3d
|
@@ -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 == @timezone.utc_to_local(e.send(:simple_calendar_start_time)).to_date
|
76
|
+
current_date == @timezone.utc_to_local(e.send(:simple_calendar_start_time).beginning_of_day).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.7
|
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
|
+
date: 2014-11-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|