Sha256: 85cd356d1fd8f1058b27bcde6a69c87d2af62ea84f81b82eed6efa217453cc42

Contents?: true

Size: 1.27 KB

Versions: 64

Compression:

Stored size: 1.27 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/backwards_compatible_param_checks'
  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/facebook_request_fix_2-3' 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/action_view'
  require 'facebooker/rails/extensions/routing'
end

Version data entries

64 entries across 64 versions & 16 rubygems

Version Path
micahwedemeyer-facebooker-1.0.50 init.rb
micahwedemeyer-facebooker-1.0.51 init.rb
mmangino-facebooker-1.0.38 init.rb
mmangino-facebooker-1.0.39 init.rb
mmangino-facebooker-1.0.40 init.rb
mmangino-facebooker-1.0.41 init.rb
mmangino-facebooker-1.0.42 init.rb
mmangino-facebooker-1.0.43 init.rb
mmangino-facebooker-1.0.44 init.rb
mmangino-facebooker-1.0.45 init.rb
mmangino-facebooker-1.0.46 init.rb
mmangino-facebooker-1.0.47 init.rb
mmangino-facebooker-1.0.48 init.rb
mmangino-facebooker-1.0.49 init.rb
mmangino-facebooker-1.0.50 init.rb
mwilliams-facebooker-1.0.40 init.rb
pomartel-facebooker-1.0.45 init.rb
pomartel-facebooker-1.0.47 init.rb
simianarmy-facebooker-1.0.40 init.rb
simianarmy-facebooker-1.0.50 init.rb