lib/t/utils.rb in t-2.9.0 vs lib/t/utils.rb in t-2.10.0
- old
+ new
@@ -42,11 +42,11 @@
'a year'
else
format('%d years', (minutes.to_f / 525_600.0).round)
end
end
- alias_method :time_ago_in_words, :distance_of_time_in_words
- alias_method :time_from_now_in_words, :distance_of_time_in_words
+ alias time_ago_in_words distance_of_time_in_words
+ alias time_from_now_in_words distance_of_time_in_words
def fetch_users(users, options)
format_users!(users, options)
require 'retryable'
users = Retryable.retryable(tries: 3, on: Twitter::Error, sleep: 0) do