usps-jwt_auth 0.0.5 → 0.0.6

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: a553a7ef58181dd582cc81341044826ffc1e97f16b2cd8e73658db8ff90b109b
4
- data.tar.gz: 498a13e043fccfdd7172aae9e76ffa11a0e2ce3a71bf6cd50df216fd38864688
3
+ metadata.gz: f3713e69b0474983072c09952260c509b4d5bfc55093f784180c2762f1580c22
4
+ data.tar.gz: 3b211bb26c1ba938aa104439bd399ebd48369a02b7a9476b5b89d557219f4b86
5
5
  SHA512:
6
- metadata.gz: 74598d478a7f607c8b94fb7b613be19a03346af57aefbd95f3555ee4630011fb7f3d0cb00b8fa33d5b1683357c60c50def5b90e9d31cf39ac3beab56ab101e42
7
- data.tar.gz: 90316a9fface4a1489ee4dcde960d3780e0ed6a58e0af702eb76a3f88aee1efe3c486986636d9939af13f2d2714595d0f1c97a45117436cecc3786783c86b6cf
6
+ metadata.gz: '09cde55ca936565d0fd67906a8324ec1dd320628a18d99ad126fa720352598480729f068cf8a657254e4f57d22596eee5fa2aed2c9af8e4d54bf32d90c9111ea'
7
+ data.tar.gz: 5d97c3ccc7b24ef48c67dd82195229cc2f69b3f975dbab5f21af9f4b31e5765c4b45b9f532a1114cb83132ccd2910086288a0f76cb7bd93b228091c020a749fa
data/lib/railtie.rb CHANGED
@@ -1,7 +1,11 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'rails'
2
4
 
3
5
  module Usps
4
6
  module JwtAuth
7
+ # Expose rake tasks to Rails
8
+ #
5
9
  class Railtie < Rails::Railtie
6
10
  railtie_name :usps_jwt_auth
7
11
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Usps
4
4
  module JwtAuth
5
- VERSION = '0.0.5'
5
+ VERSION = '0.0.6'
6
6
  end
7
7
  end
data/lib/usps/jwt_auth.rb CHANGED
@@ -7,6 +7,8 @@ require_relative 'jwt_auth/encode'
7
7
  require_relative 'jwt_auth/decode'
8
8
  require_relative 'jwt_auth/concern'
9
9
 
10
+ require_relative 'jwt_auth/railtie' if defined?(Rails)
11
+
10
12
  module Usps
11
13
  # Unified configuration for handling JWT Authentication
12
14
  #
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.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julian Fiander