doorkeeper 4.4.0 → 4.4.1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of doorkeeper might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f0d71c132c7d1ccefc8c14eb694b17390f294153
4
- data.tar.gz: db67a65aac1502b753acb20ea125fa4b5a87b613
3
+ metadata.gz: b9ce63cc5f416a440c8cbe59270d0d144d2b46f8
4
+ data.tar.gz: 967e49192bf978a3c22997fd9d239b3046dddda3
5
5
  SHA512:
6
- metadata.gz: fd03d7d674e053e08d4eaaa5b71d60290983d1d0376bddf4eacd01c903bffbf495dac6d3c56ff4e42cd91a47084eebb8332332553e239eb964cf79a0949087d0
7
- data.tar.gz: 12873f75f22927c542c3d3bd739b5b1ec1ed0b89135bd1e492106e5d94d4485f8ca0fc89b6dcedf1d5a8707d9ff3cfc9f6c4d539a51a86c7dd23633477adfc57
6
+ metadata.gz: cc82ecfb4737159081c5bb1aedff072522ae2b191272e1eb00966b6a999e2ab99ea094fe4fa7c1924ee344e33978b6b436af37cabde22a4ac5f3a67e240737a1
7
+ data.tar.gz: d1e5bf52498a3ccbcf5fdc8ea9bb4ab99e3a17c16ee2ecac860e4ffe720a63375b9c9a7e347d9564dee625a4fd8804723c3dad97340f6a2f31132fde06a0e548
data/NEWS.md CHANGED
@@ -4,6 +4,11 @@ User-visible changes worth mentioning.
4
4
 
5
5
  ## master
6
6
 
7
+ ## 4.4.1
8
+
9
+ - [#1127] Backport token type to comply with the RFC6750 specification.
10
+ - [#1125] Backport Quote surround I18n yes/no keys
11
+
7
12
  ## 4.4.0
8
13
 
9
14
  - [#1120] Backport security fix from 5.x for token revocation when using public clients
@@ -41,8 +41,8 @@ en:
41
41
  callback_url: 'Callback URL'
42
42
  confidential: 'Confidential?'
43
43
  confidentiality:
44
- yes: 'Yes'
45
- no: 'No'
44
+ 'yes': 'Yes'
45
+ 'no': 'No'
46
46
  new:
47
47
  title: 'New Application'
48
48
  show:
@@ -156,7 +156,7 @@ module Doorkeeper
156
156
  # The OAuth 2.0 Authorization Framework: Bearer Token Usage
157
157
  #
158
158
  def token_type
159
- 'bearer'
159
+ 'Bearer'
160
160
  end
161
161
 
162
162
  def use_refresh_token?
@@ -28,7 +28,7 @@ HEREDOC
28
28
  # Semantic versioning
29
29
  MAJOR = 4
30
30
  MINOR = 4
31
- TINY = 0
31
+ TINY = 1
32
32
 
33
33
  # Full version number
34
34
  STRING = [MAJOR, MINOR, TINY].compact.join('.')
@@ -54,7 +54,7 @@ describe Doorkeeper::AuthorizationsController, 'implicit grant flow' do
54
54
  end
55
55
 
56
56
  it 'includes token type in fragment' do
57
- expect(response.query_params['token_type']).to eq('bearer')
57
+ expect(response.query_params['token_type']).to eq('Bearer')
58
58
  end
59
59
 
60
60
  it 'includes token expiration in fragment' do
@@ -184,7 +184,7 @@ describe Doorkeeper::AuthorizationsController, 'implicit grant flow' do
184
184
  end
185
185
 
186
186
  it 'includes token type in fragment' do
187
- expect(response.query_params['token_type']).to eq('bearer')
187
+ expect(response.query_params['token_type']).to eq('Bearer')
188
188
  end
189
189
 
190
190
  it 'includes token expiration in fragment' do
@@ -53,7 +53,7 @@ feature 'Authorization Code Flow' do
53
53
  should_not_have_json 'error'
54
54
 
55
55
  should_have_json 'access_token', Doorkeeper::AccessToken.first.token
56
- should_have_json 'token_type', 'bearer'
56
+ should_have_json 'token_type', 'Bearer'
57
57
  should_have_json_within 'expires_in', Doorkeeper::AccessToken.first.expires_in, 1
58
58
  end
59
59
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: doorkeeper
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.4.0
4
+ version: 4.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Felipe Elias Philipp
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2018-07-17 00:00:00.000000000 Z
14
+ date: 2018-07-27 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: railties