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.
@@ -7,7 +7,7 @@ module Orkut
7
7
  include Base
8
8
 
9
9
  def post_message(options={})
10
- raise(Orkut::Error, "Parameters title and body cannot be nil") if options[:title].blank? and options[:body].blank?
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,
@@ -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
@@ -14,7 +14,7 @@ module Orkut
14
14
  end
15
15
 
16
16
  def self.pre
17
- 22 #nil
17
+ 23 #nil
18
18
  end
19
19
 
20
20
  def self.to_s
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.22
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-08 00:00:00.000000000Z
12
+ date: 2011-11-09 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: omniauth
16
- requirement: &19729680 !ruby/object:Gem::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: *19729680
24
+ version_requirements: *25284920
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: multi_json
27
- requirement: &19729080 !ruby/object:Gem::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: *19729080
35
+ version_requirements: *25284300
36
36
  description: A Ruby wrapper for the Orkut REST/RPC API.
37
37
  email:
38
38
  - contato@umanni.com