eventflit 0.1.1 → 0.1.2
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.
- checksums.yaml +4 -4
- data/lib/eventflit/client.rb +1 -1
- data/lib/eventflit/request.rb +1 -1
- data/lib/eventflit/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: afeb7ae912658136f4c19e25cf2f4372f79ff795
|
4
|
+
data.tar.gz: 46aef7995fc0444fc12419e51fa5dec589ca9bd3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: edffd521ee7819cc9483a51548c16a53e4eb7a763baf1d0ce2f0c82f29bad4e1647b0463de8ed67835d290b426d875ebe63c8313c50f9e6eb8dca40868aedc7e
|
7
|
+
data.tar.gz: 8117e0bd982350d3a159d4a5c32f560c6edb8ee27d6a4314f47b4c2d16d54d2f2fd98410692adbf94357371cb6cd553dfbce472254049943b17cb8b0f2c8f279
|
data/lib/eventflit/client.rb
CHANGED
@@ -63,7 +63,7 @@ module Eventflit
|
|
63
63
|
def authentication_token
|
64
64
|
raise ConfigurationError, :key unless @key
|
65
65
|
raise ConfigurationError, :secret unless @secret
|
66
|
-
|
66
|
+
Pusher::Signature::Token.new(@key, @secret)
|
67
67
|
end
|
68
68
|
|
69
69
|
# @private Builds a url for this app, optionally appending a path
|
data/lib/eventflit/request.rb
CHANGED
@@ -18,7 +18,7 @@ module Eventflit
|
|
18
18
|
@head['Content-Type'] = 'application/json'
|
19
19
|
end
|
20
20
|
|
21
|
-
request =
|
21
|
+
request = Pusher::Signature::Request.new(verb.to_s.upcase, uri.path, params)
|
22
22
|
request.sign(client.authentication_token)
|
23
23
|
@params = request.signed_params
|
24
24
|
end
|
data/lib/eventflit/version.rb
CHANGED