jquery-rails 3.0.1 → 3.1.5

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.

Potentially problematic release.


This version of jquery-rails might be problematic. Click here for more details.

checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 1cc4ee935197027be03834032460f10b605fa29e5f370e956323827ff6459bb0
4
+ data.tar.gz: 01e0552ffb9ac7484592c6a600297361b3238295c162a0374669112893ea9c66
5
+ SHA512:
6
+ metadata.gz: e294510d1e0b4e3ced3ec09e16a8fc6882469e663ed4a5437f69664e4902ef40397fc5b56200c6e8f32747b83540f3e517837539dc8eb090cd779aa94d7c56b3
7
+ data.tar.gz: 335edf0e53ccfd6545b0e83a42ecbb49060505816fca7aff2b49477f9cc87923094aea8487580c24cd3c4502cdb3f582d62807d10f48e3325de3dc6d96bfb458
data/CHANGELOG.md CHANGED
@@ -1,3 +1,38 @@
1
+ ## 3.1.5 (18 Apr 2018)
2
+
3
+ - Updated jQuery 1.12.4
4
+
5
+ ## 3.1.3 (16 June 2015)
6
+
7
+ - Fix CSP bypass vulnerability. CVE-2015-1840
8
+
9
+ ## 3.1.2 (1 September 2014)
10
+
11
+ - Updated to jquery-ujs 1.0.1
12
+
13
+ ## 3.1.1 (23 June 2014)
14
+
15
+ - Updated to jQuery 1.11.1
16
+ - Updated to jquery-ujs 1.0.0
17
+
18
+ ## 3.1.0 (29 January 2014)
19
+
20
+ - Updated to jQuery 1.11.0
21
+ - Updated to latest jquery-ujs
22
+ - Added development rake task for updating jQuery
23
+
24
+ ## 3.0.4 (10 July 2013)
25
+
26
+ - Fixed jQuery source map
27
+
28
+ ## 3.0.3 (10 July 2013)
29
+
30
+ - Updated to jQuery 1.10.2
31
+
32
+ ## 3.0.2 (04 July 2013)
33
+
34
+ - Updated to latest jquery-ujs
35
+
1
36
  ## 3.0.1 (07 June 2013)
2
37
 
3
38
  - Updated to jQuery 1.10.1
data/Gemfile CHANGED
@@ -1,4 +1,4 @@
1
- source :gemcutter
1
+ source 'https://rubygems.org'
2
2
 
3
3
  # Specify your gem's dependencies in jquery-rails.gemspec
4
4
  gemspec
data/README.md CHANGED
@@ -4,7 +4,7 @@ jQuery! For Rails! So great.
4
4
 
5
5
  This gem provides:
6
6
 
7
- * jQuery 1.10.0
7
+ * jQuery 1.11.1
8
8
  * the jQuery UJS adapter
9
9
  * assert_select_jquery to test jQuery responses in Ruby tests
10
10
 
@@ -19,7 +19,7 @@ minor version bump = minor-level updates to jquery
19
19
  major version bump = major-level updates to jquery and updates to rails which may be backwards-incompatible
20
20
  ```
21
21
 
22
- See CHANGELOG.md to see which versions of jquery-rails bundle which
22
+ See [VERSIONS.md](VERSIONS.md) to see which versions of jquery-rails bundle which
23
23
  versions of jQuery.
24
24
 
25
25
  ## Installation
data/Rakefile CHANGED
@@ -9,7 +9,7 @@ task :guard_version do
9
9
  def check_version(file, pattern, constant)
10
10
  body = File.read("vendor/assets/javascripts/#{file}")
11
11
  match = body.match(pattern) or abort "Version check failed: no pattern matched in #{file}"
12
- file_version = body.match(pattern)[1]
12
+ file_version = match[1]
13
13
  constant_version = Jquery::Rails.const_get(constant)
14
14
 
15
15
  unless constant_version == file_version
@@ -19,3 +19,20 @@ task :guard_version do
19
19
 
20
20
  check_version('jquery.js', /jQuery JavaScript Library v([\S]+)/, 'JQUERY_VERSION')
21
21
  end
22
+
23
+ desc "Update jQuery versions"
24
+ task :update_jquery do
25
+ def download_jquery(filename, version)
26
+ suffix = "-#{version}"
27
+
28
+ puts "Downloading #{filename}.js"
29
+ puts `curl -o vendor/assets/javascripts/#{filename}.js https://code.jquery.com/jquery#{suffix}.js`
30
+ puts "Downloading #{filename}.min.js"
31
+ puts `curl -o vendor/assets/javascripts/#{filename}.min.js https://code.jquery.com/jquery#{suffix}.min.js`
32
+ puts "Downloading #{filename}.min.map"
33
+ puts `curl -o vendor/assets/javascripts/#{filename}.min.map https://code.jquery.com/jquery#{suffix}.min.map`
34
+ end
35
+
36
+ download_jquery('jquery', Jquery::Rails::JQUERY_VERSION)
37
+ puts "\e[32mDone!\e[0m"
38
+ end
data/VERSIONS.md ADDED
@@ -0,0 +1,49 @@
1
+ # Bundled Versions
2
+
3
+ | Gem | jQuery | jQuery UJS | jQuery UI |
4
+ |--------|--------|------------| ----------|
5
+ | 3.1.5 | 1.12.4 | 1.0.4 | - |
6
+ | 3.1.4 | 1.11.1 | 1.0.4 | - |
7
+ | 3.1.3 | 1.11.1 | 1.0.4 | - |
8
+ | 3.1.2 | 1.11.1 | 1.0.1 | - |
9
+ | 3.1.1 | 1.11.1 | 1.0.0 | - |
10
+ | 3.1.0 | 1.11.0 | - | - |
11
+ | 3.0.5 | 1.11.0 | - | - |
12
+ | 3.0.4 | ↾ | - | - |
13
+ | 3.0.3 | 1.10.2 | - | - |
14
+ | 3.0.2 | ↾ | - | - |
15
+ | 3.0.1 | 1.10.1 | - | - |
16
+ | 3.0.0 | ↾ | - | - |
17
+ | 2.3.0 | 1.10.0 | - | 1.10.3 |
18
+ | 2.2.2 | ↾ | - | ↾ |
19
+ | 2.2.1 | 1.9.1 | - | ↾ |
20
+ | 2.2.0 | 1.9.0 | - | ↾ |
21
+ | 2.1.4 | 1.8.3 | - | 1.9.2 |
22
+ | 2.1.3 | 1.8.2 | - | ↾ |
23
+ | 2.1.2 | 1.8.1 | - | ↾ |
24
+ | 2.1.1 | ↾ | - | ↾ |
25
+ | 2.1.0 | 1.8.0 | - | 1.8.23 |
26
+ | 2.0.3 | ↾ | - | ↾ |
27
+ | 2.0.2 | 1.7.2 | - | 1.8.18 |
28
+ | 2.0.1 | ↾ | - | ↾ |
29
+ | 2.0.0 | ↾ | - | ↾ |
30
+ | 1.0.19 | 1.7.1 | - | ↾ |
31
+ | 1.0.18 | ↾ | - | ↾ |
32
+ | 1.0.17 | 1.7.0 | - | ↾ |
33
+ | 1.0.16 | 1.6.4 | - | 1.8.16 |
34
+ | 1.0.15 | ↾ | - | ↾ |
35
+ | 1.0.14 | ↾ | - | ↾ |
36
+ | 1.0.13 | 1.6.2 | - | 1.8.14 |
37
+ | 1.0.12 | ↾ | - | ↾ |
38
+ | 1.0.11 | ↾ | - | ↾ |
39
+ | 1.0.10 | ↾ | - | ↾ |
40
+ | 1.0.9 | ↾ | - | ↾ |
41
+ | 1.0.8 | ↾ | - | ↾ |
42
+ | 1.0.7 | ↾ | - | ↾ |
43
+ | 1.0.6 | ↾ | - | ↾ |
44
+ | 1.0.5 | ↾ | - | ↾ |
45
+ | 1.0.4 | ↾ | - | ↾ |
46
+ | 1.0.3 | 1.6.1 | - | ↾ |
47
+ | 1.0.2 | ↾ | - | ↾ |
48
+ | 1.0.1 | ↾ | - | 1.8.12 |
49
+ | 1.0.0 | 1.6.0 | - | - |
data/jquery-rails.gemspec CHANGED
@@ -8,8 +8,8 @@ Gem::Specification.new do |s|
8
8
  s.authors = ["André Arko"]
9
9
  s.email = ["andre@arko.net"]
10
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."
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."
13
13
  s.license = "MIT"
14
14
 
15
15
  s.required_rubygems_version = ">= 1.3.6"
@@ -1,7 +1,7 @@
1
1
  module Jquery
2
2
  module Rails
3
- VERSION = "3.0.1"
4
- JQUERY_VERSION = "1.10.1"
5
- JQUERY_UJS_VERSION = "87587d476054e9869865f53c1b78cb8164619a05"
3
+ VERSION = "3.1.5"
4
+ JQUERY_VERSION = "1.12.4"
5
+ JQUERY_UJS_VERSION = "1.0.4"
6
6
  end
7
7
  end