doing_stream 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
@@ -13,11 +13,9 @@ module DoingStream
|
|
13
13
|
class Streams::Vimeo::Likes < Stream::JSONStream
|
14
14
|
URI = 'http://vimeo.com/api/v2/<%= user %>/likes.json'
|
15
15
|
|
16
|
-
def name; 'vimeo'; end
|
17
|
-
|
18
16
|
class Entry < Stream::Entry
|
19
17
|
def published
|
20
|
-
Time.
|
18
|
+
Time.parse data['liked_on']
|
21
19
|
end
|
22
20
|
end
|
23
21
|
end
|
@@ -25,11 +23,9 @@ module DoingStream
|
|
25
23
|
class Streams::Vimeo::Videos < Stream::JSONStream
|
26
24
|
URI = 'http://vimeo.com/api/v2/<%= user %>/videos.json'
|
27
25
|
|
28
|
-
def name; 'vimeo'; end
|
29
|
-
|
30
26
|
class Entry < Stream::Entry
|
31
27
|
def published
|
32
|
-
Time.
|
28
|
+
Time.parse data['upload_date']
|
33
29
|
end
|
34
30
|
end
|
35
31
|
end
|
data/lib/doing_stream/version.rb
CHANGED