adsk_auth_service 1.0.2 → 1.0.3

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
  SHA1:
3
- metadata.gz: 3cb5e95ef1b397e51967320a3809d7ab3c3a6783
4
- data.tar.gz: bb1e2dbbbbce8684d4c7d4bc5272038e2663728f
3
+ metadata.gz: effa32363f0d027b695405fda938cbac5a936b28
4
+ data.tar.gz: 9afc6fed8ae49018b44f634113c6eea804004123
5
5
  SHA512:
6
- metadata.gz: b12800b6e40701cd2c08c537b52b682be70ddadbcd0a4b7bb104bcc9b4d076ae2bc48218e6344c69bb32e3e42d957ef768f6ba79b50232b862d86dd322725728
7
- data.tar.gz: d51e7e73505e28154ec20843349d04635260e61b8e93f706f471fd42e6d27986823647c28ec831e263fb78826497418a09043eb31708e33411e067ca962d3110
6
+ metadata.gz: a17e07610a6c05a390a30ba284c30d853e24c573e5afc90d648d1ebe3dbdcc8384ab45403cbfb355b8330e6a4d875b9559001b4024703fb3cd3d55d71dc7dd71
7
+ data.tar.gz: 2c5e30235326810a8b436c498f4eb72cbf8c1a0d83ab7c7f80281a5dff75f92c2f7f3bc8a76b6710b6519871f6a88d12da3410a7e11a378a1f71d2f652b35c4a
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'adsk_auth_service'
3
- s.version = '1.0.2'
3
+ s.version = '1.0.3'
4
4
  s.summary = "Autodesk second phase token retrieval"
5
5
  s.description = "A gem for Autodesk 2-phase authentication service."
6
6
  s.authors = ['Linh Chau']
@@ -21,6 +21,9 @@ class TokenCacheService
21
21
  @@env = ConfigService.environment
22
22
  config = ConfigService.load_config('cache_config.yml')[@@env]
23
23
 
24
+ # Load all the existing caches in the system, outside of the gem
25
+ Dir.glob("#{File.expand_path('.')}/caches/*.rb").each { |rb_file| require rb_file }
26
+
24
27
  @@cache = Object.const_get(config['cache'])
25
28
 
26
29
  end #initialize
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: adsk_auth_service
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Linh Chau