lib/nanoc3/data_sources/deprecated/twitter.rb in nanoc3-3.2.0a3 vs lib/nanoc3/data_sources/deprecated/twitter.rb in nanoc3-3.2.0a4
- old
+ new
@@ -6,11 +6,9 @@
class Twitter < Nanoc3::DataSource
def items
@item ||= begin
require 'json'
- require 'time'
- require 'enumerator'
# Get data
@http_client ||= Nanoc3::Extra::CHiCk::Client.new
status, headers, data = *@http_client.get("http://twitter.com/statuses/user_timeline/#{self.config[:username]}.json")