fitgem_oauth2 1.0.4 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fitgem_oauth2/client.rb +2 -0
- data/lib/fitgem_oauth2/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3cb8afa6feb4de2e68e20c49fd90354694816ca4
|
4
|
+
data.tar.gz: 744c1bbbb0e267d8c812548962e4863e64243475
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 968fe5b535c41cb722a1ef1e73104c9a6ee0409b89300996914b66512202cf45a3d0dbdd0d932d2a980e46f72d095fc259284a73ca56bb9edca97651ca8cb04f
|
7
|
+
data.tar.gz: 7c685bff9e464ee51e171ca4436c6e7f361c1245047f9c4ab06a6546740d2d37ca802b21a0d8b1929d9b8b16602f62ae3efc22a14a80890ddf7f8ef047d32990
|
data/lib/fitgem_oauth2/client.rb
CHANGED
@@ -85,6 +85,8 @@ module FitgemOauth2
|
|
85
85
|
body = {body: body} if body.is_a?(Array)
|
86
86
|
body.merge!(response.headers.slice(*headers_to_keep))
|
87
87
|
},
|
88
|
+
201 => lambda { },
|
89
|
+
204 => lambda { },
|
88
90
|
400 => lambda { raise FitgemOauth2::BadRequestError },
|
89
91
|
401 => lambda { raise FitgemOauth2::UnauthorizedError },
|
90
92
|
403 => lambda { raise FitgemOauth2::ForbiddenError },
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fitgem_oauth2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ankit Gupta
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-09-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -107,9 +107,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
107
107
|
version: '0'
|
108
108
|
requirements: []
|
109
109
|
rubyforge_project:
|
110
|
-
rubygems_version: 2.
|
110
|
+
rubygems_version: 2.5.1
|
111
111
|
signing_key:
|
112
112
|
specification_version: 4
|
113
113
|
summary: Fitbit API client library
|
114
114
|
test_files: []
|
115
|
-
has_rdoc:
|