pjax-rails 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/pjax-rails.rb +1 -3
  2. data/pjax-rails.gemspec +1 -1
  3. metadata +2 -2
data/lib/pjax-rails.rb CHANGED
@@ -3,9 +3,7 @@ require 'pjax'
3
3
  module PjaxRails
4
4
  class Engine < ::Rails::Engine
5
5
  initializer "pjax_rails.add_controller" do
6
- ActiveSupport.on_load(:action_controller) do
7
- ::ApplicationController.send :include, Pjax
8
- end
6
+ config.to_prepare { ApplicationController.send :include, Pjax }
9
7
  end
10
8
  end
11
9
  end
data/pjax-rails.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'pjax-rails'
3
- s.version = '0.1.3'
3
+ s.version = '0.1.4'
4
4
  s.author = 'David Heinemeier Hansson (PJAX by Chris Wanstrath)'
5
5
  s.email = 'david@loudthinking.com'
6
6
  s.summary = 'PJAX integration for Rails 3.1+'
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: pjax-rails
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.3
5
+ version: 0.1.4
6
6
  platform: ruby
7
7
  authors:
8
8
  - David Heinemeier Hansson (PJAX by Chris Wanstrath)
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-05-22 00:00:00 -05:00
13
+ date: 2011-05-23 00:00:00 -05:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency