graphql-auth 0.1.3 → 0.1.4

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
- SHA1:
3
- metadata.gz: 2a7b7e118da956df77ba9154ca58ed7087d2d0f6
4
- data.tar.gz: a3a70ad19577c8bc648cc21ca5035ad87cc280ad
2
+ SHA256:
3
+ metadata.gz: 5ffa56e33c28af702f87bb776c192921f83086b070fb05d5abf98eefb73c9787
4
+ data.tar.gz: 8ad60b751d4c1c3438d780a145692f557b3d6624698fe8d20f0ab8917d2e57c1
5
5
  SHA512:
6
- metadata.gz: 30111d8b814841ffca793b203d5690059e1a18a5a8add1cc705810c5e5b3288708c82f04e4413fc3afef0b735ea1045f8d156ced5888c5d077feacfeb844fcac
7
- data.tar.gz: e6bcb40a2e314b73bfc53c95f4cc937d794d3203a2bdd4cdfb4f630df346d2adf6a0795f7e6be24077274eb7b782a02715b7566303e669ca7c00522a9b32fcc5
6
+ metadata.gz: 5bd40850c4273a5b071e9e9b7b46afcaa7ec5bf9a9bc8d1774f76767832e33a5fdb6d90f4438c3c543be50a344fefbde4e0c5d4b49951912e3708dcdb6372275
7
+ data.tar.gz: 2c1be37cece9f12dfa1fd57812ba7c66a0d893f1fe1d570e404a2eea5c510f128e09a7df7a9be8ef949de0a964d8fb70a379b4a134915e3196a74ebd47ef9744
@@ -9,7 +9,7 @@ module GraphQL
9
9
 
10
10
  class << self
11
11
  def issue(payload, custom_expiration = nil)
12
- if custom_expiration.present? && custom_expiration.kind_of? ActiveSupport::Duration
12
+ if custom_expiration.present? && custom_expiration.is_a?(ActiveSupport::Duration)
13
13
  payload[:exp] = custom_expiration
14
14
  else
15
15
  payload.merge!(expiration)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: graphql-auth
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Guillaume Ferland
@@ -128,7 +128,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
128
128
  version: '0'
129
129
  requirements: []
130
130
  rubyforge_project:
131
- rubygems_version: 2.6.13
131
+ rubygems_version: 2.7.6
132
132
  signing_key:
133
133
  specification_version: 4
134
134
  summary: GraphQL + JWT + Devise