-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New helper methods on Fitgem::Client + small fixes
* Added label_for_measurements method to get the correct labels for each type of measurement with respect to the current user's settings on fitbit.com * Added connected? method to Fitgem::Client for an easy way to find out if the client has a valid access_token * Added several new error types used in helper methods * Bumped version to 0.5.2 * Fixed an issue in log_body_measurements where the date wasn't being run through the format_date helper * Added new specs for label_for_measurements method
- Loading branch information
Zachery Moneypenny
committed
Mar 4, 2012
1 parent
585748d
commit b78329b
Showing
7 changed files
with
254 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,12 +3,42 @@ | |
|
||
# fitgem changelog | ||
|
||
## v0.4.0 | ||
## v0.5.2 | ||
|
||
#### 2012-03-04 Zachery Moneypenny <[email protected]> | ||
|
||
* Added new <tt>symbolize_keys</tt> helper method for turning the string-key based return hashes into symbol-key based ones | ||
* Added new <tt>label_for_measurement</tt> helper method to get the correct unit measurement label given a measurement type and the current user's ApiUnitSystem setting | ||
* Added specs | ||
* Added new <tt>connected?</tt> method on Fitgem::Client that will report whether API calls may be made | ||
* Added <tt>InvalidUnitSystem</tt> error and <tt>InvalidMeasurementType</tt> error | ||
* Fixed a small issue where date values were not being formatted correctly in calls to <tt>log_body_measurements</tt> | ||
|
||
## v0.5.1 | ||
|
||
#### 2012-01-24 Zachery Moneypenny <[email protected]> | ||
|
||
* Fix for creating and removing data subscriptions | ||
* Updated specs | ||
|
||
## v0.5.0 | ||
|
||
#### 2012-01-22 Zachery Moneypenny <[email protected]> | ||
|
||
* Added view/log/delete access for blood pressure data | ||
* Added view/log/delete access for glucose data | ||
* Added view/log/delete access for heart rate data | ||
* Added updated time series documentation for new endpoints | ||
* Updated temporal information in the readme | ||
* Added unit tests for <tt>format_time</tt> method | ||
* Updated copyright date | ||
|
||
## v0.4.0 | ||
|
||
#### 2011-11-29 Zachery Moneypenny <[email protected]> | ||
|
||
* Added YARD documentation to thoroughly document code | ||
* DEPRECATED: <tt>Fitgem::Client#log_weight</tt> method, use <tt>Fitgem::Client#log_body_measurements</tt> instead. | ||
* DEPRECATED: <tt>Fitgem::Client#log_weight</tt> method, use <tt>Fitgem::Client#log_body_measurements</tt> instead. | ||
The new method allows you to log more than weight (bicep size, body fat %, etc.) | ||
* Added <tt>Fitgem::FoodFormType</tt> to be used in calls to <tt>Fitgem::Client#create_food</tt> | ||
* Added <tt>Fitgem::Client#log_sleep</tt> to log sleep data to fitbit | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
module Fitgem | ||
VERSION = "0.5.1" | ||
VERSION = "0.5.2" | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters