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.
- data/CHANGELOG.md +4 -0
- data/Rakefile +1 -1
- data/lib/generators/jquery/install/install_generator.rb +4 -4
- data/lib/jquery-rails/version.rb +1 -1
- metadata +3 -3
data/CHANGELOG.md
CHANGED
data/Rakefile
CHANGED
|
@@ -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"
|
data/lib/jquery-rails/version.rb
CHANGED
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:
|
|
4
|
+
hash: 31
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 1
|
|
8
8
|
- 0
|
|
9
|
-
-
|
|
10
|
-
version: 1.0.
|
|
9
|
+
- 4
|
|
10
|
+
version: 1.0.4
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- "Andr\xC3\xA9 Arko"
|