doorkeeper 5.2.0 → 5.2.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
  SHA256:
3
- metadata.gz: c5184a79d20bb22a118af7f53e465f3d16b4e8796819bc3d3787118b65e2faa5
4
- data.tar.gz: 36dbd460edaad12e3550210d3edfa1c2f6b82bfa600c7a6fc3c1e730bc7d34c1
3
+ metadata.gz: 40f547a3fdce5d12fc2cac4eacd6de0d99f57994f503d9b2e5a1d423195e748d
4
+ data.tar.gz: 152612d3fad63c298d2143b1a2811d388dc0c84b57ff121f465b496c01319717
5
5
  SHA512:
6
- metadata.gz: 2b1183b93495fcaf34b7d1761d1e605e9203bdcfa483ebc6b3c11895b781ace879439f84d92d05dc9321bf28014b64e4c2a63666a20a389b26a34f1a5dc3c048
7
- data.tar.gz: 75959d91b24d5a34538e9bf2d5fca263bbd9338a1cf20d808a6737b0ec4ee507f2d07ee47031d09ab7211e62be5803223f2a28d4099e91008741606162c3dafa
6
+ metadata.gz: 3a2e829aa9101e71720484f5faa044db3d5b67aac940ab12e0265d27cb46a443247235a64958dcc5bec05995017e78479e2c08146bc25ab04c984dc3b735bc86
7
+ data.tar.gz: b579173c6564b9415fd411afdeea5dbfd647b561e7fa2627285dd158d729bbec90fb447db7fa0fdb858822d67a71ba707deaaf8e75768e8a67b5b3a4c66662c6
data/CHANGELOG.md CHANGED
@@ -7,7 +7,12 @@ User-visible changes worth mentioning.
7
7
 
8
8
  ## master
9
9
 
10
- - [#PR ID] Your PR description here.
10
+ - [#PD ID] Your PR short description.
11
+
12
+ ## 5.2.1
13
+
14
+ - [#1308] Fix flash types for `api_only` mode (no flashes for `ActionController::API`).
15
+ - [#1306] Fix interpolation of `missing_param` i18n.
11
16
 
12
17
  ## 5.2.0
13
18
 
@@ -4,7 +4,7 @@ module Doorkeeper
4
4
  class ApplicationsController < Doorkeeper::ApplicationController
5
5
  layout "doorkeeper/admin" unless Doorkeeper.configuration.api_only
6
6
 
7
- add_flash_types :application_secret
7
+ add_flash_types :application_secret unless Doorkeeper.configuration.api_only
8
8
  before_action :authenticate_admin!
9
9
  before_action :set_application, only: %i[show edit update destroy]
10
10
 
@@ -90,7 +90,7 @@ en:
90
90
  # Common error messages
91
91
  invalid_request:
92
92
  unknown: 'The request is missing a required parameter, includes an unsupported parameter value, or is otherwise malformed.'
93
- missing_param: 'Missing required parameter: #{value}.'
93
+ missing_param: 'Missing required parameter: %{value}.'
94
94
  not_support_pkce: 'Invalid code_verifier parameter. Server does not support pkce.'
95
95
  request_not_authorized: 'Request need to be authorized. Required parameter for authorizing request is missing or invalid.'
96
96
  invalid_redirect_uri: "The requested redirect uri is malformed or doesn't match client redirect URI."
@@ -9,7 +9,7 @@ module Doorkeeper
9
9
  # Semantic versioning
10
10
  MAJOR = 5
11
11
  MINOR = 2
12
- TINY = 0
12
+ TINY = 1
13
13
  PRE = nil
14
14
 
15
15
  # Full version number
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: 5.2.0
4
+ version: 5.2.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: 2019-09-16 00:00:00.000000000 Z
14
+ date: 2019-09-17 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: railties