lib/t/utils.rb in t-1.5.1 vs lib/t/utils.rb in t-1.6.0

- old
+ new

@@ -94,9 +94,10 @@ def pluralize(count, singular, plural=nil) "#{count || 0} " + ((count == 1 || count =~ /^1(\.0+)?$/) ? singular : (plural || "#{singular}s")) end def decode_full_text(tweet, decode_full_urls = false) + require 'htmlentities' text = HTMLEntities.new.decode(tweet.full_text) text = decode_urls(text, tweet.urls) if decode_full_urls text end