lib/writefully/indices.rb in writefully-0.5.1 vs lib/writefully/indices.rb in writefully-0.6.2
- old
+ new
@@ -1,9 +1,9 @@
module Writefully
module Indices
def self.build_from(modified)
modified.map do |file_name|
- index_hash_from(index_name_from(remove_content_path(file_name)))
+ index_hash_from(index_name_from(remove_content_path(file_name)))
end
end
def self.remove_content_path(file_name)
file_name.split('/') - Writefully.options[:content].split('/')
\ No newline at end of file