delicious-cli 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/delicious-cli/api.rb +5 -1
- metadata +4 -4
data/lib/delicious-cli/api.rb
CHANGED
@@ -20,7 +20,11 @@ class Delicious
|
|
20
20
|
|
21
21
|
def self.posts_all(options={})
|
22
22
|
result = get('/posts/all', :query=>options)
|
23
|
-
|
23
|
+
begin
|
24
|
+
[result["posts"]["post"]].flatten
|
25
|
+
rescue
|
26
|
+
[]
|
27
|
+
end
|
24
28
|
end
|
25
29
|
|
26
30
|
def self.posts_since(time_string)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: delicious-cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2011-12-
|
12
|
+
date: 2011-12-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: httparty
|
16
|
-
requirement: &
|
16
|
+
requirement: &84893560 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,7 +21,7 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *84893560
|
25
25
|
description: A commandline tool which lets you download all your delicious.com links
|
26
26
|
and search them (with pretty color-coded results).
|
27
27
|
email: chris@ill-logic.com
|