raydash 2.0.4 → 2.0.5

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.
Files changed (3) hide show
  1. data/lib/raydash/version.rb +1 -1
  2. data/lib/raydash.rb +3 -3
  3. metadata +4 -4
@@ -1,3 +1,3 @@
1
1
  module Raydash
2
- VERSION = "2.0.4"
2
+ VERSION = "2.0.5"
3
3
  end
data/lib/raydash.rb CHANGED
@@ -62,7 +62,7 @@ module Raydash
62
62
 
63
63
  path="/api/2/authtoken/#{output_token}/randnext?userid=#{userid}&secret=#{secret}"
64
64
  if customGroup!=nil then
65
- path += "&browserSession=#{browserSession}"
65
+ path += "&customGroup=#{customGroup}"
66
66
  end
67
67
  if active!=nil then
68
68
  path += "&active=#{active}"
@@ -79,7 +79,7 @@ module Raydash
79
79
 
80
80
  # Gets information about the stream
81
81
  def self.getStreamInfo(token)
82
- path="/api/2/authtoken/#{token}" + token + "?userid=" + self.userid + "&secret=" + self.secret
82
+ path="/api/2/authtoken/" + token + "?userid=" + self.userid + "&secret=" + self.secret
83
83
  result = getRequest(path)
84
84
  return JSON.parse(result.body)
85
85
  end
@@ -100,7 +100,7 @@ module Raydash
100
100
  result = self.getRequest(path + "?userid=#{self.userid}&secret=#{self.secret}&bucket=#{CGI::escape(bucket)}")
101
101
  return result.body
102
102
  end
103
- def self.setUserInfo(amazonKey,amazonSecret,callbackUrl)
103
+ def self.setUserInfo(amazonKey,amazonSecret,callbackUrl="")
104
104
  path="/api/2/user/#{self.userid}"
105
105
  postRequest(path,{'userid'=>self.userid,'secret'=>self.secret,'amazonSecret'=>amazonSecret,'amazonKey'=>amazonKey})
106
106
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: raydash
3
3
  version: !ruby/object:Gem::Version
4
- hash: 7
4
+ hash: 5
5
5
  prerelease:
6
6
  segments:
7
7
  - 2
8
8
  - 0
9
- - 4
10
- version: 2.0.4
9
+ - 5
10
+ version: 2.0.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Gershon Bialer
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-05-10 00:00:00 -05:00
18
+ date: 2011-06-04 00:00:00 -05:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency