fitbyte 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fa0b56c39dd15bacff999f6906d599954eb8b993
4
- data.tar.gz: 036250c774ba9324b1f0836660e502c516d80af1
3
+ metadata.gz: 2c55138f26ae4e67ce728f81f7458c9fd951f67d
4
+ data.tar.gz: 5b31cb0811d68f489ea338266d269aefbd316b46
5
5
  SHA512:
6
- metadata.gz: 98f63d163633db8473422693ef3eb9fd89d0786a357e4edaddd53801c3b8f144924d48c8c02d96b0a6f47486b3ce736db8c969447207a680cfa38ef66734be2f
7
- data.tar.gz: 8c5a93885f8b23a8cbdec3721f64f36a93e5bcb79089f0ae1dd149062493a4396a2a844f94bfe18224486ad856bf8984ae44538c4783fa42291183246351e771
6
+ metadata.gz: 4606b123efddc148d64d238926f26cde4e6c304b66a32e57553f6f1ceeaffebde098932e8fe242ea9539dc6e2d6a094e0538585957260349809b3ad6f7cc7647
7
+ data.tar.gz: 580553b0ccca421ee1d0a6adfdf7f6e25cb7ff74d5ddef4d4050b2ea44334ac84c64f64b84408c2f2f7dc82e1f5607c028843b30c1aecc2cfc8b811f87510b67
@@ -1,3 +1,7 @@
1
+ 0.2.3
2
+ -----
3
+ - Remove `require 'json'`
4
+
1
5
  0.2.2
2
6
  -----
3
7
  - MultiJson used for parsing JSON (with symbolized keys)
data/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  This gem allows interaction with [Fitbit's REST API](https://dev.fitbit.com/docs/basics/), using the OAuth 2.0 protocol for user authorization.
6
6
 
7
- **Note:** Fitbit's API is currently in beta, and is in active/rapid development. Breaking changes to certain endpoints may be introduced during early development of this gem, until Fitbit's API solidifies.
7
+ **NOTE:** Fitbit's API is currently in beta, and is in active/rapid development. Breaking changes to certain endpoints may be introduced during early development of this gem, until Fitbit's API solidifies.
8
8
 
9
9
  ## Installation
10
10
 
@@ -47,7 +47,7 @@ You're now authenticated and can make calls to Fitbit's API:
47
47
 
48
48
  ```ruby
49
49
  client.food_logs
50
- # => returns JSON of current day's food logs
50
+ # => { :foods => [{ :isFavorite => true, :logDate => "2015-06-26", :logId => 1820, :loggedFood => { :accessLevel => "PUBLIC", :amount => 132.57, :brand => "", :calories => 752, ...}] }
51
51
  ```
52
52
 
53
53
  ## License
@@ -1,7 +1,6 @@
1
- require "fitbyte/version"
2
1
  require "oauth2"
3
- require "json"
4
2
  require "date"
3
+ require "fitbyte/version"
5
4
  require "fitbyte/client"
6
5
 
7
6
  module Fitbyte; end
@@ -1,4 +1,4 @@
1
1
  module Fitbyte
2
- VERSION = "0.2.2"
2
+ VERSION = "0.2.3"
3
3
  REPO_URL = "https://github.com/zokioki/fitbyte"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fitbyte
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zoran Pesic