buddy 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/buddy/railtie.rb +0 -6
  2. metadata +3 -3
data/lib/buddy/railtie.rb CHANGED
@@ -5,14 +5,8 @@ require 'rails'
5
5
  module Buddy
6
6
  class Railtie < ::Rails::Railtie
7
7
  initializer "buddy.configure_rails_initialization" do |app|
8
- app.config.middleware.insert_before(ActionDispatch::RemoteIp, ::Rack::Facebook::RemoteIp)
9
8
  app.config.middleware.insert_before(ActionDispatch::ParamsParser, ::Rack::Facebook::ParamsParser)
10
- app.config.action_controller.asset_host = Buddy.buddy_config['default']['callback_url']
11
-
12
9
  ActionView::Helpers::UrlHelper.send(:include, Buddy::Rails::UrlHelper)
13
-
14
- Mime::Type.register "text/html", :fbml
15
- Mime::Type.register "text/javascript", :fbjs
16
10
  Buddy.logger = ::Rails.logger
17
11
  end
18
12
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 4
8
- - 0
9
- version: 0.4.0
8
+ - 1
9
+ version: 0.4.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Ole Riesenberg
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-09-08 00:00:00 +02:00
17
+ date: 2010-09-21 00:00:00 +02:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency