jquery_rails3 1.4.3 → 1.6

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -12,7 +12,7 @@ require 'rake/testtask'
12
12
 
13
13
  spec = Gem::Specification.new do |s|
14
14
  s.name = 'jquery_rails3'
15
- s.version = '1.4.3'
15
+ s.version = '1.6'
16
16
  s.has_rdoc = true
17
17
  s.extra_rdoc_files = ['README', 'LICENSE']
18
18
  s.summary = 'Jquery generator for rails 3'
@@ -3,8 +3,8 @@ module Jquery
3
3
  PATH = source_root File.expand_path('../templates', __FILE__)
4
4
  # Options
5
5
  class_option :ui, :type => :boolean, :defalut => false, :desc => "Add jquery-ui components to application."
6
- class_option :ui_version, :type => :string, :defalut => "1.8.5", :desc => "Version of jquery-ui components to application."
7
- class_option :version, :type => :string, :defalut => "1.4.3", :desc => "Version of jquery used in application."
6
+ class_option :ui_version, :type => :string, :defalut => "1", :desc => "Version of jquery-ui components to application."
7
+ class_option :version, :type => :string, :defalut => "1", :desc => "Version of jquery used in application."
8
8
 
9
9
 
10
10
  JS_DEST = "public/javascripts"
@@ -19,8 +19,8 @@ module Jquery
19
19
  end
20
20
 
21
21
  def install_jquery
22
- version = (options[:version].nil?)? "1.4.3" : options[:version]
23
- ui_version = (options[:ui_version].nil?)? "1.8.5" : options[:ui_version]
22
+ version = (options[:version].nil?)? "1" : options[:version]
23
+ ui_version = (options[:ui_version].nil?)? "1" : options[:ui_version]
24
24
  url = "http://ajax.googleapis.com/ajax/libs/jquery/#{version}/jquery.min.js"
25
25
  #puts url
26
26
  get url, "#{JS_DEST}/jquery.js"
metadata CHANGED
@@ -4,9 +4,8 @@ version: !ruby/object:Gem::Version
4
4
  prerelease: false
5
5
  segments:
6
6
  - 1
7
- - 4
8
- - 3
9
- version: 1.4.3
7
+ - 6
8
+ version: "1.6"
10
9
  platform: ruby
11
10
  authors:
12
11
  - Allan Davis
@@ -14,7 +13,7 @@ autorequire:
14
13
  bindir: bin
15
14
  cert_chain: []
16
15
 
17
- date: 2010-10-26 00:00:00 -04:00
16
+ date: 2011-05-05 00:00:00 -04:00
18
17
  default_executable:
19
18
  dependencies: []
20
19