panoptes-client 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/panoptes/client.rb +1 -1
- data/lib/panoptes/client/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 717325a4ffbf4a7add1c22245be7fccbc8596d3c
|
4
|
+
data.tar.gz: 78b4f088dd3e324300b5a4f1795e36e32c4a60b5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ac3d2005a05fc8825ab9a23813edfdd19fd12c7bb7f952a42d1d5980eabac7bb2405416a37141babc9522a0c232b77e01e835af6e344844db5eaece777c3dd01
|
7
|
+
data.tar.gz: 0c61ec6c31d831c30417ecb64ca1a89bf5cc0de803a728cd2316e70a786fd54874f6afc4859fb39aa248a3dc5a6f3a842a7a9658e253a65b311806475e49cdab
|
data/CHANGELOG.md
CHANGED
data/lib/panoptes/client.rb
CHANGED
@@ -31,7 +31,7 @@ module Panoptes
|
|
31
31
|
@conn = Faraday.new(url: url) do |faraday|
|
32
32
|
case
|
33
33
|
when auth[:token]
|
34
|
-
faraday.request :panoptes_access_token, url: url, access_token: token
|
34
|
+
faraday.request :panoptes_access_token, url: url, access_token: auth[:token]
|
35
35
|
when auth[:client_id] && auth[:client_secret]
|
36
36
|
faraday.request :panoptes_client_credentials, url: url, client_id: auth[:client_id], client_secret: auth[:client_secret]
|
37
37
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: panoptes-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marten Veldthuis
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-02-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|