xstreamly 0.6.5 → 0.6.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/xstreamly.rb +4 -1
  2. metadata +3 -3
data/lib/xstreamly.rb CHANGED
@@ -98,7 +98,7 @@ module XStreamly
98
98
  "%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D" + timestamp +
99
99
  "%26oauth_token%3D" + accessToken +
100
100
  "%26oauth_version%3D1.0"+
101
- "%26track%3D" +track
101
+ "%26track%3D" +CGI.escape(track)
102
102
 
103
103
  key = consumerSecret +'&'+CGI.escape(accessTokenSecret);
104
104
 
@@ -144,3 +144,6 @@ module XStreamly
144
144
 
145
145
  end
146
146
  end
147
+
148
+ client = XStreamly::Client.new('10bc1643-c9f5-4210-9814-cae3203af316','bwillard@x-stream.ly','dcba4321')
149
+ client.setTwitterStream('c','e',client.generateRequestData('#pizza','25U5WYYdEXWDOVH5m4kA','htkMFbId5xPtGyCy7cbnQjlKf4vETJsfbpBY1LFj0k','373019787-k1eR2SidnEuX6HqCrFo5TMvctlJa9mS9Tq6FwmUj','1AmP1VOFG7xDFZ31vEc3mzckqe91LSxWUsbkhzyk'))
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xstreamly
3
3
  version: !ruby/object:Gem::Version
4
- hash: 13
4
+ hash: 11
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 6
9
- - 5
10
- version: 0.6.5
9
+ - 6
10
+ version: 0.6.6
11
11
  platform: ruby
12
12
  authors:
13
13
  - Brian Willard