hoodoo 1.6.0 → 1.6.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ODNjYzEzYzhiMTY1OTlkMjBkNDBlMmQ0MzNhYzAyZDJhNTFlMzBhNA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
M2I5ZmQyMmU0YTljY2JkNmE1ZGU4YzhhMzdmMzcxMDVmMGZiNzY2Nw==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NGY3NjZhYzM5MDVkODhkMGQ5MzQ5NzY2MmQ1Y2I0YTRlYWI1NDI4MGU0YTc5
|
10
|
+
NjJkNDZmODE4NTRkODA3ZGY0N2M0OWY5NmZjNTFiNzk0YzQxODVmM2RlZDc4
|
11
|
+
YmViMDFkMWY0MzZlNThkMzk0MWY5ZDRjM2Q1MTRlMTI5YmY4NmE=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NTQ4OWZjYjA5Y2ZhOWIzN2NkODM4NWUwZTc5MDdiOGE0OTVhNGMxNjY5NzIy
|
14
|
+
MTgwYWExNDk4M2NjNWQ4MDU3ZDJjNzk2Y2ZjYmQyNmU1Y2M2NzhhMDAxNDc3
|
15
|
+
YjkyNmIxYTZjZDNlZGNhMDRmNTc2MDQxNWI3NjFlMDg3ZTIzNzQ=
|
data/lib/hoodoo/version.rb
CHANGED
@@ -386,16 +386,20 @@ describe Hoodoo::Services::Middleware do
|
|
386
386
|
get '/v1/test_log/hello', nil, { 'CONTENT_TYPE' => 'application/json; charset=utf-8' }
|
387
387
|
|
388
388
|
inbound, result, outbound = get_data_for( :show )
|
389
|
-
data = result.first[ :data ]
|
390
389
|
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
expect( data[ :session ][ 'caller_identity_name' ] ).to be_present
|
395
|
-
expect( data[ :session ][ 'identity' ] ).to be_present
|
390
|
+
( inbound + result + outbound ).each do | log_packet |
|
391
|
+
data = log_packet[ :data ]
|
392
|
+
next unless data.has_key?( :session )
|
396
393
|
|
397
|
-
|
398
|
-
|
394
|
+
expect( data[ :session ][ 'session_id' ] ).to be_present
|
395
|
+
expect( data[ :session ][ 'caller_id' ] ).to be_present
|
396
|
+
expect( data[ :session ][ 'caller_version' ] ).to be_present
|
397
|
+
expect( data[ :session ][ 'caller_identity_name' ] ).to be_present
|
398
|
+
expect( data[ :session ][ 'identity' ] ).to be_present
|
399
|
+
|
400
|
+
expect( data[ :session ][ 'permissions' ] ).to_not be_present
|
401
|
+
expect( data[ :session ][ 'scoping' ] ).to_not be_present
|
402
|
+
end
|
399
403
|
end
|
400
404
|
end
|
401
405
|
|
@@ -413,15 +417,19 @@ describe Hoodoo::Services::Middleware do
|
|
413
417
|
get '/v1/test_log/hello', nil, { 'CONTENT_TYPE' => 'application/json; charset=utf-8' }
|
414
418
|
|
415
419
|
inbound, result, outbound = get_data_for( :show )
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
|
424
|
-
|
420
|
+
|
421
|
+
( inbound + result + outbound ).each do | log_packet |
|
422
|
+
data = log_packet[ :data ]
|
423
|
+
next unless data.has_key?( :session )
|
424
|
+
|
425
|
+
expect( data[ :session ][ 'session_id' ] ).to be_present
|
426
|
+
expect( data[ :session ][ 'caller_id' ] ).to be_present
|
427
|
+
expect( data[ :session ][ 'caller_version' ] ).to be_present
|
428
|
+
expect( data[ :session ][ 'caller_identity_name' ] ).to be_present
|
429
|
+
expect( data[ :session ][ 'identity' ] ).to be_present
|
430
|
+
expect( data[ :session ][ 'permissions' ] ).to be_present
|
431
|
+
expect( data[ :session ][ 'scoping' ] ).to be_present
|
432
|
+
end
|
425
433
|
end
|
426
434
|
end
|
427
435
|
end
|