ronnie 0.7.6 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +28 -134
- data/banner.txt +79 -0
- data/lib/ronnie/client.rb +4 -0
- data/lib/ronnie/client/activities.rb +17 -0
- data/lib/ronnie/client/albums.rb +35 -1
- data/lib/ronnie/client/artists.rb +27 -1
- data/lib/ronnie/client/playlists.rb +8 -0
- data/lib/ronnie/client/tokens.rb +13 -0
- data/lib/ronnie/client/tracks.rb +8 -0
- data/lib/ronnie/version.rb +1 -1
- data/spec/fixtures/cassettes/Ronnie_Client_Users/_activities/Retrieve_everyone_Activity_Stream/.yml +562 -0
- data/spec/fixtures/cassettes/Ronnie_Client_Users/_activities/Retrieve_friends_Activity_Stream/.yml +242 -0
- data/spec/fixtures/cassettes/Ronnie_Client_Users/_activities/Retrieve_user_Activity_Stream/.yml +339 -0
- data/spec/fixtures/cassettes/Ronnie_Client_Users/{_user/Retrieve_User → _create_token/create_playback_token_}/.yml +18 -15
- data/spec/fixtures/cassettes/Ronnie_Client_Users/_find_user/Find_user_by_e-mail_address_/.yml +64 -0
- data/spec/fixtures/cassettes/Ronnie_Client_Users/_follow/{Follow_a_User → Follow_a_user_}/.yml +16 -10
- data/spec/fixtures/cassettes/Ronnie_Client_Users/_followers/Retrieve_followers_of_a_user_/.yml +95 -0
- data/spec/fixtures/cassettes/Ronnie_Client_Users/_following/Retrieve_users_following_another_user_/.yml +95 -0
- data/spec/fixtures/cassettes/Ronnie_Client_Users/_following/Retrieve_users_following_authorized_user_/.yml +156 -0
- data/spec/fixtures/cassettes/Ronnie_Client_Users/_follows_/Authorized_user_is_following_a_user_/.yml +156 -0
- data/spec/fixtures/cassettes/Ronnie_Client_Users/_heavily_rotated_albums/retrieve_heavily_rotated_albums_/.yml +165 -0
- data/spec/fixtures/cassettes/Ronnie_Client_Users/_heavily_rotated_artists/retrieve_heavily_rotated_artists_/.yml +101 -0
- data/spec/fixtures/cassettes/Ronnie_Client_Users/_heavy_rotation/Retrieve_the_most_popular_albums_for_a_user_/.yml +160 -0
- data/spec/fixtures/cassettes/Ronnie_Client_Users/_heavy_rotation/Retrieve_the_most_popular_albums_for_a_user_s_friends_/.yml +167 -0
- data/spec/fixtures/cassettes/Ronnie_Client_Users/_heavy_rotation/Retrieve_the_most_popular_albums_for_everyone_/.yml +165 -0
- data/spec/fixtures/cassettes/Ronnie_Client_Users/_heavy_rotation/Retrieve_the_most_popular_artists_for_a_user_/.yml +102 -0
- data/spec/fixtures/cassettes/Ronnie_Client_Users/_heavy_rotation/Retrieve_the_most_popular_artists_for_a_user_s_friends_/.yml +165 -0
- data/spec/fixtures/cassettes/Ronnie_Client_Users/_heavy_rotation/Retrieve_the_most_popular_artists_for_everyone_/.yml +165 -0
- data/spec/fixtures/cassettes/Ronnie_Client_Users/_new_releases/Retrieve_new_releases_/.yml +274 -0
- data/spec/fixtures/cassettes/Ronnie_Client_Users/_search_users/Search_users_/.yml +66 -0
- data/spec/fixtures/cassettes/Ronnie_Client_Users/_top_albums/retrieve_the_site-wide_most_popular_albums_/.yml +265 -0
- data/spec/fixtures/cassettes/Ronnie_Client_Users/_top_artists/retrieve_the_site-wide_most_popular_artists_/.yml +141 -0
- data/spec/fixtures/cassettes/Ronnie_Client_Users/_top_playlists/retrieve_the_site-wide_most_popular_playlists_/.yml +184 -0
- data/spec/fixtures/cassettes/Ronnie_Client_Users/_top_tracks/retrieve_the_site-wide_most_popular_tracks_/.yml +255 -0
- data/spec/fixtures/cassettes/Ronnie_Client_Users/_unfollow/{Unfollow_a_User → Unfollow_a_user_}/.yml +15 -9
- data/spec/fixtures/cassettes/Ronnie_Client_Users/{_followers/Retrieve_Followers_of_a_User → _user/Retrieve_authorized_user_}/.yml +21 -15
- data/spec/fixtures/cassettes/Ronnie_Client_Users/_user/Retrieve_user_/.yml +64 -0
- data/spec/ronnie/client/activities_spec.rb +32 -0
- data/spec/ronnie/client/albums_spec.rb +26 -2
- data/spec/ronnie/client/artists_spec.rb +17 -1
- data/spec/ronnie/client/collections_spec.rb +1 -1
- data/spec/ronnie/client/playlists_spec.rb +9 -1
- data/spec/ronnie/client/tokens_spec.rb +22 -0
- data/spec/ronnie/client/tracks_spec.rb +10 -2
- data/spec/ronnie/client/users_spec.rb +17 -17
- metadata +63 -10
@@ -4,7 +4,7 @@ require 'spec_helper'
|
|
4
4
|
describe Ronnie::Client::Users do
|
5
5
|
before do
|
6
6
|
@client = Ronnie::Client.new consumer_key: ENV['CONSUMER_KEY'],
|
7
|
-
|
7
|
+
consumer_secret: ENV['CONSUMER_SECRET']
|
8
8
|
|
9
9
|
@client.token = ENV['OAUTH_TOKEN']
|
10
10
|
@client.token_secret = ENV['OAUTH_TOKEN_SECRET']
|
@@ -49,4 +49,28 @@ describe Ronnie::Client::Users do
|
|
49
49
|
it { expect(albums[:results].first.name).to eq('Clear Moon') }
|
50
50
|
end
|
51
51
|
end
|
52
|
-
|
52
|
+
|
53
|
+
describe '.new_releases', :vcr do
|
54
|
+
context 'Retrieve new releases.' do
|
55
|
+
let(:albums) { @client.new_releases }
|
56
|
+
|
57
|
+
it { expect(albums.first.artistKey).to eq('r88543') }
|
58
|
+
end
|
59
|
+
end
|
60
|
+
|
61
|
+
describe '.heavily_rotated_albums', :vcr do
|
62
|
+
context 'retrieve heavily rotated albums.' do
|
63
|
+
let(:albums) { @client.heavily_rotated_albums }
|
64
|
+
|
65
|
+
it { expect(albums.first['key']).to eq('a2011056') }
|
66
|
+
end
|
67
|
+
end
|
68
|
+
|
69
|
+
describe '.top_albums', :vcr do
|
70
|
+
context 'retrieve the site-wide most popular albums.' do
|
71
|
+
let(:albums) { @client.top_albums }
|
72
|
+
|
73
|
+
it { expect(albums.first['key']).to eq('a2011056') }
|
74
|
+
end
|
75
|
+
end
|
76
|
+
end
|
@@ -4,7 +4,7 @@ require 'spec_helper'
|
|
4
4
|
describe Ronnie::Client::Users do
|
5
5
|
before do
|
6
6
|
@client = Ronnie::Client.new consumer_key: ENV['CONSUMER_KEY'],
|
7
|
-
|
7
|
+
consumer_secret: ENV['CONSUMER_SECRET']
|
8
8
|
|
9
9
|
@client.token = ENV['OAUTH_TOKEN']
|
10
10
|
@client.token_secret = ENV['OAUTH_TOKEN_SECRET']
|
@@ -25,4 +25,20 @@ describe Ronnie::Client::Users do
|
|
25
25
|
it { expect(artists[:results].first.name).to eq('Mount Eerie') }
|
26
26
|
end
|
27
27
|
end
|
28
|
+
|
29
|
+
describe '.heavily_rotated_artists', :vcr do
|
30
|
+
context 'retrieve heavily rotated artists.' do
|
31
|
+
let(:artists) { @client.heavily_rotated_artists }
|
32
|
+
|
33
|
+
it { expect(artists.first['key']).to eq('r2011056') }
|
34
|
+
end
|
35
|
+
end
|
36
|
+
|
37
|
+
describe '.top_artists', :vcr do
|
38
|
+
context 'retrieve the site-wide most popular artists.' do
|
39
|
+
let(:artists) { @client.top_artists }
|
40
|
+
|
41
|
+
it { expect(artists.first['key']).to eq('r619646') }
|
42
|
+
end
|
43
|
+
end
|
28
44
|
end
|
@@ -4,7 +4,7 @@ require 'spec_helper'
|
|
4
4
|
describe Ronnie::Client::Users do
|
5
5
|
before do
|
6
6
|
@client = Ronnie::Client.new consumer_key: ENV['CONSUMER_KEY'],
|
7
|
-
|
7
|
+
consumer_secret: ENV['CONSUMER_SECRET']
|
8
8
|
|
9
9
|
@client.token = ENV['OAUTH_TOKEN']
|
10
10
|
@client.token_secret = ENV['OAUTH_TOKEN_SECRET']
|
@@ -4,7 +4,7 @@ require 'spec_helper'
|
|
4
4
|
describe Ronnie::Client::Users do
|
5
5
|
before do
|
6
6
|
@client = Ronnie::Client.new consumer_key: ENV['CONSUMER_KEY'],
|
7
|
-
|
7
|
+
consumer_secret: ENV['CONSUMER_SECRET']
|
8
8
|
|
9
9
|
@client.token = ENV['OAUTH_TOKEN']
|
10
10
|
@client.token_secret = ENV['OAUTH_TOKEN_SECRET']
|
@@ -117,4 +117,12 @@ describe Ronnie::Client::Users do
|
|
117
117
|
it { expect(playlist).to eq(true) }
|
118
118
|
end
|
119
119
|
end
|
120
|
+
|
121
|
+
describe '.top_playlists', :vcr do
|
122
|
+
context 'retrieve the site-wide most popular playlists.' do
|
123
|
+
let(:playlists) { @client.top_playlists }
|
124
|
+
|
125
|
+
it { expect(playlists.first['key']).to eq('p87384') }
|
126
|
+
end
|
127
|
+
end
|
120
128
|
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
require 'spec_helper'
|
3
|
+
|
4
|
+
describe Ronnie::Client::Users do
|
5
|
+
before do
|
6
|
+
@client = Ronnie::Client.new consumer_key: ENV['CONSUMER_KEY'],
|
7
|
+
consumer_secret: ENV['CONSUMER_SECRET']
|
8
|
+
|
9
|
+
@client.token = ENV['OAUTH_TOKEN']
|
10
|
+
@client.token_secret = ENV['OAUTH_TOKEN_SECRET']
|
11
|
+
end
|
12
|
+
|
13
|
+
describe '.create_token', :vcr do
|
14
|
+
context 'create playback token.' do
|
15
|
+
let(:token) { @client.create_token }
|
16
|
+
|
17
|
+
it { expect(token).to eq(
|
18
|
+
'GABQkc8mAAG4I3ViOWVibXZmN2FlZTNweGNtczllNW1oM-TndDmU616gSzA7lzmap3M='
|
19
|
+
)}
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
@@ -4,7 +4,7 @@ require 'spec_helper'
|
|
4
4
|
describe Ronnie::Client::Users do
|
5
5
|
before do
|
6
6
|
@client = Ronnie::Client.new consumer_key: ENV['CONSUMER_KEY'],
|
7
|
-
|
7
|
+
consumer_secret: ENV['CONSUMER_SECRET']
|
8
8
|
|
9
9
|
@client.token = ENV['OAUTH_TOKEN']
|
10
10
|
@client.token_secret = ENV['OAUTH_TOKEN_SECRET']
|
@@ -35,4 +35,12 @@ describe Ronnie::Client::Users do
|
|
35
35
|
end
|
36
36
|
end
|
37
37
|
end
|
38
|
-
|
38
|
+
|
39
|
+
describe '.top_tracks', :vcr do
|
40
|
+
context 'retrieve the site-wide most popular tracks.' do
|
41
|
+
let(:tracks) { @client.top_tracks }
|
42
|
+
|
43
|
+
it { expect(tracks.first['key']).to eq('t20652375') }
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
@@ -4,20 +4,20 @@ require 'spec_helper'
|
|
4
4
|
describe Ronnie::Client::Users do
|
5
5
|
before do
|
6
6
|
@client = Ronnie::Client.new consumer_key: ENV['CONSUMER_KEY'],
|
7
|
-
|
7
|
+
consumer_secret: ENV['CONSUMER_SECRET']
|
8
8
|
|
9
9
|
@client.token = ENV['OAUTH_TOKEN']
|
10
10
|
@client.token_secret = ENV['OAUTH_TOKEN_SECRET']
|
11
11
|
end
|
12
12
|
|
13
13
|
describe '.user', :vcr do
|
14
|
-
context 'Retrieve
|
15
|
-
let(:user) { @client.user('
|
14
|
+
context 'Retrieve user.' do
|
15
|
+
let(:user) { @client.user('s112675') }
|
16
16
|
|
17
|
-
it { expect(user['
|
17
|
+
it { expect(user['s112675'].firstName).to eq('Allen') }
|
18
18
|
end
|
19
19
|
|
20
|
-
context 'Retrieve
|
20
|
+
context 'Retrieve authorized user.' do
|
21
21
|
let(:user) { @client.user }
|
22
22
|
|
23
23
|
it { expect(user.firstName).to eq('Allen') }
|
@@ -25,7 +25,7 @@ describe Ronnie::Client::Users do
|
|
25
25
|
end
|
26
26
|
|
27
27
|
describe '.find_user', :vcr do
|
28
|
-
context 'Find
|
28
|
+
context 'Find user by e-mail address.' do
|
29
29
|
let(:user) { @client.find_user('allen.goodman@me.com') }
|
30
30
|
|
31
31
|
it { expect(user.firstName).to eq('Allen') }
|
@@ -33,7 +33,7 @@ describe Ronnie::Client::Users do
|
|
33
33
|
end
|
34
34
|
|
35
35
|
describe '.search_users', :vcr do
|
36
|
-
context 'Search
|
36
|
+
context 'Search users.' do
|
37
37
|
let(:users) { @client.search_users('Allen Goodman') }
|
38
38
|
|
39
39
|
it { expect(users[:results].last[:key]).to eq('s112675') }
|
@@ -41,10 +41,10 @@ describe Ronnie::Client::Users do
|
|
41
41
|
end
|
42
42
|
|
43
43
|
describe ".followers", :vcr do
|
44
|
-
context 'Retrieve
|
45
|
-
let(:followers) { @client.followers('
|
44
|
+
context 'Retrieve followers of a user.' do
|
45
|
+
let(:followers) { @client.followers('s112675') }
|
46
46
|
|
47
|
-
it { expect(followers.first.firstName).to eq('
|
47
|
+
it { expect(followers.first.firstName).to eq('Jill') }
|
48
48
|
end
|
49
49
|
|
50
50
|
context 'Retrieve Followers of Authorized User' do
|
@@ -55,13 +55,13 @@ describe Ronnie::Client::Users do
|
|
55
55
|
end
|
56
56
|
|
57
57
|
describe '.following', :vcr do
|
58
|
-
context 'Retrieve
|
59
|
-
let(:following) { @client.following('
|
58
|
+
context 'Retrieve users following another user.' do
|
59
|
+
let(:following) { @client.following('s112675') }
|
60
60
|
|
61
|
-
it { expect(following.first.firstName).to eq('
|
61
|
+
it { expect(following.first.firstName).to eq('Dan') }
|
62
62
|
end
|
63
63
|
|
64
|
-
context 'Retrieve
|
64
|
+
context 'Retrieve users following authorized user.' do
|
65
65
|
let(:following) { @client.following }
|
66
66
|
|
67
67
|
it { expect(following.first.firstName).to eq('Dan') }
|
@@ -69,7 +69,7 @@ describe Ronnie::Client::Users do
|
|
69
69
|
end
|
70
70
|
|
71
71
|
describe '.follows?', :vcr do
|
72
|
-
context 'Authorized
|
72
|
+
context 'Authorized user is following a user.' do
|
73
73
|
let(:follows) { @client.follows?('s2684102') }
|
74
74
|
|
75
75
|
it { expect(follows).to eq(true) }
|
@@ -77,7 +77,7 @@ describe Ronnie::Client::Users do
|
|
77
77
|
end
|
78
78
|
|
79
79
|
describe '.follow', :vcr do
|
80
|
-
context 'Follow a
|
80
|
+
context 'Follow a user.' do
|
81
81
|
let(:follow) { @client.follow('s2913931') }
|
82
82
|
|
83
83
|
it { expect(follow).to be_true }
|
@@ -87,7 +87,7 @@ describe Ronnie::Client::Users do
|
|
87
87
|
describe '.unfollow', :vcr do
|
88
88
|
let(:unfollow) { @client.unfollow('s2913931') }
|
89
89
|
|
90
|
-
context 'Unfollow a
|
90
|
+
context 'Unfollow a user.' do
|
91
91
|
it { expect(unfollow).to be_true }
|
92
92
|
end
|
93
93
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ronnie
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-11-01 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: foreman
|
@@ -249,16 +249,19 @@ files:
|
|
249
249
|
- LICENSE
|
250
250
|
- README.md
|
251
251
|
- Rakefile
|
252
|
+
- banner.txt
|
252
253
|
- lib/faraday/response/raise_dio_error.rb
|
253
254
|
- lib/ronnie.rb
|
254
255
|
- lib/ronnie/authentication.rb
|
255
256
|
- lib/ronnie/client.rb
|
257
|
+
- lib/ronnie/client/activities.rb
|
256
258
|
- lib/ronnie/client/albums.rb
|
257
259
|
- lib/ronnie/client/artists.rb
|
258
260
|
- lib/ronnie/client/collections.rb
|
259
261
|
- lib/ronnie/client/collections/albums.rb
|
260
262
|
- lib/ronnie/client/collections/artists.rb
|
261
263
|
- lib/ronnie/client/playlists.rb
|
264
|
+
- lib/ronnie/client/tokens.rb
|
262
265
|
- lib/ronnie/client/tracks.rb
|
263
266
|
- lib/ronnie/client/users.rb
|
264
267
|
- lib/ronnie/configuration.rb
|
@@ -268,12 +271,16 @@ files:
|
|
268
271
|
- lib/ronnie/version.rb
|
269
272
|
- ronnie.gemspec
|
270
273
|
- spec/faraday/response_spec.rb
|
274
|
+
- spec/fixtures/cassettes/Ronnie_Client_Users/_activities/Retrieve_everyone_Activity_Stream/.yml
|
275
|
+
- spec/fixtures/cassettes/Ronnie_Client_Users/_activities/Retrieve_friends_Activity_Stream/.yml
|
276
|
+
- spec/fixtures/cassettes/Ronnie_Client_Users/_activities/Retrieve_user_Activity_Stream/.yml
|
271
277
|
- spec/fixtures/cassettes/Ronnie_Client_Users/_add_playlists_to_collection/Add_Playlists_to_Collection/.yml
|
272
278
|
- spec/fixtures/cassettes/Ronnie_Client_Users/_add_track_to_playlist/Add_Track_to_Playlist/.yml
|
273
279
|
- spec/fixtures/cassettes/Ronnie_Client_Users/_add_tracks_to_collection/Add_Tracks_to_Collection/.yml
|
274
280
|
- spec/fixtures/cassettes/Ronnie_Client_Users/_add_tracks_to_playlist/Add_Tracks_to_Playlist/.yml
|
275
281
|
- spec/fixtures/cassettes/Ronnie_Client_Users/_album/Retrieve_Album/.yml
|
276
282
|
- spec/fixtures/cassettes/Ronnie_Client_Users/_create_playlist/Create_a_Playlist/.yml
|
283
|
+
- spec/fixtures/cassettes/Ronnie_Client_Users/_create_token/create_playback_token_/.yml
|
277
284
|
- spec/fixtures/cassettes/Ronnie_Client_Users/_delete_playlist/Delete_a_Playlist/.yml
|
278
285
|
- spec/fixtures/cassettes/Ronnie_Client_Users/_disable_collaboration/Disable_Collaboration/.yml
|
279
286
|
- spec/fixtures/cassettes/Ronnie_Client_Users/_enable_public_collaboration/Enable_Public_Collaboration/.yml
|
@@ -285,12 +292,25 @@ files:
|
|
285
292
|
- spec/fixtures/cassettes/Ronnie_Client_Users/_find_tracks_by_artist/Find_Tracks_by_Artist/.yml
|
286
293
|
- spec/fixtures/cassettes/Ronnie_Client_Users/_find_tracks_by_isrc/Find_Tracks_by_ISRC/.yml
|
287
294
|
- spec/fixtures/cassettes/Ronnie_Client_Users/_find_user/Find_User_by_E-mail_Address/.yml
|
288
|
-
- spec/fixtures/cassettes/Ronnie_Client_Users/
|
295
|
+
- spec/fixtures/cassettes/Ronnie_Client_Users/_find_user/Find_user_by_e-mail_address_/.yml
|
296
|
+
- spec/fixtures/cassettes/Ronnie_Client_Users/_follow/Follow_a_user_/.yml
|
289
297
|
- spec/fixtures/cassettes/Ronnie_Client_Users/_followers/Retrieve_Followers_of_Authorized_User/.yml
|
290
|
-
- spec/fixtures/cassettes/Ronnie_Client_Users/_followers/
|
298
|
+
- spec/fixtures/cassettes/Ronnie_Client_Users/_followers/Retrieve_followers_of_a_user_/.yml
|
291
299
|
- spec/fixtures/cassettes/Ronnie_Client_Users/_following/Retrieve_Users_Following_Another_User/.yml
|
292
300
|
- spec/fixtures/cassettes/Ronnie_Client_Users/_following/Retrieve_Users_Following_Authorized_User/.yml
|
301
|
+
- spec/fixtures/cassettes/Ronnie_Client_Users/_following/Retrieve_users_following_another_user_/.yml
|
302
|
+
- spec/fixtures/cassettes/Ronnie_Client_Users/_following/Retrieve_users_following_authorized_user_/.yml
|
293
303
|
- spec/fixtures/cassettes/Ronnie_Client_Users/_follows_/Authorized_User_is_Following_a_User/.yml
|
304
|
+
- spec/fixtures/cassettes/Ronnie_Client_Users/_follows_/Authorized_user_is_following_a_user_/.yml
|
305
|
+
- spec/fixtures/cassettes/Ronnie_Client_Users/_heavily_rotated_albums/retrieve_heavily_rotated_albums_/.yml
|
306
|
+
- spec/fixtures/cassettes/Ronnie_Client_Users/_heavily_rotated_artists/retrieve_heavily_rotated_artists_/.yml
|
307
|
+
- spec/fixtures/cassettes/Ronnie_Client_Users/_heavy_rotation/Retrieve_the_most_popular_albums_for_a_user_/.yml
|
308
|
+
- spec/fixtures/cassettes/Ronnie_Client_Users/_heavy_rotation/Retrieve_the_most_popular_albums_for_a_user_s_friends_/.yml
|
309
|
+
- spec/fixtures/cassettes/Ronnie_Client_Users/_heavy_rotation/Retrieve_the_most_popular_albums_for_everyone_/.yml
|
310
|
+
- spec/fixtures/cassettes/Ronnie_Client_Users/_heavy_rotation/Retrieve_the_most_popular_artists_for_a_user_/.yml
|
311
|
+
- spec/fixtures/cassettes/Ronnie_Client_Users/_heavy_rotation/Retrieve_the_most_popular_artists_for_a_user_s_friends_/.yml
|
312
|
+
- spec/fixtures/cassettes/Ronnie_Client_Users/_heavy_rotation/Retrieve_the_most_popular_artists_for_everyone_/.yml
|
313
|
+
- spec/fixtures/cassettes/Ronnie_Client_Users/_new_releases/Retrieve_new_releases_/.yml
|
294
314
|
- spec/fixtures/cassettes/Ronnie_Client_Users/_playlist/Retrieve_Playlist/.yml
|
295
315
|
- spec/fixtures/cassettes/Ronnie_Client_Users/_playlists/Retrieve_Playlists_by_Authorized_User/.yml
|
296
316
|
- spec/fixtures/cassettes/Ronnie_Client_Users/_playlists/Retrieve_Playlists_by_User/.yml
|
@@ -303,18 +323,26 @@ files:
|
|
303
323
|
- spec/fixtures/cassettes/Ronnie_Client_Users/_search_playlists/Search_Playlists/.yml
|
304
324
|
- spec/fixtures/cassettes/Ronnie_Client_Users/_search_tracks/Search_Tracks/.yml
|
305
325
|
- spec/fixtures/cassettes/Ronnie_Client_Users/_search_users/Search_Users/.yml
|
326
|
+
- spec/fixtures/cassettes/Ronnie_Client_Users/_search_users/Search_users_/.yml
|
306
327
|
- spec/fixtures/cassettes/Ronnie_Client_Users/_sync_playlists/Sync_Playlists/.yml
|
307
328
|
- spec/fixtures/cassettes/Ronnie_Client_Users/_sync_tracks/Sync_Tracks/.yml
|
308
|
-
- spec/fixtures/cassettes/Ronnie_Client_Users/
|
329
|
+
- spec/fixtures/cassettes/Ronnie_Client_Users/_top_albums/retrieve_the_site-wide_most_popular_albums_/.yml
|
330
|
+
- spec/fixtures/cassettes/Ronnie_Client_Users/_top_artists/retrieve_the_site-wide_most_popular_artists_/.yml
|
331
|
+
- spec/fixtures/cassettes/Ronnie_Client_Users/_top_playlists/retrieve_the_site-wide_most_popular_playlists_/.yml
|
332
|
+
- spec/fixtures/cassettes/Ronnie_Client_Users/_top_tracks/retrieve_the_site-wide_most_popular_tracks_/.yml
|
333
|
+
- spec/fixtures/cassettes/Ronnie_Client_Users/_unfollow/Unfollow_a_user_/.yml
|
309
334
|
- spec/fixtures/cassettes/Ronnie_Client_Users/_unsync_playlists/Unsync_Playlists/.yml
|
310
335
|
- spec/fixtures/cassettes/Ronnie_Client_Users/_unsync_tracks/Unsync_Tracks/.yml
|
311
336
|
- spec/fixtures/cassettes/Ronnie_Client_Users/_update_playlist/Update_Playlist/.yml
|
312
337
|
- spec/fixtures/cassettes/Ronnie_Client_Users/_user/Retrieve_Authorized_User/.yml
|
313
|
-
- spec/fixtures/cassettes/Ronnie_Client_Users/_user/
|
338
|
+
- spec/fixtures/cassettes/Ronnie_Client_Users/_user/Retrieve_authorized_user_/.yml
|
339
|
+
- spec/fixtures/cassettes/Ronnie_Client_Users/_user/Retrieve_user_/.yml
|
340
|
+
- spec/ronnie/client/activities_spec.rb
|
314
341
|
- spec/ronnie/client/albums_spec.rb
|
315
342
|
- spec/ronnie/client/artists_spec.rb
|
316
343
|
- spec/ronnie/client/collections_spec.rb
|
317
344
|
- spec/ronnie/client/playlists_spec.rb
|
345
|
+
- spec/ronnie/client/tokens_spec.rb
|
318
346
|
- spec/ronnie/client/tracks_spec.rb
|
319
347
|
- spec/ronnie/client/users_spec.rb
|
320
348
|
- spec/ronnie/client_spec.rb
|
@@ -346,12 +374,16 @@ specification_version: 3
|
|
346
374
|
summary: Library for accessing the Rdio API from Ruby.
|
347
375
|
test_files:
|
348
376
|
- spec/faraday/response_spec.rb
|
377
|
+
- spec/fixtures/cassettes/Ronnie_Client_Users/_activities/Retrieve_everyone_Activity_Stream/.yml
|
378
|
+
- spec/fixtures/cassettes/Ronnie_Client_Users/_activities/Retrieve_friends_Activity_Stream/.yml
|
379
|
+
- spec/fixtures/cassettes/Ronnie_Client_Users/_activities/Retrieve_user_Activity_Stream/.yml
|
349
380
|
- spec/fixtures/cassettes/Ronnie_Client_Users/_add_playlists_to_collection/Add_Playlists_to_Collection/.yml
|
350
381
|
- spec/fixtures/cassettes/Ronnie_Client_Users/_add_track_to_playlist/Add_Track_to_Playlist/.yml
|
351
382
|
- spec/fixtures/cassettes/Ronnie_Client_Users/_add_tracks_to_collection/Add_Tracks_to_Collection/.yml
|
352
383
|
- spec/fixtures/cassettes/Ronnie_Client_Users/_add_tracks_to_playlist/Add_Tracks_to_Playlist/.yml
|
353
384
|
- spec/fixtures/cassettes/Ronnie_Client_Users/_album/Retrieve_Album/.yml
|
354
385
|
- spec/fixtures/cassettes/Ronnie_Client_Users/_create_playlist/Create_a_Playlist/.yml
|
386
|
+
- spec/fixtures/cassettes/Ronnie_Client_Users/_create_token/create_playback_token_/.yml
|
355
387
|
- spec/fixtures/cassettes/Ronnie_Client_Users/_delete_playlist/Delete_a_Playlist/.yml
|
356
388
|
- spec/fixtures/cassettes/Ronnie_Client_Users/_disable_collaboration/Disable_Collaboration/.yml
|
357
389
|
- spec/fixtures/cassettes/Ronnie_Client_Users/_enable_public_collaboration/Enable_Public_Collaboration/.yml
|
@@ -363,12 +395,25 @@ test_files:
|
|
363
395
|
- spec/fixtures/cassettes/Ronnie_Client_Users/_find_tracks_by_artist/Find_Tracks_by_Artist/.yml
|
364
396
|
- spec/fixtures/cassettes/Ronnie_Client_Users/_find_tracks_by_isrc/Find_Tracks_by_ISRC/.yml
|
365
397
|
- spec/fixtures/cassettes/Ronnie_Client_Users/_find_user/Find_User_by_E-mail_Address/.yml
|
366
|
-
- spec/fixtures/cassettes/Ronnie_Client_Users/
|
398
|
+
- spec/fixtures/cassettes/Ronnie_Client_Users/_find_user/Find_user_by_e-mail_address_/.yml
|
399
|
+
- spec/fixtures/cassettes/Ronnie_Client_Users/_follow/Follow_a_user_/.yml
|
367
400
|
- spec/fixtures/cassettes/Ronnie_Client_Users/_followers/Retrieve_Followers_of_Authorized_User/.yml
|
368
|
-
- spec/fixtures/cassettes/Ronnie_Client_Users/_followers/
|
401
|
+
- spec/fixtures/cassettes/Ronnie_Client_Users/_followers/Retrieve_followers_of_a_user_/.yml
|
369
402
|
- spec/fixtures/cassettes/Ronnie_Client_Users/_following/Retrieve_Users_Following_Another_User/.yml
|
370
403
|
- spec/fixtures/cassettes/Ronnie_Client_Users/_following/Retrieve_Users_Following_Authorized_User/.yml
|
404
|
+
- spec/fixtures/cassettes/Ronnie_Client_Users/_following/Retrieve_users_following_another_user_/.yml
|
405
|
+
- spec/fixtures/cassettes/Ronnie_Client_Users/_following/Retrieve_users_following_authorized_user_/.yml
|
371
406
|
- spec/fixtures/cassettes/Ronnie_Client_Users/_follows_/Authorized_User_is_Following_a_User/.yml
|
407
|
+
- spec/fixtures/cassettes/Ronnie_Client_Users/_follows_/Authorized_user_is_following_a_user_/.yml
|
408
|
+
- spec/fixtures/cassettes/Ronnie_Client_Users/_heavily_rotated_albums/retrieve_heavily_rotated_albums_/.yml
|
409
|
+
- spec/fixtures/cassettes/Ronnie_Client_Users/_heavily_rotated_artists/retrieve_heavily_rotated_artists_/.yml
|
410
|
+
- spec/fixtures/cassettes/Ronnie_Client_Users/_heavy_rotation/Retrieve_the_most_popular_albums_for_a_user_/.yml
|
411
|
+
- spec/fixtures/cassettes/Ronnie_Client_Users/_heavy_rotation/Retrieve_the_most_popular_albums_for_a_user_s_friends_/.yml
|
412
|
+
- spec/fixtures/cassettes/Ronnie_Client_Users/_heavy_rotation/Retrieve_the_most_popular_albums_for_everyone_/.yml
|
413
|
+
- spec/fixtures/cassettes/Ronnie_Client_Users/_heavy_rotation/Retrieve_the_most_popular_artists_for_a_user_/.yml
|
414
|
+
- spec/fixtures/cassettes/Ronnie_Client_Users/_heavy_rotation/Retrieve_the_most_popular_artists_for_a_user_s_friends_/.yml
|
415
|
+
- spec/fixtures/cassettes/Ronnie_Client_Users/_heavy_rotation/Retrieve_the_most_popular_artists_for_everyone_/.yml
|
416
|
+
- spec/fixtures/cassettes/Ronnie_Client_Users/_new_releases/Retrieve_new_releases_/.yml
|
372
417
|
- spec/fixtures/cassettes/Ronnie_Client_Users/_playlist/Retrieve_Playlist/.yml
|
373
418
|
- spec/fixtures/cassettes/Ronnie_Client_Users/_playlists/Retrieve_Playlists_by_Authorized_User/.yml
|
374
419
|
- spec/fixtures/cassettes/Ronnie_Client_Users/_playlists/Retrieve_Playlists_by_User/.yml
|
@@ -381,18 +426,26 @@ test_files:
|
|
381
426
|
- spec/fixtures/cassettes/Ronnie_Client_Users/_search_playlists/Search_Playlists/.yml
|
382
427
|
- spec/fixtures/cassettes/Ronnie_Client_Users/_search_tracks/Search_Tracks/.yml
|
383
428
|
- spec/fixtures/cassettes/Ronnie_Client_Users/_search_users/Search_Users/.yml
|
429
|
+
- spec/fixtures/cassettes/Ronnie_Client_Users/_search_users/Search_users_/.yml
|
384
430
|
- spec/fixtures/cassettes/Ronnie_Client_Users/_sync_playlists/Sync_Playlists/.yml
|
385
431
|
- spec/fixtures/cassettes/Ronnie_Client_Users/_sync_tracks/Sync_Tracks/.yml
|
386
|
-
- spec/fixtures/cassettes/Ronnie_Client_Users/
|
432
|
+
- spec/fixtures/cassettes/Ronnie_Client_Users/_top_albums/retrieve_the_site-wide_most_popular_albums_/.yml
|
433
|
+
- spec/fixtures/cassettes/Ronnie_Client_Users/_top_artists/retrieve_the_site-wide_most_popular_artists_/.yml
|
434
|
+
- spec/fixtures/cassettes/Ronnie_Client_Users/_top_playlists/retrieve_the_site-wide_most_popular_playlists_/.yml
|
435
|
+
- spec/fixtures/cassettes/Ronnie_Client_Users/_top_tracks/retrieve_the_site-wide_most_popular_tracks_/.yml
|
436
|
+
- spec/fixtures/cassettes/Ronnie_Client_Users/_unfollow/Unfollow_a_user_/.yml
|
387
437
|
- spec/fixtures/cassettes/Ronnie_Client_Users/_unsync_playlists/Unsync_Playlists/.yml
|
388
438
|
- spec/fixtures/cassettes/Ronnie_Client_Users/_unsync_tracks/Unsync_Tracks/.yml
|
389
439
|
- spec/fixtures/cassettes/Ronnie_Client_Users/_update_playlist/Update_Playlist/.yml
|
390
440
|
- spec/fixtures/cassettes/Ronnie_Client_Users/_user/Retrieve_Authorized_User/.yml
|
391
|
-
- spec/fixtures/cassettes/Ronnie_Client_Users/_user/
|
441
|
+
- spec/fixtures/cassettes/Ronnie_Client_Users/_user/Retrieve_authorized_user_/.yml
|
442
|
+
- spec/fixtures/cassettes/Ronnie_Client_Users/_user/Retrieve_user_/.yml
|
443
|
+
- spec/ronnie/client/activities_spec.rb
|
392
444
|
- spec/ronnie/client/albums_spec.rb
|
393
445
|
- spec/ronnie/client/artists_spec.rb
|
394
446
|
- spec/ronnie/client/collections_spec.rb
|
395
447
|
- spec/ronnie/client/playlists_spec.rb
|
448
|
+
- spec/ronnie/client/tokens_spec.rb
|
396
449
|
- spec/ronnie/client/tracks_spec.rb
|
397
450
|
- spec/ronnie/client/users_spec.rb
|
398
451
|
- spec/ronnie/client_spec.rb
|