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.
- data/lib/jquery-rails.rb +2 -2
- data/lib/jquery-rails/version.rb +1 -1
- metadata +3 -3
data/lib/jquery-rails.rb
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
module Jquery
|
2
2
|
module Rails
|
3
3
|
class Railtie < ::Rails::Railtie
|
4
|
-
config.
|
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)
|
data/lib/jquery-rails/version.rb
CHANGED
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 1
|
8
|
-
-
|
9
|
-
version: 0.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-
|
17
|
+
date: 2010-08-18 00:00:00 -07:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|