angus-remote 0.0.4 → 0.0.5
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.
@@ -1,6 +1,6 @@
|
|
1
1
|
require 'digest'
|
2
2
|
|
3
|
-
require_relative '
|
3
|
+
require_relative 'redis_client'
|
4
4
|
|
5
5
|
module Angus
|
6
6
|
module Authentication
|
@@ -17,7 +17,7 @@ module Angus
|
|
17
17
|
def initialize(settings)
|
18
18
|
@public_key = settings[:public_key] || DEFAULT_PUBLIC_KEY
|
19
19
|
@private_key = settings[:private_key] || DEFAULT_PRIVATE_KEY
|
20
|
-
@store =
|
20
|
+
@store = RedisClient.new(settings[:store] || {})
|
21
21
|
end
|
22
22
|
|
23
23
|
def prepare_request(request, http_method, script_name)
|
data/lib/angus/remote/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: angus-remote
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -233,8 +233,8 @@ files:
|
|
233
233
|
- lib/angus/remote/client.rb
|
234
234
|
- lib/angus/remote/proxy_client.rb
|
235
235
|
- lib/angus/remote/utils.rb
|
236
|
+
- lib/angus/authentication/redis_client.rb
|
236
237
|
- lib/angus/authentication/client.rb
|
237
|
-
- lib/angus/authentication/redis_store.rb
|
238
238
|
- spec/angus/remote/service_directory_spec.rb
|
239
239
|
- spec/angus/remote/proxy_client_utils_spec.rb
|
240
240
|
- spec/angus/remote/http/query_params_spec.rb
|