jquery_rails3 1.6 → 1.6.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/lib/generators/jquery/install/install_generator.rb +2 -2
- metadata +3 -2
data/Rakefile
CHANGED
@@ -5,7 +5,7 @@ module Jquery
|
|
5
5
|
class_option :ui, :type => :boolean, :defalut => false, :desc => "Add jquery-ui components to application."
|
6
6
|
class_option :ui_version, :type => :string, :defalut => "1", :desc => "Version of jquery-ui components to application."
|
7
7
|
class_option :version, :type => :string, :defalut => "1", :desc => "Version of jquery used in application."
|
8
|
-
|
8
|
+
OpenSSL::SSL::VERIFY_PEER = OpenSSL::SSL::VERIFY_NONE
|
9
9
|
|
10
10
|
JS_DEST = "public/javascripts"
|
11
11
|
CSS_DEST = "public/stylesheets"
|
@@ -25,7 +25,7 @@ module Jquery
|
|
25
25
|
#puts url
|
26
26
|
get url, "#{JS_DEST}/jquery.js"
|
27
27
|
|
28
|
-
get "
|
28
|
+
get "https://github.com/rails/jquery-ujs/raw/master/src/rails.js", "#{JS_DEST}/rails.js"
|
29
29
|
url = "http://ajax.googleapis.com/ajax/libs/jqueryui/#{ui_version}/jquery-ui.min.js"
|
30
30
|
#puts url
|
31
31
|
if options.ui?
|
metadata
CHANGED
@@ -5,7 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 1
|
7
7
|
- 6
|
8
|
-
|
8
|
+
- 1
|
9
|
+
version: 1.6.1
|
9
10
|
platform: ruby
|
10
11
|
authors:
|
11
12
|
- Allan Davis
|
@@ -13,7 +14,7 @@ autorequire:
|
|
13
14
|
bindir: bin
|
14
15
|
cert_chain: []
|
15
16
|
|
16
|
-
date: 2011-05-
|
17
|
+
date: 2011-05-09 00:00:00 -04:00
|
17
18
|
default_executable:
|
18
19
|
dependencies: []
|
19
20
|
|