Rdayone is a simple Ruby library for accessing Day One journals.
Add this line to your application's Gemfile:
gem 'rdayone'
And then execute:
$ bundle
Or install it yourself as:
$ gem install rdayone
require "rdayone"
journal = Rdayone::Journal.new("/path/to/Journal.dayone")
journal.entries # An Enumerable array like object that contains all your entries
- Basic entry data - text, creation date and the photo if one exists.
- Entry location data
- Sorting of entry data (default is ascending date order - a method is supplied to sort by descending date order)
1.8.7, 1.9.2, rbx and jruby
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request