lib/nanoc3/data_sources/deprecated/last_fm.rb in nanoc3-3.2.0a3 vs lib/nanoc3/data_sources/deprecated/last_fm.rb in nanoc3-3.2.0a4
- old
+ new
@@ -6,12 +6,10 @@
class LastFM < Nanoc3::DataSource
def items
@items ||= begin
require 'json'
- require 'time'
require 'uri'
- require 'enumerator'
# Check configuration
if self.config[:username].nil?
raise RuntimeError, "LastFM data source requires a username in the configuration"
end