adsk_auth_service 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/adsk_auth_service.gemspec +1 -1
- data/lib/services/token_cache_service.rb +3 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: effa32363f0d027b695405fda938cbac5a936b28
|
4
|
+
data.tar.gz: 9afc6fed8ae49018b44f634113c6eea804004123
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a17e07610a6c05a390a30ba284c30d853e24c573e5afc90d648d1ebe3dbdcc8384ab45403cbfb355b8330e6a4d875b9559001b4024703fb3cd3d55d71dc7dd71
|
7
|
+
data.tar.gz: 2c5e30235326810a8b436c498f4eb72cbf8c1a0d83ab7c7f80281a5dff75f92c2f7f3bc8a76b6710b6519871f6a88d12da3410a7e11a378a1f71d2f652b35c4a
|
data/adsk_auth_service.gemspec
CHANGED
@@ -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
|