lib/nanoc/base/source_data/item.rb in nanoc-4.0.0a1 vs lib/nanoc/base/source_data/item.rb in nanoc-4.0.0a2
- old
+ new
@@ -68,10 +68,10 @@
@raw_content = raw_content_or_raw_filename
end
# Get rest of params
@attributes = attributes.__nanoc_symbolize_keys_recursively
- @identifier = Nanoc::Identifier.new(identifier)
+ @identifier = Nanoc::Identifier.from(identifier)
# Set mtime
@attributes.merge!(mtime: params[:mtime]) if params[:mtime]
@parent = nil