- Made it work with
activerecord-import
gem to speed up import times by 30x #16
- Removed IDs from tables which don't have them in USDA data. Instead opted to use compound keys the same way they do. The upgrade path is simple but if you have any other tables linking directly to USDA tables you're going to need to change them to point to the composite key in the associations. #15
- Upgrade to version SR28 USDA dataset #14
- Upgrade to version SR27 USDA dataset. #5
- Require ActiveRecord so the gem can work outside of Rails. #5
- Update README
- Bump to version 1 as this is being used in production now, is following semver, and backwards compatibility is a concern
- Fix individual import tasks.
- Add Source Codes importer and model
- Add import tasks for individual tables
- Refactor importing code
- Move tasks within usda_nutrient_database
- Allow logging to be turned off, to stop polluting test output
- Add Footnotes
- Add weights import task
- Correct import time in README
- Add weights
- Add homepage to gemspec
- Added instructions to README
- Fixed migration ids and primary keys
- Added engine for rails
- Add description and summary to gemspec
- Add foods
- Add food groups
- Add downloader
- Add food groups importer
- Add foods importer