Sha256: 80510915e6886146596ade5cb826be9eb23258bcee6e0540b2b4d9e5eb217b48

Contents?: true

Size: 1.07 KB

Versions: 19

Compression:

Stored size: 1.07 KB

Contents

# Added support to the Facebooker.yml file for switching to the new profile design..
# Config parsing needs to happen before files are required.
facebook_config = "#{RAILS_ROOT}/config/facebooker.yml"

require 'facebooker'
FACEBOOKER = Facebooker.load_configuration(facebook_config)

# enable logger before including everything else, in case we ever want to log initialization 
Facebooker.logger = RAILS_DEFAULT_LOGGER if Object.const_defined? :RAILS_DEFAULT_LOGGER

require 'net/http_multipart_post'
if defined? Rails
  require 'facebooker/rails/controller'
  require 'facebooker/rails/facebook_url_rewriting'
  require 'facebooker/rails/facebook_session_handling' if Rails.version < '2.3'
  require 'facebooker/rails/facebook_request_fix' if Rails.version < '2.3'
  require 'facebooker/rails/routing'
  require 'facebooker/rails/facebook_pretty_errors' rescue nil
  require 'facebooker/rails/facebook_url_helper'
  require 'facebooker/rails/extensions/rack_setup' if Rails.version > '2.3'
  require 'facebooker/rails/extensions/action_controller'
  require 'facebooker/rails/extensions/routing'
end

Version data entries

19 entries across 19 versions & 4 rubygems

Version Path
corey-facebooker-1.0.28.1 init.rb
mborromeo-facebooker-1.0.28 init.rb
mborromeo-facebooker-1.0.29 init.rb
mborromeo-facebooker-1.0.30 init.rb
mborromeo-facebooker-1.0.31 init.rb
mmangino-facebooker-1.0.19 init.rb
mmangino-facebooker-1.0.20 init.rb
mmangino-facebooker-1.0.21 init.rb
mmangino-facebooker-1.0.22 init.rb
mmangino-facebooker-1.0.23 init.rb
mmangino-facebooker-1.0.24 init.rb
mmangino-facebooker-1.0.25 init.rb
mmangino-facebooker-1.0.26 init.rb
mmangino-facebooker-1.0.27 init.rb
mmangino-facebooker-1.0.28 init.rb
mmangino-facebooker-1.0.29 init.rb
mmangino-facebooker-1.0.30 init.rb
facebooker-1.0.29 init.rb
facebooker-1.0.30 init.rb