panoptes-client 0.1.1 → 0.1.2

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: 5b5b3c142ba8e87d827573a68e823684e2314893
4
- data.tar.gz: 6540b9be36075308a0880ea4c4aad04f8bc894c0
3
+ metadata.gz: 40b2527eeb600cf63f267b3071936d72b2dddce2
4
+ data.tar.gz: 1b2fd340c6cb5184ef9bd760424beb09d3061fc5
5
5
  SHA512:
6
- metadata.gz: 40a3849e1e980634d7e53e7d307692b68db87a0de96fb613b403ed24924ce9fc8760c04fe5ada8ed47690012a5f4f26e874098788bb70afa0f9c149cefeefe9e
7
- data.tar.gz: d4b003226c3dfc8d80426ecf57be03f5d4d5a74d6e988a58f9a90a4e58365957bb823d54f83fa07b35ddce314e905925d4056961d89cd6a4f6472a4b1df2fe41
6
+ metadata.gz: 90df2960778551ca9d8b56dbd9b95aec2ae8745c148b4fffd68d63666d3a9f9719ca58feb595bc8b496a1190d0d0bfd48ebee78dbdeb421cac611122d37844a6
7
+ data.tar.gz: 4c8f39d85b67f407fc2b3ef0ceee7bcdca1755c0f980cf633685e9883784c2a561e2e0ec0e3abf60704e12b4faf53ff98e14add04a58a25ca6c5954f94404f9c
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 0.1.2
2
+
3
+ * Fix bug with client_id/client_secret authentication
4
+
1
5
  # 0.1.1
2
6
 
3
7
  * Added wrapper file so Bundler's automatic require works.
@@ -28,7 +28,7 @@ module Panoptes
28
28
  when auth[:token]
29
29
  faraday.request :panoptes_access_token, url: url, access_token: token
30
30
  when auth[:client_id] && auth[:client_secret]
31
- faraday.request :panoptes_client_credentials, url: url, client_id: client_id, client_secret: client_secret
31
+ faraday.request :panoptes_client_credentials, url: url, client_id: auth[:client_id], client_secret: auth[:client_secret]
32
32
  end
33
33
 
34
34
  faraday.request :panoptes_api_v1
@@ -1,5 +1,5 @@
1
1
  module Panoptes
2
2
  class Client
3
- VERSION = "0.1.1"
3
+ VERSION = "0.1.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: panoptes-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marten Veldthuis