access_token_agent 3.2.0 → 3.2.1

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: b05e9bb8df48a419db6aa15bf18bca718638a4e8
4
- data.tar.gz: 405ed7dfca477e3763e8acd6fc12b394813e0ffb
3
+ metadata.gz: d5ec0e33d5b8651068da895025676ccabbfb5ee9
4
+ data.tar.gz: 8011321f27a7516eca30fcf5f4e5bd0cb3ba42fd
5
5
  SHA512:
6
- metadata.gz: 19b6c44ddedcfdd3a7dc8a7c67dc0ab73d81c7cf11129c6bb2ccc2bf897d0cd15dee6400bf82fae597cbb49cb6b602a39ed5f56064a929ff1970e253231f7fcf
7
- data.tar.gz: 90dab0e2595761e707ca502ec1b0b3489cbf8e7d96fdf21a6ca8952715856db351acfd29235b281567aa298d786eefc105fe751555042d77990bca76f5e3899b
6
+ metadata.gz: 387d0a36878d74ae3e1847a194d09fbc928da667eae6ae08e5be695841255484063ce9afb563ccb9fffcb44ed2aa454c61a6f0d33cd1e967465d4bc6722d4758
7
+ data.tar.gz: 2ae9d61ea98aa63835a9fc8eb8a434fb42a622660ba9359b7e7f9fc188d66007095a69b87aa880a29609fa4e011fa44bd4c3b2f37744b19a489df0cad9dbc895
data/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  *no unreleased changes*
4
4
 
5
+ ## 3.2.1
6
+
7
+ - Use a string as key in HTTP headers, to be compatible with Ruby < 2.3
8
+
5
9
  ## 3.2.0
6
10
 
7
11
  - Add `http_auth_header` method to the connector, since this is the most
@@ -17,7 +17,7 @@ module AccessTokenAgent
17
17
  end
18
18
 
19
19
  def http_auth_header
20
- { Authorization: "Bearer #{token}" }
20
+ { 'Authorization' => "Bearer #{token}" }
21
21
  end
22
22
 
23
23
  def token
@@ -1,3 +1,3 @@
1
1
  module AccessTokenAgent
2
- VERSION = '3.2.0'.freeze
2
+ VERSION = '3.2.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: access_token_agent
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.0
4
+ version: 3.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Beko Käuferportal GmbH