umanni-picasa 0.0.0.3 → 0.0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/picasa/client/gallery.rb +3 -1
- data/lib/picasa/version.rb +1 -1
- data/picasa.gemspec +1 -0
- metadata +16 -5
@@ -1,4 +1,5 @@
|
|
1
1
|
require 'picasa/client/base'
|
2
|
+
require 'multi_json'
|
2
3
|
|
3
4
|
module Picasa
|
4
5
|
class Client
|
@@ -10,7 +11,8 @@ module Picasa
|
|
10
11
|
status, headers, body = response
|
11
12
|
case status
|
12
13
|
when 200
|
13
|
-
|
14
|
+
galleries = MultiJson.decode(body.first)
|
15
|
+
return galleries["feed"]["entry"]
|
14
16
|
else
|
15
17
|
raise(StandardError, "#{status.to_s} - #{body.to_s}")
|
16
18
|
end
|
data/lib/picasa/version.rb
CHANGED
data/picasa.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: umanni-picasa
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.0.
|
4
|
+
version: 0.0.0.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2011-12-15 00:00:00.000000000Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: signet
|
16
|
-
requirement: &
|
16
|
+
requirement: &17589460 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: 0.2.4
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *17589460
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: umanni-multipart-post
|
27
|
-
requirement: &
|
27
|
+
requirement: &17567700 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,7 +32,18 @@ dependencies:
|
|
32
32
|
version: '0'
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *17567700
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: multi_json
|
38
|
+
requirement: &17565820 !ruby/object:Gem::Requirement
|
39
|
+
none: false
|
40
|
+
requirements:
|
41
|
+
- - ! '>='
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '0'
|
44
|
+
type: :runtime
|
45
|
+
prerelease: false
|
46
|
+
version_requirements: *17565820
|
36
47
|
description: A Ruby wrapper for the Picasa Web API.
|
37
48
|
email:
|
38
49
|
- contato@umanni.com
|