jquery-rails 3.0.4 → 4.4.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: dcc6d11eb09cef26ed783513d708893c0d8fcede0b5027fc5906e59feeb880b9
4
+ data.tar.gz: 0e0c30ec8043042ccdc6099fb6f5f2b6055f8b52a42298fb35144280d15661da
5
+ SHA512:
6
+ metadata.gz: a417086a5430147e22d452f1d192494d89890b7417257f759c721023f71a3f620a4f7328a5a5bd1c7e746786b861bc90aa1ba0174749b0a3f9dcef72a5e2ea78
7
+ data.tar.gz: badccf9a2417c5ac5623f667317ac33e2e27cf8aaf562be71a139f207006fd8469234e2cd48fdcd9860e658710dff4bd53272066e688033fceddeced9267af6d
data/.travis.yml ADDED
@@ -0,0 +1,32 @@
1
+ sudo: false
2
+ cache: bundler
3
+ language: ruby
4
+ rvm:
5
+ - 1.9.3
6
+ - 2.0.0
7
+ - 2.1.10
8
+ - 2.2.9
9
+ - 2.3.6
10
+ - 2.4.10
11
+ - 2.5.8
12
+ - 2.6.6
13
+ - 2.7.1
14
+ - jruby
15
+ - ruby-head
16
+ matrix:
17
+ fast_finish: true
18
+ allow_failures:
19
+ - rvm: jruby
20
+ - rvm: ruby-head
21
+ notifications:
22
+ email: false
23
+ irc:
24
+ on_success: change
25
+ on_failure: always
26
+ channels:
27
+ - "irc.freenode.org#rails-contrib"
28
+ campfire:
29
+ on_success: change
30
+ on_failure: always
31
+ rooms:
32
+ - secure: "p58t43P+64c1g0Av88DNM9XxMnmXM/PzRFU4yeo53i7lDY77PqKOVY+swc8eibn6cMgfyw2vqI7UFri4WLxwdN5jN5QaByHtXT2STFaJV4ORyyOBqQLuJTFWzMn8+Zil3rW/0Xv6tHoeAjsToZyYFefyjM3qemAmUqI8jLqU1sM="
data/CHANGELOG.md CHANGED
@@ -1,7 +1,104 @@
1
+ ## 4.4.0
2
+
3
+ - update jquery to 3.5.1 (note: [3.5.0 contains important security updates](https://github.com/advisories/GHSA-jpcq-cgw6-v4j6))
4
+ - unescape dollar signs and backticks in `assert_select_jquery` to match
5
+ Rails updated behavior.
6
+
7
+ ## 4.3.5
8
+
9
+ - update jquery to 3.4.1
10
+
11
+ ## 4.3.4
12
+
13
+ - update jquery to 3.4.0
14
+
15
+ ## 4.3.3
16
+
17
+ - update jquery to 3.3.1
18
+
19
+ ## 4.3.2
20
+
21
+ - update jquery to 3.3.0
22
+ - Add possibility to test HTML: all, attribute prefix, attribute contains,
23
+ attribute ends with, child, and class selectors
24
+ - Fix matching mutiple calls for the same selector/function exception
25
+
26
+ ## 4.3.1
27
+
28
+ - update jquery to 3.2.1
29
+
30
+ ## 4.3.0
31
+
32
+ - update jquery to 3.2.0
33
+ - Add possibility to test HTML attribute selectors
34
+
35
+ ## 4.2.2
36
+
37
+ - update jquery to 3.1.1
38
+
39
+ ## 4.2.1
40
+
41
+ - update jquery to 3.1.0
42
+
43
+ ## 4.2.0
44
+
45
+ - Support jQuery 3.x
46
+ - Update jquery-ujs to 1.2.2
47
+ - Update jQuery to 1.12.4 and 2.2.4
48
+
49
+ ## 4.1.1
50
+
51
+ - Update jQuery to 1.12.1 and 2.2.1
52
+ - Update jquery-ujs to 1.2.1
53
+
54
+ ## 4.1.0
55
+
56
+ - Update jQuery to 1.12.0 and 2.2.0
57
+ - Update jquery-ujs to 1.2.0
58
+
59
+ ## 4.0.5
60
+
61
+ - Specify that Ruby version 1.9.3+ is required
62
+ - Test on Ruby 2.2
63
+ - Update jquery-ujs from 1.0.4 to 1.1.0
64
+
65
+ ## 4.0.4
66
+
67
+ - Fix CSP bypass vulnerability. CVE-2015-1840
68
+
69
+ ## 4.0.1
70
+
71
+ - Fix RubyGems permission problem.
72
+
73
+ ## 4.0.0
74
+
75
+ - Minimum dependency set to Rails 4.2
76
+ - Updated to jquery-ujs 1.0.2
77
+ - Support jQuery 1.x and 2.x
78
+
79
+ ## 3.1.3 (16 June 2015)
80
+
81
+ - Fix CSP bypass vulnerability. CVE-2015-1840
82
+
83
+ ## 3.1.2 (1 September 2014)
84
+
85
+ - Updated to jquery-ujs 1.0.1
86
+
87
+ ## 3.1.1 (23 June 2014)
88
+
89
+ - Updated to jQuery 1.11.1
90
+ - Updated to jquery-ujs 1.0.0
91
+
92
+ ## 3.1.0 (29 January 2014)
93
+
94
+ - Updated to jQuery 1.11.0
95
+ - Updated to latest jquery-ujs
96
+ - Added development rake task for updating jQuery
97
+
1
98
  ## 3.0.4 (10 July 2013)
2
99
 
3
- - Updated to jQuery 1.10.2
4
- -
100
+ - Fixed jQuery source map
101
+
5
102
  ## 3.0.3 (10 July 2013)
6
103
 
7
104
  - Updated to jQuery 1.10.2
data/CONTRIBUTING.md CHANGED
@@ -1,17 +1,53 @@
1
- Thanks for taking the time to contribute to jquery-rails! Please
2
- take a moment to read the following brief guidelines to help streamline
3
- the merging process.
1
+ Contributing to jquery-rails
2
+ =====================
4
3
 
5
- ## Updating jQuery
4
+ [![Build Status](https://travis-ci.org/rails/jquery-rails.svg?branch=master)](https://travis-ci.org/rails/jquery-rails)
5
+
6
+ jquery-rails is work of [many contributors](https://github.com/rails/jquery-rails/graphs/contributors). You're encouraged to submit [pull requests](https://github.com/rails/jquery-rails/pulls), [propose features and discuss issues](https://github.com/rails/jquery-rails/issues).
7
+
8
+ #### Updating jQuery
6
9
 
7
10
  If the jquery or jquery-ui scripts are outdated (i.e. maybe a new version of jquery was released yesterday), feel free to open an issue and prod us to get that thing updated. However, for security reasons, we won't be accepting pull requests with updated jquery or jquery-ui scripts.
8
11
 
9
- ## Changes to jquery_ujs.js
12
+ #### Changes to jquery_ujs.js
10
13
 
11
14
  **If it's an issue pertaining to the jquery-ujs javascript, please
12
15
  report it to the [rails/jquery-ujs project](https://github.com/rails/jquery-ujs/issues).**
13
16
 
14
- ## Tests
17
+ #### Fork the Project
18
+
19
+ Fork the [project on Github](https://github.com/rails/jquery-rails) and check out your copy.
20
+
21
+ ```
22
+ git clone https://github.com/contributor/jquery-rails.git
23
+ cd jquery-rails
24
+ git remote add upstream https://github.com/rails/jquery-rails.git
25
+ ```
26
+
27
+ #### Create a Topic Branch
28
+
29
+ Make sure your fork is up-to-date and create a topic branch for your feature or bug fix.
30
+
31
+ ```
32
+ git checkout master
33
+ git pull upstream master
34
+ git checkout -b my-feature-branch
35
+ ```
36
+
37
+ #### Bundle Install and Test
38
+
39
+ Ensure that you can build the project and run tests.
40
+
41
+ ```
42
+ bundle install
43
+ bundle exec rake test
44
+ ```
45
+
46
+ #### Write Tests
47
+
48
+ Try to write a test that reproduces the problem you're trying to fix or describes a feature that you want to build. Add to [test](test).
49
+
50
+ #### Testing
15
51
 
16
52
  This is a gem that simply includes jQuery and jQuery UJS into the Rails
17
53
  asset pipeline. The asset pipeline functionality is well tested within the
@@ -29,8 +65,68 @@ If you're making changes to the actual gem, run the tests as follows:
29
65
  2. Install the gems: `bundle install`
30
66
 
31
67
  3. Change the jquery-rails gem in the Gemfile to use your local
32
- version of the gem with your updates: `gem 'rspec-rails', :path => '../path/to/jquery-rails'`
68
+ version of the gem with your updates: `gem 'jquery-rails', :path => '../path/to/jquery-rails'`
33
69
 
34
70
  4. Update your bundled jquery-rails gem: `bundle update jquery-rails`
35
71
 
36
72
  5. Run the tests: `bundle exec rspec spec/`
73
+
74
+ We definitely appreciate pull requests that highlight or reproduce a problem, even without a fix.
75
+
76
+ #### Write Code
77
+
78
+ Implement your feature or bug fix.
79
+
80
+ Make sure that `bundle exec rake test` completes without errors.
81
+
82
+ #### Write Documentation
83
+
84
+ Document any external behavior in the [README](README.md).
85
+
86
+ #### Commit Changes
87
+
88
+ Make sure git knows your name and email address:
89
+
90
+ ```
91
+ git config --global user.name "Your Name"
92
+ git config --global user.email "contributor@example.com"
93
+ ```
94
+
95
+ Writing good commit logs is important. A commit log should describe what changed and why.
96
+
97
+ ```
98
+ git add ...
99
+ git commit
100
+ ```
101
+
102
+ #### Push
103
+
104
+ ```
105
+ git push origin my-feature-branch
106
+ ```
107
+
108
+ #### Make a Pull Request
109
+
110
+ Go to https://github.com/contributor/jquery-rails and select your feature branch. Click the 'Pull Request' button and fill out the form. Pull requests are usually reviewed within a few days.
111
+
112
+ #### Rebase
113
+
114
+ If you've been working on a change for a while, rebase with upstream/master.
115
+
116
+ ```
117
+ git fetch upstream
118
+ git rebase upstream/master
119
+ git push origin my-feature-branch -f
120
+ ```
121
+
122
+ #### Check on Your Pull Request
123
+
124
+ Go back to your pull request after a few minutes and see whether it passed muster with Travis-CI. Everything should look green, otherwise fix issues and amend your commit as described above.
125
+
126
+ #### Be Patient
127
+
128
+ It's likely that your change will not be merged and that the nitpicky maintainers will ask you to do more, or fix seemingly benign problems. Hang on there!
129
+
130
+ #### Thank You
131
+
132
+ Please do know that we really appreciate and value your time and work. We love you, really.
data/Gemfile CHANGED
@@ -1,4 +1,22 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
+ gem "mime-types", "< 3", group: :test
4
+
5
+ if RUBY_VERSION >= '2.2.2'
6
+ gem 'rails'
7
+ gem 'rack'
8
+ gem 'json', '>= 2'
9
+ else
10
+ gem 'rails', '~> 4.2.0'
11
+ gem 'rack', '~>1.6'
12
+ gem 'json', '~> 1.8.0'
13
+ end
14
+
15
+ if RUBY_VERSION >= '2.1'
16
+ gem 'nokogiri'
17
+ else
18
+ gem 'nokogiri', '~> 1.6.0'
19
+ end
20
+
3
21
  # Specify your gem's dependencies in jquery-rails.gemspec
4
22
  gemspec
@@ -1,6 +1,6 @@
1
1
  The MIT License
2
2
 
3
- Copyright (c) 2010 Andre Arko
3
+ Copyright (c) 2010-2016 Andre Arko
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
18
  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
19
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
20
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
- THE SOFTWARE.
21
+ THE SOFTWARE.
data/README.md CHANGED
@@ -4,19 +4,19 @@ jQuery! For Rails! So great.
4
4
 
5
5
  This gem provides:
6
6
 
7
- * jQuery 1.10.2
7
+ * jQuery 1, 2 and 3
8
8
  * the jQuery UJS adapter
9
9
  * assert_select_jquery to test jQuery responses in Ruby tests
10
10
 
11
11
  ## Versions
12
12
 
13
13
  Starting with v2.1, the jquery-rails gem follows these version guidelines
14
- to provide more control over your app's jquery version from your Gemfile:
14
+ to provide more control over your app's jQuery version from your Gemfile:
15
15
 
16
16
  ```
17
- patch version bump = updates to jquery-ujs, jquery-rails, and patch-level updates to jquery
18
- minor version bump = minor-level updates to jquery
19
- major version bump = major-level updates to jquery and updates to rails which may be backwards-incompatible
17
+ patch version bump = updates to jquery-ujs, jquery-rails, and patch-level updates to jQuery
18
+ minor version bump = minor-level updates to jQuery
19
+ major version bump = major-level updates to jQuery and updates to Rails which may be backwards-incompatible
20
20
  ```
21
21
 
22
22
  See [VERSIONS.md](VERSIONS.md) to see which versions of jquery-rails bundle which
@@ -24,23 +24,11 @@ versions of jQuery.
24
24
 
25
25
  ## Installation
26
26
 
27
- Apps generated with Rails 3.1 or later include jquery-rails in the Gemfile by default. So just make a new app:
28
-
29
- ```sh
30
- rails new myapp
27
+ Add
31
28
  ```
32
-
33
- If upgrading from an older version of rails, or for rails 3.0 apps,
34
- add the jquery-rails gem to your Gemfile.
35
-
36
- ```ruby
37
- gem "jquery-rails"
29
+ gem 'jquery-rails'
38
30
  ```
39
-
40
- And run `bundle install`. The rest of the installation depends on
41
- whether the asset pipeline is being used.
42
-
43
- ### Rails 3.1 or greater (with asset pipeline *enabled*)
31
+ to your Gemfile.
44
32
 
45
33
  The jquery and jquery-ujs files will be added to the asset pipeline and available for you to use. If they're not already in `app/assets/javascripts/application.js` by default, add these lines:
46
34
 
@@ -49,38 +37,45 @@ The jquery and jquery-ujs files will be added to the asset pipeline and availabl
49
37
  //= require jquery_ujs
50
38
  ```
51
39
 
52
- For jQuery UI, we recommend the [jquery-ui-rails](https://github.com/joliss/jquery-ui-rails) gem, as it includes the jquery-ui css and allows easier customization.
53
-
54
- *As of v3.0, jquery-rails no longer includes jQuery UI. Use the
55
- jquery-ui-rails gem above.*
40
+ If you are running Rails 5.1 and up, and if you have included `//= require rails-ujs`, then `jquery_ujs` is not needed anymore. You can just add:
56
41
 
57
- ### Rails 3.0 (or greater with asset pipeline *disabled*)
42
+ ```js
43
+ //= require jquery
44
+ ```
58
45
 
59
- This gem adds a single generator: `jquery:install`. Running the generator will remove any Prototype JS files you may happen to have, and copy jQuery and the jQuery-ujs driver for Rails to the `public/javascripts` directory.
46
+ If you want to use jQuery 2, you can require `jquery2` instead:
60
47
 
61
- This gem will also hook into the Rails configuration process, removing Prototype and adding jQuery to the javascript files included by the `javascript_include_tag(:defaults)` call. While this gem contains the minified and un-minified versions of jQuery, only the minified versions will be included in the `:defaults` when Rails is run in `production` or `test` mode (un-minified versions will be included when Rails is run in `development` mode).
48
+ ```js
49
+ //= require jquery2
50
+ //= require jquery_ujs
51
+ ```
62
52
 
63
- To invoke the generator, run:
53
+ And if you want to use jQuery 3, you can require `jquery3`:
64
54
 
65
- ```sh
66
- rails generate jquery:install
55
+ ```js
56
+ //= require jquery3
57
+ //= require jquery_ujs
67
58
  ```
68
59
 
69
- You're done!
60
+ For jQuery UI, we recommend the [jquery-ui-rails](https://github.com/joliss/jquery-ui-rails) gem, as it includes the jquery-ui css and allows easier customization.
70
61
 
71
- *As of v3.0, jquery-rails no longer includes jQuery UI, you will need to
72
- install it by yourself as needed.*
62
+ *As of v3.0, jquery-rails no longer includes jQuery UI. Use the
63
+ jquery-ui-rails gem above.*
73
64
 
74
- ## Contributing
65
+ ## Contributing to jquery-rails
75
66
 
76
- Feel free to open an issue ticket if you find something that could be improved. A couple notes:
67
+ jquery-rails is work of many contributors. You're encouraged to submit pull requests, propose
68
+ features and discuss issues.
77
69
 
78
70
  * If it's an issue pertaining to the jquery-ujs javascript, please report it to the [jquery-ujs project](https://github.com/rails/jquery-ujs).
79
71
 
80
- * If the jquery scripts are outdated (i.e. maybe a new version of jquery was released yesterday), feel free to open an issue and prod us to get that thing updated. However, for security reasons, we won't be accepting pull requests with updated jquery scripts.
72
+ * If the jQuery scripts are outdated (i.e. maybe a new version of jquery was released yesterday), feel free to open an issue and prod us to get that thing updated. However, for security reasons, we won't be accepting pull requests with updated jQuery scripts.
81
73
 
82
- ## Acknowledgements
74
+ See [CONTRIBUTING](CONTRIBUTING.md).
83
75
 
84
- Many thanks are due to all of [the jquery-rails contributors](https://github.com/rails/jquery-rails/graphs/contributors). Special thanks to [JangoSteve](http://github.com/JangoSteve) for tirelessly answering questions and accepting patches, and the [Rails Core Team](https://github.com/organizations/rails/teams/617) for making jquery-rails an official part of Rails 3.1.
76
+ ## License
77
+ jquery-rails is released under the [MIT License](MIT-LICENSE).
78
+
79
+ ## Acknowledgements
85
80
 
86
- Copyright [André Arko](http://arko.net), released under the MIT License.
81
+ Many thanks are due to all of [the jquery-rails contributors](https://github.com/rails/jquery-rails/graphs/contributors). Special thanks to [JangoSteve](http://github.com/JangoSteve) for tirelessly answering questions and accepting patches, and the [Rails Core Team](https://github.com/orgs/rails/people) for making jquery-rails an official part of Rails 3.1.
data/Rakefile CHANGED
@@ -1,6 +1,16 @@
1
1
  require 'bundler'
2
+ require 'rake/testtask'
2
3
  Bundler::GemHelper.install_tasks
3
4
 
5
+ task default: :test
6
+
7
+ Rake::TestTask.new(:test) do |t|
8
+ t.libs << 'lib'
9
+ t.pattern = 'test/**/*_test.rb'
10
+ t.warning = true
11
+ t.verbose = true
12
+ end
13
+
4
14
  # Check if versions are correct between VERSION constants and .js files
5
15
  #
6
16
  task :release => [:guard_version]
@@ -9,7 +19,7 @@ task :guard_version do
9
19
  def check_version(file, pattern, constant)
10
20
  body = File.read("vendor/assets/javascripts/#{file}")
11
21
  match = body.match(pattern) or abort "Version check failed: no pattern matched in #{file}"
12
- file_version = body.match(pattern)[1]
22
+ file_version = match[1]
13
23
  constant_version = Jquery::Rails.const_get(constant)
14
24
 
15
25
  unless constant_version == file_version
@@ -18,4 +28,32 @@ task :guard_version do
18
28
  end
19
29
 
20
30
  check_version('jquery.js', /jQuery JavaScript Library v([\S]+)/, 'JQUERY_VERSION')
31
+ check_version('jquery2.js', /jQuery JavaScript Library v([\S]+)/, 'JQUERY_2_VERSION')
32
+ check_version('jquery3.js', /jQuery JavaScript Library v([\S]+)/, 'JQUERY_3_VERSION')
33
+ end
34
+
35
+ desc "Update jQuery versions"
36
+ task :update_jquery do
37
+ def download_jquery(filename, version)
38
+ suffix = "-#{version}"
39
+
40
+ puts "Downloading #{filename}.js"
41
+ puts `curl -o vendor/assets/javascripts/#{filename}.js https://code.jquery.com/jquery#{suffix}.js`
42
+ puts "Downloading #{filename}.min.js"
43
+ puts `curl -o vendor/assets/javascripts/#{filename}.min.js https://code.jquery.com/jquery#{suffix}.min.js`
44
+ puts "Downloading #{filename}.min.map"
45
+ puts `curl -o vendor/assets/javascripts/#{filename}.min.map https://code.jquery.com/jquery#{suffix}.min.map`
46
+ end
47
+
48
+ download_jquery('jquery', Jquery::Rails::JQUERY_VERSION)
49
+ download_jquery('jquery2', Jquery::Rails::JQUERY_2_VERSION)
50
+ download_jquery('jquery3', Jquery::Rails::JQUERY_3_VERSION)
51
+ puts "\e[32mDone!\e[0m"
52
+ end
53
+
54
+ desc "Update jQuery UJS version"
55
+ task :update_jquery_ujs do
56
+ puts "Downloading jquery_ujs.js"
57
+ puts `curl -o vendor/assets/javascripts/jquery_ujs.js https://raw.githubusercontent.com/rails/jquery-ujs/v#{Jquery::Rails::JQUERY_UJS_VERSION}/src/rails.js`
58
+ puts "\e[32mDone!\e[0m"
21
59
  end
data/VERSIONS.md CHANGED
@@ -1,41 +1,65 @@
1
1
  # Bundled Versions
2
2
 
3
- | Gem | jQuery | jQuery UI |
4
- |--------|--------|-----------|
5
- | 3.0.3 | 1.10.2 | - |
6
- | 3.0.2 | | - |
7
- | 3.0.1 | 1.10.1 | - |
8
- | 3.0.0 | | - |
9
- | 2.3.0 | 1.10.0 | 1.10.3 |
10
- | 2.2.2 | | |
11
- | 2.2.1 | 1.9.1 | |
12
- | 2.2.0 | 1.9.0 | |
13
- | 2.1.4 | 1.8.3 | 1.9.2 |
14
- | 2.1.3 | 1.8.2 | |
15
- | 2.1.2 | 1.8.1 | |
16
- | 2.1.1 | | |
17
- | 2.1.0 | 1.8.0 | 1.8.23 |
18
- | 2.0.3 | | |
19
- | 2.0.2 | 1.7.2 | 1.8.18 |
20
- | 2.0.1 | | |
21
- | 2.0.0 | | |
22
- | 1.0.19 | 1.7.1 | |
23
- | 1.0.18 | | |
24
- | 1.0.17 | 1.7.0 | |
25
- | 1.0.16 | 1.6.4 | 1.8.16 |
26
- | 1.0.15 | | |
27
- | 1.0.14 | | |
28
- | 1.0.13 | 1.6.2 | 1.8.14 |
29
- | 1.0.12 | | |
30
- | 1.0.11 | ↾ | |
31
- | 1.0.10 | | |
32
- | 1.0.9 | ↾ | |
33
- | 1.0.8 | | |
34
- | 1.0.7 | ↾ | ↾ |
35
- | 1.0.6 | | ↾ |
36
- | 1.0.5 | | ↾ |
37
- | 1.0.4 | | |
38
- | 1.0.3 | 1.6.1 | ↾ |
39
- | 1.0.2 | | ↾ |
40
- | 1.0.1 | ↾ | 1.8.12 |
41
- | 1.0.0 | 1.6.0 | - |
3
+ | Gem | jQuery | jQuery UJS | jQuery UI |
4
+ |--------|--------|------------| ----------|
5
+ | 4.4.0 | 1.12.4 & 2.2.4 & 3.5.1 | 1.2.2 | - |
6
+ | 4.3.5 | 1.12.4 & 2.2.4 & 3.4.1 | 1.2.2 | - |
7
+ | 4.3.4 | 1.12.4 & 2.2.4 & 3.4.0 | 1.2.2 | - |
8
+ | 4.3.3 | 1.12.4 & 2.2.4 & 3.3.1 | 1.2.2 | - |
9
+ | 4.3.2 | 1.12.4 & 2.2.4 & 3.3.0 | 1.2.2 | - |
10
+ | 4.3.1 | 1.12.4 & 2.2.4 & 3.2.1 | 1.2.2 | - |
11
+ | 4.3.0 | 1.12.4 & 2.2.4 & 3.2.0 | 1.2.2 | - |
12
+ | 4.2.2 | 1.12.4 & 2.2.4 & 3.1.1 | 1.2.2 | - |
13
+ | 4.2.1 | 1.12.4 & 2.2.4 & 3.1.0 | 1.2.2 | - |
14
+ | 4.2.0 | 1.12.4 & 2.2.4 & 3.0.0 | 1.2.2 | - |
15
+ | 4.1.1 | 1.12.1 & 2.2.1 | 1.2.1 | - |
16
+ | 4.1.0 | 1.12.0 & 2.2.0 | 1.2.0 | - |
17
+ | 4.0.5 | 1.11.3 & 2.1.4 | 1.1.0 | - |
18
+ | 4.0.4 | 1.11.2 & 2.1.3 | 1.0.4 | - |
19
+ | 4.0.3 | 1.11.2 & 2.1.3 | 1.0.3 | - |
20
+ | 4.0.2 | - | - | - |
21
+ | 4.0.1 | - | - | - |
22
+ | 4.0.0 | 1.11.1 & 2.1.1 | 1.0.2 | - |
23
+ | 3.1.3 | 1.11.1 | 1.0.4 | - |
24
+ | 3.1.2 | 1.11.1 | 1.0.1 | - |
25
+ | 3.1.1 | 1.11.1 | 1.0.0 | - |
26
+ | 3.1.0 | 1.11.0 | - | - |
27
+ | 3.0.5 | 1.11.0 | - | - |
28
+ | 3.0.4 | | - | - |
29
+ | 3.0.3 | 1.10.2 | - | - |
30
+ | 3.0.2 | ↾ | - | - |
31
+ | 3.0.1 | 1.10.1 | - | - |
32
+ | 3.0.0 | ↾ | - | - |
33
+ | 2.3.0 | 1.10.0 | - | 1.10.3 |
34
+ | 2.2.2 | ↾ | - | ↾ |
35
+ | 2.2.1 | 1.9.1 | - | ↾ |
36
+ | 2.2.0 | 1.9.0 | - | ↾ |
37
+ | 2.1.4 | 1.8.3 | - | 1.9.2 |
38
+ | 2.1.3 | 1.8.2 | - | ↾ |
39
+ | 2.1.2 | 1.8.1 | - | ↾ |
40
+ | 2.1.1 | ↾ | - | ↾ |
41
+ | 2.1.0 | 1.8.0 | - | 1.8.23 |
42
+ | 2.0.3 | ↾ | - | ↾ |
43
+ | 2.0.2 | 1.7.2 | - | 1.8.18 |
44
+ | 2.0.1 | ↾ | - | ↾ |
45
+ | 2.0.0 | ↾ | - | ↾ |
46
+ | 1.0.19 | 1.7.1 | - | ↾ |
47
+ | 1.0.18 | ↾ | - | ↾ |
48
+ | 1.0.17 | 1.7.0 | - | ↾ |
49
+ | 1.0.16 | 1.6.4 | - | 1.8.16 |
50
+ | 1.0.15 | ↾ | - | ↾ |
51
+ | 1.0.14 | ↾ | - | ↾ |
52
+ | 1.0.13 | 1.6.2 | - | 1.8.14 |
53
+ | 1.0.12 | ↾ | - | ↾ |
54
+ | 1.0.11 | ↾ | - | ↾ |
55
+ | 1.0.10 | ↾ | - | ↾ |
56
+ | 1.0.9 | ↾ | - | ↾ |
57
+ | 1.0.8 | ↾ | - | ↾ |
58
+ | 1.0.7 | ↾ | - | ↾ |
59
+ | 1.0.6 | ↾ | - | ↾ |
60
+ | 1.0.5 | ↾ | - | ↾ |
61
+ | 1.0.4 | ↾ | - | ↾ |
62
+ | 1.0.3 | 1.6.1 | - | ↾ |
63
+ | 1.0.2 | ↾ | - | ↾ |
64
+ | 1.0.1 | ↾ | - | 1.8.12 |
65
+ | 1.0.0 | 1.6.0 | - | - |
data/jquery-rails.gemspec CHANGED
@@ -7,17 +7,19 @@ Gem::Specification.new do |s|
7
7
  s.platform = Gem::Platform::RUBY
8
8
  s.authors = ["André Arko"]
9
9
  s.email = ["andre@arko.net"]
10
- s.homepage = "http://rubygems.org/gems/jquery-rails"
11
- s.summary = "Use jQuery with Rails 3"
12
- s.description = "This gem provides jQuery and the jQuery-ujs driver for your Rails 3 application."
10
+ s.homepage = "https://github.com/rails/jquery-rails"
11
+ s.summary = "Use jQuery with Rails 4+"
12
+ s.description = "This gem provides jQuery and the jQuery-ujs driver for your Rails 4+ application."
13
13
  s.license = "MIT"
14
14
 
15
+ s.required_ruby_version = ">= 1.9.3"
15
16
  s.required_rubygems_version = ">= 1.3.6"
16
- s.rubyforge_project = "jquery-rails"
17
17
 
18
- s.add_dependency "railties", ">= 3.0", "< 5.0"
18
+ s.add_dependency "railties", ">= 4.2.0"
19
19
  s.add_dependency "thor", ">= 0.14", "< 2.0"
20
20
 
21
+ s.add_dependency "rails-dom-testing", ">= 1", "< 3"
22
+
21
23
  s.files = `git ls-files`.split("\n")
22
24
  s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
23
25
  s.require_path = 'lib'