jquery-rails 1.0.3 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,7 @@
1
+ ## 1.0.4 (17 May 2011)
2
+
3
+ - Fix exception in Rails 3.0 generator
4
+
1
5
  ## 1.0.3 (17 May 2011)
2
6
 
3
7
  - Update to jQuery 1.6.1
data/Rakefile CHANGED
@@ -7,4 +7,4 @@ Spec::Rake::SpecTask.new(:spec) do |t|
7
7
  t.ruby_opts = ['-r test/unit']
8
8
  t.spec_opts = %w[--color]
9
9
  end
10
- task :default => :spec
10
+ task :default => :spec
@@ -3,14 +3,14 @@ require 'rails'
3
3
  module Jquery
4
4
  module Generators
5
5
  class InstallGenerator < ::Rails::Generators::Base
6
- desc "This generator installs jQuery #{@@jquery_version}, jQuery-ujs, and (optionally) jQuery UI #{@@jquery_ui_version}"
7
- class_option :ui, :type => :boolean, :default => false, :desc => "Include jQueryUI"
8
- source_root File.expand_path('../../../../../vendor/assets/javascripts', __FILE__)
9
-
10
6
  @@jquery_version = "1.6.1"
11
7
  @@jquery_ui_version = "1.8.12"
12
8
  @@jquery_ujs_version = "a634e7507d45249731b79a801034097e330d27d1"
13
9
 
10
+ desc "This generator installs jQuery #{@@jquery_version}, jQuery-ujs, and (optionally) jQuery UI #{@@jquery_ui_version}"
11
+ class_option :ui, :type => :boolean, :default => false, :desc => "Include jQueryUI"
12
+ source_root File.expand_path('../../../../../vendor/assets/javascripts', __FILE__)
13
+
14
14
  def remove_prototype
15
15
  PROTOTYPE_JS.each do |name|
16
16
  remove_file "public/javascripts/#{name}.js"
@@ -1,5 +1,5 @@
1
1
  module Jquery
2
2
  module Rails
3
- VERSION = "1.0.3"
3
+ VERSION = "1.0.4"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jquery-rails
3
3
  version: !ruby/object:Gem::Version
4
- hash: 17
4
+ hash: 31
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 3
10
- version: 1.0.3
9
+ - 4
10
+ version: 1.0.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - "Andr\xC3\xA9 Arko"