Releases: whazzmaster/fitgem
Releases · whazzmaster/fitgem
Adds locale support
The API has supported better localization for awhile now; this release adds locale support to API requests.
Updates OAuth authorization URL
Fixes issue #38 where the OAuth authorize endpoint was wrong and (will soon) cause unnecessary redirects.
v0.10.0
- Updates default test framework to RSpec 3
- Updates library to use SSL exclusively when hitting the Fitbit REST API. Fitbit is restricting access to its API via https only on November 3rd, 2014. See issue #30 for more information. This should be transparent to end users of fitgem, as the library simply ignores the :ssl option in the Client constructor and defaults to https everywhere.
- The previously-deprecated
weekly_leaderboard
andmonthly_leaderboard
methods have now been updated to throw aDeprecatedApiError
rather than warning about deprecation. These methods will be removed in v1.0.
v0.9.0
The v0.9.0 release adds a number of new methods to match new functionality available through the Fitbit REST API. It also removes support for concepts (monthly leaderboards) that have been removed from the Fitbit REST API.
There's a big change to leaderboard support in this update; please read the notes below if you're currently using monthly_leaderboard
or weekly_leaderboard
-- you should update your code to use the new method before v1.0 is released.
- Add ability to target SSL Fitbit REST endpoints
- Add
activity_on_date_range
method - Condense existing
weekly_leaderboard
and (no longer available)monthly_leaderboard
into a simpleleaderboard
method. There is now only one leaderboard (weekly) so no need to differentiate in the API. The previous leaderboard
methods are now deprecated and will be removed in v1.0. - Add
create_or_update_weekly_goal
method and specs - Add
create_or_update_daily_goal
method and specs - Add
daily_goals
method and update documentation - Add
delete_body_fat_log
method - Add
delete_body_weight_log
method - Add
create_or_update_body_fat_goal
method - Add
create_or_update_body_weight_goal
method - Add
log_body_fat
method to push a body fat measurement to Fitbit - Add
body_fat_goal
method to fetch the current body fat goal - Add
body_fat
method to fetch body fat measurements - Add
body_weight
method to fetch body fat measurements - For the
body_weight
andbody_fat
methods, determine a URI based on the base URI and provided options
v0.8.0
- Add support for weekly goals
- Add support for silent alarms (including updates)
- Add support for intraday distance
- Add time zone support for usage of times
- Add support for badges
v0.7.0
- Add support for intraday time series retrieval of various resources
- Removed rvmrc from project- use whatever ruby you want!
- Updated Travis CI configuration
v0.6.1
- More unit tests
- Fix an issue where we weren't applying the
format_date
helper when constructing a date range fragment
v0.6.0
- Streamline the README; add contributors link
- Removed FAQs from README
- Added support for daily activity goals
- Moved testing-focused gemspec dependencies to the Gemfile
v0.5.2
- Added new
symbolize_keys
helper method for turning the string-key based return hashes into symbol-key based ones - Added new
label_for_measurement
helper method to get the correct unit measurement label given a measurement type and the current user's ApiUnitSystem setting - Added specs
- Added new
connected?
method on Fitgem::Client that will report whether API calls may be made - Added
InvalidUnitSystem
error andInvalidMeasurementType
error - Fixed a small issue where date values were not being formatted correctly in calls to
log_body_measurements
v0.5.1
- Fix for creating and removing data subscriptions
- Updated specs