authentic-jwt 0.0.3 → 0.0.4

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: 2d47cc96f2011f46a63cc6602fbfae477240a1dc
4
- data.tar.gz: 63eeff8a50676a80103712872d970d75741e47a3
3
+ metadata.gz: 59f788359a77abb136b7c38fdcab253d45c00f13
4
+ data.tar.gz: 5d21ada90226e6763e18f4e360e5f1eed29ad991
5
5
  SHA512:
6
- metadata.gz: 03502527e816c6bb758f5107b2d966bd8dd0f14a3b244677cb4b72a20aa495d37c558eb63e9c56299b6b7546e38c6576fd632efa28e8722ce3be6a9c813e0eb2
7
- data.tar.gz: 85798e18d003ac3fb6e64b82c6df6f0b9ed22dffc52c8fa4a208985b3ade832b02f1a32d06bd59a44cf01759dce77f16266f0101e5f8c4dc17f0057b3e0c1b93
6
+ metadata.gz: fb34b5b23fe8000435777be76f5e25d09293523c88658361e6fca0b21c5dbb1d807b2281429d72302ccef32f67cfcf14e810c0bd4d1f4a8415a8ef343fba74fd
7
+ data.tar.gz: aea12556a8dac589d6e52ad51cbca4bdd30c488975415cf8fe6a1351159992e06e552f25985e53de72f8dfdacf8d1696366f99a2ef33d2413b1eb578489d8fbd
@@ -86,7 +86,7 @@ module AuthenticJwt
86
86
  end
87
87
 
88
88
  def account_roles
89
- return unless account_payload
89
+ return [] unless account_payload
90
90
  account_payload["roles"].collect(&:downcase)
91
91
  end
92
92
 
@@ -1,3 +1,3 @@
1
1
  module AuthenticJwt
2
- VERSION = "0.0.3".freeze
2
+ VERSION = "0.0.4".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: authentic-jwt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Authentic Limited