soar_authentication_token 6.0.4 → 6.0.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0a9bd21d079e6dff10a2f29a8475340031993755
4
- data.tar.gz: ca7092ef8359d576e33e28aed1a7aa0c0bdd8aad
3
+ metadata.gz: a1aac3acb8ce7f8984a3eebfc2442474ca332c74
4
+ data.tar.gz: a6f81a998b9afa523cd8c5e771d4ed89db968724
5
5
  SHA512:
6
- metadata.gz: 77ce9d933a3e34cfce61d0b532fcfde4f1a933b4a412721c707447eeb0f855b6ea0a303f6e00ae063d043b6b865874bd0bd64cef852c5f47768590f412eb4380
7
- data.tar.gz: 02c91d2b447269b1143cd2ff6b04376b763d8658e4d90aa49495cb6bc2f750d54ced9afa4f784ab4fce681fa3ec7e0f4daa91f6bd2bdcf436b431aad75d56e3e
6
+ metadata.gz: 6922a3f9eead7d9dd9a310db3a41faeb2d365b7e02ee94707bb22b4a15116ae2de59b93b64c6cb4cfd129ae0c08b4eaad294bf13f6562bd8f5d44910e53fc6ca
7
+ data.tar.gz: d7a5b39fa6b1878d1191ba22f0e1584267479bc2f7118974e033609c25255dc65eb0692a6af180dad06b6c7e31a06b1fa3c4bd90c7b43ad8c19b52744d25de80
@@ -53,12 +53,12 @@ module SoarAuthenticationToken
53
53
  def rejection
54
54
  [ 401,
55
55
  { 'Content-Type' => 'application/json'},
56
- {
56
+ [ {
57
57
  'status' => 'fail',
58
58
  'data' => {
59
59
  'notifications' => ['Not authenticated']
60
60
  }
61
- }.to_json
61
+ }.to_json ]
62
62
  ]
63
63
  end
64
64
  end
@@ -1,3 +1,3 @@
1
1
  module SoarAuthenticationToken
2
- VERSION = '6.0.4'
2
+ VERSION = '6.0.5'
3
3
  end
@@ -39,10 +39,10 @@ describe SoarAuthenticationToken::RackMiddleware do
39
39
  before :all do
40
40
  @local_valid_generator, @valid_private_key, @valid_public_key = create_valid_token_generator
41
41
  @local_invalid_generator, @imvalid_private_key, @invalid_public_key = create_invalid_token_generator
42
- @failure_response_json = { 'status' => 'fail', 'data' => {
42
+ @failure_response_json = [ { 'status' => 'fail', 'data' => {
43
43
  'notifications' => ['Not authenticated']
44
44
  }
45
- }.to_json
45
+ }.to_json ]
46
46
  end
47
47
 
48
48
  before :each do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: soar_authentication_token
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.0.4
4
+ version: 6.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Barney de Villiers