vonage-jwt 0.1.0 → 0.1.2

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: 75f27de718f0fdf8dce4a63da2ea80d69921985dc41c4c056e6072bce3c7bb4d
4
- data.tar.gz: 6e1dd89c4f5df012efb95a76d827f61ac5b1b1dce5a0d658e007e6e171f4229c
3
+ metadata.gz: e83f93abf55574d8da1dc73a55e89a17597275911927a9200b3e51be71655e3f
4
+ data.tar.gz: 4772db0876bc1129f2f038d1ee3d235852e763a8b9f7bf457acdb823acefafc7
5
5
  SHA512:
6
- metadata.gz: 025d062660e96cd6bcaef552ebb71fe2d5249cf4be450e492f48dedd1ac49f8464309f0de70ffdc909a03af140f626e89e212cd85e07af51143788a1be6c80c6
7
- data.tar.gz: 61f33cf546932c49cbc7b0fb4433705edeb972746122bfdaea2f2f9db789eccd77d63f7859c42800d28ff90102835b05048b9243e742da60d74de1adfa32a9e1
6
+ metadata.gz: ee524f8242fe11c48d7ca420bf7d57115f88c6ff0fad19c1b4bd85163ca132b6b7b0e147138e16977ed5ded7c0b89b10291b805f2627e75fcef3e92150ae002c
7
+ data.tar.gz: e5f64c2947797813e9c450d71f7a9a16fed6f22c515521f026607de0ce7d34807f0e933674c8e035b3301f57c86f023e16a4ae5f92c179bbbca6441cf70c2185
@@ -91,7 +91,7 @@ module Vonage
91
91
  end
92
92
 
93
93
  def set_additional_claims(params)
94
- params.delete_if {|k,v| [:application_id, :private_key, :jti, :nbf, :ttl, :exp, :alg, :paths, :subject].include?(k) }
94
+ params.dup.delete_if {|k,v| [:application_id, :private_key, :jti, :nbf, :ttl, :exp, :alg, :paths, :subject].include?(k) }
95
95
  end
96
96
 
97
97
  def set_exp
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Vonage
4
4
  class JWT
5
- VERSION = '0.1.0'
5
+ VERSION = '0.1.2'
6
6
  end
7
7
  end
data/vonage-jwt.gemspec CHANGED
@@ -13,7 +13,7 @@ Gem::Specification.new do |s|
13
13
  s.description = 'Vonage JWT Generator for Ruby'
14
14
  s.summary = 'This is the Ruby client library to generate Vonage JSON Web Tokens (JWTs).'
15
15
  s.files = Dir.glob('lib/**/*.rb') + %w[LICENSE.txt README.md vonage-jwt.gemspec]
16
- s.required_ruby_version = '>= 2.7.0'
16
+ s.required_ruby_version = '>= 2.5.0'
17
17
  s.add_dependency('jwt', '~> 2')
18
18
  s.require_path = 'lib'
19
19
  s.metadata = {
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vonage-jwt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vonage
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-11-22 00:00:00.000000000 Z
11
+ date: 2022-11-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jwt
@@ -55,7 +55,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
55
55
  requirements:
56
56
  - - ">="
57
57
  - !ruby/object:Gem::Version
58
- version: 2.7.0
58
+ version: 2.5.0
59
59
  required_rubygems_version: !ruby/object:Gem::Requirement
60
60
  requirements:
61
61
  - - ">="