brycesch-devise_oauth2_providable 1.2.2 → 1.2.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
  SHA1:
3
- metadata.gz: e6e326eb53c592b6f71238d490ba036b3288b42a
4
- data.tar.gz: 11ec8750713c7f0ef97fa6070e415837d66685e5
3
+ metadata.gz: a80d7e436ceca1b674de96774350171696efac15
4
+ data.tar.gz: 585003ec581d0f05b52b6b54fec8c156bd163b5c
5
5
  SHA512:
6
- metadata.gz: ccd906373187384f8e3ca8e120f9a7b60ceba722e9a3814ed41922bbf59807b2a9852dd25fa7deedb458b677600305764d01466b7fa0fee9c5e2cc9677f4efb9
7
- data.tar.gz: 34f5696ec1b7e9780bf94d52744fe27ff5b1a71695c9b25807e44b5e551cfb95d19bd8708f8f4d886cd57a68d75ff074d8bc02b98a3c1069f98dbf848dc14766
6
+ metadata.gz: 63c05512a75b7869f618b48d41acf1815df27a54fc024433956c6513b259397761e68cfa67d7a3d6bff0af3994817ea5f13ed9cd48d2412b197d31ec0936c19d
7
+ data.tar.gz: 4cb77531401f451e8566c618706383fb7d0b7d3d80e88581d4de1cdaa8a6d21934c3512f088592943abb0b0d381de51233e3b2ee1d70cfc9e26e5498e83c26f3
@@ -14,6 +14,7 @@ module Devise
14
14
  success! resource
15
15
  else
16
16
  keys_string = keys.join(I18n.translate(:"support.array.words_connector"))
17
+ message = resource ? resource.unauthenticated_message : :invalid
17
18
  oauth_error! :invalid_grant, I18n.t("devise.failure.#{resource.unauthenticated_message}", authentication_keys: keys_string)
18
19
  end
19
20
  end
@@ -1,5 +1,5 @@
1
1
  module Devise
2
2
  module Oauth2Providable
3
- VERSION = "1.2.2"
3
+ VERSION = "1.2.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: brycesch-devise_oauth2_providable
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.2
4
+ version: 1.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Sonnek
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-23 00:00:00.000000000 Z
11
+ date: 2015-09-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails