rockstar 0.6.2 → 0.6.3

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.6.2
1
+ 0.6.3
@@ -125,8 +125,14 @@ module Rockstar
125
125
  @avatar = @images["small"]
126
126
  end
127
127
 
128
- def top_artists(force=false)
129
- get_instance("user.getTopArtists", :top_artists, :artist, {:user => @username, :period => @period}, force)
128
+ def top_artists(force=false, options = {} )
129
+ default_options = {
130
+ :period => self.period
131
+ }
132
+ options = default_options.merge(options)
133
+ options[:user] = @username
134
+
135
+ get_instance("user.getTopArtists", :top_artists, :artist, options, force)
130
136
  end
131
137
 
132
138
  def top_albums(force=false)
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{rockstar}
8
- s.version = "0.6.2"
8
+ s.version = "0.6.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Bodo Tasche"]
12
- s.date = %q{2011-08-15}
12
+ s.date = %q{2011-08-24}
13
13
  s.description = %q{This gem is an updated version of jnunemakers scrobbler gem. Rockstar uses v2.0 of the last.fm api.}
14
14
  s.email = %q{bodo@bitboxer.de}
15
15
  s.extra_rdoc_files = [
@@ -89,6 +89,7 @@ Gem::Specification.new do |s|
89
89
  "test/fixtures/xml/user/getrecenttracks_user_jnunemaker.xml",
90
90
  "test/fixtures/xml/user/getrecommendedartists_sk_token_user_jnunemaker.xml",
91
91
  "test/fixtures/xml/user/gettopalbums_user_jnunemaker.xml",
92
+ "test/fixtures/xml/user/gettopartists_period_3month_user_jnunemaker.xml",
92
93
  "test/fixtures/xml/user/gettopartists_period_overall_user_jnunemaker.xml",
93
94
  "test/fixtures/xml/user/gettoptags_user_jnunemaker.xml",
94
95
  "test/fixtures/xml/user/gettoptracks_user_jnunemaker.xml",
@@ -0,0 +1,710 @@
1
+ <lfm status="ok">
2
+ <topartists user="jnunemaker" type="6month" page="1" perPage="50" totalPages="3" total="143">
3
+ <artist rank="1">
4
+ <name>Florence + The Machine</name>
5
+ <playcount>341</playcount>
6
+ <mbid/>
7
+ <url>http://www.last.fm/music/Florence%2B%252B%2BThe%2BMachine</url>
8
+ <streamable>1</streamable>
9
+ <image size="small">http://userserve-ak.last.fm/serve/34/50373889.png</image>
10
+ <image size="medium">http://userserve-ak.last.fm/serve/64/50373889.png</image>
11
+ <image size="large">http://userserve-ak.last.fm/serve/126/50373889.png</image>
12
+ <image size="extralarge">http://userserve-ak.last.fm/serve/252/50373889.png</image>
13
+ <image size="mega">http://userserve-ak.last.fm/serve/_/50373889/Florence++The+Machine+Florence.png</image>
14
+ </artist>
15
+ <artist rank="2">
16
+ <name>Trent Reznor and Atticus Ross</name>
17
+ <playcount>320</playcount>
18
+ <mbid/>
19
+ <url>
20
+ http://www.last.fm/music/Trent+Reznor+and+Atticus+Ross
21
+ </url>
22
+ <streamable>0</streamable>
23
+ <image size="small">http://userserve-ak.last.fm/serve/34/53268349.png</image>
24
+ <image size="medium">http://userserve-ak.last.fm/serve/64/53268349.png</image>
25
+ <image size="large">http://userserve-ak.last.fm/serve/126/53268349.png</image>
26
+ <image size="extralarge">http://userserve-ak.last.fm/serve/252/53268349.png</image>
27
+ <image size="mega">
28
+ http://userserve-ak.last.fm/serve/_/53268349/Trent+Reznor+and+Atticus+Ross+PNG.png
29
+ </image>
30
+ </artist>
31
+ <artist rank="3">
32
+ <name>Adele</name>
33
+ <playcount>261</playcount>
34
+ <mbid>b0335a95-8a12-4c71-8149-5054ec847d04</mbid>
35
+ <url>http://www.last.fm/music/Adele</url>
36
+ <streamable>1</streamable>
37
+ <image size="small">http://userserve-ak.last.fm/serve/34/59843239.png</image>
38
+ <image size="medium">http://userserve-ak.last.fm/serve/64/59843239.png</image>
39
+ <image size="large">http://userserve-ak.last.fm/serve/126/59843239.png</image>
40
+ <image size="extralarge">http://userserve-ak.last.fm/serve/252/59843239.png</image>
41
+ <image size="mega">
42
+ http://userserve-ak.last.fm/serve/_/59843239/Adele+PNG.png
43
+ </image>
44
+ </artist>
45
+ <artist rank="4">
46
+ <name>Miranda Lambert</name>
47
+ <playcount>233</playcount>
48
+ <mbid>4eca1aa0-c79f-481b-af8a-4a2d6c41aa5c</mbid>
49
+ <url>http://www.last.fm/music/Miranda+Lambert</url>
50
+ <streamable>1</streamable>
51
+ <image size="small">http://userserve-ak.last.fm/serve/34/54197079.png</image>
52
+ <image size="medium">http://userserve-ak.last.fm/serve/64/54197079.png</image>
53
+ <image size="large">http://userserve-ak.last.fm/serve/126/54197079.png</image>
54
+ <image size="extralarge">http://userserve-ak.last.fm/serve/252/54197079.png</image>
55
+ <image size="mega">
56
+ http://userserve-ak.last.fm/serve/500/54197079/Miranda+Lambert.png
57
+ </image>
58
+ </artist>
59
+ <artist rank="5">
60
+ <name>Lady Antebellum</name>
61
+ <playcount>77</playcount>
62
+ <mbid/>
63
+ <url>http://www.last.fm/music/Lady+Antebellum</url>
64
+ <streamable>1</streamable>
65
+ <image size="small">http://userserve-ak.last.fm/serve/34/57079099.png</image>
66
+ <image size="medium">http://userserve-ak.last.fm/serve/64/57079099.png</image>
67
+ <image size="large">http://userserve-ak.last.fm/serve/126/57079099.png</image>
68
+ <image size="extralarge">http://userserve-ak.last.fm/serve/252/57079099.png</image>
69
+ <image size="mega">
70
+ http://userserve-ak.last.fm/serve/_/57079099/Lady+Antebellum+png.png
71
+ </image>
72
+ </artist>
73
+ <artist rank="6">
74
+ <name>Jason Aldean</name>
75
+ <playcount>66</playcount>
76
+ <mbid>f24df11a-7e35-4979-a4db-a3b2a170ce27</mbid>
77
+ <url>http://www.last.fm/music/Jason+Aldean</url>
78
+ <streamable>1</streamable>
79
+ <image size="small">http://userserve-ak.last.fm/serve/34/55246495.jpg</image>
80
+ <image size="medium">http://userserve-ak.last.fm/serve/64/55246495.jpg</image>
81
+ <image size="large">http://userserve-ak.last.fm/serve/126/55246495.jpg</image>
82
+ <image size="extralarge">http://userserve-ak.last.fm/serve/252/55246495.jpg</image>
83
+ <image size="mega">
84
+ http://userserve-ak.last.fm/serve/500/55246495/Jason+Aldean+JasonAldean+9702+SML.jpg
85
+ </image>
86
+ </artist>
87
+ <artist rank="7">
88
+ <name>The Naked And Famous</name>
89
+ <playcount>65</playcount>
90
+ <mbid>216a7b44-3846-494c-93f5-f2d4d9b95b36</mbid>
91
+ <url>http://www.last.fm/music/The+Naked+And+Famous</url>
92
+ <streamable>1</streamable>
93
+ <image size="small">http://userserve-ak.last.fm/serve/34/53354913.jpg</image>
94
+ <image size="medium">http://userserve-ak.last.fm/serve/64/53354913.jpg</image>
95
+ <image size="large">http://userserve-ak.last.fm/serve/126/53354913.jpg</image>
96
+ <image size="extralarge">http://userserve-ak.last.fm/serve/252/53354913.jpg</image>
97
+ <image size="mega">
98
+ http://userserve-ak.last.fm/serve/500/53354913/The+Naked+And+Famous+The+Nakeds.jpg
99
+ </image>
100
+ </artist>
101
+ <artist rank="8">
102
+ <name>Tim Hughes</name>
103
+ <playcount>60</playcount>
104
+ <mbid>2972f54d-aa74-4b6a-a719-49e2c22277f6</mbid>
105
+ <url>http://www.last.fm/music/Tim+Hughes</url>
106
+ <streamable>1</streamable>
107
+ <image size="small">http://userserve-ak.last.fm/serve/34/5632934.jpg</image>
108
+ <image size="medium">http://userserve-ak.last.fm/serve/64/5632934.jpg</image>
109
+ <image size="large">http://userserve-ak.last.fm/serve/126/5632934.jpg</image>
110
+ <image size="extralarge">http://userserve-ak.last.fm/serve/252/5632934.jpg</image>
111
+ <image size="mega">
112
+ http://userserve-ak.last.fm/serve/500/5632934/Tim+Hughes+Tim.jpg
113
+ </image>
114
+ </artist>
115
+ <artist rank="9">
116
+ <name>Mumford & Sons</name>
117
+ <playcount>59</playcount>
118
+ <mbid>c44e9c22-ef82-4a77-9bcd-af6c958446d6</mbid>
119
+ <url>http://www.last.fm/music/Mumford%2B%2526%2BSons</url>
120
+ <streamable>1</streamable>
121
+ <image size="small">http://userserve-ak.last.fm/serve/34/61469177.png</image>
122
+ <image size="medium">http://userserve-ak.last.fm/serve/64/61469177.png</image>
123
+ <image size="large">http://userserve-ak.last.fm/serve/126/61469177.png</image>
124
+ <image size="extralarge">http://userserve-ak.last.fm/serve/252/61469177.png</image>
125
+ <image size="mega">
126
+ http://userserve-ak.last.fm/serve/500/61469177/Mumford++Sons+PNG.png
127
+ </image>
128
+ </artist>
129
+ <artist rank="10">
130
+ <name>OneRepublic</name>
131
+ <playcount>49</playcount>
132
+ <mbid>c33c2065-b1c3-4406-b066-d33a9e2ea71a</mbid>
133
+ <url>http://www.last.fm/music/OneRepublic</url>
134
+ <streamable>1</streamable>
135
+ <image size="small">http://userserve-ak.last.fm/serve/34/38911861.png</image>
136
+ <image size="medium">http://userserve-ak.last.fm/serve/64/38911861.png</image>
137
+ <image size="large">http://userserve-ak.last.fm/serve/126/38911861.png</image>
138
+ <image size="extralarge">http://userserve-ak.last.fm/serve/252/38911861.png</image>
139
+ <image size="mega">
140
+ http://userserve-ak.last.fm/serve/_/38911861/OneRepublic+Waking+Up++Photoshoot+04.png
141
+ </image>
142
+ </artist>
143
+ <artist rank="11">
144
+ <name>Modest Mouse</name>
145
+ <playcount>48</playcount>
146
+ <mbid>a96ac800-bfcb-412a-8a63-0a98df600700</mbid>
147
+ <url>http://www.last.fm/music/Modest+Mouse</url>
148
+ <streamable>1</streamable>
149
+ <image size="small">http://userserve-ak.last.fm/serve/34/886281.jpg</image>
150
+ <image size="medium">http://userserve-ak.last.fm/serve/64/886281.jpg</image>
151
+ <image size="large">http://userserve-ak.last.fm/serve/126/886281.jpg</image>
152
+ <image size="extralarge">http://userserve-ak.last.fm/serve/252/886281.jpg</image>
153
+ <image size="mega">
154
+ http://userserve-ak.last.fm/serve/500/886281/Modest+Mouse.jpg
155
+ </image>
156
+ </artist>
157
+ <artist rank="12">
158
+ <name>Lady Gaga</name>
159
+ <playcount>47</playcount>
160
+ <mbid>650e7db6-b795-4eb5-a702-5ea2fc46c848</mbid>
161
+ <url>http://www.last.fm/music/Lady+Gaga</url>
162
+ <streamable>1</streamable>
163
+ <image size="small">http://userserve-ak.last.fm/serve/34/63387017.png</image>
164
+ <image size="medium">http://userserve-ak.last.fm/serve/64/63387017.png</image>
165
+ <image size="large">http://userserve-ak.last.fm/serve/126/63387017.png</image>
166
+ <image size="extralarge">http://userserve-ak.last.fm/serve/252/63387017.png</image>
167
+ <image size="mega">
168
+ http://userserve-ak.last.fm/serve/500/63387017/Lady+Gaga+Judas.png
169
+ </image>
170
+ </artist>
171
+ <artist rank="13">
172
+ <name>Jay-Z</name>
173
+ <playcount>43</playcount>
174
+ <mbid>f82bcf78-5b69-4622-a5ef-73800768d9ac</mbid>
175
+ <url>http://www.last.fm/music/Jay-Z</url>
176
+ <streamable>1</streamable>
177
+ <image size="small">http://userserve-ak.last.fm/serve/34/32355961.png</image>
178
+ <image size="medium">http://userserve-ak.last.fm/serve/64/32355961.png</image>
179
+ <image size="large">http://userserve-ak.last.fm/serve/126/32355961.png</image>
180
+ <image size="extralarge">http://userserve-ak.last.fm/serve/252/32355961.png</image>
181
+ <image size="mega">
182
+ http://userserve-ak.last.fm/serve/_/32355961/JAYZ.png
183
+ </image>
184
+ </artist>
185
+ <artist rank="14">
186
+ <name>Booker T. Jones</name>
187
+ <playcount>31</playcount>
188
+ <mbid>b0ee191c-7b75-445e-8416-b8f9918d3b6b</mbid>
189
+ <url>http://www.last.fm/music/Booker+T.+Jones</url>
190
+ <streamable>1</streamable>
191
+ <image size="small">http://userserve-ak.last.fm/serve/34/47841101.jpg</image>
192
+ <image size="medium">http://userserve-ak.last.fm/serve/64/47841101.jpg</image>
193
+ <image size="large">http://userserve-ak.last.fm/serve/126/47841101.jpg</image>
194
+ <image size="extralarge">http://userserve-ak.last.fm/serve/252/47841101.jpg</image>
195
+ <image size="mega">
196
+ http://userserve-ak.last.fm/serve/_/47841101/Booker+T+Jones+T.jpg
197
+ </image>
198
+ </artist>
199
+ <artist rank="15">
200
+ <name>Danger Mouse</name>
201
+ <playcount>30</playcount>
202
+ <mbid>4b356f05-bcc2-4544-925b-fd9a1bf708be</mbid>
203
+ <url>http://www.last.fm/music/Danger+Mouse</url>
204
+ <streamable>1</streamable>
205
+ <image size="small">http://userserve-ak.last.fm/serve/34/41599955.jpg</image>
206
+ <image size="medium">http://userserve-ak.last.fm/serve/64/41599955.jpg</image>
207
+ <image size="large">http://userserve-ak.last.fm/serve/126/41599955.jpg</image>
208
+ <image size="extralarge">http://userserve-ak.last.fm/serve/252/41599955.jpg</image>
209
+ <image size="mega">
210
+ http://userserve-ak.last.fm/serve/_/41599955/Danger+Mouse+dangermouse_02.jpg
211
+ </image>
212
+ </artist>
213
+ <artist rank="16">
214
+ <name>Blue Merle</name>
215
+ <playcount>24</playcount>
216
+ <mbid>d8789399-631d-45b2-a3a4-c4275aaa4b14</mbid>
217
+ <url>http://www.last.fm/music/Blue+Merle</url>
218
+ <streamable>1</streamable>
219
+ <image size="small">http://userserve-ak.last.fm/serve/34/164135.jpg</image>
220
+ <image size="medium">http://userserve-ak.last.fm/serve/64/164135.jpg</image>
221
+ <image size="large">http://userserve-ak.last.fm/serve/126/164135.jpg</image>
222
+ <image size="extralarge">http://userserve-ak.last.fm/serve/252/164135.jpg</image>
223
+ <image size="mega">
224
+ http://userserve-ak.last.fm/serve/_/164135/Blue+Merle.jpg
225
+ </image>
226
+ </artist>
227
+ <artist rank="17">
228
+ <name>Tenth Avenue North</name>
229
+ <playcount>23</playcount>
230
+ <mbid>12455562-6e62-4c14-b21c-6f9664af2aa0</mbid>
231
+ <url>http://www.last.fm/music/Tenth+Avenue+North</url>
232
+ <streamable>1</streamable>
233
+ <image size="small">http://userserve-ak.last.fm/serve/34/41492979.png</image>
234
+ <image size="medium">http://userserve-ak.last.fm/serve/64/41492979.png</image>
235
+ <image size="large">http://userserve-ak.last.fm/serve/126/41492979.png</image>
236
+ <image size="extralarge">http://userserve-ak.last.fm/serve/252/41492979.png</image>
237
+ <image size="mega">
238
+ http://userserve-ak.last.fm/serve/500/41492979/Tenth+Avenue+North++new.png
239
+ </image>
240
+ </artist>
241
+ <artist rank="18">
242
+ <name>The Band Perry</name>
243
+ <playcount>22</playcount>
244
+ <mbid/>
245
+ <url>http://www.last.fm/music/The+Band+Perry</url>
246
+ <streamable>0</streamable>
247
+ <image size="small">http://userserve-ak.last.fm/serve/34/49389231.png</image>
248
+ <image size="medium">http://userserve-ak.last.fm/serve/64/49389231.png</image>
249
+ <image size="large">http://userserve-ak.last.fm/serve/126/49389231.png</image>
250
+ <image size="extralarge">http://userserve-ak.last.fm/serve/252/49389231.png</image>
251
+ <image size="mega">
252
+ http://userserve-ak.last.fm/serve/_/49389231/The+Band+Perry+bandperrypng.png
253
+ </image>
254
+ </artist>
255
+ <artist rank="19">
256
+ <name>Foo Fighters</name>
257
+ <playcount>21</playcount>
258
+ <mbid>67f66c07-6e61-4026-ade5-7e782fad3a5d</mbid>
259
+ <url>http://www.last.fm/music/Foo+Fighters</url>
260
+ <streamable>1</streamable>
261
+ <image size="small">http://userserve-ak.last.fm/serve/34/2513072.jpg</image>
262
+ <image size="medium">http://userserve-ak.last.fm/serve/64/2513072.jpg</image>
263
+ <image size="large">http://userserve-ak.last.fm/serve/126/2513072.jpg</image>
264
+ <image size="extralarge">http://userserve-ak.last.fm/serve/252/2513072.jpg</image>
265
+ <image size="mega">
266
+ http://userserve-ak.last.fm/serve/500/2513072/Foo+Fighters.jpg
267
+ </image>
268
+ </artist>
269
+ <artist rank="20">
270
+ <name>Faith Hill</name>
271
+ <playcount>20</playcount>
272
+ <mbid>406552d4-5ba1-4226-b7c0-367bc50fc767</mbid>
273
+ <url>http://www.last.fm/music/Faith+Hill</url>
274
+ <streamable>1</streamable>
275
+ <image size="small">http://userserve-ak.last.fm/serve/34/27127509.jpg</image>
276
+ <image size="medium">http://userserve-ak.last.fm/serve/64/27127509.jpg</image>
277
+ <image size="large">http://userserve-ak.last.fm/serve/126/27127509.jpg</image>
278
+ <image size="extralarge">http://userserve-ak.last.fm/serve/252/27127509.jpg</image>
279
+ <image size="mega">
280
+ http://userserve-ak.last.fm/serve/_/27127509/Faith+Hill+f10.jpg
281
+ </image>
282
+ </artist>
283
+ <artist rank="21">
284
+ <name>Gym Class Heroes</name>
285
+ <playcount>17</playcount>
286
+ <mbid>f4d4b515-0b74-423f-a161-db184330c37c</mbid>
287
+ <url>http://www.last.fm/music/Gym+Class+Heroes</url>
288
+ <streamable>1</streamable>
289
+ <image size="small">http://userserve-ak.last.fm/serve/34/33594939.png</image>
290
+ <image size="medium">http://userserve-ak.last.fm/serve/64/33594939.png</image>
291
+ <image size="large">http://userserve-ak.last.fm/serve/126/33594939.png</image>
292
+ <image size="extralarge">http://userserve-ak.last.fm/serve/252/33594939.png</image>
293
+ <image size="mega">
294
+ http://userserve-ak.last.fm/serve/500/33594939/Gym+Class+Heroes.png
295
+ </image>
296
+ </artist>
297
+ <artist rank="22">
298
+ <name>Dierks Bentley</name>
299
+ <playcount>16</playcount>
300
+ <mbid>6bd7faa9-601f-44db-a2a6-239209f83156</mbid>
301
+ <url>http://www.last.fm/music/Dierks+Bentley</url>
302
+ <streamable>1</streamable>
303
+ <image size="small">http://userserve-ak.last.fm/serve/34/28966219.jpg</image>
304
+ <image size="medium">http://userserve-ak.last.fm/serve/64/28966219.jpg</image>
305
+ <image size="large">http://userserve-ak.last.fm/serve/126/28966219.jpg</image>
306
+ <image size="extralarge">http://userserve-ak.last.fm/serve/252/28966219.jpg</image>
307
+ <image size="mega">
308
+ http://userserve-ak.last.fm/serve/500/28966219/Dierks+Bentley+dierks.jpg
309
+ </image>
310
+ </artist>
311
+ <artist rank="23">
312
+ <name>Franz Ferdinand</name>
313
+ <playcount>16</playcount>
314
+ <mbid>aa7a2827-f74b-473c-bd79-03d065835cf7</mbid>
315
+ <url>http://www.last.fm/music/Franz+Ferdinand</url>
316
+ <streamable>1</streamable>
317
+ <image size="small">http://userserve-ak.last.fm/serve/34/324253.jpg</image>
318
+ <image size="medium">http://userserve-ak.last.fm/serve/64/324253.jpg</image>
319
+ <image size="large">http://userserve-ak.last.fm/serve/126/324253.jpg</image>
320
+ <image size="extralarge">http://userserve-ak.last.fm/serve/252/324253.jpg</image>
321
+ <image size="mega">
322
+ http://userserve-ak.last.fm/serve/_/324253/Franz+Ferdinand.jpg
323
+ </image>
324
+ </artist>
325
+ <artist rank="24">
326
+ <name>Augustana</name>
327
+ <playcount>15</playcount>
328
+ <mbid>919ccb96-12da-48f5-bd91-ec410d956048</mbid>
329
+ <url>http://www.last.fm/music/Augustana</url>
330
+ <streamable>1</streamable>
331
+ <image size="small">http://userserve-ak.last.fm/serve/34/6673243.jpg</image>
332
+ <image size="medium">http://userserve-ak.last.fm/serve/64/6673243.jpg</image>
333
+ <image size="large">http://userserve-ak.last.fm/serve/126/6673243.jpg</image>
334
+ <image size="extralarge">http://userserve-ak.last.fm/serve/252/6673243.jpg</image>
335
+ <image size="mega">
336
+ http://userserve-ak.last.fm/serve/_/6673243/Augustana.jpg
337
+ </image>
338
+ </artist>
339
+ <artist rank="25">
340
+ <name>Marina & The Diamonds</name>
341
+ <playcount>15</playcount>
342
+ <mbid/>
343
+ <url>
344
+ http://www.last.fm/music/Marina%2B%2526%2BThe%2BDiamonds
345
+ </url>
346
+ <streamable>1</streamable>
347
+ <image size="small">http://userserve-ak.last.fm/serve/34/56638901.png</image>
348
+ <image size="medium">http://userserve-ak.last.fm/serve/64/56638901.png</image>
349
+ <image size="large">http://userserve-ak.last.fm/serve/126/56638901.png</image>
350
+ <image size="extralarge">http://userserve-ak.last.fm/serve/252/56638901.png</image>
351
+ <image size="mega">
352
+ http://userserve-ak.last.fm/serve/500/56638901/Marina++The+Diamonds+bm.png
353
+ </image>
354
+ </artist>
355
+ <artist rank="26">
356
+ <name>Third Day</name>
357
+ <playcount>14</playcount>
358
+ <mbid>93585c1b-ec0f-4d47-9cae-bd8ebcc52e9f</mbid>
359
+ <url>http://www.last.fm/music/Third+Day</url>
360
+ <streamable>1</streamable>
361
+ <image size="small">http://userserve-ak.last.fm/serve/34/4577343.jpg</image>
362
+ <image size="medium">http://userserve-ak.last.fm/serve/64/4577343.jpg</image>
363
+ <image size="large">http://userserve-ak.last.fm/serve/126/4577343.jpg</image>
364
+ <image size="extralarge">http://userserve-ak.last.fm/serve/252/4577343.jpg</image>
365
+ <image size="mega">
366
+ http://userserve-ak.last.fm/serve/_/4577343/Third+Day+3rdday5.jpg
367
+ </image>
368
+ </artist>
369
+ <artist rank="27">
370
+ <name>Gwyneth Paltrow</name>
371
+ <playcount>14</playcount>
372
+ <mbid>dc71c08e-3ee5-409d-ae0d-f4fd9050e170</mbid>
373
+ <url>http://www.last.fm/music/Gwyneth+Paltrow</url>
374
+ <streamable>1</streamable>
375
+ <image size="small">http://userserve-ak.last.fm/serve/34/53736479.png</image>
376
+ <image size="medium">http://userserve-ak.last.fm/serve/64/53736479.png</image>
377
+ <image size="large">http://userserve-ak.last.fm/serve/126/53736479.png</image>
378
+ <image size="extralarge">http://userserve-ak.last.fm/serve/252/53736479.png</image>
379
+ <image size="mega">
380
+ http://userserve-ak.last.fm/serve/500/53736479/Gwyneth+Paltrow+PNG.png
381
+ </image>
382
+ </artist>
383
+ <artist rank="28">
384
+ <name>Jason Mraz</name>
385
+ <playcount>13</playcount>
386
+ <mbid>82eb8936-7bf6-4577-8320-a2639465206d</mbid>
387
+ <url>http://www.last.fm/music/Jason+Mraz</url>
388
+ <streamable>1</streamable>
389
+ <image size="small">http://userserve-ak.last.fm/serve/34/251853.jpg</image>
390
+ <image size="medium">http://userserve-ak.last.fm/serve/64/251853.jpg</image>
391
+ <image size="large">http://userserve-ak.last.fm/serve/126/251853.jpg</image>
392
+ <image size="extralarge">http://userserve-ak.last.fm/serve/252/251853.jpg</image>
393
+ <image size="mega">
394
+ http://userserve-ak.last.fm/serve/_/251853/Jason+Mraz.jpg
395
+ </image>
396
+ </artist>
397
+ <artist rank="29">
398
+ <name>Imogen Heap</name>
399
+ <playcount>13</playcount>
400
+ <mbid>328d146c-79f1-4eb6-9e40-8ee5710c14e5</mbid>
401
+ <url>http://www.last.fm/music/Imogen+Heap</url>
402
+ <streamable>1</streamable>
403
+ <image size="small">http://userserve-ak.last.fm/serve/34/29846845.png</image>
404
+ <image size="medium">http://userserve-ak.last.fm/serve/64/29846845.png</image>
405
+ <image size="large">http://userserve-ak.last.fm/serve/126/29846845.png</image>
406
+ <image size="extralarge">http://userserve-ak.last.fm/serve/252/29846845.png</image>
407
+ <image size="mega">
408
+ http://userserve-ak.last.fm/serve/_/29846845/Imogen+Heap+by+Jeremy+Cowart.png
409
+ </image>
410
+ </artist>
411
+ <artist rank="30">
412
+ <name>Sawyer Brown</name>
413
+ <playcount>13</playcount>
414
+ <mbid>1b69a7bc-7563-4aaf-a859-8b6050a7a0f2</mbid>
415
+ <url>http://www.last.fm/music/Sawyer+Brown</url>
416
+ <streamable>0</streamable>
417
+ <image size="small">http://userserve-ak.last.fm/serve/34/467088.jpg</image>
418
+ <image size="medium">http://userserve-ak.last.fm/serve/64/467088.jpg</image>
419
+ <image size="large">http://userserve-ak.last.fm/serve/126/467088.jpg</image>
420
+ <image size="extralarge">http://userserve-ak.last.fm/serve/252/467088.jpg</image>
421
+ <image size="mega">
422
+ http://userserve-ak.last.fm/serve/_/467088/Sawyer+Brown.jpg
423
+ </image>
424
+ </artist>
425
+ <artist rank="31">
426
+ <name>Scissor Sisters</name>
427
+ <playcount>13</playcount>
428
+ <mbid>4236d929-9a81-4c8e-97c3-8d3306780f50</mbid>
429
+ <url>http://www.last.fm/music/Scissor+Sisters</url>
430
+ <streamable>1</streamable>
431
+ <image size="small">http://userserve-ak.last.fm/serve/34/33759339.png</image>
432
+ <image size="medium">http://userserve-ak.last.fm/serve/64/33759339.png</image>
433
+ <image size="large">http://userserve-ak.last.fm/serve/126/33759339.png</image>
434
+ <image size="extralarge">http://userserve-ak.last.fm/serve/252/33759339.png</image>
435
+ <image size="mega">
436
+ http://userserve-ak.last.fm/serve/_/33759339/Scissor+Sisters+scissorsisters2.png
437
+ </image>
438
+ </artist>
439
+ <artist rank="32">
440
+ <name>Katy Perry</name>
441
+ <playcount>13</playcount>
442
+ <mbid>122d63fc-8671-43e4-9752-34e846d62a9c</mbid>
443
+ <url>http://www.last.fm/music/Katy+Perry</url>
444
+ <streamable>1</streamable>
445
+ <image size="small">http://userserve-ak.last.fm/serve/34/42601509.png</image>
446
+ <image size="medium">http://userserve-ak.last.fm/serve/64/42601509.png</image>
447
+ <image size="large">http://userserve-ak.last.fm/serve/126/42601509.png</image>
448
+ <image size="extralarge">http://userserve-ak.last.fm/serve/252/42601509.png</image>
449
+ <image size="mega">
450
+ http://userserve-ak.last.fm/serve/500/42601509/Katy+Perry+09.png
451
+ </image>
452
+ </artist>
453
+ <artist rank="33">
454
+ <name>Owl City</name>
455
+ <playcount>13</playcount>
456
+ <mbid>ad279295-653f-42e1-9aaa-b731df2e78ba</mbid>
457
+ <url>http://www.last.fm/music/Owl+City</url>
458
+ <streamable>1</streamable>
459
+ <image size="small">http://userserve-ak.last.fm/serve/34/61960633.png</image>
460
+ <image size="medium">http://userserve-ak.last.fm/serve/64/61960633.png</image>
461
+ <image size="large">http://userserve-ak.last.fm/serve/126/61960633.png</image>
462
+ <image size="extralarge">http://userserve-ak.last.fm/serve/252/61960633.png</image>
463
+ <image size="mega">
464
+ http://userserve-ak.last.fm/serve/_/61960633/Owl+City+OC+01.png
465
+ </image>
466
+ </artist>
467
+ <artist rank="34">
468
+ <name>The Throne</name>
469
+ <playcount>13</playcount>
470
+ <mbid/>
471
+ <url>http://www.last.fm/music/The+Throne</url>
472
+ <streamable>1</streamable>
473
+ <image size="small">http://userserve-ak.last.fm/serve/34/67641886.png</image>
474
+ <image size="medium">http://userserve-ak.last.fm/serve/64/67641886.png</image>
475
+ <image size="large">http://userserve-ak.last.fm/serve/126/67641886.png</image>
476
+ <image size="extralarge">http://userserve-ak.last.fm/serve/252/67641886.png</image>
477
+ <image size="mega">
478
+ http://userserve-ak.last.fm/serve/_/67641886/The+Throne+Otis.png
479
+ </image>
480
+ </artist>
481
+ <artist rank="35">
482
+ <name>Eminem</name>
483
+ <playcount>12</playcount>
484
+ <mbid>b95ce3ff-3d05-4e87-9e01-c97b66af13d4</mbid>
485
+ <url>http://www.last.fm/music/Eminem</url>
486
+ <streamable>1</streamable>
487
+ <image size="small">http://userserve-ak.last.fm/serve/34/11037821.jpg</image>
488
+ <image size="medium">http://userserve-ak.last.fm/serve/64/11037821.jpg</image>
489
+ <image size="large">http://userserve-ak.last.fm/serve/126/11037821.jpg</image>
490
+ <image size="extralarge">http://userserve-ak.last.fm/serve/252/11037821.jpg</image>
491
+ <image size="mega">
492
+ http://userserve-ak.last.fm/serve/_/11037821/Eminem++as+B+Rabbit+in+8+Mile.jpg
493
+ </image>
494
+ </artist>
495
+ <artist rank="36">
496
+ <name>Aerosmith</name>
497
+ <playcount>12</playcount>
498
+ <mbid>3d2b98e5-556f-4451-a3ff-c50ea18d57cb</mbid>
499
+ <url>http://www.last.fm/music/Aerosmith</url>
500
+ <streamable>1</streamable>
501
+ <image size="small">http://userserve-ak.last.fm/serve/34/5120090.jpg</image>
502
+ <image size="medium">http://userserve-ak.last.fm/serve/64/5120090.jpg</image>
503
+ <image size="large">http://userserve-ak.last.fm/serve/126/5120090.jpg</image>
504
+ <image size="extralarge">http://userserve-ak.last.fm/serve/252/5120090.jpg</image>
505
+ <image size="mega">
506
+ http://userserve-ak.last.fm/serve/500/5120090/Aerosmith+primera+sesin+fotogrfica.jpg
507
+ </image>
508
+ </artist>
509
+ <artist rank="37">
510
+ <name>John Mayer</name>
511
+ <playcount>12</playcount>
512
+ <mbid>144ef525-85e9-40c3-8335-02c32d0861f3</mbid>
513
+ <url>http://www.last.fm/music/John+Mayer</url>
514
+ <streamable>1</streamable>
515
+ <image size="small">http://userserve-ak.last.fm/serve/34/234335.jpg</image>
516
+ <image size="medium">http://userserve-ak.last.fm/serve/64/234335.jpg</image>
517
+ <image size="large">http://userserve-ak.last.fm/serve/126/234335.jpg</image>
518
+ <image size="extralarge">http://userserve-ak.last.fm/serve/252/234335.jpg</image>
519
+ <image size="mega">
520
+ http://userserve-ak.last.fm/serve/500/234335/John+Mayer.jpg
521
+ </image>
522
+ </artist>
523
+ <artist rank="38">
524
+ <name>Edward Sharpe & The Magnetic Zeros</name>
525
+ <playcount>12</playcount>
526
+ <mbid/>
527
+ <url>
528
+ http://www.last.fm/music/Edward%2BSharpe%2B%2526%2BThe%2BMagnetic%2BZeros
529
+ </url>
530
+ <streamable>1</streamable>
531
+ <image size="small">http://userserve-ak.last.fm/serve/34/39160417.png</image>
532
+ <image size="medium">http://userserve-ak.last.fm/serve/64/39160417.png</image>
533
+ <image size="large">http://userserve-ak.last.fm/serve/126/39160417.png</image>
534
+ <image size="extralarge">http://userserve-ak.last.fm/serve/252/39160417.png</image>
535
+ <image size="mega">
536
+ http://userserve-ak.last.fm/serve/500/39160417/Edward+Sharpe++The+Magnetic+Zeros.png
537
+ </image>
538
+ </artist>
539
+ <artist rank="39">
540
+ <name>Edward Maya feat. Vika Jigulina</name>
541
+ <playcount>12</playcount>
542
+ <mbid/>
543
+ <url>
544
+ http://www.last.fm/music/Edward+Maya+feat.+Vika+Jigulina
545
+ </url>
546
+ <streamable>0</streamable>
547
+ <image size="small">http://userserve-ak.last.fm/serve/34/28716399.jpg</image>
548
+ <image size="medium">http://userserve-ak.last.fm/serve/64/28716399.jpg</image>
549
+ <image size="large">http://userserve-ak.last.fm/serve/126/28716399.jpg</image>
550
+ <image size="extralarge">http://userserve-ak.last.fm/serve/252/28716399.jpg</image>
551
+ <image size="mega">
552
+ http://userserve-ak.last.fm/serve/_/28716399/Edward+Maya+feat+Vika+Jigulina+21022009+Vika+JigulinaMike+Dai.jpg
553
+ </image>
554
+ </artist>
555
+ <artist rank="40">
556
+ <name>Ben Harper</name>
557
+ <playcount>11</playcount>
558
+ <mbid>1582a5b8-538e-45e7-9ae4-4099439a0e79</mbid>
559
+ <url>http://www.last.fm/music/Ben+Harper</url>
560
+ <streamable>1</streamable>
561
+ <image size="small">http://userserve-ak.last.fm/serve/34/841779.jpg</image>
562
+ <image size="medium">http://userserve-ak.last.fm/serve/64/841779.jpg</image>
563
+ <image size="large">http://userserve-ak.last.fm/serve/126/841779.jpg</image>
564
+ <image size="extralarge">http://userserve-ak.last.fm/serve/252/841779.jpg</image>
565
+ <image size="mega">
566
+ http://userserve-ak.last.fm/serve/_/841779/Ben+Harper.jpg
567
+ </image>
568
+ </artist>
569
+ <artist rank="41">
570
+ <name>Cee-Lo</name>
571
+ <playcount>11</playcount>
572
+ <mbid>2c69465c-0f76-45ce-90a2-1ed0fdacc997</mbid>
573
+ <url>http://www.last.fm/music/Cee-Lo</url>
574
+ <streamable>1</streamable>
575
+ <image size="small">http://userserve-ak.last.fm/serve/34/54973177.png</image>
576
+ <image size="medium">http://userserve-ak.last.fm/serve/64/54973177.png</image>
577
+ <image size="large">http://userserve-ak.last.fm/serve/126/54973177.png</image>
578
+ <image size="extralarge">http://userserve-ak.last.fm/serve/252/54973177.png</image>
579
+ <image size="mega">
580
+ http://userserve-ak.last.fm/serve/500/54973177/CeeLo+5.png
581
+ </image>
582
+ </artist>
583
+ <artist rank="42">
584
+ <name>Christina Perri</name>
585
+ <playcount>11</playcount>
586
+ <mbid/>
587
+ <url>http://www.last.fm/music/Christina+Perri</url>
588
+ <streamable>1</streamable>
589
+ <image size="small">http://userserve-ak.last.fm/serve/34/56958795.png</image>
590
+ <image size="medium">http://userserve-ak.last.fm/serve/64/56958795.png</image>
591
+ <image size="large">http://userserve-ak.last.fm/serve/126/56958795.png</image>
592
+ <image size="extralarge">http://userserve-ak.last.fm/serve/252/56958795.png</image>
593
+ <image size="mega">
594
+ http://userserve-ak.last.fm/serve/_/56958795/Christina+Perri+PNG.png
595
+ </image>
596
+ </artist>
597
+ <artist rank="43">
598
+ <name>David Bazan</name>
599
+ <playcount>10</playcount>
600
+ <mbid>d1714baa-2174-4233-8272-f537bfa9fbba</mbid>
601
+ <url>http://www.last.fm/music/David+Bazan</url>
602
+ <streamable>1</streamable>
603
+ <image size="small">http://userserve-ak.last.fm/serve/34/47574239.jpg</image>
604
+ <image size="medium">http://userserve-ak.last.fm/serve/64/47574239.jpg</image>
605
+ <image size="large">http://userserve-ak.last.fm/serve/126/47574239.jpg</image>
606
+ <image size="extralarge">http://userserve-ak.last.fm/serve/252/47574239.jpg</image>
607
+ <image size="mega">
608
+ http://userserve-ak.last.fm/serve/_/47574239/David+Bazan+bazan.jpg
609
+ </image>
610
+ </artist>
611
+ <artist rank="44">
612
+ <name>The Postal Service</name>
613
+ <playcount>10</playcount>
614
+ <mbid>299278d3-25dd-4f30-bae4-5b571c28034d</mbid>
615
+ <url>http://www.last.fm/music/The+Postal+Service</url>
616
+ <streamable>1</streamable>
617
+ <image size="small">http://userserve-ak.last.fm/serve/34/2285969.jpg</image>
618
+ <image size="medium">http://userserve-ak.last.fm/serve/64/2285969.jpg</image>
619
+ <image size="large">http://userserve-ak.last.fm/serve/126/2285969.jpg</image>
620
+ <image size="extralarge">http://userserve-ak.last.fm/serve/252/2285969.jpg</image>
621
+ <image size="mega">
622
+ http://userserve-ak.last.fm/serve/_/2285969/The+Postal+Service+postal+service+yo.jpg
623
+ </image>
624
+ </artist>
625
+ <artist rank="45">
626
+ <name>Bethany Dillon</name>
627
+ <playcount>10</playcount>
628
+ <mbid>553ae8b9-22e5-48a2-bd5b-67d3472a0a2b</mbid>
629
+ <url>http://www.last.fm/music/Bethany+Dillon</url>
630
+ <streamable>1</streamable>
631
+ <image size="small">http://userserve-ak.last.fm/serve/34/66241478.png</image>
632
+ <image size="medium">http://userserve-ak.last.fm/serve/64/66241478.png</image>
633
+ <image size="large">http://userserve-ak.last.fm/serve/126/66241478.png</image>
634
+ <image size="extralarge">http://userserve-ak.last.fm/serve/252/66241478.png</image>
635
+ <image size="mega">
636
+ http://userserve-ak.last.fm/serve/_/66241478/Bethany+Dillon+bethany.png
637
+ </image>
638
+ </artist>
639
+ <artist rank="46">
640
+ <name>Matt & Kim</name>
641
+ <playcount>10</playcount>
642
+ <mbid>28537bf2-22c5-4840-91fc-fcb98e8c7379</mbid>
643
+ <url>http://www.last.fm/music/Matt%2B%2526%2BKim</url>
644
+ <streamable>1</streamable>
645
+ <image size="small">http://userserve-ak.last.fm/serve/34/60228001.png</image>
646
+ <image size="medium">http://userserve-ak.last.fm/serve/64/60228001.png</image>
647
+ <image size="large">http://userserve-ak.last.fm/serve/126/60228001.png</image>
648
+ <image size="extralarge">http://userserve-ak.last.fm/serve/252/60228001.png</image>
649
+ <image size="mega">
650
+ http://userserve-ak.last.fm/serve/_/60228001/Matt++Kim+PNG.png
651
+ </image>
652
+ </artist>
653
+ <artist rank="47">
654
+ <name>Guster</name>
655
+ <playcount>9</playcount>
656
+ <mbid>6cbe1e63-5895-4168-ac7e-f0d2836ba0c1</mbid>
657
+ <url>http://www.last.fm/music/Guster</url>
658
+ <streamable>1</streamable>
659
+ <image size="small">http://userserve-ak.last.fm/serve/34/296463.jpg</image>
660
+ <image size="medium">http://userserve-ak.last.fm/serve/64/296463.jpg</image>
661
+ <image size="large">http://userserve-ak.last.fm/serve/126/296463.jpg</image>
662
+ <image size="extralarge">http://userserve-ak.last.fm/serve/252/296463.jpg</image>
663
+ <image size="mega">
664
+ http://userserve-ak.last.fm/serve/_/296463/Guster.jpg
665
+ </image>
666
+ </artist>
667
+ <artist rank="48">
668
+ <name>The Decemberists</name>
669
+ <playcount>9</playcount>
670
+ <mbid>97b1142f-c71e-4971-8736-4a8ceaf6b4c3</mbid>
671
+ <url>http://www.last.fm/music/The+Decemberists</url>
672
+ <streamable>1</streamable>
673
+ <image size="small">http://userserve-ak.last.fm/serve/34/886900.jpg</image>
674
+ <image size="medium">http://userserve-ak.last.fm/serve/64/886900.jpg</image>
675
+ <image size="large">http://userserve-ak.last.fm/serve/126/886900.jpg</image>
676
+ <image size="extralarge">http://userserve-ak.last.fm/serve/252/886900.jpg</image>
677
+ <image size="mega">
678
+ http://userserve-ak.last.fm/serve/500/886900/The+Decemberists.jpg
679
+ </image>
680
+ </artist>
681
+ <artist rank="49">
682
+ <name>Bethel College Chapel Band</name>
683
+ <playcount>9</playcount>
684
+ <mbid>88993bf7-c2b9-4be0-a40f-e4901233c614</mbid>
685
+ <url>
686
+ http://www.last.fm/music/Bethel+College+Chapel+Band
687
+ </url>
688
+ <streamable>0</streamable>
689
+ <image size="small"/>
690
+ <image size="medium"/>
691
+ <image size="large"/>
692
+ <image size="extralarge"/>
693
+ <image size="mega"/>
694
+ </artist>
695
+ <artist rank="50">
696
+ <name>Black Eyed Peas</name>
697
+ <playcount>8</playcount>
698
+ <mbid>d5be5333-4171-427e-8e12-732087c6b78e</mbid>
699
+ <url>http://www.last.fm/music/Black+Eyed+Peas</url>
700
+ <streamable>1</streamable>
701
+ <image size="small">http://userserve-ak.last.fm/serve/34/29541971.png</image>
702
+ <image size="medium">http://userserve-ak.last.fm/serve/64/29541971.png</image>
703
+ <image size="large">http://userserve-ak.last.fm/serve/126/29541971.png</image>
704
+ <image size="extralarge">http://userserve-ak.last.fm/serve/252/29541971.png</image>
705
+ <image size="mega">
706
+ http://userserve-ak.last.fm/serve/500/29541971/Black+Eyed+Peas.png
707
+ </image>
708
+ </artist>
709
+ </topartists>
710
+ </lfm>
@@ -72,6 +72,20 @@ class TestUser < Test::Unit::TestCase
72
72
  assert_equal('http://userserve-ak.last.fm/serve/64/30883349.png', first.image)
73
73
  end
74
74
 
75
+ test "should be able to get a user's top artists for a period of time" do
76
+ last_3_month_artists = @user.top_artists( true, :period => "3month" )
77
+ assert_equal(50, last_3_month_artists.size)
78
+
79
+ first = @user.top_artists.first
80
+ assert_equal('Florence + The Machine', first.name)
81
+ assert_equal('', first.mbid)
82
+ assert_equal('341', first.playcount)
83
+ assert_equal('1', first.rank)
84
+ assert_equal('http://www.last.fm/music/Florence%2B%252B%2BThe%2BMachine', first.url)
85
+ assert_equal('http://userserve-ak.last.fm/serve/34/50373889.png', first.thumbnail)
86
+ assert_equal('http://userserve-ak.last.fm/serve/64/50373889.png', first.image)
87
+ end
88
+
75
89
  test 'should be able to get top albums' do
76
90
  assert_equal(50, @user.top_albums.size)
77
91
  first = @user.top_albums.first
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rockstar
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.2
4
+ version: 0.6.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,12 +9,12 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-08-15 00:00:00.000000000 +02:00
12
+ date: 2011-08-24 00:00:00.000000000 +02:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rake
17
- requirement: &70330863804120 !ruby/object:Gem::Requirement
17
+ requirement: &70351974063200 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ! '>='
@@ -22,10 +22,10 @@ dependencies:
22
22
  version: '0'
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *70330863804120
25
+ version_requirements: *70351974063200
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: hpricot
28
- requirement: &70330863803500 !ruby/object:Gem::Requirement
28
+ requirement: &70351974060320 !ruby/object:Gem::Requirement
29
29
  none: false
30
30
  requirements:
31
31
  - - ! '>='
@@ -33,10 +33,10 @@ dependencies:
33
33
  version: 0.4.86
34
34
  type: :runtime
35
35
  prerelease: false
36
- version_requirements: *70330863803500
36
+ version_requirements: *70351974060320
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: i18n
39
- requirement: &70330863803020 !ruby/object:Gem::Requirement
39
+ requirement: &70351974059800 !ruby/object:Gem::Requirement
40
40
  none: false
41
41
  requirements:
42
42
  - - ! '>='
@@ -44,10 +44,10 @@ dependencies:
44
44
  version: '0'
45
45
  type: :runtime
46
46
  prerelease: false
47
- version_requirements: *70330863803020
47
+ version_requirements: *70351974059800
48
48
  - !ruby/object:Gem::Dependency
49
49
  name: activesupport
50
- requirement: &70330863802460 !ruby/object:Gem::Requirement
50
+ requirement: &70351974059220 !ruby/object:Gem::Requirement
51
51
  none: false
52
52
  requirements:
53
53
  - - ! '>='
@@ -55,10 +55,10 @@ dependencies:
55
55
  version: 1.4.2
56
56
  type: :runtime
57
57
  prerelease: false
58
- version_requirements: *70330863802460
58
+ version_requirements: *70351974059220
59
59
  - !ruby/object:Gem::Dependency
60
60
  name: jeweler
61
- requirement: &70330863801960 !ruby/object:Gem::Requirement
61
+ requirement: &70351974058640 !ruby/object:Gem::Requirement
62
62
  none: false
63
63
  requirements:
64
64
  - - ! '>='
@@ -66,10 +66,10 @@ dependencies:
66
66
  version: '0'
67
67
  type: :development
68
68
  prerelease: false
69
- version_requirements: *70330863801960
69
+ version_requirements: *70351974058640
70
70
  - !ruby/object:Gem::Dependency
71
71
  name: hpricot
72
- requirement: &70330863801480 !ruby/object:Gem::Requirement
72
+ requirement: &70351974058120 !ruby/object:Gem::Requirement
73
73
  none: false
74
74
  requirements:
75
75
  - - ! '>='
@@ -77,10 +77,10 @@ dependencies:
77
77
  version: 0.4.86
78
78
  type: :runtime
79
79
  prerelease: false
80
- version_requirements: *70330863801480
80
+ version_requirements: *70351974058120
81
81
  - !ruby/object:Gem::Dependency
82
82
  name: activesupport
83
- requirement: &70330863800920 !ruby/object:Gem::Requirement
83
+ requirement: &70351974057580 !ruby/object:Gem::Requirement
84
84
  none: false
85
85
  requirements:
86
86
  - - ! '>='
@@ -88,7 +88,7 @@ dependencies:
88
88
  version: 1.4.2
89
89
  type: :runtime
90
90
  prerelease: false
91
- version_requirements: *70330863800920
91
+ version_requirements: *70351974057580
92
92
  description: This gem is an updated version of jnunemakers scrobbler gem. Rockstar
93
93
  uses v2.0 of the last.fm api.
94
94
  email: bodo@bitboxer.de
@@ -170,6 +170,7 @@ files:
170
170
  - test/fixtures/xml/user/getrecenttracks_user_jnunemaker.xml
171
171
  - test/fixtures/xml/user/getrecommendedartists_sk_token_user_jnunemaker.xml
172
172
  - test/fixtures/xml/user/gettopalbums_user_jnunemaker.xml
173
+ - test/fixtures/xml/user/gettopartists_period_3month_user_jnunemaker.xml
173
174
  - test/fixtures/xml/user/gettopartists_period_overall_user_jnunemaker.xml
174
175
  - test/fixtures/xml/user/gettoptags_user_jnunemaker.xml
175
176
  - test/fixtures/xml/user/gettoptracks_user_jnunemaker.xml
@@ -211,7 +212,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
211
212
  version: '0'
212
213
  segments:
213
214
  - 0
214
- hash: -2554727160983300565
215
+ hash: -434655497376683487
215
216
  required_rubygems_version: !ruby/object:Gem::Requirement
216
217
  none: false
217
218
  requirements: