usps-jwt_auth 1.0.0 → 1.0.1.pre.1

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: 249067741895e300dfb058ae423bc3ffa23d4bac99a049e8db1d6ff99605360e
4
- data.tar.gz: fb8a29113b0aae842de644561810c4e66175250af53864d519559da30b9a48bd
3
+ metadata.gz: f236e8b52000935890ba6f6b67b2afe4aa0bd41d6c4fa0e6a9ddc83ab39070aa
4
+ data.tar.gz: 23668c99bbf2b59d5778c9691689c0c3a42b794225435585e81a90ef856e058c
5
5
  SHA512:
6
- metadata.gz: 5d9b3420bede52d61dcd49b67216e7212cb68fe94b8128f65ade2f07fc30e440b66fd5d5f2597e82d6f818f7c8b0d5293a89b4ce9109d8130657e89c8a362499
7
- data.tar.gz: 0761f77630d4833dffe37c091d97112613af7d7dfdc4bbfed862d39158f31aa9b275769e7c75ce15ee132521c3d3692d8aa670bfd5d354b163bc868a4ac8facd
6
+ metadata.gz: 6c420081ca2f78b08abf01798a6c99014d9ed7a0bba2cd6e4018ddd348f779bbe54be5b6bcf0d02ec090e1693c5c49607f340c61617f0e0c5fb9a740d71b2de0
7
+ data.tar.gz: 432609b88e23aeb3624faf3e8ab3e82e6f704e2fb749ae2c1bc458e55c0cb8eb872257717dd3d8b886b8275f367e4fcc7524d5ca77aa3cd1bc308b2963b104c7
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- usps-jwt_auth (1.0.0)
4
+ usps-jwt_auth (1.0.1.pre.1)
5
5
  activesupport (~> 8.0)
6
6
  colorize (~> 1.1)
7
7
  fileutils (~> 1.7)
@@ -11,7 +11,7 @@ module Usps
11
11
  attr_reader :environment
12
12
 
13
13
  def initialize
14
- @environment = defined?(Rails) ? Rails.env : ActiveSupport::StringInquirer.new('development')
14
+ @environment = defined?(::Rails) ? ::Rails.env : ActiveSupport::StringInquirer.new('development')
15
15
  @keys_path = Pathname.new('config/keys')
16
16
  @public_keys_path = Pathname.new('config/public_keys')
17
17
  @key_size = ENV.fetch('JWT_KEY_SIZE', '4096').to_i
@@ -28,7 +28,7 @@ module Usps
28
28
  end
29
29
 
30
30
  def keys_path
31
- defined?(Rails) ? Rails.root.join(@keys_path) : @keys_path
31
+ defined?(::Rails) ? ::Rails.root.join(@keys_path) : @keys_path
32
32
  end
33
33
 
34
34
  def raw_keys_path
@@ -40,7 +40,7 @@ module Usps
40
40
  end
41
41
 
42
42
  def public_keys_path
43
- defined?(Rails) ? Rails.root.join(@public_keys_path) : @public_keys_path
43
+ defined?(::Rails) ? ::Rails.root.join(@public_keys_path) : @public_keys_path
44
44
  end
45
45
 
46
46
  def raw_public_keys_path
@@ -6,7 +6,7 @@ module Usps
6
6
  module JwtAuth
7
7
  # Expose rake tasks to Rails
8
8
  #
9
- class Railtie < Rails::Railtie
9
+ class Railtie < ::Rails::Railtie
10
10
  railtie_name :usps_jwt_auth
11
11
 
12
12
  rake_tasks do
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Usps
4
4
  module JwtAuth
5
- VERSION = '1.0.0'
5
+ VERSION = '1.0.1-1'
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: 1.0.0
4
+ version: 1.0.1.pre.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julian Fiander