fbgraph 0.0.8 → 0.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Rakefile +1 -1
- data/fbgraph.gemspec +2 -2
- data/lib/fbgraph.rb +1 -1
- data/specs/lib/fbauth/base_spec.rb +7 -0
- data/specs/spec_helper.rb +1 -0
- data.tar.gz.sig +0 -0
- metadata +3 -3
- metadata.gz.sig +0 -0
data/Rakefile
CHANGED
data/fbgraph.gemspec
CHANGED
@@ -2,12 +2,12 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{fbgraph}
|
5
|
-
s.version = "0.0.
|
5
|
+
s.version = "0.0.9"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["Nicolas Santa"]
|
9
9
|
s.cert_chain = ["/home/nicolas/certs/gem-public_cert.pem"]
|
10
|
-
s.date = %q{2010-05-
|
10
|
+
s.date = %q{2010-05-31}
|
11
11
|
s.description = %q{A Gem for Facebook Open Graph API}
|
12
12
|
s.email = %q{nicolas55ar@gmail.com}
|
13
13
|
s.extra_rdoc_files = ["README", "README.textile", "TODO.list", "lib/fbgraph.rb", "lib/fbgraph/authorization.rb", "lib/fbgraph/base.rb", "lib/fbgraph/client.rb", "lib/fbgraph/realtime.rb", "lib/fbgraph/search.rb", "lib/fbgraph/selection.rb"]
|
data/lib/fbgraph.rb
CHANGED
@@ -75,6 +75,13 @@ describe FBGraph do
|
|
75
75
|
@base.info!(false)
|
76
76
|
end
|
77
77
|
|
78
|
+
it "should parse the result by default" do
|
79
|
+
uri = "/123"
|
80
|
+
@base.find('123')
|
81
|
+
@client.consumer.stub!(:get).with(uri).and_return('{"me": [1, 2]}')
|
82
|
+
@base.info!.me.should == [1, 2]
|
83
|
+
end
|
84
|
+
|
78
85
|
describe 'when a connection is passed' do
|
79
86
|
it 'should request with the path "/123/home"' do
|
80
87
|
uri = "/123/home"
|
data/specs/spec_helper.rb
CHANGED
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
version: 0.0.
|
8
|
+
- 9
|
9
|
+
version: 0.0.9
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Nicolas Santa
|
@@ -35,7 +35,7 @@ cert_chain:
|
|
35
35
|
urUszHKBS/vEBMuC
|
36
36
|
-----END CERTIFICATE-----
|
37
37
|
|
38
|
-
date: 2010-05-
|
38
|
+
date: 2010-05-31 00:00:00 -03:00
|
39
39
|
default_executable:
|
40
40
|
dependencies:
|
41
41
|
- !ruby/object:Gem::Dependency
|
metadata.gz.sig
CHANGED
Binary file
|