faye-authentication 1.8.0 → 1.8.1

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: a476e51daa73faa2861159259c328e3d78ccb3f5
4
- data.tar.gz: dfe08cef1c29757f4b5374f1a9a567af79c6beb8
3
+ metadata.gz: fa81eb7cbde4eb0bbc527d595bb922fd3c8636e8
4
+ data.tar.gz: 70a52b2a818dbeccc91ee89d36bb70d31ac98a1f
5
5
  SHA512:
6
- metadata.gz: 28663fd22810070a9e331540aefdec23058edb469949ca0a3a3ea4e16c0adeb69d7f72bdc9ac5f195da5053c121c78a74d1b75a79035dc53a54856bf75aed22a
7
- data.tar.gz: 475993a93cb06547ddc9bb53f760b249125dece67734af268de639a1f73f1165449c6207d16840a685fdc1fd7ba361d51881f6ba3b3bd85a47813f231f515116
6
+ metadata.gz: f98ee074d5aca35c8ee89103f448c22fb18ec7b9855bd89fe3516003019daeacde74d83fffd7aebdaa5b2a93f8b585a8d82e0c286a23c612d9bd37110111507b
7
+ data.tar.gz: 78d7b9267d990354c41852777e4692f907f597395555eea54589bc8915f0f073809654cc85fcdedd91bc165deb65552108b31f4a02a27917a928b57a3fb2e583
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ## 1.8.1
2
+ - Fix bad parameter passed to Net::HTTP::Post in HTTP Client (thanks @evserykh)
3
+ ## 1.8.0
4
+ - Wait a delay before trying to fetch a signature after an error
5
+
1
6
  ## 1.7.0
2
7
  - Improve preformance by batching authentication requests (backward incompatible!)
3
8
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.8.0
1
+ 1.8.1
@@ -6,8 +6,8 @@ module Faye
6
6
 
7
7
  def self.publish(url, channel, data, key)
8
8
  uri = URI(url)
9
- req = Net::HTTP::Post.new(url)
10
- message = {'channel' => channel, 'clientId' => 'http'}
9
+ req = Net::HTTP::Post.new(uri.request_uri)
10
+ message = {'channel' => channel, 'clientId' => 'http'}
11
11
  message['signature'] = Faye::Authentication.sign(message, key)
12
12
  message['data'] = data
13
13
  req.set_form_data(message: JSON.dump(message))
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.8.0
4
+ version: 1.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adrien Siami
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-05 00:00:00.000000000 Z
11
+ date: 2015-04-09 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.4.5
213
+ rubygems_version: 2.2.2
214
214
  signing_key:
215
215
  specification_version: 4
216
216
  summary: A faye extension to add authentication mechanisms