doesopengraph 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +9 -8
- metadata +49 -57
data/README.rdoc
CHANGED
@@ -13,8 +13,9 @@ when you instantiate an object of the GraphAPI. This makes the library ideal for
|
|
13
13
|
in ruby applications and scripts of all types, not just in rails.
|
14
14
|
|
15
15
|
If you are interested in full configuration for, say, a rails app, you can pair up
|
16
|
-
with DoesFacebook,
|
17
|
-
convenience methods to controllers and
|
16
|
+
with DoesFacebook[https://github.com/awexome/doesfacebook], our library for parsing
|
17
|
+
signed requests from Facebook and providing convenience methods to controllers and
|
18
|
+
views.
|
18
19
|
|
19
20
|
== Installation
|
20
21
|
|
@@ -24,11 +25,11 @@ To install the gem, do the usual:
|
|
24
25
|
|
25
26
|
If you plan on using DoesOpenGraph in a project with a Gemfile:
|
26
27
|
|
27
|
-
gem "doesopengraph"
|
28
|
+
gem "doesopengraph"
|
28
29
|
|
29
30
|
You can live on the edge, too, if you like:
|
30
31
|
|
31
|
-
gem "doesopengraph",
|
32
|
+
gem "doesopengraph", :git=>"git://github.com/awexome/doesopengraph.git"
|
32
33
|
|
33
34
|
|
34
35
|
== Example Usage
|
@@ -57,7 +58,7 @@ containing attributes from the graph document. You can access these attributes d
|
|
57
58
|
node.picture
|
58
59
|
=> "http://profile.ak.fbcdn.net/hprofile-ak-snc4/71177_87169796810_7868331_s.jpg"
|
59
60
|
|
60
|
-
Not bad
|
61
|
+
Not bad! You may also notice that the returned GraphNode object contains a reference to
|
61
62
|
the GraphAPI object that was used to access it. This allows you to run a reload on the
|
62
63
|
node just as if it were an ActiveRecord object. Reloading will pull the latest content
|
63
64
|
from the Open Graph and update your local object. So if someone had come along and liked
|
@@ -113,8 +114,8 @@ GraphAPI object with it for easy-access:
|
|
113
114
|
|
114
115
|
With a privileged API client, you can now expose the following methods of the API:
|
115
116
|
|
116
|
-
api.node() # just like before, but with more info;
|
117
|
-
api.update() # alter and add data;
|
117
|
+
api.node() # just like before, but with more info; aliased as api.get()
|
118
|
+
api.update() # alter and add data; aliased as api.post()
|
118
119
|
api.delete() # delete something from the graph (a post, connection, or node)
|
119
120
|
api.search() # search the entire open graph
|
120
121
|
|
@@ -123,6 +124,6 @@ Explore and enjoy!
|
|
123
124
|
|
124
125
|
== Copyright
|
125
126
|
|
126
|
-
Copyright (C) 2011 by Awexome Labs, LLC
|
127
|
+
Copyright (C) 2011-12 by Awexome Labs, LLC
|
127
128
|
http://awexomelabs.com
|
128
129
|
|
metadata
CHANGED
@@ -1,105 +1,97 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: doesopengraph
|
3
|
-
version: !ruby/object:Gem::Version
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.2.1
|
4
5
|
prerelease:
|
5
|
-
version: 0.2.0
|
6
6
|
platform: ruby
|
7
|
-
authors:
|
7
|
+
authors:
|
8
8
|
- mccolin
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
dependencies:
|
16
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2012-03-10 00:00:00.000000000Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
17
15
|
name: typhoeus
|
18
|
-
requirement: &
|
16
|
+
requirement: &2168473640 !ruby/object:Gem::Requirement
|
19
17
|
none: false
|
20
|
-
requirements:
|
21
|
-
- -
|
22
|
-
- !ruby/object:Gem::Version
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
23
21
|
version: 0.2.0
|
24
22
|
type: :runtime
|
25
23
|
prerelease: false
|
26
|
-
version_requirements: *
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
29
|
-
requirement: &
|
24
|
+
version_requirements: *2168473640
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: hashie
|
27
|
+
requirement: &2168473040 !ruby/object:Gem::Requirement
|
30
28
|
none: false
|
31
|
-
requirements:
|
32
|
-
- -
|
33
|
-
- !ruby/object:Gem::Version
|
34
|
-
version:
|
35
|
-
type: :
|
29
|
+
requirements:
|
30
|
+
- - ! '>='
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '0'
|
33
|
+
type: :runtime
|
36
34
|
prerelease: false
|
37
|
-
version_requirements: *
|
38
|
-
- !ruby/object:Gem::Dependency
|
35
|
+
version_requirements: *2168473040
|
36
|
+
- !ruby/object:Gem::Dependency
|
39
37
|
name: jeweler
|
40
|
-
requirement: &
|
38
|
+
requirement: &2168472540 !ruby/object:Gem::Requirement
|
41
39
|
none: false
|
42
|
-
requirements:
|
40
|
+
requirements:
|
43
41
|
- - ~>
|
44
|
-
- !ruby/object:Gem::Version
|
45
|
-
version: 1.
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: 1.8.3
|
46
44
|
type: :development
|
47
45
|
prerelease: false
|
48
|
-
version_requirements: *
|
49
|
-
- !ruby/object:Gem::Dependency
|
46
|
+
version_requirements: *2168472540
|
47
|
+
- !ruby/object:Gem::Dependency
|
50
48
|
name: typhoeus
|
51
|
-
requirement: &
|
49
|
+
requirement: &2168472060 !ruby/object:Gem::Requirement
|
52
50
|
none: false
|
53
|
-
requirements:
|
54
|
-
- -
|
55
|
-
- !ruby/object:Gem::Version
|
51
|
+
requirements:
|
52
|
+
- - ! '>='
|
53
|
+
- !ruby/object:Gem::Version
|
56
54
|
version: 0.2.0
|
57
55
|
type: :runtime
|
58
56
|
prerelease: false
|
59
|
-
version_requirements: *
|
60
|
-
description: Content-type-agnostic library for accessing and manipulating the Facebook
|
57
|
+
version_requirements: *2168472060
|
58
|
+
description: Content-type-agnostic library for accessing and manipulating the Facebook
|
59
|
+
OpenGraph with all major methods and search
|
61
60
|
email: info@awexomelabs.com
|
62
61
|
executables: []
|
63
|
-
|
64
62
|
extensions: []
|
65
|
-
|
66
|
-
extra_rdoc_files:
|
63
|
+
extra_rdoc_files:
|
67
64
|
- LICENSE
|
68
65
|
- README.rdoc
|
69
|
-
files:
|
66
|
+
files:
|
70
67
|
- lib/doesopengraph.rb
|
71
68
|
- lib/doesopengraph/graph_api.rb
|
72
69
|
- lib/doesopengraph/graph_request.rb
|
73
70
|
- lib/doesopengraph/graph_response.rb
|
74
71
|
- LICENSE
|
75
72
|
- README.rdoc
|
76
|
-
has_rdoc: true
|
77
73
|
homepage: http://awexomelabs.com/
|
78
74
|
licenses: []
|
79
|
-
|
80
75
|
post_install_message:
|
81
76
|
rdoc_options: []
|
82
|
-
|
83
|
-
require_paths:
|
77
|
+
require_paths:
|
84
78
|
- lib
|
85
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
79
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
86
80
|
none: false
|
87
|
-
requirements:
|
88
|
-
- -
|
89
|
-
- !ruby/object:Gem::Version
|
90
|
-
version:
|
91
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
81
|
+
requirements:
|
82
|
+
- - ! '>='
|
83
|
+
- !ruby/object:Gem::Version
|
84
|
+
version: '0'
|
85
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
92
86
|
none: false
|
93
|
-
requirements:
|
94
|
-
- -
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version:
|
87
|
+
requirements:
|
88
|
+
- - ! '>='
|
89
|
+
- !ruby/object:Gem::Version
|
90
|
+
version: '0'
|
97
91
|
requirements: []
|
98
|
-
|
99
92
|
rubyforge_project:
|
100
|
-
rubygems_version: 1.
|
93
|
+
rubygems_version: 1.8.17
|
101
94
|
signing_key:
|
102
95
|
specification_version: 3
|
103
96
|
summary: The Awexome Labs library for accessing and manipulating the Facebook OpenGraph
|
104
97
|
test_files: []
|
105
|
-
|