jquery-rails 3.1.3 → 3.1.4
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.
- checksums.yaml +4 -4
- data/VERSIONS.md +1 -0
- data/lib/jquery/rails/version.rb +1 -1
- data/vendor/assets/javascripts/jquery_ujs.js +8 -4
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: df3039511de025f938c1043703f28e901fac32b5
|
4
|
+
data.tar.gz: 8cf080440d33860a8368a64293466e029dbdb02e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e9e5bb5f4a6a4efa97ab5c56675449781a7065a7addedc7cd1273ed4c3409d5fb6cf986af1016766cdc013dc8448f6f30f6a3c72465092fc88499b8c80b61631
|
7
|
+
data.tar.gz: cfaf7788837edd78f566323abc7ff7b654fada640b78731265b7f84a2cad8ad6c2ee16850e1942db839622c2773369aa4c357d33793c1920d0e4dc9fa3db1ca2
|
data/VERSIONS.md
CHANGED
data/lib/jquery/rails/version.rb
CHANGED
@@ -176,10 +176,14 @@
|
|
176
176
|
// This is a workaround to a IE bug.
|
177
177
|
urlAnchor.href = urlAnchor.href;
|
178
178
|
|
179
|
-
//
|
180
|
-
|
181
|
-
|
182
|
-
|
179
|
+
// If URL protocol is false or is a string containing a single colon
|
180
|
+
// *and* host are false, assume it is not a cross-domain request
|
181
|
+
// (should only be the case for IE7 and IE compatibility mode).
|
182
|
+
// Otherwise, evaluate protocol and host of the URL against the origin
|
183
|
+
// protocol and host
|
184
|
+
return !(((!urlAnchor.protocol || urlAnchor.protocol === ':') && !urlAnchor.host) ||
|
185
|
+
(originAnchor.protocol + "//" + originAnchor.host ===
|
186
|
+
urlAnchor.protocol + "//" + urlAnchor.host)); //
|
183
187
|
} catch (e) {
|
184
188
|
// If there is an error parsing the URL, assume it is crossDomain.
|
185
189
|
return true;
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jquery-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.1.
|
4
|
+
version: 3.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- André Arko
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-09-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|
@@ -98,8 +98,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
98
98
|
version: 1.3.6
|
99
99
|
requirements: []
|
100
100
|
rubyforge_project: jquery-rails
|
101
|
-
rubygems_version: 2.4.
|
101
|
+
rubygems_version: 2.4.7
|
102
102
|
signing_key:
|
103
103
|
specification_version: 4
|
104
104
|
summary: Use jQuery with Rails 3+
|
105
105
|
test_files: []
|
106
|
+
has_rdoc:
|