orkut 0.0.0.22 → 0.0.0.23
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/orkut/client/messages.rb +1 -1
- data/lib/orkut/client/people.rb +1 -0
- data/lib/orkut/version.rb +1 -1
- metadata +6 -6
@@ -7,7 +7,7 @@ module Orkut
|
|
7
7
|
include Base
|
8
8
|
|
9
9
|
def post_message(options={})
|
10
|
-
raise(Orkut::Error, "Parameters
|
10
|
+
raise(Orkut::Error, "Parameters body cannot be nil") if options[:body].blank?
|
11
11
|
params = [{
|
12
12
|
Orkut::Constants::Fields::PARAMS => {
|
13
13
|
Orkut::Constants::Fields::GROUP_ID => Orkut::Constants::Group::SELF,
|
data/lib/orkut/client/people.rb
CHANGED
@@ -26,6 +26,7 @@ module Orkut
|
|
26
26
|
MultiJson.decode(post_v1(nil, params.to_s, default_headers).body)
|
27
27
|
end
|
28
28
|
|
29
|
+
#[{"id"=>"1-people.get", "data"=>{"gender"=>"male", "status"=>"Realização de Testes via Agregador", "profileUrl"=>"/Profile.aspx?uid=143766589716977679&mt=os", "addresses"=>[{"region"=>"São Paulo", "locality"=>"São Paulo", "type"=>"currentLocation", "country"=>"BR"}], "isViewer"=>true, "id"=>"13930868467330630793", "thumbnailUrl"=>"http://img6.orkut.com/images/small/662/5462662.jpg", "name"=>{"familyName"=>"Bersani Pereira", "givenName"=>"Ygor Eduardo"}, "currentLocation"=>{"region"=>"São Paulo", "locality"=>"São Paulo", "longitude"=>0.0, "latitude"=>0.0, "type"=>"currentLocation", "country"=>"BR"}}}]
|
29
30
|
def get_person_full_profile(options={})
|
30
31
|
params = [{
|
31
32
|
Orkut::Constants::Fields::PARAMS => {
|
data/lib/orkut/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: orkut
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.0.
|
4
|
+
version: 0.0.0.23
|
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-11-
|
12
|
+
date: 2011-11-09 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: omniauth
|
16
|
-
requirement: &
|
16
|
+
requirement: &25284920 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: 0.3.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *25284920
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: multi_json
|
27
|
-
requirement: &
|
27
|
+
requirement: &25284300 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,7 +32,7 @@ dependencies:
|
|
32
32
|
version: '0'
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *25284300
|
36
36
|
description: A Ruby wrapper for the Orkut REST/RPC API.
|
37
37
|
email:
|
38
38
|
- contato@umanni.com
|