def real_streak_rewind(partial_streak)
      new_data = download(partial_streak.first.date - 1)
      old_data = partial_streak.map(&:to_a)
      new_stats = GithubStats::Data.new(new_data + old_data)
      partial_streak = new_stats.streaks.last
      return partial_streak if partial_streak.first.date != new_stats.start_date
      real_streak_rewind partial_streak
    end
def real_streak_rewind(partial_streak)
      new_data = download(partial_streak.first.date - 1)
      old_data = partial_streak.map(&:to_a)
      new_stats = GithubStats::Data.new(new_data + old_data)
      partial_streak = new_stats.streaks.last
      return partial_streak if partial_streak.first.date != new_stats.start_date
      real_streak_rewind partial_streak
    end
Set a custom longest_streak that takes into account GitHub's
 historical records