fbgraph 1.5.4 → 1.6.0
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/fbgraph.gemspec +2 -14
- data/lib/fbgraph/selection.rb +5 -2
- metadata +5 -5
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.6.0
|
data/fbgraph.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{fbgraph}
|
8
|
-
s.version = "1.
|
8
|
+
s.version = "1.6.0"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Nicolas Santa"]
|
12
|
-
s.date = %q{2010-12-
|
12
|
+
s.date = %q{2010-12-17}
|
13
13
|
s.description = %q{A Gem for Facebook Open Graph API}
|
14
14
|
s.email = %q{nicolas55ar@gmail.com}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -65,18 +65,6 @@ Gem::Specification.new do |s|
|
|
65
65
|
s.add_development_dependency(%q<rspec>, [">= 0"])
|
66
66
|
s.add_development_dependency(%q<rcov>, [">= 0"])
|
67
67
|
s.add_development_dependency(%q<redgreen>, [">= 0"])
|
68
|
-
s.add_runtime_dependency(%q<activesupport>, [">= 0"])
|
69
|
-
s.add_runtime_dependency(%q<hashie>, [">= 0"])
|
70
|
-
s.add_runtime_dependency(%q<oauth2>, [">= 0"])
|
71
|
-
s.add_runtime_dependency(%q<json>, [">= 0"])
|
72
|
-
s.add_runtime_dependency(%q<rest-client>, [">= 0"])
|
73
|
-
s.add_development_dependency(%q<jeweler>, [">= 0"])
|
74
|
-
s.add_development_dependency(%q<rake>, [">= 0"])
|
75
|
-
s.add_development_dependency(%q<bundler>, [">= 0"])
|
76
|
-
s.add_development_dependency(%q<fakeweb>, [">= 0"])
|
77
|
-
s.add_development_dependency(%q<rspec>, [">= 0"])
|
78
|
-
s.add_development_dependency(%q<rcov>, [">= 0"])
|
79
|
-
s.add_development_dependency(%q<redgreen>, [">= 0"])
|
80
68
|
else
|
81
69
|
s.add_dependency(%q<activesupport>, [">= 0"])
|
82
70
|
s.add_dependency(%q<hashie>, [">= 0"])
|
data/lib/fbgraph/selection.rb
CHANGED
@@ -1,14 +1,17 @@
|
|
1
1
|
module FBGraph
|
2
2
|
class Selection < Base
|
3
3
|
|
4
|
-
OBJECTS = %w(user album event group link note page photo post status
|
4
|
+
OBJECTS = %w(user album event group link note page photo post status
|
5
|
+
video comment checkin friendlist thread).freeze
|
5
6
|
|
6
7
|
CONNECTION_TYPES = %w(home photos comments feed noreply
|
7
8
|
maybe invited attending declined picture
|
8
9
|
members tagged links groups albums
|
9
10
|
statuses videos notes posts events friends
|
10
11
|
activities interests music books movies television
|
11
|
-
likes inbox outbox updates accounts checkins
|
12
|
+
likes inbox outbox updates accounts checkins
|
13
|
+
friendlists platformrequests threads participants
|
14
|
+
former_participants senders messages insights subscriptions).freeze
|
12
15
|
|
13
16
|
OBJECTS.each do |object|
|
14
17
|
class_eval <<-METHOD
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fbgraph
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 15
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
|
-
-
|
9
|
-
-
|
10
|
-
version: 1.
|
8
|
+
- 6
|
9
|
+
- 0
|
10
|
+
version: 1.6.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Nicolas Santa
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-12-
|
18
|
+
date: 2010-12-17 00:00:00 -03:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|