projecttacoma/bonnie_bundler — pull request #5 by jtferns (2014-01-22 04:39:48+00:00)
Title: Expand Measures::BundleLoader.load() to allow EP/EH selection

*This pull request must be merged with the bonnie pull request projecttacoma/bonnie#71 for correct application functionality.*

#### Story ####
- https://www.pivotaltracker.com/story/show/63975288

#### Notes ####
- Updated Measures::BundleLoader.load() to take an additional, optional, input specifying whether **ep** or **eh** or both types of measures should be loaded from the specified bundle
- Added simple unit tests for verifying ep and eh measure loading
- E.g., the following commands produce the following results
- Measures::BundleLoader.load('/path/to/your/bundle-2.4.0.zip', bonnie@example.com)
- Loads all measures
- Measures::BundleLoader.load('/path/to/your/bundle-2.4.0.zip', bonnie@example.com,nil,nil,nil,'eh')
- Loads all **EH** measures
- Measures::BundleLoader.load('/path/to/your/bundle-2.4.0.zip', bonnie@example.com,nil,nil,nil,'ep')
- Loads all **EP** measures
- Measures::BundleLoader.load('/path/to/your/bundle-2.4.0.zip', bonnie@example.com,nil,nil,nil,'banana')
- Loads all measures