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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1111d9baa8fca2e69d5e1891e1df353a6725e703
4
- data.tar.gz: acc48d21cb13b6596b2981161d8104a05e176b49
3
+ metadata.gz: accd1bd35603c8346cf9628d0eb5a05ea77162ac
4
+ data.tar.gz: dd09e1c1d9a301f1fb371a79e674322424e6f0f3
5
5
  SHA512:
6
- metadata.gz: 6a9501ebb265c7721b7fea63d3dff1a979444800a2b82119696ada6fc4e43287889b522df95b859f6da6ef2fa5283901f1f7bad007c2c6a09084447c9e7bd4eb
7
- data.tar.gz: 4bd2cd2f82f5ab03d12fdd363b672ab1918fded1fe6d82f70a28732977136cb2978f54a82ed1f6810d3325b7ec0bfa3f6693d1db2d76bc51393602bfaa899144
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
@@ -1,3 +1,3 @@
1
1
  module SimpleCalendar
2
- VERSION = "1.1.6"
2
+ VERSION = "1.1.7"
3
3
  end
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.6
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-10-24 00:00:00.000000000 Z
11
+ date: 2014-11-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails