piyush-facebooker 1.0.8
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/README +0 -0
- data/Rakefile +10 -0
- data/test/test_helper.rb +37 -0
- metadata +185 -0
data/README
ADDED
File without changes
|
data/Rakefile
ADDED
@@ -0,0 +1,10 @@
|
|
1
|
+
# Add your own tasks in files placed in lib/tasks ending in .rake,
|
2
|
+
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
|
3
|
+
|
4
|
+
require(File.join(File.dirname(__FILE__), 'config', 'boot'))
|
5
|
+
|
6
|
+
require 'rake'
|
7
|
+
require 'rake/testtask'
|
8
|
+
require 'rake/rdoctask'
|
9
|
+
|
10
|
+
require 'tasks/rails'
|
data/test/test_helper.rb
ADDED
@@ -0,0 +1,37 @@
|
|
1
|
+
ENV["RAILS_ENV"] = "test"
|
2
|
+
require File.expand_path(File.dirname(__FILE__) + "/../config/environment")
|
3
|
+
require 'test_help'
|
4
|
+
require 'authlogic/testing/test_unit_helpers'
|
5
|
+
|
6
|
+
class Test::Unit::TestCase
|
7
|
+
# Transactional fixtures accelerate your tests by wrapping each test method
|
8
|
+
# in a transaction that's rolled back on completion. This ensures that the
|
9
|
+
# test database remains unchanged so your fixtures don't have to be reloaded
|
10
|
+
# between every test method. Fewer database queries means faster tests.
|
11
|
+
#
|
12
|
+
# Read Mike Clark's excellent walkthrough at
|
13
|
+
# http://clarkware.com/cgi/blosxom/2005/10/24#Rails10FastTesting
|
14
|
+
#
|
15
|
+
# Every Active Record database supports transactions except MyISAM tables
|
16
|
+
# in MySQL. Turn off transactional fixtures in this case; however, if you
|
17
|
+
# don't care one way or the other, switching from MyISAM to InnoDB tables
|
18
|
+
# is recommended.
|
19
|
+
#
|
20
|
+
# The only drawback to using transactional fixtures is when you actually
|
21
|
+
# need to test transactions. Since your test is bracketed by a transaction,
|
22
|
+
# any transactions started in your code will be automatically rolled back.
|
23
|
+
self.use_transactional_fixtures = true
|
24
|
+
|
25
|
+
# Instantiated fixtures are slow, but give you @david where otherwise you
|
26
|
+
# would need people(:david). If you don't want to migrate your existing
|
27
|
+
# test cases which use the @david style and don't mind the speed hit (each
|
28
|
+
# instantiated fixtures translates to a database query per test method),
|
29
|
+
# then set this back to true.
|
30
|
+
self.use_instantiated_fixtures = false
|
31
|
+
|
32
|
+
# Setup all fixtures in test/fixtures/*.(yml|csv) for all tests in alphabetical order.
|
33
|
+
#
|
34
|
+
# Note: You'll currently still have to declare fixtures explicitly in integration tests
|
35
|
+
# -- they do not yet inherit this setting
|
36
|
+
fixtures :all
|
37
|
+
end
|
metadata
ADDED
@@ -0,0 +1,185 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: piyush-facebooker
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.8
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Chad Fowler
|
8
|
+
- Patrick Ewing
|
9
|
+
- Mike Mangino
|
10
|
+
- Shane Vitarana
|
11
|
+
autorequire:
|
12
|
+
bindir: bin
|
13
|
+
cert_chain: []
|
14
|
+
|
15
|
+
date: 2008-02-13 00:00:00 -08:00
|
16
|
+
default_executable:
|
17
|
+
dependencies:
|
18
|
+
- !ruby/object:Gem::Dependency
|
19
|
+
name: hoe
|
20
|
+
type: :development
|
21
|
+
version_requirement:
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 1.5.0
|
27
|
+
version:
|
28
|
+
description: "== DESCRIPTION: Facebooker is a Ruby wrapper over the Facebook[http://facebook.com] {REST API}[http://developer.facebook.com]. Its goals are: * Idiomatic Ruby * No dependencies outside of the Ruby standard library * Concrete classes and methods modeling the Facebook data, so it's easy for a Rubyist to understand what's available * Well tested == FEATURES/PROBLEMS:"
|
29
|
+
email: mmangino@elevatedrails.com
|
30
|
+
executables: []
|
31
|
+
|
32
|
+
extensions: []
|
33
|
+
|
34
|
+
extra_rdoc_files:
|
35
|
+
- CHANGELOG.txt
|
36
|
+
- History.txt
|
37
|
+
- Manifest.txt
|
38
|
+
- README.txt
|
39
|
+
- TODO.txt
|
40
|
+
- test/fixtures/multipart_post_body_with_only_parameters.txt
|
41
|
+
- test/fixtures/multipart_post_body_with_single_file.txt
|
42
|
+
- test/fixtures/multipart_post_body_with_single_file_that_has_nil_key.txt
|
43
|
+
files:
|
44
|
+
- CHANGELOG.txt
|
45
|
+
- COPYING
|
46
|
+
- History.txt
|
47
|
+
- Manifest.txt
|
48
|
+
- README
|
49
|
+
- README.txt
|
50
|
+
- Rakefile
|
51
|
+
- TODO.txt
|
52
|
+
- generators/publisher/publisher_generator.rb
|
53
|
+
- generators/facebook/facebook_generator.rb
|
54
|
+
- generators/facebook/templates/config/facebooker.yml
|
55
|
+
- generators/facebook/templates/public/javascripts/facebooker.js
|
56
|
+
- generators/facebook_controller/USAGE
|
57
|
+
- generators/facebook_controller/facebook_controller_generator.rb
|
58
|
+
- generators/facebook_controller/templates/controller.rb
|
59
|
+
- generators/facebook_controller/templates/functional_test.rb
|
60
|
+
- generators/facebook_controller/templates/helper.rb
|
61
|
+
- generators/facebook_controller/templates/view.fbml.erb
|
62
|
+
- generators/facebook_controller/templates/view.html.erb
|
63
|
+
- generators/facebook_publisher/facebook_publisher_generator.rb
|
64
|
+
- generators/facebook_publisher/templates/create_facebook_templates.rb
|
65
|
+
- generators/facebook_publisher/templates/publisher.rb
|
66
|
+
- generators/facebook_scaffold/USAGE
|
67
|
+
- generators/facebook_scaffold/facebook_scaffold_generator.rb
|
68
|
+
- generators/facebook_scaffold/templates/controller.rb
|
69
|
+
- generators/facebook_scaffold/templates/facebook_style.css
|
70
|
+
- generators/facebook_scaffold/templates/functional_test.rb
|
71
|
+
- generators/facebook_scaffold/templates/helper.rb
|
72
|
+
- generators/facebook_scaffold/templates/layout.fbml.erb
|
73
|
+
- generators/facebook_scaffold/templates/layout.html.erb
|
74
|
+
- generators/facebook_scaffold/templates/style.css
|
75
|
+
- generators/facebook_scaffold/templates/view_edit.fbml.erb
|
76
|
+
- generators/facebook_scaffold/templates/view_edit.html.erb
|
77
|
+
- generators/facebook_scaffold/templates/view_index.fbml.erb
|
78
|
+
- generators/facebook_scaffold/templates/view_index.html.erb
|
79
|
+
- generators/facebook_scaffold/templates/view_new.fbml.erb
|
80
|
+
- generators/facebook_scaffold/templates/view_new.html.erb
|
81
|
+
- generators/facebook_scaffold/templates/view_show.fbml.erb
|
82
|
+
- generators/facebook_scaffold/templates/view_show.html.erb
|
83
|
+
- generators/xd_receiver/xd_receiver_generator.rb
|
84
|
+
- generators/xd_receiver/templates/xd_receiver.html
|
85
|
+
- init.rb
|
86
|
+
- install.rb
|
87
|
+
- lib/facebooker.rb
|
88
|
+
- lib/facebooker/adapters/adapter_base.rb
|
89
|
+
- lib/facebooker/adapters/bebo_adapter.rb
|
90
|
+
- lib/facebooker/adapters/facebook_adapter.rb
|
91
|
+
- lib/facebooker/admin.rb
|
92
|
+
- lib/facebooker/batch_request.rb
|
93
|
+
- lib/facebooker/data.rb
|
94
|
+
- lib/facebooker/feed.rb
|
95
|
+
- lib/facebooker/logging.rb
|
96
|
+
- lib/facebooker/model.rb
|
97
|
+
- lib/facebooker/models/affiliation.rb
|
98
|
+
- lib/facebooker/models/album.rb
|
99
|
+
- lib/facebooker/models/applicationproperties.rb
|
100
|
+
- lib/facebooker/models/cookie.rb
|
101
|
+
- lib/facebooker/models/education_info.rb
|
102
|
+
- lib/facebooker/models/event.rb
|
103
|
+
- lib/facebooker/models/friend_list.rb
|
104
|
+
- lib/facebooker/models/group.rb
|
105
|
+
- lib/facebooker/models/info_item.rb
|
106
|
+
- lib/facebooker/models/info_section.rb
|
107
|
+
- lib/facebooker/models/location.rb
|
108
|
+
- lib/facebooker/models/notifications.rb
|
109
|
+
- lib/facebooker/models/page.rb
|
110
|
+
- lib/facebooker/models/photo.rb
|
111
|
+
- lib/facebooker/models/tag.rb
|
112
|
+
- lib/facebooker/models/user.rb
|
113
|
+
- lib/facebooker/models/work_info.rb
|
114
|
+
- lib/facebooker/parser.rb
|
115
|
+
- lib/facebooker/rails/controller.rb
|
116
|
+
- lib/facebooker/rails/facebook_asset_path.rb
|
117
|
+
- lib/facebooker/rails/facebook_form_builder.rb
|
118
|
+
- lib/facebooker/rails/facebook_pretty_errors.rb
|
119
|
+
- lib/facebooker/rails/facebook_request_fix.rb
|
120
|
+
- lib/facebooker/rails/facebook_session_handling.rb
|
121
|
+
- lib/facebooker/rails/facebook_url_rewriting.rb
|
122
|
+
- lib/facebooker/rails/helpers.rb
|
123
|
+
- lib/facebooker/rails/helpers/fb_connect.rb
|
124
|
+
- lib/facebooker/rails/profile_publisher_extensions.rb
|
125
|
+
- lib/facebooker/rails/publisher.rb
|
126
|
+
- lib/facebooker/rails/routing.rb
|
127
|
+
- lib/facebooker/rails/test_helpers.rb
|
128
|
+
- lib/facebooker/rails/utilities.rb
|
129
|
+
- lib/facebooker/server_cache.rb
|
130
|
+
- lib/facebooker/service.rb
|
131
|
+
- lib/facebooker/session.rb
|
132
|
+
- lib/facebooker/version.rb
|
133
|
+
- lib/net/http_multipart_post.rb
|
134
|
+
- lib/tasks/facebooker.rake
|
135
|
+
- lib/tasks/tunnel.rake
|
136
|
+
- rails/init.rb
|
137
|
+
- setup.rb
|
138
|
+
- templates/layout.erb
|
139
|
+
- test/adapters_test.rb
|
140
|
+
- test/batch_request_test.rb
|
141
|
+
- test/event_test.rb
|
142
|
+
- test/facebook_admin_test.rb
|
143
|
+
- test/facebook_cache_test.rb
|
144
|
+
- test/facebook_data_test.rb
|
145
|
+
- test/facebooker_test.rb
|
146
|
+
- test/fixtures/multipart_post_body_with_only_parameters.txt
|
147
|
+
- test/fixtures/multipart_post_body_with_single_file.txt
|
148
|
+
- test/fixtures/multipart_post_body_with_single_file_that_has_nil_key.txt
|
149
|
+
- test/http_multipart_post_test.rb
|
150
|
+
- test/logging_test.rb
|
151
|
+
- test/model_test.rb
|
152
|
+
- test/publisher_test.rb
|
153
|
+
- test/rails_integration_test.rb
|
154
|
+
- test/session_test.rb
|
155
|
+
- test/test_helper.rb
|
156
|
+
- test/user_test.rb
|
157
|
+
has_rdoc: true
|
158
|
+
homepage:
|
159
|
+
post_install_message:
|
160
|
+
rdoc_options:
|
161
|
+
- --main
|
162
|
+
- README.txt
|
163
|
+
require_paths:
|
164
|
+
- lib
|
165
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
166
|
+
requirements:
|
167
|
+
- - ">="
|
168
|
+
- !ruby/object:Gem::Version
|
169
|
+
version: "0"
|
170
|
+
version:
|
171
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
172
|
+
requirements:
|
173
|
+
- - ">="
|
174
|
+
- !ruby/object:Gem::Version
|
175
|
+
version: "0"
|
176
|
+
version:
|
177
|
+
requirements: []
|
178
|
+
|
179
|
+
rubyforge_project: facebooker
|
180
|
+
rubygems_version: 1.2.0
|
181
|
+
signing_key:
|
182
|
+
specification_version: 2
|
183
|
+
summary: Pure, idiomatic Ruby wrapper for the Facebook REST API.
|
184
|
+
test_files:
|
185
|
+
- test/test_helper.rb
|