doorkeeper 4.4.0 → 4.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b9ce63cc5f416a440c8cbe59270d0d144d2b46f8
|
|
4
|
+
data.tar.gz: 967e49192bf978a3c22997fd9d239b3046dddda3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
data/config/locales/en.yml
CHANGED
data/lib/doorkeeper/version.rb
CHANGED
|
@@ -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('
|
|
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('
|
|
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', '
|
|
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.
|
|
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-
|
|
14
|
+
date: 2018-07-27 00:00:00.000000000 Z
|
|
15
15
|
dependencies:
|
|
16
16
|
- !ruby/object:Gem::Dependency
|
|
17
17
|
name: railties
|