Extract a gemspec
Switch to Rspec
Use a DateTime object during calculations.

Use DateTime#next_day and #prev_day to avoid date calculation errors
on the first and last days of the year.
Closes #5.