rdio 0.0.98b → 0.0.98
Sign up to get free protection for your applications and to get access to all the features.
- data/README +6 -5
- data/lib/rdio/base.rb +0 -8
- metadata +8 -11
data/README
CHANGED
@@ -35,7 +35,9 @@ variables to the appropriate values:
|
|
35
35
|
RDIO_KEY
|
36
36
|
RDIO_SECRET
|
37
37
|
|
38
|
-
There is a sample .rc file in dot-rdio.
|
38
|
+
There is a sample .rc file in dot-rdio.
|
39
|
+
|
40
|
+
You must also serialize an authorized access token to the file
|
39
41
|
.rdio_access_token. This can be done with:
|
40
42
|
|
41
43
|
make .rdio_access_token
|
@@ -48,7 +50,6 @@ There is a sample in dot-rdio_access_token.
|
|
48
50
|
|
49
51
|
* CONTRIBUTORS
|
50
52
|
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
- Rick Fletcher ( https://github.com/rfletcher )
|
53
|
+
Thanks for contributions to
|
54
|
+
- judofyr (Magnus Holm)
|
55
|
+
- rfletcher (Rick Fletcher)
|
data/lib/rdio/base.rb
CHANGED
@@ -309,15 +309,7 @@ module Rdio
|
|
309
309
|
if Rdio::log_posts
|
310
310
|
Rdio::log "Post to url=#{url} method=#{method} args=#{args}"
|
311
311
|
end
|
312
|
-
#
|
313
|
-
# For backwards compatibility the response may have a 'body'
|
314
|
-
# attribute or a tuple could be returned. Handle both cases.
|
315
|
-
#
|
316
312
|
resp,data = access_token(requires_auth).post url,new_args
|
317
|
-
begin
|
318
|
-
return resp.body
|
319
|
-
rescue
|
320
|
-
end
|
321
313
|
return data
|
322
314
|
end
|
323
315
|
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rdio
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: 219
|
5
|
+
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
9
|
- 98
|
10
|
-
|
11
|
-
version: 0.0.98b
|
10
|
+
version: 0.0.98
|
12
11
|
platform: ruby
|
13
12
|
authors:
|
14
13
|
- Jeffrey Palm
|
@@ -16,7 +15,7 @@ autorequire:
|
|
16
15
|
bindir: bin
|
17
16
|
cert_chain: []
|
18
17
|
|
19
|
-
date: 2012-03-
|
18
|
+
date: 2012-03-02 00:00:00 Z
|
20
19
|
dependencies:
|
21
20
|
- !ruby/object:Gem::Dependency
|
22
21
|
name: oauth
|
@@ -75,14 +74,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
75
74
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
76
75
|
none: false
|
77
76
|
requirements:
|
78
|
-
- - "
|
77
|
+
- - ">="
|
79
78
|
- !ruby/object:Gem::Version
|
80
|
-
hash:
|
79
|
+
hash: 3
|
81
80
|
segments:
|
82
|
-
-
|
83
|
-
|
84
|
-
- 1
|
85
|
-
version: 1.3.1
|
81
|
+
- 0
|
82
|
+
version: "0"
|
86
83
|
requirements:
|
87
84
|
- launchy gem to use authorized calls
|
88
85
|
rubyforge_project: rdio
|