tenderlove-facebooker 1.0.16.20090319151701
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.rdoc +17 -0
- data/COPYING.rdoc +19 -0
- data/Manifest.txt +123 -0
- data/README.rdoc +103 -0
- data/Rakefile +86 -0
- data/TODO.rdoc +4 -0
- data/examples/desktop_login.rb +14 -0
- data/facebooker.gemspec +38 -0
- data/generators/facebook/facebook_generator.rb +14 -0
- data/generators/facebook/templates/config/facebooker.yml +46 -0
- data/generators/facebook/templates/public/javascripts/facebooker.js +99 -0
- data/generators/facebook_controller/USAGE +33 -0
- data/generators/facebook_controller/facebook_controller_generator.rb +40 -0
- data/generators/facebook_controller/templates/controller.rb +7 -0
- data/generators/facebook_controller/templates/functional_test.rb +11 -0
- data/generators/facebook_controller/templates/helper.rb +2 -0
- data/generators/facebook_controller/templates/view.fbml.erb +2 -0
- data/generators/facebook_controller/templates/view.html.erb +2 -0
- data/generators/facebook_publisher/facebook_publisher_generator.rb +14 -0
- data/generators/facebook_publisher/templates/create_facebook_templates.rb +15 -0
- data/generators/facebook_publisher/templates/publisher.rb +3 -0
- data/generators/facebook_scaffold/USAGE +27 -0
- data/generators/facebook_scaffold/facebook_scaffold_generator.rb +118 -0
- data/generators/facebook_scaffold/templates/controller.rb +93 -0
- data/generators/facebook_scaffold/templates/facebook_style.css +2579 -0
- data/generators/facebook_scaffold/templates/functional_test.rb +89 -0
- data/generators/facebook_scaffold/templates/helper.rb +2 -0
- data/generators/facebook_scaffold/templates/layout.fbml.erb +6 -0
- data/generators/facebook_scaffold/templates/layout.html.erb +17 -0
- data/generators/facebook_scaffold/templates/style.css +74 -0
- data/generators/facebook_scaffold/templates/view_edit.fbml.erb +13 -0
- data/generators/facebook_scaffold/templates/view_edit.html.erb +18 -0
- data/generators/facebook_scaffold/templates/view_index.fbml.erb +24 -0
- data/generators/facebook_scaffold/templates/view_index.html.erb +24 -0
- data/generators/facebook_scaffold/templates/view_new.fbml.erb +12 -0
- data/generators/facebook_scaffold/templates/view_new.html.erb +17 -0
- data/generators/facebook_scaffold/templates/view_show.fbml.erb +10 -0
- data/generators/facebook_scaffold/templates/view_show.html.erb +10 -0
- data/generators/publisher/publisher_generator.rb +14 -0
- data/generators/xd_receiver/templates/xd_receiver.html +10 -0
- data/generators/xd_receiver/xd_receiver_generator.rb +9 -0
- data/init.rb +72 -0
- data/install.rb +12 -0
- data/lib/facebooker/adapters/adapter_base.rb +87 -0
- data/lib/facebooker/adapters/bebo_adapter.rb +75 -0
- data/lib/facebooker/adapters/facebook_adapter.rb +52 -0
- data/lib/facebooker/admin.rb +42 -0
- data/lib/facebooker/batch_request.rb +44 -0
- data/lib/facebooker/data.rb +57 -0
- data/lib/facebooker/feed.rb +78 -0
- data/lib/facebooker/logging.rb +51 -0
- data/lib/facebooker/mobile.rb +20 -0
- data/lib/facebooker/mock/service.rb +50 -0
- data/lib/facebooker/mock/session.rb +18 -0
- data/lib/facebooker/model.rb +135 -0
- data/lib/facebooker/models/affiliation.rb +10 -0
- data/lib/facebooker/models/album.rb +11 -0
- data/lib/facebooker/models/applicationproperties.rb +39 -0
- data/lib/facebooker/models/applicationrestrictions.rb +10 -0
- data/lib/facebooker/models/cookie.rb +10 -0
- data/lib/facebooker/models/education_info.rb +11 -0
- data/lib/facebooker/models/event.rb +28 -0
- data/lib/facebooker/models/friend_list.rb +16 -0
- data/lib/facebooker/models/group.rb +36 -0
- data/lib/facebooker/models/info_item.rb +10 -0
- data/lib/facebooker/models/info_section.rb +10 -0
- data/lib/facebooker/models/location.rb +8 -0
- data/lib/facebooker/models/notifications.rb +17 -0
- data/lib/facebooker/models/page.rb +27 -0
- data/lib/facebooker/models/photo.rb +12 -0
- data/lib/facebooker/models/tag.rb +12 -0
- data/lib/facebooker/models/user.rb +426 -0
- data/lib/facebooker/models/video.rb +9 -0
- data/lib/facebooker/models/work_info.rb +9 -0
- data/lib/facebooker/parser.rb +589 -0
- data/lib/facebooker/rails/controller.rb +304 -0
- data/lib/facebooker/rails/cucumber/world.rb +46 -0
- data/lib/facebooker/rails/cucumber.rb +28 -0
- data/lib/facebooker/rails/facebook_form_builder.rb +112 -0
- data/lib/facebooker/rails/facebook_pretty_errors.rb +22 -0
- data/lib/facebooker/rails/facebook_request_fix.rb +24 -0
- data/lib/facebooker/rails/facebook_session_handling.rb +69 -0
- data/lib/facebooker/rails/facebook_url_helper.rb +192 -0
- data/lib/facebooker/rails/facebook_url_rewriting.rb +39 -0
- data/lib/facebooker/rails/helpers/fb_connect.rb +89 -0
- data/lib/facebooker/rails/helpers.rb +762 -0
- data/lib/facebooker/rails/integration_session.rb +38 -0
- data/lib/facebooker/rails/profile_publisher_extensions.rb +42 -0
- data/lib/facebooker/rails/publisher.rb +526 -0
- data/lib/facebooker/rails/routing.rb +49 -0
- data/lib/facebooker/rails/test_helpers.rb +68 -0
- data/lib/facebooker/rails/utilities.rb +22 -0
- data/lib/facebooker/server_cache.rb +24 -0
- data/lib/facebooker/service.rb +94 -0
- data/lib/facebooker/session.rb +584 -0
- data/lib/facebooker/version.rb +9 -0
- data/lib/facebooker.rb +174 -0
- data/lib/net/http_multipart_post.rb +123 -0
- data/lib/tasks/facebooker.rake +18 -0
- data/lib/tasks/tunnel.rake +46 -0
- data/rails/init.rb +1 -0
- data/setup.rb +1585 -0
- data/templates/layout.erb +24 -0
- data/test/facebooker/adapters_test.rb +96 -0
- data/test/facebooker/admin_test.rb +102 -0
- data/test/facebooker/batch_request_test.rb +83 -0
- data/test/facebooker/data_test.rb +86 -0
- data/test/facebooker/logging_test.rb +43 -0
- data/test/facebooker/mobile_test.rb +45 -0
- data/test/facebooker/model_test.rb +123 -0
- data/test/facebooker/models/event_test.rb +15 -0
- data/test/facebooker/models/user_test.rb +295 -0
- data/test/facebooker/rails/publisher_test.rb +452 -0
- data/test/facebooker/rails_integration_test.rb +1312 -0
- data/test/facebooker/server_cache_test.rb +44 -0
- data/test/facebooker/session_test.rb +614 -0
- data/test/facebooker_test.rb +925 -0
- data/test/fixtures/multipart_post_body_with_only_parameters.txt +33 -0
- data/test/fixtures/multipart_post_body_with_single_file.txt +38 -0
- data/test/fixtures/multipart_post_body_with_single_file_that_has_nil_key.txt +38 -0
- data/test/net/http_multipart_post_test.rb +52 -0
- data/test/rails_test_helper.rb +11 -0
- data/test/test_helper.rb +66 -0
- metadata +217 -0
@@ -0,0 +1,33 @@
|
|
1
|
+
--MichaelNiessnerIsSuperDuperAwesome
|
2
|
+
Content-Disposition: form-data; name="aid"
|
3
|
+
|
4
|
+
940915667462717
|
5
|
+
--MichaelNiessnerIsSuperDuperAwesome
|
6
|
+
Content-Disposition: form-data; name="api_key"
|
7
|
+
|
8
|
+
77a52842357422fadd912a2600e6e53c
|
9
|
+
--MichaelNiessnerIsSuperDuperAwesome
|
10
|
+
Content-Disposition: form-data; name="call_id"
|
11
|
+
|
12
|
+
1172623588.023010
|
13
|
+
--MichaelNiessnerIsSuperDuperAwesome
|
14
|
+
Content-Disposition: form-data; name="caption"
|
15
|
+
|
16
|
+
Under the sunset
|
17
|
+
--MichaelNiessnerIsSuperDuperAwesome
|
18
|
+
Content-Disposition: form-data; name="method"
|
19
|
+
|
20
|
+
facebook.photos.upload
|
21
|
+
--MichaelNiessnerIsSuperDuperAwesome
|
22
|
+
Content-Disposition: form-data; name="session_key"
|
23
|
+
|
24
|
+
489727d0ab2efc6e8003018c-i2LLkn8BDb2s.
|
25
|
+
--MichaelNiessnerIsSuperDuperAwesome
|
26
|
+
Content-Disposition: form-data; name="sig"
|
27
|
+
|
28
|
+
dfa724b8a5cd97d9df4baf2b60d3484c
|
29
|
+
--MichaelNiessnerIsSuperDuperAwesome
|
30
|
+
Content-Disposition: form-data; name="v"
|
31
|
+
|
32
|
+
1.0
|
33
|
+
--MichaelNiessnerIsSuperDuperAwesome--
|
@@ -0,0 +1,38 @@
|
|
1
|
+
--MichaelNiessnerIsSuperDuperAwesome
|
2
|
+
Content-Disposition: form-data; name="aid"
|
3
|
+
|
4
|
+
940915667462717
|
5
|
+
--MichaelNiessnerIsSuperDuperAwesome
|
6
|
+
Content-Disposition: form-data; name="api_key"
|
7
|
+
|
8
|
+
77a52842357422fadd912a2600e6e53c
|
9
|
+
--MichaelNiessnerIsSuperDuperAwesome
|
10
|
+
Content-Disposition: form-data; name="call_id"
|
11
|
+
|
12
|
+
1172623588.023010
|
13
|
+
--MichaelNiessnerIsSuperDuperAwesome
|
14
|
+
Content-Disposition: form-data; name="caption"
|
15
|
+
|
16
|
+
Under the sunset
|
17
|
+
--MichaelNiessnerIsSuperDuperAwesome
|
18
|
+
Content-Disposition: form-data; name="method"
|
19
|
+
|
20
|
+
facebook.photos.upload
|
21
|
+
--MichaelNiessnerIsSuperDuperAwesome
|
22
|
+
Content-Disposition: form-data; name="session_key"
|
23
|
+
|
24
|
+
489727d0ab2efc6e8003018c-i2LLkn8BDb2s.
|
25
|
+
--MichaelNiessnerIsSuperDuperAwesome
|
26
|
+
Content-Disposition: form-data; name="sig"
|
27
|
+
|
28
|
+
dfa724b8a5cd97d9df4baf2b60d3484c
|
29
|
+
--MichaelNiessnerIsSuperDuperAwesome
|
30
|
+
Content-Disposition: form-data; name="v"
|
31
|
+
|
32
|
+
1.0
|
33
|
+
--MichaelNiessnerIsSuperDuperAwesome
|
34
|
+
Content-Disposition: form-data; name="file"; filename="somefilename.jpg"
|
35
|
+
Content-Type: image/jpg
|
36
|
+
|
37
|
+
[Raw file data here]
|
38
|
+
--MichaelNiessnerIsSuperDuperAwesome--
|
@@ -0,0 +1,38 @@
|
|
1
|
+
--MichaelNiessnerIsSuperDuperAwesome
|
2
|
+
Content-Disposition: form-data; name="aid"
|
3
|
+
|
4
|
+
940915667462717
|
5
|
+
--MichaelNiessnerIsSuperDuperAwesome
|
6
|
+
Content-Disposition: form-data; name="api_key"
|
7
|
+
|
8
|
+
77a52842357422fadd912a2600e6e53c
|
9
|
+
--MichaelNiessnerIsSuperDuperAwesome
|
10
|
+
Content-Disposition: form-data; name="call_id"
|
11
|
+
|
12
|
+
1172623588.023010
|
13
|
+
--MichaelNiessnerIsSuperDuperAwesome
|
14
|
+
Content-Disposition: form-data; name="caption"
|
15
|
+
|
16
|
+
Under the sunset
|
17
|
+
--MichaelNiessnerIsSuperDuperAwesome
|
18
|
+
Content-Disposition: form-data; name="method"
|
19
|
+
|
20
|
+
facebook.photos.upload
|
21
|
+
--MichaelNiessnerIsSuperDuperAwesome
|
22
|
+
Content-Disposition: form-data; name="session_key"
|
23
|
+
|
24
|
+
489727d0ab2efc6e8003018c-i2LLkn8BDb2s.
|
25
|
+
--MichaelNiessnerIsSuperDuperAwesome
|
26
|
+
Content-Disposition: form-data; name="sig"
|
27
|
+
|
28
|
+
dfa724b8a5cd97d9df4baf2b60d3484c
|
29
|
+
--MichaelNiessnerIsSuperDuperAwesome
|
30
|
+
Content-Disposition: form-data; name="v"
|
31
|
+
|
32
|
+
1.0
|
33
|
+
--MichaelNiessnerIsSuperDuperAwesome
|
34
|
+
Content-Disposition: form-data; filename="somefilename.jpg"
|
35
|
+
Content-Type: image/jpg
|
36
|
+
|
37
|
+
[Raw file data here]
|
38
|
+
--MichaelNiessnerIsSuperDuperAwesome--
|
@@ -0,0 +1,52 @@
|
|
1
|
+
require File.expand_path(File.dirname(__FILE__) + '/../test_helper')
|
2
|
+
require 'net/http_multipart_post'
|
3
|
+
|
4
|
+
class HttpMulitpartPostTest < Test::Unit::TestCase
|
5
|
+
def setup
|
6
|
+
super
|
7
|
+
end
|
8
|
+
|
9
|
+
def fixture(string)
|
10
|
+
File.open(File.dirname(__FILE__) + "/../fixtures/#{string}.txt").read
|
11
|
+
end
|
12
|
+
|
13
|
+
def test_multipart_post_with_only_parameters
|
14
|
+
params = add_sample_facebook_params({})
|
15
|
+
post = Net::HTTP::MultipartPost.new("uri", params)
|
16
|
+
assert_equal fixture("multipart_post_body_with_only_parameters"), post.send(:body)
|
17
|
+
end
|
18
|
+
|
19
|
+
def test_multipart_post_with_a_single_file
|
20
|
+
params = add_sample_facebook_params({})
|
21
|
+
params[:file] = Net::HTTP::MultipartPostFile.new
|
22
|
+
params[:file].filename = "somefilename.jpg"
|
23
|
+
params[:file].content_type = "image/jpg"
|
24
|
+
params[:file].data = "[Raw file data here]"
|
25
|
+
post = Net::HTTP::MultipartPost.new("uri", params)
|
26
|
+
assert_equal fixture("multipart_post_body_with_single_file"), post.send(:body)
|
27
|
+
end
|
28
|
+
|
29
|
+
def test_multipart_post_with_a_single_file_parameter_that_has_nil_key
|
30
|
+
params = add_sample_facebook_params({})
|
31
|
+
params[nil] = Net::HTTP::MultipartPostFile.new("somefilename.jpg", "image/jpg", "[Raw file data here]")
|
32
|
+
post = Net::HTTP::MultipartPost.new("uri", params)
|
33
|
+
assert_equal fixture("multipart_post_body_with_single_file_that_has_nil_key"), post.send(:body)
|
34
|
+
end
|
35
|
+
|
36
|
+
def test_multipart_post_should_have_correct_content_type
|
37
|
+
post = Net::HTTP::MultipartPost.new("uri", {})
|
38
|
+
assert post.send(:content_type) =~ /multipart\/form-data; boundary=/
|
39
|
+
end
|
40
|
+
|
41
|
+
def add_sample_facebook_params(hash)
|
42
|
+
hash[:method] = "facebook.photos.upload"
|
43
|
+
hash[:v] = "1.0"
|
44
|
+
hash[:api_key] = "77a52842357422fadd912a2600e6e53c"
|
45
|
+
hash[:session_key] = "489727d0ab2efc6e8003018c-i2LLkn8BDb2s."
|
46
|
+
hash[:call_id] = "1172623588.023010"
|
47
|
+
hash[:caption] = "Under the sunset"
|
48
|
+
hash[:aid] = "940915667462717"
|
49
|
+
hash[:sig] = "dfa724b8a5cd97d9df4baf2b60d3484c"
|
50
|
+
hash
|
51
|
+
end
|
52
|
+
end
|
@@ -0,0 +1,11 @@
|
|
1
|
+
require File.expand_path(File.dirname(__FILE__) + '/test_helper')
|
2
|
+
|
3
|
+
require 'action_controller'
|
4
|
+
require 'action_controller/test_process'
|
5
|
+
require 'active_record'
|
6
|
+
require File.dirname(__FILE__)+'/../init'
|
7
|
+
require 'facebooker/rails/controller'
|
8
|
+
require 'facebooker/rails/helpers/fb_connect'
|
9
|
+
require 'facebooker/rails/helpers'
|
10
|
+
require 'facebooker/rails/publisher'
|
11
|
+
require 'facebooker/rails/facebook_form_builder'
|
data/test/test_helper.rb
ADDED
@@ -0,0 +1,66 @@
|
|
1
|
+
require 'test/unit'
|
2
|
+
require 'rubygems'
|
3
|
+
begin
|
4
|
+
require 'multi_rails_init'
|
5
|
+
rescue LoadError
|
6
|
+
# multi rails not installed, test against newest supported version of Rails
|
7
|
+
gem 'rails', '2.2.2'
|
8
|
+
end
|
9
|
+
require 'flexmock/test_unit'
|
10
|
+
require 'mocha'
|
11
|
+
|
12
|
+
$: << File.join(File.dirname(__FILE__), '..', 'lib')
|
13
|
+
|
14
|
+
rails_root = File.join(File.dirname(__FILE__),'..','..')
|
15
|
+
if defined? RAILS_ROOT
|
16
|
+
RAILS_ROOT.replace(rails_root)
|
17
|
+
else
|
18
|
+
RAILS_ROOT = rails_root
|
19
|
+
end
|
20
|
+
|
21
|
+
require 'facebooker'
|
22
|
+
require 'facebooker/rails/test_helpers'
|
23
|
+
|
24
|
+
|
25
|
+
class Test::Unit::TestCase
|
26
|
+
include Facebooker::Rails::TestHelpers
|
27
|
+
|
28
|
+
private
|
29
|
+
|
30
|
+
def expect_http_posts_with_responses(*responses_xml)
|
31
|
+
mock_http = establish_session
|
32
|
+
responses_xml.each do |xml_string|
|
33
|
+
mock_http.should_receive(:post_form).and_return(xml_string).once.ordered(:posts)
|
34
|
+
end
|
35
|
+
end
|
36
|
+
|
37
|
+
def establish_session(session = @session)
|
38
|
+
mock = flexmock(Net::HTTP).should_receive(:post_form).and_return(example_auth_token_xml).once.ordered(:posts)
|
39
|
+
mock.should_receive(:post_form).and_return(example_get_session_xml).once.ordered(:posts)
|
40
|
+
session.secure!
|
41
|
+
mock
|
42
|
+
end
|
43
|
+
|
44
|
+
def example_auth_token_xml
|
45
|
+
<<-XML
|
46
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
47
|
+
<auth_createToken_response xmlns="http://api.facebook.com/1.0/"
|
48
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
49
|
+
xsi:schemaLocation="http://api.facebook.com/1.0/ http://api.facebook.com/1.0/facebook.xsd">
|
50
|
+
3e4a22bb2f5ed75114b0fc9995ea85f1
|
51
|
+
</auth_createToken_response>
|
52
|
+
XML
|
53
|
+
end
|
54
|
+
|
55
|
+
def example_get_session_xml
|
56
|
+
<<-XML
|
57
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
58
|
+
<auth_getSession_response xmlns="http://api.facebook.com/1.0/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://api.facebook.com/1.0/ http://api.facebook.com/1.0/facebook.xsd">
|
59
|
+
<session_key>5f34e11bfb97c762e439e6a5-8055</session_key>
|
60
|
+
<uid>8055</uid>
|
61
|
+
<expires>1173309298</expires>
|
62
|
+
<secret>ohairoflamao12345</secret>
|
63
|
+
</auth_getSession_response>
|
64
|
+
XML
|
65
|
+
end
|
66
|
+
end
|
metadata
ADDED
@@ -0,0 +1,217 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: tenderlove-facebooker
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.16.20090319151701
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Chad Fowler
|
8
|
+
- Patrick Ewing
|
9
|
+
- Mike Mangino
|
10
|
+
- Shane Vitarana
|
11
|
+
- Corey Innis
|
12
|
+
autorequire:
|
13
|
+
bindir: bin
|
14
|
+
cert_chain: []
|
15
|
+
|
16
|
+
date: 2009-03-19 00:00:00 -07:00
|
17
|
+
default_executable:
|
18
|
+
dependencies:
|
19
|
+
- !ruby/object:Gem::Dependency
|
20
|
+
name: json
|
21
|
+
type: :runtime
|
22
|
+
version_requirement:
|
23
|
+
version_requirements: !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
25
|
+
- - ">="
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
version: 1.0.0
|
28
|
+
version:
|
29
|
+
- !ruby/object:Gem::Dependency
|
30
|
+
name: hoe
|
31
|
+
type: :development
|
32
|
+
version_requirement:
|
33
|
+
version_requirements: !ruby/object:Gem::Requirement
|
34
|
+
requirements:
|
35
|
+
- - ">="
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: 1.10.0
|
38
|
+
version:
|
39
|
+
description: "Facebooker is a Ruby wrapper over the Facebook[http://facebook.com] {REST API}[http://wiki.developers.facebook.com/index.php/API]. Its goals are: * Idiomatic Ruby * No dependencies outside of the Ruby standard library (This is true with Rails 2.1. Previous Rails versions require the JSON gem) * Concrete classes and methods modeling the Facebook data, so it's easy for a Rubyist to understand what's available * Well tested"
|
40
|
+
email: mmangino@elevatedrails.com
|
41
|
+
executables: []
|
42
|
+
|
43
|
+
extensions: []
|
44
|
+
|
45
|
+
extra_rdoc_files:
|
46
|
+
- Manifest.txt
|
47
|
+
- CHANGELOG.rdoc
|
48
|
+
- COPYING.rdoc
|
49
|
+
- README.rdoc
|
50
|
+
- TODO.rdoc
|
51
|
+
files:
|
52
|
+
- CHANGELOG.rdoc
|
53
|
+
- COPYING.rdoc
|
54
|
+
- Manifest.txt
|
55
|
+
- README.rdoc
|
56
|
+
- Rakefile
|
57
|
+
- TODO.rdoc
|
58
|
+
- examples/desktop_login.rb
|
59
|
+
- facebooker.gemspec
|
60
|
+
- generators/facebook/facebook_generator.rb
|
61
|
+
- generators/facebook/templates/config/facebooker.yml
|
62
|
+
- generators/facebook/templates/public/javascripts/facebooker.js
|
63
|
+
- generators/facebook_controller/USAGE
|
64
|
+
- generators/facebook_controller/facebook_controller_generator.rb
|
65
|
+
- generators/facebook_controller/templates/controller.rb
|
66
|
+
- generators/facebook_controller/templates/functional_test.rb
|
67
|
+
- generators/facebook_controller/templates/helper.rb
|
68
|
+
- generators/facebook_controller/templates/view.fbml.erb
|
69
|
+
- generators/facebook_controller/templates/view.html.erb
|
70
|
+
- generators/facebook_publisher/facebook_publisher_generator.rb
|
71
|
+
- generators/facebook_publisher/templates/create_facebook_templates.rb
|
72
|
+
- generators/facebook_publisher/templates/publisher.rb
|
73
|
+
- generators/facebook_scaffold/USAGE
|
74
|
+
- generators/facebook_scaffold/facebook_scaffold_generator.rb
|
75
|
+
- generators/facebook_scaffold/templates/controller.rb
|
76
|
+
- generators/facebook_scaffold/templates/facebook_style.css
|
77
|
+
- generators/facebook_scaffold/templates/functional_test.rb
|
78
|
+
- generators/facebook_scaffold/templates/helper.rb
|
79
|
+
- generators/facebook_scaffold/templates/layout.fbml.erb
|
80
|
+
- generators/facebook_scaffold/templates/layout.html.erb
|
81
|
+
- generators/facebook_scaffold/templates/style.css
|
82
|
+
- generators/facebook_scaffold/templates/view_edit.fbml.erb
|
83
|
+
- generators/facebook_scaffold/templates/view_edit.html.erb
|
84
|
+
- generators/facebook_scaffold/templates/view_index.fbml.erb
|
85
|
+
- generators/facebook_scaffold/templates/view_index.html.erb
|
86
|
+
- generators/facebook_scaffold/templates/view_new.fbml.erb
|
87
|
+
- generators/facebook_scaffold/templates/view_new.html.erb
|
88
|
+
- generators/facebook_scaffold/templates/view_show.fbml.erb
|
89
|
+
- generators/facebook_scaffold/templates/view_show.html.erb
|
90
|
+
- generators/publisher/publisher_generator.rb
|
91
|
+
- generators/xd_receiver/templates/xd_receiver.html
|
92
|
+
- generators/xd_receiver/xd_receiver_generator.rb
|
93
|
+
- init.rb
|
94
|
+
- install.rb
|
95
|
+
- lib/facebooker.rb
|
96
|
+
- lib/facebooker/adapters/adapter_base.rb
|
97
|
+
- lib/facebooker/adapters/bebo_adapter.rb
|
98
|
+
- lib/facebooker/adapters/facebook_adapter.rb
|
99
|
+
- lib/facebooker/admin.rb
|
100
|
+
- lib/facebooker/batch_request.rb
|
101
|
+
- lib/facebooker/data.rb
|
102
|
+
- lib/facebooker/feed.rb
|
103
|
+
- lib/facebooker/logging.rb
|
104
|
+
- lib/facebooker/mobile.rb
|
105
|
+
- lib/facebooker/mock/service.rb
|
106
|
+
- lib/facebooker/mock/session.rb
|
107
|
+
- lib/facebooker/model.rb
|
108
|
+
- lib/facebooker/models/affiliation.rb
|
109
|
+
- lib/facebooker/models/album.rb
|
110
|
+
- lib/facebooker/models/applicationproperties.rb
|
111
|
+
- lib/facebooker/models/applicationrestrictions.rb
|
112
|
+
- lib/facebooker/models/cookie.rb
|
113
|
+
- lib/facebooker/models/education_info.rb
|
114
|
+
- lib/facebooker/models/event.rb
|
115
|
+
- lib/facebooker/models/friend_list.rb
|
116
|
+
- lib/facebooker/models/group.rb
|
117
|
+
- lib/facebooker/models/info_item.rb
|
118
|
+
- lib/facebooker/models/info_section.rb
|
119
|
+
- lib/facebooker/models/location.rb
|
120
|
+
- lib/facebooker/models/notifications.rb
|
121
|
+
- lib/facebooker/models/page.rb
|
122
|
+
- lib/facebooker/models/photo.rb
|
123
|
+
- lib/facebooker/models/tag.rb
|
124
|
+
- lib/facebooker/models/user.rb
|
125
|
+
- lib/facebooker/models/video.rb
|
126
|
+
- lib/facebooker/models/work_info.rb
|
127
|
+
- lib/facebooker/parser.rb
|
128
|
+
- lib/facebooker/rails/controller.rb
|
129
|
+
- lib/facebooker/rails/cucumber.rb
|
130
|
+
- lib/facebooker/rails/cucumber/world.rb
|
131
|
+
- lib/facebooker/rails/facebook_form_builder.rb
|
132
|
+
- lib/facebooker/rails/facebook_pretty_errors.rb
|
133
|
+
- lib/facebooker/rails/facebook_request_fix.rb
|
134
|
+
- lib/facebooker/rails/facebook_session_handling.rb
|
135
|
+
- lib/facebooker/rails/facebook_url_helper.rb
|
136
|
+
- lib/facebooker/rails/facebook_url_rewriting.rb
|
137
|
+
- lib/facebooker/rails/helpers.rb
|
138
|
+
- lib/facebooker/rails/helpers/fb_connect.rb
|
139
|
+
- lib/facebooker/rails/integration_session.rb
|
140
|
+
- lib/facebooker/rails/profile_publisher_extensions.rb
|
141
|
+
- lib/facebooker/rails/publisher.rb
|
142
|
+
- lib/facebooker/rails/routing.rb
|
143
|
+
- lib/facebooker/rails/test_helpers.rb
|
144
|
+
- lib/facebooker/rails/utilities.rb
|
145
|
+
- lib/facebooker/server_cache.rb
|
146
|
+
- lib/facebooker/service.rb
|
147
|
+
- lib/facebooker/session.rb
|
148
|
+
- lib/facebooker/version.rb
|
149
|
+
- lib/net/http_multipart_post.rb
|
150
|
+
- lib/tasks/facebooker.rake
|
151
|
+
- lib/tasks/tunnel.rake
|
152
|
+
- rails/init.rb
|
153
|
+
- setup.rb
|
154
|
+
- templates/layout.erb
|
155
|
+
- test/facebooker/adapters_test.rb
|
156
|
+
- test/facebooker/admin_test.rb
|
157
|
+
- test/facebooker/batch_request_test.rb
|
158
|
+
- test/facebooker/data_test.rb
|
159
|
+
- test/facebooker/logging_test.rb
|
160
|
+
- test/facebooker/mobile_test.rb
|
161
|
+
- test/facebooker/model_test.rb
|
162
|
+
- test/facebooker/models/event_test.rb
|
163
|
+
- test/facebooker/models/user_test.rb
|
164
|
+
- test/facebooker/rails/publisher_test.rb
|
165
|
+
- test/facebooker/rails_integration_test.rb
|
166
|
+
- test/facebooker/server_cache_test.rb
|
167
|
+
- test/facebooker/session_test.rb
|
168
|
+
- test/facebooker_test.rb
|
169
|
+
- test/fixtures/multipart_post_body_with_only_parameters.txt
|
170
|
+
- test/fixtures/multipart_post_body_with_single_file.txt
|
171
|
+
- test/fixtures/multipart_post_body_with_single_file_that_has_nil_key.txt
|
172
|
+
- test/net/http_multipart_post_test.rb
|
173
|
+
- test/rails_test_helper.rb
|
174
|
+
- test/test_helper.rb
|
175
|
+
has_rdoc: true
|
176
|
+
homepage: http://facebooker.rubyforge.org
|
177
|
+
post_install_message:
|
178
|
+
rdoc_options:
|
179
|
+
- --main
|
180
|
+
- README.rdoc
|
181
|
+
require_paths:
|
182
|
+
- lib
|
183
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - ">="
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: "0"
|
188
|
+
version:
|
189
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
190
|
+
requirements:
|
191
|
+
- - ">="
|
192
|
+
- !ruby/object:Gem::Version
|
193
|
+
version: "0"
|
194
|
+
version:
|
195
|
+
requirements: []
|
196
|
+
|
197
|
+
rubyforge_project: facebooker
|
198
|
+
rubygems_version: 1.2.0
|
199
|
+
signing_key:
|
200
|
+
specification_version: 2
|
201
|
+
summary: Facebooker is a Ruby wrapper over the Facebook[http://facebook.com] {REST API}[http://wiki.developers.facebook.com/index.php/API]
|
202
|
+
test_files:
|
203
|
+
- test/facebooker/adapters_test.rb
|
204
|
+
- test/facebooker/admin_test.rb
|
205
|
+
- test/facebooker/batch_request_test.rb
|
206
|
+
- test/facebooker/data_test.rb
|
207
|
+
- test/facebooker/logging_test.rb
|
208
|
+
- test/facebooker/mobile_test.rb
|
209
|
+
- test/facebooker/model_test.rb
|
210
|
+
- test/facebooker/models/event_test.rb
|
211
|
+
- test/facebooker/models/user_test.rb
|
212
|
+
- test/facebooker/rails/publisher_test.rb
|
213
|
+
- test/facebooker/rails_integration_test.rb
|
214
|
+
- test/facebooker/server_cache_test.rb
|
215
|
+
- test/facebooker/session_test.rb
|
216
|
+
- test/facebooker_test.rb
|
217
|
+
- test/net/http_multipart_post_test.rb
|