jquery-rails 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of jquery-rails might be problematic. Click here for more details.

@@ -1,8 +1,8 @@
1
1
  module Jquery
2
2
  module Rails
3
3
  class Railtie < ::Rails::Railtie
4
- config.before_configuration do
5
- if ::Rails.root.join("javascripts/jquery-ui.min.js").exist?
4
+ config.before_initialize do
5
+ if ::Rails.root.join("public/javascripts/jquery-ui.min.js").exist?
6
6
  config.action_view.javascript_expansions[:defaults] = %w(jquery.min jquery-ui.min rails)
7
7
  else
8
8
  config.action_view.javascript_expansions[:defaults] = %w(jquery.min rails)
@@ -1,5 +1,5 @@
1
1
  module Jquery
2
2
  module Rails
3
- VERSION = "0.1.1"
3
+ VERSION = "0.1.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 1
9
- version: 0.1.1
8
+ - 2
9
+ version: 0.1.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - "Andr\xC3\xA9 Arko"
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-08-16 00:00:00 -07:00
17
+ date: 2010-08-18 00:00:00 -07:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency