doorkeeper-device_authorization_grant 1.0.2 → 1.0.3

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: 918728396ff79ae1d4efcc5343698057ba21f210ba1337ca4f9e5506b7c93270
4
- data.tar.gz: 40c2be408c998eb5c6c27c9feaa384cd7d028488b1c74bbedee9f93625a0d00f
3
+ metadata.gz: 373719a47fa17567255c89d4eca8a9be20cdced572bb6f2a69417fa48cc2fdd9
4
+ data.tar.gz: 85a9746bbb6057941a4373336cb6f5eb2f94183a0d66235563363bdab7e0964e
5
5
  SHA512:
6
- metadata.gz: ee2ed1c9be3d69d8aee4429c84b46b49845c266c06e0337b71b9798dea6701009b86926bc413441a8b5c82500521ea70f060a52197123d8c75ddf1e76b274370
7
- data.tar.gz: e38f960d8d614c201fa5062142c7c22670c30fff51173e506ae4aa5efcff78ec86482583363bc79fcfcbb7520f44cf0066d3e252fcb6ec1578794077c90456d7
6
+ metadata.gz: 9c49ed72174821af506f3a7292dea96158a9ab5af8b362675cb956ccc5d9f35b36f1f83057ae1ee67bc07b0c8f95d4af25c405c69fae7f4bcaae5b4cc6da20f1
7
+ data.tar.gz: e552cd84493d95173ddfbc7bacb5c2a3ec9755dbf5b0b5c6fbf1012703d545964f870a5781722d25d888b8bc5d5670d966fdf555942191eb24c01c58857e47c1
@@ -22,9 +22,9 @@ module Doorkeeper
22
22
  next authorization_error_response(:expired_user_code) if device_grant.expired?
23
23
 
24
24
  device_grant.update!(user_code: nil, resource_owner_id: current_resource_owner.id)
25
- end
26
25
 
27
- authorization_success_response
26
+ authorization_success_response
27
+ end
28
28
  end
29
29
 
30
30
  private
@@ -130,7 +130,7 @@ module Doorkeeper
130
130
  end
131
131
 
132
132
  def scopes_match_configured
133
- if scopes.present? && !Doorkeeper::OAuth::Helpers::ScopeChecker.valid?( # rubocop:disable Style/InverseMethods
133
+ if scopes.present? && !Doorkeeper::OAuth::Helpers::ScopeChecker.valid?(
134
134
  scope_str: scopes.to_s,
135
135
  server_scopes: Doorkeeper.config.scopes
136
136
  )
@@ -2,7 +2,7 @@
2
2
 
3
3
  module Doorkeeper
4
4
  module DeviceAuthorizationGrant
5
- VERSION = '1.0.2'
5
+ VERSION = '1.0.3'
6
6
  public_constant :VERSION
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: doorkeeper-device_authorization_grant
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - EXOP Group
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-03-03 00:00:00.000000000 Z
11
+ date: 2023-04-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: doorkeeper