hypem 0.1.4 → 0.1.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.
- data/README.md +26 -43
- data/fixtures/vcr_cassettes/blog_all.yml +1353 -0
- data/fixtures/vcr_cassettes/latest_playlist.yml +178 -188
- data/lib/hypem/blog.rb +6 -0
- data/lib/hypem/playlist.rb +4 -3
- data/lib/hypem/version.rb +1 -1
- data/spec/blog_spec.rb +7 -7
- data/spec/hypem_spec.rb +1 -1
- data/spec/playlist_spec.rb +67 -73
- data/spec/user_spec.rb +25 -21
- metadata +16 -15
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: http://hypem.com/playlist/
|
5
|
+
uri: http://hypem.com/playlist/latest/all/json/1
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -15,7 +15,7 @@ http_interactions:
|
|
15
15
|
server:
|
16
16
|
- nginx/1.0.12
|
17
17
|
date:
|
18
|
-
-
|
18
|
+
- Fri, 01 Jun 2012 04:58:47 GMT
|
19
19
|
content-type:
|
20
20
|
- text/javascript; charset=UTF-8
|
21
21
|
transfer-encoding:
|
@@ -23,13 +23,13 @@ http_interactions:
|
|
23
23
|
connection:
|
24
24
|
- close
|
25
25
|
set-cookie:
|
26
|
-
- AUTH=03%
|
27
|
-
expires=
|
26
|
+
- AUTH=03%3Aa5822caf10466f4e87fee149283eadaa%3A1338526726%3A1276002699%3ACA-US;
|
27
|
+
expires=Sun, 28-May-2028 04:58:46 GMT; path=/; domain=hypem.com
|
28
28
|
x-hacker:
|
29
29
|
- Hey, if you're reading this, you should drop us an email at hypem.com/contact,
|
30
30
|
maybe we can work together!
|
31
31
|
last-modified:
|
32
|
-
-
|
32
|
+
- Fri, 01 Jun 2012 03:30:40 GMT
|
33
33
|
cache-control:
|
34
34
|
- max-age=300
|
35
35
|
access-control-allow-origin:
|
@@ -40,187 +40,177 @@ http_interactions:
|
|
40
40
|
- Accept-Encoding
|
41
41
|
body:
|
42
42
|
encoding: ASCII-8BIT
|
43
|
-
string: ! '{"version":"1.1","0":{"mediaid":"
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
to
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
\
|
213
|
-
|
214
|
-
Ovation","posturl":"http:\/\/www.sittingovation.com\/downloads\/mixes\/dfrnt-fading-album-preview-and-artwork\/","postid":1749109,"dateposted_first":1331759743,"siteid_first":15853,"sitename_first":"Sitting
|
215
|
-
Ovation","posturl_first":"http:\/\/www.sittingovation.com\/downloads\/mixes\/dfrnt-fading-album-preview-and-artwork\/","postid_first":1749109,"loved_count":2,"posted_count":1,"thumb_url":"http:\/\/static-ak.hypem.net\/images\/albumart1.gif","thumb_url_large":"http:\/\/static-ak.hypem.net\/images\/blog_images\/15853.png","time":856,"description":"I\u2019ve
|
216
|
-
been hard at work on the new album project, and so I have now managed to get
|
217
|
-
the masters back from my trusty mastering engineer Bob Macc at Subvert, as
|
218
|
-
well as sort out the artwork for the release (CD at least). So in order for
|
219
|
-
this album to see CD a","itunes_link":"http:\/\/hypem.com\/go\/itunes_search\/DFRNT"},"29":{"mediaid":"1js1j","artist":"Dan
|
220
|
-
Bull","title":"Medicine Ball","dateposted":1331759723,"siteid":16929,"sitename":"monkeyboxing","posturl":"http:\/\/monkeyboxing.com\/content\/dan-bull-face-2012\/","postid":1749125,"dateposted_first":1331759723,"siteid_first":16929,"sitename_first":"monkeyboxing","posturl_first":"http:\/\/monkeyboxing.com\/content\/dan-bull-face-2012\/","postid_first":1749125,"loved_count":1,"posted_count":1,"thumb_url":"http:\/\/static-ak.hypem.net\/images\/albumart4.gif","thumb_url_large":"http:\/\/static-ak.hypem.net\/images\/blog_images\/16929.png","time":199,"description":"There\u2019s
|
221
|
-
only going to be one physical copy (a CD) of UK rapper Dan Bull\u2019s second
|
222
|
-
LP Face available next week and it\u2019s going for a million quid. And I\u2019m
|
223
|
-
really not making that up. You can also download it \u2026 Read More...","itunes_link":"http:\/\/hypem.com\/go\/itunes_search\/Dan%20Bull"}}'
|
43
|
+
string: ! '{"version":"1.1","0":{"mediaid":"1mhhn","artist":"","title":"","dateposted":1338521440,"siteid":2293,"sitename":"NEVVER","posturl":"http:\/\/www.nevver.com\/2012\/06\/gary-numan-films.html","postid":1827187,"dateposted_first":1338521440,"siteid_first":2293,"sitename_first":"NEVVER","posturl_first":"http:\/\/www.nevver.com\/2012\/06\/gary-numan-films.html","postid_first":1827187,"loved_count":1,"posted_count":1,"thumb_url":"http:\/\/static-ak.hypem.net\/thumbs\/7\/1827187.png","thumb_url_large":"http:\/\/static-ak.hypem.net\/thumbs\/7\/1827187_320.png","time":243,"description":"
|
44
|
+
Gary Numan, \"Films\"","itunes_link":"http:\/\/hypem.com\/go\/itunes_search\/"},"1":{"mediaid":"1mhhm","artist":"Katie
|
45
|
+
Kate","title":"Houses","dateposted":1338521431,"siteid":1365,"sitename":"Faronheit","posturl":"http:\/\/faronheit.com\/2012\/05\/pick-your-poison-thursday-5-31-12\/","postid":1827185,"dateposted_first":1338521431,"siteid_first":1365,"sitename_first":"Faronheit","posturl_first":"http:\/\/faronheit.com\/2012\/05\/pick-your-poison-thursday-5-31-12\/","postid_first":1827185,"loved_count":1,"posted_count":1,"thumb_url":"http:\/\/static-ak.hypem.net\/images\/albumart0.gif","thumb_url_large":"http:\/\/static-ak.hypem.net\/images\/blog_images\/1365.png","time":241,"description":"Chicago
|
46
|
+
has quite a large number of great local bands that haven\u2019t hit the big
|
47
|
+
time just yet, and I\u2019m always pleased when one sends me an email introduction.
|
48
|
+
I try to support the local scene as much as I\u2019m able without distracting
|
49
|
+
too much from some of th","itunes_link":"http:\/\/hypem.com\/go\/itunes_search\/Katie%20Kate"},"2":{"mediaid":"1mggr","artist":"Nouela","title":"Suckers","dateposted":1338521426,"siteid":1365,"sitename":"Faronheit","posturl":"http:\/\/faronheit.com\/2012\/05\/pick-your-poison-thursday-5-31-12\/","postid":1827185,"dateposted_first":1338418700,"siteid_first":16279,"sitename_first":"Centuries","posturl_first":"http:\/\/www.centuriesmusic.co.uk\/post\/24071892888\/nouela-suckers","postid_first":1825755,"loved_count":2,"posted_count":2,"thumb_url":"http:\/\/static-ak.hypem.net\/images\/albumart1.gif","thumb_url_large":"http:\/\/static-ak.hypem.net\/images\/blog_images\/1365.png","time":205,"description":"Chicago
|
50
|
+
has quite a large number of great local bands that haven\u2019t hit the big
|
51
|
+
time just yet, and I\u2019m always pleased when one sends me an email introduction.
|
52
|
+
I try to support the local scene as much as I\u2019m able without distracting
|
53
|
+
too much from some of th","itunes_link":"http:\/\/hypem.com\/go\/itunes_search\/Nouela"},"3":{"mediaid":"1mg3x","artist":"Silver
|
54
|
+
Jews","title":"Secret Knowledge of Back Roads","dateposted":1338521421,"siteid":1365,"sitename":"Faronheit","posturl":"http:\/\/faronheit.com\/2012\/05\/pick-your-poison-thursday-5-31-12\/","postid":1827185,"dateposted_first":1338391796,"siteid_first":4436,"sitename_first":"Consequence
|
55
|
+
of Sound","posturl_first":"http:\/\/consequenceofsound.net\/2012\/05\/check-out-silver-jews-secret-knowledge-of-back-roads\/","postid_first":1825123,"loved_count":14,"posted_count":10,"thumb_url":"http:\/\/static-ak.hypem.net\/images\/albumart3.gif","thumb_url_large":"http:\/\/static-ak.hypem.net\/images\/blog_images\/1365.png","time":206,"description":"Chicago
|
56
|
+
has quite a large number of great local bands that haven\u2019t hit the big
|
57
|
+
time just yet, and I\u2019m always pleased when one sends me an email introduction.
|
58
|
+
I try to support the local scene as much as I\u2019m able without distracting
|
59
|
+
too much from some of th","itunes_link":"http:\/\/hypem.com\/go\/itunes_search\/Silver%20Jews"},"4":{"mediaid":"1mhhh","artist":"Icebreaker
|
60
|
+
with BJ Cole","title":"\"An Ending (Ascent) II\"","dateposted":1338521412,"siteid":1365,"sitename":"Faronheit","posturl":"http:\/\/faronheit.com\/2012\/05\/pick-your-poison-thursday-5-31-12\/","postid":1827185,"dateposted_first":1338521412,"siteid_first":1365,"sitename_first":"Faronheit","posturl_first":"http:\/\/faronheit.com\/2012\/05\/pick-your-poison-thursday-5-31-12\/","postid_first":1827185,"loved_count":0,"posted_count":1,"thumb_url":"http:\/\/static-ak.hypem.net\/images\/albumart1.gif","thumb_url_large":"http:\/\/static-ak.hypem.net\/images\/blog_images\/1365.png","time":242,"description":"Chicago
|
61
|
+
has quite a large number of great local bands that haven\u2019t hit the big
|
62
|
+
time just yet, and I\u2019m always pleased when one sends me an email introduction.
|
63
|
+
I try to support the local scene as much as I\u2019m able without distracting
|
64
|
+
too much from some of th","itunes_link":"http:\/\/hypem.com\/go\/itunes_search\/Icebreaker%20with%20BJ%20Cole"},"5":{"mediaid":"1mg18","artist":"Matthew
|
65
|
+
Dear","title":"Her Fantasy","dateposted":1338521408,"siteid":1365,"sitename":"Faronheit","posturl":"http:\/\/faronheit.com\/2012\/05\/pick-your-poison-thursday-5-31-12\/","postid":1827185,"dateposted_first":1338384559,"siteid_first":11871,"sitename_first":"Last
|
66
|
+
Gas Station","posturl_first":"http:\/\/www.lagasta.com\/matthew-dear-her-fantasy\/","postid_first":1824939,"loved_count":106,"posted_count":26,"thumb_url":"http:\/\/static-ak.hypem.net\/images\/albumart1.gif","thumb_url_large":"http:\/\/static-ak.hypem.net\/images\/blog_images\/1365.png","time":374,"description":"Chicago
|
67
|
+
has quite a large number of great local bands that haven\u2019t hit the big
|
68
|
+
time just yet, and I\u2019m always pleased when one sends me an email introduction.
|
69
|
+
I try to support the local scene as much as I\u2019m able without distracting
|
70
|
+
too much from some of th","itunes_link":"http:\/\/hypem.com\/go\/itunes_search\/Matthew%20Dear"},"6":{"mediaid":"1hqsx","artist":null,"title":null,"dateposted":1338521400,"siteid":1365,"sitename":"Faronheit","posturl":"http:\/\/faronheit.com\/2012\/05\/pick-your-poison-thursday-5-31-12\/","postid":1827185,"dateposted_first":1328037249,"siteid_first":12966,"sitename_first":"The
|
71
|
+
Dadada Music Blog","posturl_first":"http:\/\/thedadada.com\/2012\/01\/31\/the-new-1-31-12\/","postid_first":1705484,"loved_count":7,"posted_count":2,"thumb_url":"http:\/\/static-ak.hypem.net\/images\/albumart2.gif","thumb_url_large":"http:\/\/static-ak.hypem.net\/images\/blog_images\/1365.png","time":308,"description":"Chicago
|
72
|
+
has quite a large number of great local bands that haven\u2019t hit the big
|
73
|
+
time just yet, and I\u2019m always pleased when one sends me an email introduction.
|
74
|
+
I try to support the local scene as much as I\u2019m able without distracting
|
75
|
+
too much from some of th","itunes_link":"http:\/\/hypem.com\/go\/itunes_search\/"},"7":{"mediaid":"1m32j","artist":"Broken
|
76
|
+
Water","title":"Underground","dateposted":1338521384,"siteid":1365,"sitename":"Faronheit","posturl":"http:\/\/faronheit.com\/2012\/05\/pick-your-poison-thursday-5-31-12\/","postid":1827185,"dateposted_first":1336788562,"siteid_first":16499,"sitename_first":"Sounds
|
77
|
+
Better With Reverb","posturl_first":"http:\/\/www.soundsbetterwithreverb.com\/rock\/broken-water-underground\/","postid_first":1807420,"loved_count":18,"posted_count":7,"thumb_url":"http:\/\/static-ak.hypem.net\/images\/albumart2.gif","thumb_url_large":"http:\/\/static-ak.hypem.net\/images\/blog_images\/1365.png","time":162,"description":"Chicago
|
78
|
+
has quite a large number of great local bands that haven\u2019t hit the big
|
79
|
+
time just yet, and I\u2019m always pleased when one sends me an email introduction.
|
80
|
+
I try to support the local scene as much as I\u2019m able without distracting
|
81
|
+
too much from some of th","itunes_link":"http:\/\/hypem.com\/go\/itunes_search\/Broken%20Water"},"8":{"mediaid":"1mhhd","artist":"Mella
|
82
|
+
Dee","title":"Don''t Be Nesh","dateposted":1338521371,"siteid":1365,"sitename":"Faronheit","posturl":"http:\/\/faronheit.com\/2012\/05\/pick-your-poison-thursday-5-31-12\/","postid":1827185,"dateposted_first":1338521371,"siteid_first":1365,"sitename_first":"Faronheit","posturl_first":"http:\/\/faronheit.com\/2012\/05\/pick-your-poison-thursday-5-31-12\/","postid_first":1827185,"loved_count":1,"posted_count":1,"thumb_url":"http:\/\/static-ak.hypem.net\/images\/albumart4.gif","thumb_url_large":"http:\/\/static-ak.hypem.net\/images\/blog_images\/1365.png","time":290,"description":"Chicago
|
83
|
+
has quite a large number of great local bands that haven\u2019t hit the big
|
84
|
+
time just yet, and I\u2019m always pleased when one sends me an email introduction.
|
85
|
+
I try to support the local scene as much as I\u2019m able without distracting
|
86
|
+
too much from some of th","itunes_link":"http:\/\/hypem.com\/go\/itunes_search\/Mella%20Dee"},"9":{"mediaid":"1mg7d","artist":"Taragana
|
87
|
+
Pyjarama","title":"Lo Ng","dateposted":1338521365,"siteid":1365,"sitename":"Faronheit","posturl":"http:\/\/faronheit.com\/2012\/05\/pick-your-poison-thursday-5-31-12\/","postid":1827185,"dateposted_first":1338397699,"siteid_first":14233,"sitename_first":"\u00b5
|
88
|
+
sique","posturl_first":"http:\/\/mu-sique.com\/post\/24065140316\/taragana-pyjarama-lo-ng","postid_first":1825301,"loved_count":13,"posted_count":2,"thumb_url":"http:\/\/static-ak.hypem.net\/images\/albumart0.gif","thumb_url_large":"http:\/\/static-ak.hypem.net\/images\/blog_images\/1365.png","time":353,"description":"Chicago
|
89
|
+
has quite a large number of great local bands that haven\u2019t hit the big
|
90
|
+
time just yet, and I\u2019m always pleased when one sends me an email introduction.
|
91
|
+
I try to support the local scene as much as I\u2019m able without distracting
|
92
|
+
too much from some of th","itunes_link":"http:\/\/hypem.com\/go\/itunes_search\/Taragana%20Pyjarama"},"10":{"mediaid":"1jymx","artist":"Broken
|
93
|
+
Water","title":"Drown","dateposted":1338521361,"siteid":1365,"sitename":"Faronheit","posturl":"http:\/\/faronheit.com\/2012\/05\/pick-your-poison-thursday-5-31-12\/","postid":1827185,"dateposted_first":1332436105,"siteid_first":152,"sitename_first":"stereogum","posturl_first":"http:\/\/stereogum.com\/983302\/broken-water-drown\/mp3s\/","postid_first":1756357,"loved_count":29,"posted_count":11,"thumb_url":"http:\/\/static-ak.hypem.net\/images\/albumart2.gif","thumb_url_large":"http:\/\/static-ak.hypem.net\/images\/blog_images\/1365.png","time":220,"description":"Chicago
|
94
|
+
has quite a large number of great local bands that haven\u2019t hit the big
|
95
|
+
time just yet, and I\u2019m always pleased when one sends me an email introduction.
|
96
|
+
I try to support the local scene as much as I\u2019m able without distracting
|
97
|
+
too much from some of th","itunes_link":"http:\/\/hypem.com\/go\/itunes_search\/Broken%20Water"},"11":{"mediaid":"1m9s1","artist":"Youth
|
98
|
+
Mass","title":"Sea Of Green","dateposted":1338521346,"siteid":1365,"sitename":"Faronheit","posturl":"http:\/\/faronheit.com\/2012\/05\/pick-your-poison-thursday-5-31-12\/","postid":1827185,"dateposted_first":1337627694,"siteid_first":348,"sitename_first":"mp3hugger","posturl_first":"http:\/\/www.mp3hugger.com\/2012\/05\/peileton-featuring-youth-mass-sea-of-green\/","postid_first":1816122,"loved_count":5,"posted_count":3,"thumb_url":"http:\/\/static-ak.hypem.net\/images\/albumart2.gif","thumb_url_large":"http:\/\/static-ak.hypem.net\/images\/blog_images\/1365.png","time":240,"description":"Chicago
|
99
|
+
has quite a large number of great local bands that haven\u2019t hit the big
|
100
|
+
time just yet, and I\u2019m always pleased when one sends me an email introduction.
|
101
|
+
I try to support the local scene as much as I\u2019m able without distracting
|
102
|
+
too much from some of th","itunes_link":"http:\/\/hypem.com\/go\/itunes_search\/Youth%20Mass"},"12":{"mediaid":"1kwmh","artist":"Hounds","title":"Fan
|
103
|
+
The Flames Of The Fire","dateposted":1338521332,"siteid":1365,"sitename":"Faronheit","posturl":"http:\/\/faronheit.com\/2012\/05\/pick-your-poison-thursday-5-31-12\/","postid":1827185,"dateposted_first":1336043501,"siteid_first":16581,"sitename_first":"fairlyrandom","posturl_first":"http:\/\/www.fairlyrandom.co.uk\/music\/hounds-fan-the-flames-of-the-fire\/","postid_first":1798363,"loved_count":2,"posted_count":2,"thumb_url":"http:\/\/static-ak.hypem.net\/images\/albumart2.gif","thumb_url_large":"http:\/\/static-ak.hypem.net\/images\/blog_images\/1365.png","time":211,"description":"Chicago
|
104
|
+
has quite a large number of great local bands that haven\u2019t hit the big
|
105
|
+
time just yet, and I\u2019m always pleased when one sends me an email introduction.
|
106
|
+
I try to support the local scene as much as I\u2019m able without distracting
|
107
|
+
too much from some of th","itunes_link":"http:\/\/hypem.com\/go\/itunes_search\/Hounds"},"13":{"mediaid":"1mhh8","artist":"AIMES","title":"Somewhere
|
108
|
+
In Space We Hang Suspended","dateposted":1338521327,"siteid":6764,"sitename":"We
|
109
|
+
All Want Someone To Shout For","posturl":"http:\/\/www.weallwantsomeone.org\/2012\/05\/31\/aimes-somewhere-in-space-we-hang-suspended\/","postid":1827186,"dateposted_first":1338521327,"siteid_first":6764,"sitename_first":"We
|
110
|
+
All Want Someone To Shout For","posturl_first":"http:\/\/www.weallwantsomeone.org\/2012\/05\/31\/aimes-somewhere-in-space-we-hang-suspended\/","postid_first":1827186,"loved_count":0,"posted_count":1,"thumb_url":"http:\/\/static-ak.hypem.net\/thumbs\/6\/1827186.png","thumb_url_large":"http:\/\/static-ak.hypem.net\/thumbs\/6\/1827186_320.png","time":271,"description":"AIMES
|
111
|
+
is back with a new song titled \u201cSomewhere In Space We Hang Suspended\u201d,
|
112
|
+
off of his new EP, Beautiful Decay. If you like tripped out, dreamy electronic
|
113
|
+
music, this man is your go to. The EP is coming June 26 via Synth Records.
|
114
|
+
[mp3]: AIMES \u2013 Somewhere","itunes_link":"http:\/\/hypem.com\/go\/itunes_search\/AIMES"},"14":{"mediaid":"1mdx9","artist":"TRAILS
|
115
|
+
AND WAYS","title":"Nunca","dateposted":1338521310,"siteid":946,"sitename":"Planeta
|
116
|
+
Pop","posturl":"http:\/\/planetapopradio.blogspot.com\/2012\/06\/trails-ways-nunca.html","postid":1827183,"dateposted_first":1338095271,"siteid_first":11376,"sitename_first":"blahblahblahscience","posturl_first":"http:\/\/blahblahblahscience.com\/uncategorized\/trails-and-ways-nunca","postid_first":1822069,"loved_count":2779,"posted_count":17,"thumb_url":"http:\/\/static-ak.hypem.net\/thumbs\/3\/1827183.png","thumb_url_large":"http:\/\/static-ak.hypem.net\/thumbs\/3\/1827183_320.png","time":254,"description":"
|
117
|
+
Nunca, nuevo single de Trails and Ways, grupo de Oakland que aparec\u00eda
|
118
|
+
por primera vez en el blog a principios de mayo. El tema estar\u00e1 incluido
|
119
|
+
en Trilingual, el primer \u00e1lbum de la formaci\u00f3n. ","itunes_link":"http:\/\/hypem.com\/go\/itunes_search\/TRAILS%20AND%20WAYS"},"15":{"mediaid":"1mhh6","artist":"Sabzi","title":"Healthy","dateposted":1338520279,"siteid":10070,"sitename":"Hilly
|
120
|
+
Dilly","posturl":"http:\/\/hillydilly.com\/2012\/05\/31\/sabzi-yesler\/","postid":1827162,"dateposted_first":1338520279,"siteid_first":10070,"sitename_first":"Hilly
|
121
|
+
Dilly","posturl_first":"http:\/\/hillydilly.com\/2012\/05\/31\/sabzi-yesler\/","postid_first":1827162,"loved_count":0,"posted_count":1,"thumb_url":"http:\/\/static-ak.hypem.net\/images\/albumart4.gif","thumb_url_large":"http:\/\/static-ak.hypem.net\/images\/blog_images\/10070.jpg","time":142,"description":"Sabzi
|
122
|
+
There are some artists out there where you can purchase their albums blindly
|
123
|
+
\u2014 Sabzi is one of those artists. You don\u2019t need to hear a preview
|
124
|
+
of Yesler because you already know that Sabzi is ridiculously dope with his
|
125
|
+
beats. Yesler is the third and","itunes_link":"http:\/\/hypem.com\/go\/itunes_search\/Sabzi"},"16":{"mediaid":"1mhh5","artist":"Sabzi","title":"Barney
|
126
|
+
(YERP)","dateposted":1338520269,"siteid":10070,"sitename":"Hilly Dilly","posturl":"http:\/\/hillydilly.com\/2012\/05\/31\/sabzi-yesler\/","postid":1827162,"dateposted_first":1338520269,"siteid_first":10070,"sitename_first":"Hilly
|
127
|
+
Dilly","posturl_first":"http:\/\/hillydilly.com\/2012\/05\/31\/sabzi-yesler\/","postid_first":1827162,"loved_count":0,"posted_count":1,"thumb_url":"http:\/\/static-ak.hypem.net\/images\/albumart4.gif","thumb_url_large":"http:\/\/static-ak.hypem.net\/images\/blog_images\/10070.jpg","time":131,"description":"Sabzi
|
128
|
+
There are some artists out there where you can purchase their albums blindly
|
129
|
+
\u2014 Sabzi is one of those artists. You don\u2019t need to hear a preview
|
130
|
+
of Yesler because you already know that Sabzi is ridiculously dope with his
|
131
|
+
beats. Yesler is the third and","itunes_link":"http:\/\/hypem.com\/go\/itunes_search\/Sabzi"},"17":{"mediaid":"1mhh4","artist":"Sabzi","title":"Hertz
|
132
|
+
Donut","dateposted":1338520259,"siteid":10070,"sitename":"Hilly Dilly","posturl":"http:\/\/hillydilly.com\/2012\/05\/31\/sabzi-yesler\/","postid":1827162,"dateposted_first":1338520259,"siteid_first":10070,"sitename_first":"Hilly
|
133
|
+
Dilly","posturl_first":"http:\/\/hillydilly.com\/2012\/05\/31\/sabzi-yesler\/","postid_first":1827162,"loved_count":0,"posted_count":1,"thumb_url":"http:\/\/static-ak.hypem.net\/images\/albumart3.gif","thumb_url_large":"http:\/\/static-ak.hypem.net\/images\/blog_images\/10070.jpg","time":129,"description":"Sabzi
|
134
|
+
There are some artists out there where you can purchase their albums blindly
|
135
|
+
\u2014 Sabzi is one of those artists. You don\u2019t need to hear a preview
|
136
|
+
of Yesler because you already know that Sabzi is ridiculously dope with his
|
137
|
+
beats. Yesler is the third and","itunes_link":"http:\/\/hypem.com\/go\/itunes_search\/Sabzi"},"18":{"mediaid":"1mhh3","artist":"Sabzi","title":"Baqal","dateposted":1338520238,"siteid":10070,"sitename":"Hilly
|
138
|
+
Dilly","posturl":"http:\/\/hillydilly.com\/2012\/05\/31\/sabzi-yesler\/","postid":1827162,"dateposted_first":1338520238,"siteid_first":10070,"sitename_first":"Hilly
|
139
|
+
Dilly","posturl_first":"http:\/\/hillydilly.com\/2012\/05\/31\/sabzi-yesler\/","postid_first":1827162,"loved_count":0,"posted_count":1,"thumb_url":"http:\/\/static-ak.hypem.net\/images\/albumart2.gif","thumb_url_large":"http:\/\/static-ak.hypem.net\/images\/blog_images\/10070.jpg","time":94,"description":"Sabzi
|
140
|
+
There are some artists out there where you can purchase their albums blindly
|
141
|
+
\u2014 Sabzi is one of those artists. You don\u2019t need to hear a preview
|
142
|
+
of Yesler because you already know that Sabzi is ridiculously dope with his
|
143
|
+
beats. Yesler is the third and","itunes_link":"http:\/\/hypem.com\/go\/itunes_search\/Sabzi"},"19":{"mediaid":"1mhh2","artist":"","title":"","dateposted":1338520218,"siteid":12289,"sitename":"Indie
|
144
|
+
Rock Cafe","posturl":"http:\/\/www.indierockcafe.com\/2012\/05\/diy-artist-of-the-week-thad-kopec\/","postid":1827163,"dateposted_first":1338520218,"siteid_first":12289,"sitename_first":"Indie
|
145
|
+
Rock Cafe","posturl_first":"http:\/\/www.indierockcafe.com\/2012\/05\/diy-artist-of-the-week-thad-kopec\/","postid_first":1827163,"loved_count":1,"posted_count":1,"thumb_url":"http:\/\/static-ak.hypem.net\/thumbs\/3\/1827163.png","thumb_url_large":"http:\/\/static-ak.hypem.net\/thumbs\/3\/1827163_320.png","time":247,"description":"Based
|
146
|
+
in Ocala, Florida, a suburb of Jacksonville, musician, singer and songwriter
|
147
|
+
Thad Kopec started writing and recording music when he was 19 years old. Now
|
148
|
+
at the age of 20, he has written more than 50 songs, and as he said, \u201cdemoed
|
149
|
+
40 of them.\u201d Kopec","itunes_link":"http:\/\/hypem.com\/go\/itunes_search\/"},"20":{"mediaid":"1mhh1","artist":"broken
|
150
|
+
light","title":"Dawn of Nothing","dateposted":1338520198,"siteid":17440,"sitename":"The
|
151
|
+
Noise Is...","posturl":"http:\/\/thenoiseis.net\/2012\/05\/31\/broken-light-dawn-of-nothing\/","postid":1827176,"dateposted_first":1338520198,"siteid_first":17440,"sitename_first":"The
|
152
|
+
Noise Is...","posturl_first":"http:\/\/thenoiseis.net\/2012\/05\/31\/broken-light-dawn-of-nothing\/","postid_first":1827176,"loved_count":0,"posted_count":1,"thumb_url":"http:\/\/static-ak.hypem.net\/thumbs\/6\/1827176.png","thumb_url_large":"http:\/\/static-ak.hypem.net\/thumbs\/6\/1827176_320.png","time":247,"description":"MP3:
|
153
|
+
|| Dawn of Nothing || (Right-click to download) Download: dawn-of-nothing.mp3
|
154
|
+
\/\/<![CDATA[ jQuery(document).on( ''ready as-script-load'', function($) {
|
155
|
+
if ( typeof window.audioshortcode != ''undefined'' ) { audioshortcode.prep(
|
156
|
+
''5376_1'', [''http:\/\/thenoise","itunes_link":"http:\/\/hypem.com\/go\/itunes_search\/broken%20light"},"21":{"mediaid":"1mhh0","artist":"DjKMillz","title":"Somebody
|
157
|
+
That I Used To Know (K Millz & TheFatRat Remix)","dateposted":1338520187,"siteid":10431,"sitename":"Baltimore
|
158
|
+
Club","posturl":"http:\/\/www.baltimore-club.com\/jersey\/gotye-somebody-that-i-used-to-know-k-millz-thefatrat-remix\/","postid":1827155,"dateposted_first":1338520187,"siteid_first":10431,"sitename_first":"Baltimore
|
159
|
+
Club","posturl_first":"http:\/\/www.baltimore-club.com\/jersey\/gotye-somebody-that-i-used-to-know-k-millz-thefatrat-remix\/","postid_first":1827155,"loved_count":1,"posted_count":1,"thumb_url":"http:\/\/static-ak.hypem.net\/thumbs\/5\/1827155.png","thumb_url_large":"http:\/\/static-ak.hypem.net\/thumbs\/5\/1827155_320.png","time":188,"description":"This
|
160
|
+
song is bananas! Can you picture a track that is both Jersey Club & Eletric
|
161
|
+
House at the same time? Well that track is here! Shouts to TheFatRat for co-production.
|
162
|
+
","itunes_link":"http:\/\/hypem.com\/go\/itunes_search\/DjKMillz"},"22":{"mediaid":"1mhgz","artist":"Rescue
|
163
|
+
Ships","title":"''City Life''","dateposted":1338520182,"siteid":17582,"sitename":"Timber
|
164
|
+
and Steel","posturl":"https:\/\/timberandsteel.wordpress.com\/2012\/06\/01\/new-rescue-ships-single-city-life-and-east-coast-tour\/","postid":1827181,"dateposted_first":1338520182,"siteid_first":17582,"sitename_first":"Timber
|
165
|
+
and Steel","posturl_first":"https:\/\/timberandsteel.wordpress.com\/2012\/06\/01\/new-rescue-ships-single-city-life-and-east-coast-tour\/","postid_first":1827181,"loved_count":0,"posted_count":1,"thumb_url":"http:\/\/static-ak.hypem.net\/images\/albumart2.gif","thumb_url_large":"http:\/\/static-ak.hypem.net\/images\/blog_images\/17582.png","time":214,"description":"Image
|
166
|
+
Courtesy of The Rescue Ships There are two names that have become somewhat
|
167
|
+
synonymous with the indie folk scene in Sydney \u2013 Brian Campeau and Elana
|
168
|
+
Stone. Separately you\u2019re likely see them popping up everywhere in Sydney
|
169
|
+
and around the country. But ","itunes_link":"http:\/\/hypem.com\/go\/itunes_search\/Rescue%20Ships"},"23":{"mediaid":"1k8wt","artist":"Dive","title":"How
|
170
|
+
Long Have You Known","dateposted":1338520179,"siteid":16849,"sitename":"Gruff
|
171
|
+
Trade","posturl":"http:\/\/www.grufftrade.org\/2012\/06\/tracks-109-diiv-highlands-psycho-horses.html","postid":1827174,"dateposted_first":1333649368,"siteid_first":152,"sitename_first":"stereogum","posturl_first":"http:\/\/stereogum.com\/994481\/dive-how-long-have-you-known\/mp3s\/","postid_first":1770689,"loved_count":577,"posted_count":45,"thumb_url":"http:\/\/static-ak.hypem.net\/thumbs\/4\/1827174.png","thumb_url_large":"http:\/\/static-ak.hypem.net\/thumbs\/4\/1827174_320.png","time":212,"description":"Untitled
|
172
|
+
Three more tracks today. Sorry once again for being so unregular with the
|
173
|
+
posting. Is''s just so hectic here what with moving and all. The first track
|
174
|
+
comes from DIIV (formally Dive), a band featuring Beach Fossils member Zachary
|
175
|
+
Cole Smith. Their","itunes_link":"http:\/\/hypem.com\/go\/itunes_search\/Dive"},"24":{"mediaid":"1mhgx","artist":"Psycho-horses","title":"The
|
176
|
+
Youth","dateposted":1338520174,"siteid":16849,"sitename":"Gruff Trade","posturl":"http:\/\/www.grufftrade.org\/2012\/06\/tracks-109-diiv-highlands-psycho-horses.html","postid":1827174,"dateposted_first":1338520174,"siteid_first":16849,"sitename_first":"Gruff
|
177
|
+
Trade","posturl_first":"http:\/\/www.grufftrade.org\/2012\/06\/tracks-109-diiv-highlands-psycho-horses.html","postid_first":1827174,"loved_count":0,"posted_count":1,"thumb_url":"http:\/\/static-ak.hypem.net\/thumbs\/4\/1827174.png","thumb_url_large":"http:\/\/static-ak.hypem.net\/thumbs\/4\/1827174_320.png","time":131,"description":"Untitled
|
178
|
+
Three more tracks today. Sorry once again for being so unregular with the
|
179
|
+
posting. Is''s just so hectic here what with moving and all. The first track
|
180
|
+
comes from DIIV (formally Dive), a band featuring Beach Fossils member Zachary
|
181
|
+
Cole Smith. Their","itunes_link":"http:\/\/hypem.com\/go\/itunes_search\/Psycho-horses"},"25":{"mediaid":"1g423","artist":"The
|
182
|
+
Black Keys","title":"Gold On The Ceiling","dateposted":1338520160,"siteid":17117,"sitename":"Dead
|
183
|
+
Horse March","posturl":"http:\/\/www.deadhorsemarch.com\/video-the-black-keys-gold-on-the-ceiling-2\/","postid":1827177,"dateposted_first":1322510108,"siteid_first":12421,"sitename_first":"tiny
|
184
|
+
little rockets.","posturl_first":"http:\/\/rocketshoes.tumblr.com\/post\/13459555082\/i-dont-really-know-what-else-to-say-anymore","postid_first":1650925,"loved_count":5147,"posted_count":24,"thumb_url":"http:\/\/static-ak.hypem.net\/images\/albumart1.gif","thumb_url_large":"http:\/\/static-ak.hypem.net\/images\/blog_images\/17117.png","time":224,"description":"Well\u2026
|
185
|
+
that was\u2026 a music video\u2026 I guess? I\u2019m going to have the weirdest
|
186
|
+
dreams tonight\u2026 -Alex Description: A music video for The Black Keys Gold
|
187
|
+
on the Ceiling \u2022 About: A music video for The Black Keys Gold on the
|
188
|
+
Ceiling \u2022 Copyright Year: 2012 \u2022 Editor: A","itunes_link":"http:\/\/hypem.com\/go\/itunes_search\/The%20Black%20Keys"},"26":{"mediaid":"1mfrc","artist":"Travis
|
189
|
+
Porter","title":"wobble","dateposted":1338520158,"siteid":1009,"sitename":"Discobelle","posturl":"http:\/\/www.discobelle.net\/2012\/06\/01\/travis-porter-wobble-wobble-prod-diplo-dja\/","postid":1827158,"dateposted_first":1338357444,"siteid_first":13700,"sitename_first":"Why
|
190
|
+
FuKK When You Can Dance","posturl_first":"http:\/\/www.whyfukkwhenyoucandance.com\/2012\/05\/late-night-tuesday.html","postid_first":1824564,"loved_count":23,"posted_count":4,"thumb_url":"http:\/\/static-ak.hypem.net\/thumbs\/8\/1827158.png","thumb_url_large":"http:\/\/static-ak.hypem.net\/thumbs\/8\/1827158_320.png","time":131,"description":"Earlier
|
191
|
+
this week, hip hop trio Travis Porter released their debut studio album, From
|
192
|
+
Day 1. The boys from Decatur, GA first made a name for themselves in 2008
|
193
|
+
with Friday-night-at-the-club anthems like \u201cMake It Rain\u201d and \u201cBring
|
194
|
+
It Back,\u201d so this album ha","itunes_link":"http:\/\/hypem.com\/go\/itunes_search\/Travis%20Porter"},"27":{"mediaid":"1mhb0","artist":"Secret
|
195
|
+
Seven","title":"Ty Segall Band- Swag","dateposted":1338520155,"siteid":15146,"sitename":"AwkwardSound","posturl":"http:\/\/www.awkwardsound.com\/2012\/05\/hear-new-sound-ty-segalls-swag-ty.html","postid":1827171,"dateposted_first":1338497916,"siteid_first":205,"sitename_first":"Gorilla
|
196
|
+
Vs. Bear","posturl_first":"http:\/\/www.gorillavsbear.net\/2012\/05\/31\/ty-segall-swag-hannah-lew-of-grass-widow-octopus-via-satellite\/","postid_first":1826888,"loved_count":5,"posted_count":3,"thumb_url":"http:\/\/static-ak.hypem.net\/images\/albumart2.gif","thumb_url_large":"http:\/\/static-ak.hypem.net\/images\/blog_images\/15146.png","time":135,"description":"
|
197
|
+
Noticing a trend here in recent posts? It seems that musicians with their
|
198
|
+
hearts in the garage just can''t seem to sit still. Ty Segall''s plight to
|
199
|
+
amass an ongoing collection of new material was among the first whose frequent
|
200
|
+
recording habits was chronic","itunes_link":"http:\/\/hypem.com\/go\/itunes_search\/Secret%20Seven"},"28":{"mediaid":"1mf5v","artist":"Ty
|
201
|
+
Segall Band","title":"I Bought My Eyes","dateposted":1338520152,"siteid":15146,"sitename":"AwkwardSound","posturl":"http:\/\/www.awkwardsound.com\/2012\/05\/hear-new-sound-ty-segalls-swag-ty.html","postid":1827171,"dateposted_first":1338300573,"siteid_first":4436,"sitename_first":"Consequence
|
202
|
+
of Sound","posturl_first":"http:\/\/consequenceofsound.net\/2012\/05\/check-out-ty-segall-band-i-bought-my-eyes\/","postid_first":1823620,"loved_count":23,"posted_count":13,"thumb_url":"http:\/\/static-ak.hypem.net\/images\/albumart4.gif","thumb_url_large":"http:\/\/static-ak.hypem.net\/images\/blog_images\/15146.png","time":255,"description":"
|
203
|
+
Noticing a trend here in recent posts? It seems that musicians with their
|
204
|
+
hearts in the garage just can''t seem to sit still. Ty Segall''s plight to
|
205
|
+
amass an ongoing collection of new material was among the first whose frequent
|
206
|
+
recording habits was chronic","itunes_link":"http:\/\/hypem.com\/go\/itunes_search\/Ty%20Segall%20Band"},"29":{"mediaid":"1mhgr","artist":"SUNLESS
|
207
|
+
''97","title":"Azul","dateposted":1338520149,"siteid":17715,"sitename":"The
|
208
|
+
Up-Turn","posturl":"http:\/\/theup-turn.com\/2012\/05\/31\/mp3-sunless-97-azul\/","postid":1827179,"dateposted_first":1338520149,"siteid_first":17715,"sitename_first":"The
|
209
|
+
Up-Turn","posturl_first":"http:\/\/theup-turn.com\/2012\/05\/31\/mp3-sunless-97-azul\/","postid_first":1827179,"loved_count":0,"posted_count":1,"thumb_url":"http:\/\/static-ak.hypem.net\/thumbs\/9\/1827179.png","thumb_url_large":"http:\/\/static-ak.hypem.net\/thumbs\/9\/1827179_320.png","time":370,"description":"Sunless
|
210
|
+
\u201997 has been building some steady buzz across the blogosphere since I
|
211
|
+
first dug into their rich sound. And while their new jam \u2018Azul\u2019
|
212
|
+
isn\u2019t as instantly catchy as \u2018Body Weather\u2019 the slow-burner
|
213
|
+
manages to recapture the same fresh sound that made t","itunes_link":"http:\/\/hypem.com\/go\/itunes_search\/SUNLESS%20''97"}}'
|
224
214
|
http_version:
|
225
|
-
recorded_at:
|
226
|
-
recorded_with: VCR 2.
|
215
|
+
recorded_at: Fri, 01 Jun 2012 04:58:47 GMT
|
216
|
+
recorded_with: VCR 2.1.1
|
data/lib/hypem/blog.rb
CHANGED
@@ -21,6 +21,7 @@ module Hypem
|
|
21
21
|
end
|
22
22
|
|
23
23
|
def update_from_response(rsp)
|
24
|
+
@id ||= rsp[:site_id]
|
24
25
|
@blog_image ||= rsp['blog_image']
|
25
26
|
@blog_image_small ||= rsp['blog_image_small']
|
26
27
|
@followers ||= rsp['followers']
|
@@ -34,5 +35,10 @@ module Hypem
|
|
34
35
|
@last_posted ||= Time.at(rsp['last_posted']) unless rsp['last_posted'].nil?
|
35
36
|
|
36
37
|
end
|
38
|
+
|
39
|
+
def self.all
|
40
|
+
response = Request.new("/api/get_all_blogs").tap(&:get).response.body
|
41
|
+
response.map { |b| self.new.tap {|blog| blog.update_from_response(b) } }
|
42
|
+
end
|
37
43
|
end
|
38
44
|
end
|
data/lib/hypem/playlist.rb
CHANGED
@@ -1,7 +1,6 @@
|
|
1
1
|
module Hypem
|
2
2
|
class Playlist
|
3
3
|
POPULAR_ARGS = [%s(3day),:lastweek,:noremix,:artists,:twitter]
|
4
|
-
GENERIC_METHODS = [:blog, :search, :artist, :feed, :loved, :obsessed]
|
5
4
|
attr_accessor :path, :tracks
|
6
5
|
attr_reader :extended
|
7
6
|
|
@@ -40,8 +39,9 @@ module Hypem
|
|
40
39
|
return Hypem::ROOT_PATH + playlist.path
|
41
40
|
end
|
42
41
|
|
43
|
-
def self.latest(page=nil)
|
44
|
-
|
42
|
+
def self.latest(filter=:all,page=nil)
|
43
|
+
raise ArgumentError unless [:all, :noremix, :remix, :fresh].include? filter
|
44
|
+
Playlist.new(:latest,filter,page).tap(&:get)
|
45
45
|
end
|
46
46
|
|
47
47
|
def self.popular(arg=POPULAR_ARGS.first,page=nil)
|
@@ -64,6 +64,7 @@ module Hypem
|
|
64
64
|
end
|
65
65
|
|
66
66
|
|
67
|
+
GENERIC_METHODS = [:blog, :search, :artist, :feed, :loved, :obsessed]
|
67
68
|
# meta method definitions for generic playlists
|
68
69
|
GENERIC_METHODS.each do |method|
|
69
70
|
define_singleton_method(method) do |arg,page=nil|
|
data/lib/hypem/version.rb
CHANGED
data/spec/blog_spec.rb
CHANGED
@@ -6,13 +6,7 @@ describe Hypem::Blog do
|
|
6
6
|
Hypem::Blog.new(4632)
|
7
7
|
end
|
8
8
|
|
9
|
-
|
10
|
-
blog.should be_a Hypem::Blog
|
11
|
-
end
|
12
|
-
|
13
|
-
it "sets id attribute" do
|
14
|
-
blog.id.should == 4632
|
15
|
-
end
|
9
|
+
specify { blog.id.should == 4632 }
|
16
10
|
|
17
11
|
it "converts strings to integers" do
|
18
12
|
Hypem::Blog.new('4632').id.should === 4632
|
@@ -39,6 +33,12 @@ describe Hypem::Blog do
|
|
39
33
|
end
|
40
34
|
|
41
35
|
end
|
36
|
+
|
37
|
+
describe ".all" do
|
38
|
+
subject { VCR.use_cassette('blog_all') { described_class.all } }
|
39
|
+
it { should be_an Array }
|
40
|
+
its(:first) { should be_a described_class }
|
41
|
+
end
|
42
42
|
end
|
43
43
|
|
44
44
|
end
|