jquery-rails 0.2.6 → 0.2.7
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/CHANGELOG.md +4 -0
- data/LICENSE +21 -0
- data/README.md +1 -1
- data/lib/generators/jquery/install/install_generator.rb +2 -2
- data/lib/jquery-rails/version.rb +1 -1
- metadata +5 -4
data/CHANGELOG.md
CHANGED
data/LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License
|
2
|
+
|
3
|
+
Copyright (c) 2010 Andre Arko
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
CHANGED
@@ -12,7 +12,7 @@ In your Gemfile, add this line:
|
|
12
12
|
|
13
13
|
Then, run `bundle install`. To invoke the generator, run:
|
14
14
|
|
15
|
-
rails generate jquery:install #--ui to enable jQuery UI --version to install specific version of JQuery (default is 1.
|
15
|
+
rails generate jquery:install #--ui to enable jQuery UI --version to install specific version of JQuery (default is 1.5)
|
16
16
|
|
17
17
|
You're done! Don't forget to output `csrf_meta_tag` somewhere inside your `<head>` tag in your layout!
|
18
18
|
|
@@ -3,8 +3,8 @@ module Jquery
|
|
3
3
|
class InstallGenerator < ::Rails::Generators::Base
|
4
4
|
desc "This generator downloads and installs jQuery, jQuery-ujs HEAD, and (optionally) the newest jQuery UI"
|
5
5
|
class_option :ui, :type => :boolean, :default => false, :desc => "Include jQueryUI"
|
6
|
-
class_option :version, :type => :string, :default => "1.
|
7
|
-
@@default_version = "1.
|
6
|
+
class_option :version, :type => :string, :default => "1.5", :desc => "Which version of jQuery to fetch"
|
7
|
+
@@default_version = "1.5"
|
8
8
|
|
9
9
|
def remove_prototype
|
10
10
|
%w(controls.js dragdrop.js effects.js prototype.js).each do |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: 25
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
9
|
+
- 7
|
10
|
+
version: 0.2.7
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- "Andr\xC3\xA9 Arko"
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date:
|
18
|
+
date: 2011-02-05 00:00:00 -08:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -110,6 +110,7 @@ files:
|
|
110
110
|
- CHANGELOG.md
|
111
111
|
- Gemfile
|
112
112
|
- Gemfile.lock
|
113
|
+
- LICENSE
|
113
114
|
- README.md
|
114
115
|
- Rakefile
|
115
116
|
- jquery-rails.gemspec
|