lib/rb-dayone.rb in rb-dayone-0.4.0 vs lib/rb-dayone.rb in rb-dayone-0.4.1

- old
+ new

@@ -37,10 +37,10 @@ # The location of the DayOne journal file as determined by # the DayOne plist file stored in +~/Library/Preferences+. # @return [String] the DayONe journal location def auto_journal_location - @auto_journal_location ||= File.expand_path(plist_reader['NSNavLastRootDirectory']) + @auto_journal_location ||= File.expand_path(plist_reader.journal_location) end # All DayOne entries, as file names # @return [Array] all DayOne entries def entries \ No newline at end of file