usps-jwt_auth 0.0.1 → 0.0.2

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
  SHA256:
3
- metadata.gz: 13fa5947571c35b0d6cea5c6236bb61048f3977dd6c008a0c9a04887f458a2e6
4
- data.tar.gz: 48572594ff31f88c6f9043c0856b49b9a3b2bcf9faaa380d2dd5ee40561cb614
3
+ metadata.gz: 72bc8a1eee0aa003526f0cd44b22e1c31a4c393df78c70168a87c90bad7ee561
4
+ data.tar.gz: 027b5fa87c7c909a07a4767b54ee410cf650ed489be0c47a04e0ce23f2b2db6b
5
5
  SHA512:
6
- metadata.gz: a8777d6b9c4c146e327aba4eb179d500168b620d3f811b6f76fa23eddace6f3eabb1ce2926158ecd1729145c19025f5579f27a874446853551a1510fbaf37703
7
- data.tar.gz: 5c436aabb4889f0ef6cd5cc0601b0ec00e7ce434fb373a7e7977c819fd8769ea90d582137bdd10b0b0fb42c6f41d6905fb3f3aa9eede62fe0f8ab2aebe206564
6
+ metadata.gz: 9ec5ab02c06c7c79c5d782c9f75e7276780d691fdea38702167f7222647cbab5380a52e1719b9746d0255a2938199071737cef015acf70409e974a08e3e2a5dd
7
+ data.tar.gz: c6bf04cd280d38ff204de64fc7f907c04515faefacfbc40c23e3b857dcd362c3dee21de203d8d54f42ebcec0019007f7852fcb1d4d6aef8cb1233e7b7f265c93
data/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # USPS JWT Authentication
2
2
 
3
+ [![Gem Version](https://img.shields.io/gem/v/usps-jwt_auth)](https://rubygems.org/gems/usps-jwt_auth)
4
+
3
5
  ## Installation
4
6
 
5
7
  ```sh
@@ -5,7 +5,7 @@ module Usps
5
5
  # Encode data as a JWT
6
6
  #
7
7
  class Encode
8
- JwtAuth.config.key_size
8
+ JwtAuth.configuration.key_size
9
9
 
10
10
  def self.encode(data, expiration_time: 15 * 60, audience: [], issuer: nil)
11
11
  new(expiration_time: expiration_time, audience: audience, issuer: issuer).encode(data)
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Usps
4
4
  module JwtAuth
5
- VERSION = '0.0.1'
5
+ VERSION = '0.0.2'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: usps-jwt_auth
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julian Fiander