faye-authentication 1.9.1 → 1.10.0

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
- SHA1:
3
- metadata.gz: 22b6f0c770ae2aa335c878e2fd72e0b44be83e14
4
- data.tar.gz: 18b6f384126ada888f65ca147aa7dfdac1eb23e7
2
+ SHA256:
3
+ metadata.gz: 72258f703034d2918db6f64c09d3a6425723d7b8da3ad1b4d96ae919f115eaf3
4
+ data.tar.gz: cf7e35e01b7d9c9a1ab23cc5c8ad9ad6d0d389e52f1d8ca111d9aef043d4f217
5
5
  SHA512:
6
- metadata.gz: 0390f9dcc7a8d90678c394c35146fffd5702d582d8ad39a675d34a76e56ff4257bc1ddc3dd9b37e2829977df0b41a5904029e1ea50124d2311823aca1a1bb3d1
7
- data.tar.gz: f4d161c6e2aa3401e4fa891b79e905781acf965ba635fd3f9496a3ef3b9a25f3e8f9b7cf5a09be41a3554bb5bb057695562683119b91e52fb5dd49d2f7645b69
6
+ metadata.gz: 4c9885e00a0ea3ed9b7f2c032c17295fe085d35b7cc6ee3db64476b1752d5b071ca94637ddecb25b7fe101506b5808b15da74dbca8c04599be22248fdf9e3d59
7
+ data.tar.gz: 6171172fcf7f70fb42ee65e657cdb4a02a47104ed069a642bf1ad166494a6452204a289b6d16ec203217be12aa4adfa3f0fd9737259457a7b1a235c4c64df4d6
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.9.1
1
+ 1.10.0
@@ -26,6 +26,7 @@ module Faye
26
26
  end
27
27
  debug("Authentication failed: #{message['error']}")
28
28
  end
29
+ message.delete('signature')
29
30
  end
30
31
  callback.call(message)
31
32
  end
@@ -33,6 +33,11 @@ describe Faye::Authentication::ServerExtension do
33
33
  context 'with signature' do
34
34
  before { message['signature'] = Faye::Authentication.sign(message.merge({'channel' => channel}), secret) }
35
35
  it_should_behave_like 'signature_has_no_error'
36
+
37
+ it 'removes the signature in the response' do
38
+ subject
39
+ expect(@result).not_to have_key('signature')
40
+ end
36
41
  end
37
42
 
38
43
  context 'without signature' do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: faye-authentication
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.1
4
+ version: 1.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adrien Siami
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-10-24 00:00:00.000000000 Z
11
+ date: 2019-09-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jwt
@@ -210,7 +210,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
210
210
  version: '0'
211
211
  requirements: []
212
212
  rubyforge_project:
213
- rubygems_version: 2.5.1
213
+ rubygems_version: 2.7.6
214
214
  signing_key:
215
215
  specification_version: 4
216
216
  summary: A faye extension to add authentication mechanisms
@@ -230,4 +230,3 @@ test_files:
230
230
  - spec/utils/javascripts/jwt.js
231
231
  - spec/utils/javascripts/mock-ajax.js
232
232
  - spec/utils/javascripts/query-string.js
233
- has_rdoc: