radar/by_star — pull request #40 by jcypret (2014-04-05 04:02:21+00:00)
Title: Change deprecated Date#to_time_in_current_zone to use Date#in_time_zone instead

I was using this gem in a Rails 4 app and came across a deprecated method being used.

This is the warning I am currently getting:
`DEPRECATION WARNING: Date#to_time_in_current_zone is deprecated. Use Date#in_time_zone instead.`

Here is a note in the Rails API mentioning the deprecation:
http://api.rubyonrails.org/classes/Date.html#method-i-to_time_in_current_zone

I changed the `Normalization#time` method to use `#in_time_zone` exclusively but it broke some of your tests. I then set up a rescue for `NoMethodError` to use `#to_time_in_current_zone` as a fallback for backwards compatibility.

Thanks for your work on this project, this gem is awesome!