oktakit 0.3.1 → 0.3.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
  SHA256:
3
- metadata.gz: 0e99dc499e67c72260945f77776e84ab7cf53e4ddaaf56ef1ad685662b62d247
4
- data.tar.gz: 23130dfd22a8002feb6d690bdfba1e28d8868b4ac0aee29815c3aeb6434d1b22
3
+ metadata.gz: 3fa09f58e951595b1e743df9a7fa8584254ec16c81444a4b961ae2c0f3cdfd4f
4
+ data.tar.gz: 04b21c8abfd412194f11ed3fbf5798e9de7cdda4bf878a51cb742c126d930f2f
5
5
  SHA512:
6
- metadata.gz: 1f26a6f891b6f1ae2c860c448e979a6cf4d9168ac1453d383ae1954696955b50ec095ad165d539d170da2950479bc03be90c1c646e454eb5bf024011d7c414c2
7
- data.tar.gz: d1bb7b7030ba4d8d2d5fda311a3fe69af692b7b7add303660da277f47783e742e461b3b04ad03d31e6c439e168752162cc9122a2bb7f226d0442518d35b31196
6
+ metadata.gz: '0997c60e8dc44671eaa2422dc8863b4cb0441191829d1c012c7fc1c9fbbb943f59546cc027eef4dda2af774829cc5056950f072fdf5ef3f667a6b2810ce1836c'
7
+ data.tar.gz: 23e3a86d6bf5c928fa1d480b54340be3384722d7904ddd8df4885891b85a7ce52a48906dc39614e7b385ee939623cd34a71f825d49e1f50879f1c0f59a5e7476
data/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # Changelog
2
2
 
3
+ ## [v0.3.2] - 2022-06-30
4
+ - [Fix 'Faraday::Connection#authorization' deprecation warning](https://github.com/Shopify/oktakit/pull/56)
5
+
3
6
  ## [v0.3.1] - 2022-01-20
4
7
  - [Reverts a breaking change that caused errors to be raised for non-2xx responses](https://github.com/Shopify/oktakit/pull/54)
5
8
 
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- oktakit (0.3.1)
4
+ oktakit (0.3.2)
5
5
  sawyer (~> 0.8.1)
6
6
 
7
7
  GEM
@@ -189,8 +189,8 @@ module Oktakit
189
189
  http.headers[:accept] = 'application/json'
190
190
  http.headers[:content_type] = 'application/json'
191
191
  http.headers[:user_agent] = "Oktakit v#{Oktakit::VERSION}"
192
- http.authorization('SSWS ', @token) if @token
193
- http.authorization(:Bearer, @access_token) if @access_token
192
+ http.headers[:authorization] = "SSWS #{@token}" if @token
193
+ http.headers[:authorization] = "Bearer #{@access_token}" if @access_token
194
194
  end
195
195
  end
196
196
 
@@ -1,3 +1,3 @@
1
1
  module Oktakit
2
- VERSION = '0.3.1'.freeze
2
+ VERSION = '0.3.2'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oktakit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Graeme Johnson
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2022-01-20 00:00:00.000000000 Z
12
+ date: 2022-06-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sawyer